:root {
  --ink: #111827;
  --muted: #667085;
  --paper: #fffaf2;
  --panel: #ffffff;
  --line: #e3d9c8;
  --teal: #0f766e;
  --coral: #fb7185;
  --amber: #f59e0b;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
}

body.privacy-panel-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  padding: 14px max(22px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.94);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 214px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.nav,
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-weight: 800;
}

.nav a {
  padding: 10px 0;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: 46px;
  align-items: center;
  padding: 54px 22px 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 920px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  line-height: .95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
}

h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.12;
}

.hero-copy,
.page-head p,
.static-page p,
.article-intro p {
  color: #4b5563;
  font-size: 21px;
  line-height: 1.55;
}

.hero-copy {
  max-width: 700px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #111827;
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  color: #fff;
  background: #111827;
}

.section,
.page,
.article-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 22px;
}

.section.tight {
  padding-top: 12px;
}

.section-head,
.page-head {
  margin-bottom: 22px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-list-tools {
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 184, 166, .08), rgba(251, 191, 36, .08)),
    var(--panel);
  padding: 14px;
}

.article-filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.article-filter-control {
  display: grid;
  gap: 7px;
}

.article-filter-control span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.article-filter-control select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  padding: 11px 12px;
}

.article-list-status {
  margin: 0 0 16px;
  color: #667085;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.article-list-empty {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 34px;
}

.article-list-empty h2 {
  margin-top: 8px;
}

.load-more-row {
  display: flex;
  justify-content: center;
  padding: 28px 0 4px;
}

.load-more-row[hidden],
.article-list-sentinel[hidden] {
  display: none;
}

.article-list-sentinel {
  height: 1px;
}

.article-card {
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 40px rgba(17, 24, 39, .06);
}

.article-card a {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
}

.article-card.featured {
  min-height: 450px;
  background:
    linear-gradient(135deg, rgba(251, 113, 133, .16), rgba(20, 184, 166, .14)),
    #fff;
}

.lead-card .article-card {
  transform: rotate(1deg);
}

.card-kicker,
.card-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.article-card p {
  color: #4b5563;
  line-height: 1.55;
}

.card-bottom {
  display: grid;
  gap: 14px;
  margin-top: auto;
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-list span,
.topic-pill,
.pick-label {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff7ed;
  font-size: 13px;
  font-weight: 800;
}

.topic-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topic-pill span {
  color: var(--teal);
  margin-left: 8px;
}

.article-hero {
  margin-top: 24px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 22%, rgba(20, 184, 166, .24), transparent 28%),
    linear-gradient(135deg, #fff, #fff7ed);
}

.article-hero.has-cover {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 1fr);
  gap: 34px;
  align-items: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(20, 184, 166, .18), transparent 30%),
    linear-gradient(135deg, #fff, #fffbf5);
}

.article-hero-copy {
  min-width: 0;
}

.article-hero h1 {
  font-size: 60px;
}

.article-hero p {
  max-width: 850px;
  color: #4b5563;
  font-size: 22px;
  line-height: 1.5;
}

.article-meta {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 800;
}

.article-cover {
  position: relative;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(17, 24, 39, .12);
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(12, 19, 33, .08), rgba(20, 184, 166, .12)),
    #f8fafc;
  box-shadow: 0 22px 54px rgba(17, 24, 39, .14);
}

.article-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 -70px 80px rgba(12, 19, 33, .2);
}

.article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-cover figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  max-width: calc(100% - 24px);
  border-radius: 999px;
  background: rgba(12, 19, 33, .54);
  color: #fff;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}

.article-cover figcaption a {
  color: inherit;
}

.article-cover[hidden] {
  display: none;
}

.article-body {
  max-width: 900px;
  display: grid;
  gap: 24px;
  margin: 30px 0 34px;
}

.body-section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.body-section h2 {
  max-width: 760px;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.body-section p {
  max-width: 830px;
  color: #4b5563;
  font-size: 20px;
  line-height: 1.65;
}

.tool-list {
  display: grid;
  gap: 34px;
}

.identity-section {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 28px;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.identity-aside {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.rank {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #111827;
  font-weight: 900;
}

.tool-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}

.initial-icon {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #111827, #0f766e);
  font-weight: 900;
}

.generic-icon {
  display: grid;
  place-items: center;
  gap: 4px;
  background: #f8fafc;
}

.generic-icon-dot {
  width: 36%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: #94a3b8;
}

.generic-icon-line {
  width: 54%;
  height: 12%;
  border-radius: 999px;
  background: #cbd5e1;
}

.tool-icon.large {
  width: 76px;
  height: 76px;
  padding: 8px;
}

.table-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  margin-right: 10px;
  vertical-align: middle;
}

.identity-copy p {
  color: #4b5563;
  line-height: 1.6;
}

.identity-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
}

.identity-overview p {
  font-size: 20px;
}

.identity-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.identity-detail-grid section,
.score-strip div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
}

.identity-detail-grid h3,
.pros-cons h3,
.verdict h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

dt,
.score-strip span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

dd {
  margin: 6px 0 0;
}

.score-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.score-strip strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.text-link {
  color: var(--teal);
  font-weight: 900;
}

.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.pros-cons section,
.verdict,
.final-summary,
.recommendation-section {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.check-list {
  margin: 0;
  padding-left: 20px;
  color: #4b5563;
  line-height: 1.55;
}

.check-list li + li {
  margin-top: 8px;
}

.verdict {
  margin-top: 18px;
  background: #fffaf2;
}

.final-summary,
.recommendation-section {
  margin-top: 34px;
}

.recommendation-table-wrap {
  overflow-x: auto;
}

.recommendation-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.recommendation-table th,
.recommendation-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.recommendation-table th {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.closing-note {
  max-width: 860px;
  margin: 42px auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.static-page {
  max-width: 860px;
  margin: 42px auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.static-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 46px 22px 32px;
}

.static-hero {
  max-width: 980px;
  padding: 42px 0 30px;
  border-bottom: 1px solid var(--line);
}

.static-hero h1 {
  font-size: 58px;
}

.static-hero p {
  max-width: 850px;
  color: #4b5563;
  font-size: 22px;
  line-height: 1.55;
}

.static-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  padding: 34px 0;
}

.static-grid article,
.policy-stack article,
.static-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.static-grid article,
.policy-stack article {
  padding: 26px;
}

.static-grid h2,
.policy-stack h2,
.static-note h2 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
}

.static-grid p,
.policy-stack p,
.static-note p {
  color: #4b5563;
  font-size: 18px;
  line-height: 1.65;
}

.static-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 14px;
}

.static-principles article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-top: 4px solid var(--teal);
  background: #fff7ed;
}

.static-principles strong {
  font-size: 19px;
}

.static-principles span {
  color: #4b5563;
  line-height: 1.5;
}

.policy-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 34px 0;
}

.static-note {
  max-width: 920px;
  padding: 28px;
  background: #fffaf2;
}

.static-note code,
.policy-stack code {
  white-space: normal;
}

.pick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.top-picks-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
}

.top-pick-badge {
  width: min(100%, 380px);
}

.top-pick-badge img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.topic-card,
.pick-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.topic-card p,
.pick-card p {
  color: #4b5563;
  line-height: 1.5;
}

.topic-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topic-card .text-link {
  margin-top: auto;
}

.pick-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pick-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.pick-card-head h2 {
  margin-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
}

.pick-card .tool-icon.large {
  width: 62px;
  height: 62px;
  padding: 7px;
  border-radius: 8px;
}

.pick-card .pick-label {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--teal);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pick-card-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.pick-card-foot span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 34px max(22px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid #2f3747;
  color: #f8fafc;
  background: #111827;
}

.footer img {
  width: 230px;
  height: 66px;
  object-fit: contain;
}

.footer p {
  max-width: 560px;
  color: #cbd5e1;
}

.footer-privacy-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #f8fafc;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.footer-privacy-button:hover,
.footer nav a:hover {
  color: #fbbf24;
}

.privacy-note {
  position: fixed;
  left: max(18px, calc((100vw - var(--max)) / 2));
  bottom: 18px;
  z-index: 80;
  width: min(470px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(251, 191, 36, 0.55);
  border-left: 6px solid var(--amber);
  border-radius: 8px;
  color: #f8fafc;
  background: #111827;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.32);
}

.privacy-note[hidden],
.privacy-panel-backdrop[hidden] {
  display: none;
}

.privacy-note-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #111827;
  background: #fbbf24;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 900;
}

.privacy-note-copy {
  display: grid;
  gap: 5px;
}

.privacy-note-copy strong {
  font-size: 17px;
}

.privacy-note-copy p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.45;
}

.privacy-note-actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.privacy-text-button,
.privacy-solid-button,
.privacy-close {
  border: 0;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.privacy-text-button {
  padding: 8px 0;
  color: #fbbf24;
  background: transparent;
}

.privacy-solid-button {
  padding: 10px 14px;
  border-radius: 999px;
  color: #111827;
  background: #fbbf24;
}

.privacy-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(17, 24, 39, 0.48);
}

.privacy-panel {
  width: min(660px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf2;
  box-shadow: 0 34px 90px rgba(17, 24, 39, 0.36);
}

.privacy-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.privacy-panel h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.05;
}

.privacy-panel-intro {
  margin: 0 0 20px;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.6;
}

.privacy-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #111827;
  background: #f3eadb;
}

.privacy-stack {
  display: grid;
  gap: 10px;
}

.privacy-stack article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.privacy-stack strong,
.privacy-stack span {
  display: block;
}

.privacy-stack span {
  margin-top: 4px;
  color: #667085;
  font-size: 14px;
  line-height: 1.45;
}

.privacy-stack b {
  padding: 6px 9px;
  border: 1px solid #99f6e4;
  border-radius: 999px;
  color: #0f766e;
  background: #f0fdfa;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.privacy-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}

.privacy-panel-actions a {
  color: var(--teal);
  font-weight: 900;
}

.boot {
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 18px;
  text-align: center;
}

.boot-logo {
  width: 280px;
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #f3f4f6;
}

@media (max-width: 920px) {
  .site-header,
  .footer,
  .hero,
  .article-hero.has-cover,
  .identity-section,
  .static-grid,
  .static-principles,
  .policy-stack,
  .top-picks-head {
    grid-template-columns: 1fr;
  }

  .identity-aside {
    position: static;
    justify-items: start;
    grid-template-columns: auto auto auto;
    align-items: center;
  }

  .site-header {
    align-items: flex-start;
  }

  .article-grid,
  .article-filter-bar,
  .topic-grid,
  .pick-grid,
  .score-strip,
  .identity-detail-grid,
  .pros-cons {
    grid-template-columns: 1fr;
  }

  h1,
  .article-hero h1,
  .static-hero h1 {
    font-size: 44px;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 190px;
  }

  .nav {
    gap: 10px;
    font-size: 14px;
  }

  h1,
  .article-hero h1,
  .static-hero h1 {
    font-size: 36px;
  }

  .article-hero,
  .identity-section,
  .closing-note {
    padding: 22px;
  }

  .article-cover {
    margin-top: 4px;
  }

  .static-layout {
    padding-top: 28px;
  }

  .top-pick-badge {
    width: 100%;
  }

  .privacy-note {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .privacy-note-mark {
    width: 36px;
    height: 36px;
    font-size: 21px;
  }

  .privacy-note-actions {
    grid-column: 1;
  }

  .privacy-panel {
    padding: 20px;
  }

  .privacy-panel h2 {
    font-size: 28px;
  }

  .privacy-stack article {
    grid-template-columns: 1fr;
  }

  .recommendation-table,
  .recommendation-table thead,
  .recommendation-table tbody,
  .recommendation-table tr,
  .recommendation-table th,
  .recommendation-table td {
    display: block;
  }

  .recommendation-table thead {
    display: none;
  }

  .recommendation-table tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .recommendation-table td {
    border: 0;
    padding: 7px 0;
  }

  .recommendation-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
}
