:root {
  --ink: #0b0d0c;
  --ink-soft: #141815;
  --paper: #f4f1e8;
  --paper-deep: #e4ded0;
  --sage: #6cf0a9;
  --sage-dark: #24583d;
  --muted: #a9b2ab;
  --amber: #f2c66d;
  --line: rgba(244, 241, 232, 0.16);
  --line-dark: rgba(11, 13, 12, 0.16);
  --max: 88rem;
  --measure: 44rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.article-page { background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
::selection { background: var(--sage); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 12, .76);
  color: var(--paper);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}
.site-nav__inner {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 4.5rem;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  font-weight: 650;
  letter-spacing: -.02em;
}
.brand img { width: 2rem; height: 2rem; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #cbd2cd;
  font-size: .94rem;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--paper); }
.nav-action, .button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.15rem;
  border: 1px solid transparent;
  background: var(--sage);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  transition: transform .24s var(--ease), background .24s var(--ease), border-color .24s var(--ease);
}
.nav-action:hover, .button:hover { transform: translateY(-2px); background: #8af5bd; }
.button--secondary { background: transparent; border-color: currentColor; color: inherit; }
.button--secondary:hover { background: rgba(244, 241, 232, .08); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }

.reading-progress {
  position: fixed;
  z-index: 110;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0;
  background: var(--sage);
}

.shell { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(7rem, 13vw, 13rem); }
.section--compact { padding-block: clamp(5rem, 9vw, 9rem); }
.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--sage);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-title {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 600;
}
.section-intro { max-width: 40rem; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.32rem); }

.compare-hero {
  position: relative;
  min-height: min(920px, 100svh);
  padding-top: 8rem;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}
.compare-hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  opacity: .72;
}
.compare-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 13, 12, .97) 0%, rgba(11, 13, 12, .82) 40%, rgba(11, 13, 12, .16) 78%),
    linear-gradient(0deg, var(--ink) 0%, transparent 48%);
}
.compare-hero__content { padding-bottom: clamp(4rem, 9vw, 8rem); }
.compare-hero h1 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: .88;
  letter-spacing: -.07em;
  font-weight: 600;
  text-wrap: balance;
}
.compare-hero__lede { max-width: 36rem; margin: 2rem 0 0; color: #d9ddd9; font-size: clamp(1.1rem, 2vw, 1.4rem); }
.compare-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.marquee { overflow-x: auto; border-block: 1px solid var(--line); color: var(--muted); scrollbar-width: none; }
.marquee::-webkit-scrollbar { display: none; }
.marquee-track {
  width: max-content;
  display: flex;
  gap: 3.5rem;
  padding: 1rem 0;
}
.marquee span { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }

.featured-grid, .editorial-grid {
  margin-top: clamp(3rem, 6vw, 6rem);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.comparison-card {
  position: relative;
  min-height: 31rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink-soft);
}
.featured-grid .comparison-card:nth-child(1) { grid-column: span 7; }
.featured-grid .comparison-card:nth-child(2) { grid-column: span 5; }
.featured-grid .comparison-card:nth-child(3) { grid-column: span 5; }
.featured-grid .comparison-card:nth-child(4) { grid-column: span 7; }
.editorial-grid .comparison-card { grid-column: span 3; min-height: 27rem; }
.comparison-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.comparison-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(5, 7, 6, .98) 0%, rgba(5, 7, 6, .44) 70%, rgba(5, 7, 6, .12));
}
.comparison-card:hover img { transform: scale(1.045); filter: saturate(1.12); }
.comparison-card a {
  height: 100%;
  min-height: inherit;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.comparison-card__type { color: var(--sage); font-size: .77rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.comparison-card h3 { max-width: 18ch; margin: .8rem 0 0; font-size: clamp(1.7rem, 3vw, 3.4rem); line-height: 1; letter-spacing: -.045em; }
.editorial-grid .comparison-card h3 { font-size: clamp(1.45rem, 2.2vw, 2.2rem); }
.comparison-card p { max-width: 34rem; margin: 1rem 0 0; color: #c9d0ca; }
.comparison-card__arrow { margin-top: 1.5rem; color: var(--amber); font-weight: 700; }

.methodology-grid { margin-top: 4rem; border-top: 1px solid var(--line); }
.methodology-grid details { border-bottom: 1px solid var(--line); }
.methodology-grid summary {
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) 2fr auto;
  align-items: center;
  gap: 2rem;
  cursor: pointer;
  list-style: none;
}
.methodology-grid summary::-webkit-details-marker { display: none; }
.methodology-grid summary span { color: var(--muted); }
.methodology-grid summary::after { content: "+"; color: var(--sage); font-size: 1.7rem; }
.methodology-grid details[open] summary::after { content: "−"; }
.methodology-grid details > p { max-width: 56rem; margin: 0 0 2rem min(26rem, 33%); color: #cbd2cd; }

.hub-cta { background: var(--sage); color: var(--ink); }
.hub-cta__inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: end; }
.hub-cta .section-title { max-width: 14ch; }
.hub-cta p { max-width: 32rem; margin: 0 0 1.5rem; }
.hub-cta .button { background: var(--ink); color: var(--paper); }

.article-hero {
  min-height: 86svh;
  padding: 9rem 0 4rem;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--paper);
}
.article-hero__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(11,13,12,.98), rgba(11,13,12,.72) 54%, rgba(11,13,12,.15)), linear-gradient(0deg, rgba(11,13,12,.98), transparent 55%);
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; color: #c2cbc4; font-size: .88rem; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: .25em; }
.article-hero h1 { max-width: 18ch; margin: 0; font-size: clamp(3rem, 7vw, 7rem); line-height: .9; letter-spacing: -.065em; font-weight: 600; text-wrap: balance; }
.article-hero__dek { max-width: 42rem; margin: 1.5rem 0 0; color: #d7ddd8; font-size: clamp(1.1rem, 2vw, 1.4rem); }
.article-meta { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; color: #adb8af; font-size: .9rem; }

.article-layout {
  width: min(calc(100% - 2rem), 78rem);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
  display: grid;
  grid-template-columns: minmax(0, var(--measure)) minmax(13rem, 18rem);
  justify-content: space-between;
  gap: 5rem;
  align-items: start;
}
.article-body { min-width: 0; }
.article-body > *:first-child { margin-top: 0; }
.article-body h2 { margin: 5rem 0 1.25rem; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.045em; }
.article-body h3 { margin: 2.75rem 0 1rem; font-size: 1.45rem; line-height: 1.15; }
.article-body p, .article-body li { color: #343a35; }
.article-body a:not(.button) { color: #164e31; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.article-body ul, .article-body ol { padding-left: 1.35rem; }
.article-body li + li { margin-top: .55rem; }
.article-body strong { color: var(--ink); }

.disclosure, .verdict, .note {
  margin: 2.5rem 0;
  padding: 1.5rem;
  border-left: 4px solid var(--sage-dark);
  background: #e8ede7;
}
.disclosure strong, .verdict strong, .note strong { display: block; margin-bottom: .3rem; }
.verdict { border-color: #b47b17; background: #f3e7cb; }
.note { border-color: #4f5d9a; background: #e9eaf2; }

.best-for-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin: 2rem 0; }
.best-for-card { padding: 1.5rem; background: var(--paper); }
.best-for-card span { color: var(--sage-dark); font-size: .76rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.best-for-card h3 { margin: .6rem 0 .5rem; }

.table-wrap { margin: 2rem 0; overflow-x: auto; border: 1px solid var(--line-dark); }
.compare-table { width: 100%; min-width: 42rem; border-collapse: collapse; font-size: .95rem; }
.compare-table th, .compare-table td { padding: 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-dark); }
.compare-table th { background: #e6e0d4; color: var(--ink); font-weight: 750; }
.compare-table tr:last-child td { border-bottom: 0; }

.article-aside { position: sticky; top: 7rem; }
.aside-card { padding: 1.4rem; border-top: 1px solid var(--line-dark); }
.aside-card:first-child { border-top: 4px solid var(--ink); }
.aside-card h2 { margin: 0 0 1rem; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.aside-card a { min-height: 44px; display: flex; align-items: center; color: #3c443e; }
.aside-card a:hover { color: var(--sage-dark); }
.aside-card .button { margin-top: .75rem; color: var(--ink); }

.source-list { padding: 0; list-style: none; }
.source-list li { padding: .8rem 0; border-bottom: 1px solid var(--line-dark); }
.faq details { border-top: 1px solid var(--line-dark); }
.faq details:last-child { border-bottom: 1px solid var(--line-dark); }
.faq summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; cursor: pointer; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sage-dark); font-size: 1.5rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0; padding-bottom: 1.2rem; }

.article-cta { margin-top: 5rem; padding: 2rem; background: var(--ink); color: var(--paper); }
.article-cta h2 { margin: 0; max-width: 17ch; }
.article-cta p { color: #c7cec8; }
.article-cta__buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.article-cta .button--secondary { color: var(--paper); }
.cta-note { margin-top: .9rem; color: #aeb8b0 !important; font-size: .82rem; }

.related { background: #e7e1d5; padding-block: clamp(5rem, 9vw, 8rem); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 2.5rem; background: var(--line-dark); border: 1px solid var(--line-dark); }
.related-card { min-height: 16rem; padding: 1.5rem; background: var(--paper); display: flex; flex-direction: column; justify-content: space-between; }
.related-card span { color: var(--sage-dark); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.related-card h3 { margin: 1rem 0; font-size: 1.55rem; line-height: 1.1; }

.site-footer { border-top: 1px solid var(--line); background: var(--ink); color: var(--paper); }
.site-footer__inner { width: min(calc(100% - 2rem), var(--max)); margin: auto; padding: 4rem 0; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
.site-footer p, .site-footer a { color: #afb9b1; }
.site-footer h2 { margin: 0; font-size: 1rem; }
.site-footer nav { display: grid; align-content: start; gap: .4rem; }
.site-footer nav a { min-height: 44px; display: flex; align-items: center; }
.site-footer nav a:hover { color: var(--paper); }

@media (max-width: 980px) {
  .editorial-grid .comparison-card { grid-column: span 6; }
  .article-layout { grid-template-columns: 1fr; gap: 3rem; }
  .article-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .methodology-grid details > p { margin-left: 0; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links {
    position: absolute;
    inset: 4.5rem 0 auto;
    display: none;
    padding: 1rem;
    background: rgba(11,13,12,.98);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open { display: grid; }
  .nav-links a { padding-inline: .5rem; }
  .nav-action { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .compare-hero { min-height: 880px; }
  .compare-hero::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(11,13,12,.68) 75%, rgba(11,13,12,.25)); }
  .compare-hero h1 { font-size: clamp(3.4rem, 16vw, 5.2rem); }
  .featured-grid .comparison-card, .editorial-grid .comparison-card { grid-column: span 12 !important; min-height: 26rem; }
  .methodology-grid summary { grid-template-columns: 1fr auto; gap: .75rem; padding: 1rem 0; }
  .methodology-grid summary span { grid-column: 1; }
  .methodology-grid summary::after { grid-column: 2; grid-row: 1 / span 2; }
  .hub-cta__inner { grid-template-columns: 1fr; }
  .article-hero { min-height: 82svh; }
  .article-hero h1 { font-size: clamp(2.8rem, 13vw, 4.6rem); }
  .best-for-grid, .related-grid, .article-aside, .site-footer__inner { grid-template-columns: 1fr; }
  .article-layout { padding-top: 4rem; }
  .article-body h2 { margin-top: 4rem; }
  .article-cta { margin-inline: -1rem; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .compare-hero, .article-hero { min-height: 760px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .compare-hero__image, .comparison-card img { transform: none !important; }
}
