:root {
  --ink: #0c0f13;
  --ink-raised: #11161d;
  --ink-soft: #171d25;
  --paper: #f3f0e9;
  --muted: #a7afb8;
  --dim: #707985;
  --line: rgba(243, 240, 233, 0.22);
  --line-strong: rgba(243, 240, 233, 0.52);
  --blue: #6488ff;
  --blue-dark: #294cbd;
  --lime: #c9ff54;
  --serif: Iowan Old Style, Palatino Linotype, Book Antiqua, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: min(100% - 48px, 1440px);
  --copy: min(100%, 840px);
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.25rem;
  --space-6: 3.5rem;
  --space-7: 5.5rem;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--ink); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 0.5px, transparent 0.65px);
  background-size: 5px 5px;
  content: "";
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  position: fixed;
  z-index: 10;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration-color: rgba(100, 136, 255, 0.75); text-underline-offset: 0.18em; }
a:hover { color: var(--blue); }

button { font: inherit; }

.skip-link {
  background: var(--paper);
  color: var(--ink);
  left: 1rem;
  padding: 0.6rem 0.9rem;
  position: fixed;
  top: -4rem;
  z-index: 30;
}

.skip-link:focus { top: 1rem; }

.shell { margin-inline: auto; width: var(--shell); }

.site-header { border-bottom: 1px solid var(--line); position: relative; z-index: 20; }

.header-inner {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 98px;
}

.brand {
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
  text-decoration: none;
}

.brand:hover { color: var(--paper); }

.desktop-nav { align-items: center; display: flex; gap: 3.6rem; }

.desktop-nav a,
.mobile-nav a {
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.desktop-nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] { color: var(--lime); }

.header-cta { justify-self: end; }

.outline-button,
.text-action {
  align-items: center;
  border: 1px solid var(--line-strong);
  color: var(--paper);
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 600;
  justify-content: center;
  min-height: 50px;
  padding: 0.65rem 1.25rem;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.outline-button:hover,
.text-action:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.menu-toggle { background: transparent; border: 1px solid var(--line-strong); color: var(--paper); display: none; min-height: 42px; padding: 0.45rem 0.75rem; }

.mobile-nav { border-top: 1px solid var(--line); display: none; padding: 1rem 0 1.35rem; }
.mobile-nav[data-open="true"] { display: grid; gap: 0.9rem; }

.eyebrow,
.meta-label,
.table-label,
.kicker {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-hero { border-bottom: 1px solid var(--line); padding: var(--space-6) 0 0; }

.home-hero-grid { display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr); min-height: 620px; }

.home-copy { align-self: center; max-width: 660px; padding: 1rem 6.5vw 5.5rem 2rem; }

.home-copy h1,
.article-header h1,
.method-header h1,
.section-title {
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
  margin: 0;
}

.home-copy h1 { font-family: var(--sans); font-size: clamp(3.1rem, 6.1vw, 6.6rem); font-weight: 600; max-width: 670px; }

.home-copy p { color: #d0d2d3; font-size: clamp(1.06rem, 1.6vw, 1.3rem); line-height: 1.56; margin: 2rem 0 2.25rem; max-width: 535px; }

.arrow-link { align-items: center; color: var(--blue); display: inline-flex; font-family: var(--mono); font-size: 1.05rem; gap: 0.78rem; font-weight: 500; text-decoration: underline; text-underline-offset: 0.25em; }
.arrow-link::before { content: "›_"; font-family: var(--mono); font-size: 1.8rem; letter-spacing: -0.25em; text-decoration: none; }

.hero-art { min-height: 620px; overflow: hidden; position: relative; }

.hero-art img { height: 100%; object-fit: cover; object-position: center; position: absolute; width: 100%; }

.hero-art-labels { align-items: center; display: grid; grid-template-columns: 1fr auto 1fr; inset: 0; padding: 2rem 8%; position: absolute; }

.hero-art-labels span { color: var(--paper); font-family: var(--serif); font-size: clamp(2.3rem, 4.2vw, 5.1rem); letter-spacing: -0.06em; line-height: 0.9; text-shadow: 0 1px 10px rgba(0,0,0,0.45); }
.hero-art-labels span:first-child { justify-self: end; padding-right: clamp(1.2rem, 4vw, 4rem); }
.hero-art-labels span:last-child { color: var(--lime); padding-left: clamp(1.2rem, 4vw, 4rem); }
.hero-art-labels em { color: var(--paper); font-family: var(--sans); font-size: clamp(1rem, 1.6vw, 1.4rem); font-style: normal; font-weight: 500; letter-spacing: 0.2em; }

@media (min-width: 701px) {
  .hero-art-labels span { font-size: clamp(2rem, 3.25vw, 3.9rem); white-space: nowrap; }
}

.index-section { padding: 0.5rem 0 var(--space-7); }

.comparison-index { border-bottom: 1px solid var(--line); }

.index-head,
.index-row { align-items: center; display: grid; grid-template-columns: minmax(280px, 1.2fr) minmax(200px, 1.2fr) 100px; }

.index-head { color: var(--muted); min-height: 60px; }
.index-head span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.index-row { border-top: 1px solid var(--line); color: var(--paper); gap: 1.5rem; min-height: 100px; padding: 1.25rem 0; text-decoration: none; }
.index-row:hover { color: var(--paper); }
.index-row h2 { font-family: var(--serif); font-size: clamp(1.7rem, 2.4vw, 2.65rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; margin: 0; }
.index-row p { color: var(--muted); margin: 0; }
.index-arrow { color: var(--blue); font-size: 2.15rem; justify-self: center; line-height: 1; }

.index-row:hover .index-arrow { transform: translateX(0.35rem); transition: transform 160ms ease; }

.archive-note { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; margin-top: var(--space-6); padding-top: var(--space-3); }

.article-shell { padding: 3.6rem 0 var(--space-7); }

.breadcrumb { color: var(--muted); font-size: 0.9rem; margin-bottom: var(--space-4); }
.breadcrumb a { color: var(--blue); text-decoration: none; }

.article-header { border-bottom: 1px solid var(--line); padding-bottom: var(--space-5); }
.article-header h1 { font-size: clamp(3.1rem, 6vw, 6.7rem); max-width: 1100px; }
.article-header .lede { color: #d5d6d5; font-size: clamp(1.12rem, 1.65vw, 1.42rem); line-height: 1.48; margin: 2.1rem 0 0; max-width: 850px; }
.article-header .lede strong { color: var(--paper); font-weight: 600; }

.article-layout { align-items: start; display: grid; gap: clamp(2rem, 5vw, 7rem); grid-template-columns: 205px minmax(0, 1fr); padding-top: var(--space-5); }

.toc { border-top: 1px solid var(--line); position: sticky; top: 1.5rem; }
.toc h2 { color: var(--muted); font-size: 0.73rem; letter-spacing: 0.13em; margin: 1rem 0; text-transform: uppercase; }
.toc a { border-top: 1px solid rgba(243,240,233,0.12); color: var(--muted); display: block; font-size: 0.86rem; padding: 0.78rem 0; text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--paper); }

.article-content { min-width: 0; }

.article-content section { scroll-margin-top: 1rem; }
.article-content > section + section { border-top: 1px solid var(--line); margin-top: var(--space-6); padding-top: var(--space-6); }

.section-heading { align-items: baseline; display: flex; gap: 1.2rem; justify-content: space-between; margin-bottom: var(--space-4); }
.section-heading h2 { font-family: var(--serif); font-size: clamp(2rem, 3.2vw, 3.5rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1; margin: 0; }
.section-heading p { color: var(--muted); font-size: 0.88rem; margin: 0; text-align: right; }

.verdict-callout { border: 1px solid var(--line-strong); display: grid; grid-template-columns: 145px 1fr; margin-bottom: var(--space-5); }
.verdict-callout .verdict-label { border-right: 1px solid var(--line); color: var(--lime); font-size: 0.73rem; font-weight: 700; letter-spacing: 0.13em; padding: 1.35rem; text-transform: uppercase; }
.verdict-callout p { color: var(--paper); font-family: var(--serif); font-size: clamp(1.34rem, 2vw, 1.85rem); letter-spacing: -0.025em; line-height: 1.22; margin: 0; padding: 1.25rem 1.5rem; }

.score-frame { border: 1px solid var(--line-strong); margin: 0; overflow: hidden; }
.score-banner { height: 158px; overflow: hidden; position: relative; }
.score-banner img { height: 100%; object-fit: cover; width: 100%; }
.score-banner-labels { align-items: center; display: grid; grid-template-columns: 1fr 1fr; inset: 0; position: absolute; }
.score-banner-labels span { color: var(--paper); font-family: var(--serif); font-size: clamp(2rem, 4vw, 4.5rem); letter-spacing: -0.05em; line-height: 1; text-align: center; text-shadow: 0 1px 8px rgba(0,0,0,0.55); }
.score-banner-labels span:last-child { color: var(--paper); }

.scorecard { border-collapse: collapse; table-layout: fixed; width: 100%; }
.scorecard th,
.scorecard td { border-top: 1px solid var(--line); padding: 0.83rem 1rem; text-align: left; vertical-align: top; }
.scorecard th { color: var(--paper); font-size: 0.86rem; font-weight: 500; width: 30%; }
.scorecard td { border-left: 1px solid var(--line); color: var(--muted); font-size: 0.87rem; width: 35%; }
.scorecard tr:first-child th { color: var(--lime); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.scorecard tr:first-child td { color: var(--paper); font-family: var(--serif); font-size: 1.25rem; line-height: 1; text-align: center; }

.source-note { color: var(--muted); font-size: 0.88rem; margin: 0.8rem 0 0; }

.table-wrap { border-bottom: 1px solid var(--line); overflow-x: auto; }
.data-table { border-collapse: collapse; min-width: 760px; width: 100%; }
.data-table caption { caption-side: top; color: var(--muted); font-size: 0.84rem; padding-bottom: 0.8rem; text-align: left; }
.data-table th,
.data-table td { border-top: 1px solid var(--line); padding: 1rem 0.9rem; text-align: left; vertical-align: top; }
.data-table thead th { color: var(--paper); font-family: var(--serif); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.025em; }
.data-table th:first-child { padding-left: 0; width: 22%; }
.data-table td:last-child,
.data-table th:last-child { padding-right: 0; }
.data-table tbody th { color: var(--paper); font-size: 0.88rem; font-weight: 600; }
.data-table tbody td { color: #c4c9ce; font-size: 0.89rem; line-height: 1.48; }

.test-note { border-left: 2px solid var(--lime); max-width: var(--copy); padding: 0.2rem 0 0.2rem 1.15rem; }
.test-note p { color: #d1d3d4; font-size: 1.05rem; margin: 0 0 1rem; }
.test-note p:last-child { margin-bottom: 0; }
.prompt-block { background: var(--ink-raised); border: 1px solid var(--line); color: #dfe1df; font-family: var(--mono); font-size: 0.84rem; line-height: 1.65; margin: 1.25rem 0; padding: 1rem; }

.verdict-list { display: grid; gap: 0; }
.verdict-item { border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(185px, 0.7fr) minmax(0, 1.6fr); gap: 1.75rem; padding: 1.6rem 0; }
.verdict-item:last-child { border-bottom: 1px solid var(--line); }
.verdict-item h3 { color: var(--paper); font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.85rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
.verdict-item .winner { color: var(--lime); display: block; font-family: var(--sans); font-size: 0.77rem; font-weight: 700; letter-spacing: 0.1em; margin-top: 0.55rem; text-transform: uppercase; }
.verdict-item p { color: #c4c9ce; margin: 0; }

.buyer-table { border-top: 1px solid var(--line); }
.buyer-row { border-bottom: 1px solid var(--line); display: grid; gap: 1.5rem; grid-template-columns: minmax(190px, 0.65fr) minmax(0, 1.35fr); padding: 1.3rem 0; }
.buyer-row h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; margin: 0; }
.buyer-row p { color: #c4c9ce; margin: 0; }
.buyer-row strong { color: var(--paper); }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 1.25rem 0; }
.faq-item h3 { font-size: 1.05rem; line-height: 1.35; margin: 0 0 0.6rem; }
.faq-item p { color: #c4c9ce; margin: 0; }

.sources { display: grid; gap: 0.8rem; list-style: none; margin: 0; padding: 0; }
.sources li { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; padding-top: 0.8rem; }
.sources a { color: var(--blue); }

.related-links { display: grid; gap: 0; margin-top: var(--space-6); }
.related-links a { align-items: center; border-top: 1px solid var(--line); color: var(--paper); display: flex; font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 2rem); justify-content: space-between; letter-spacing: -0.03em; padding: 1rem 0; text-decoration: none; }
.related-links a:last-child { border-bottom: 1px solid var(--line); }
.related-links a::after { color: var(--blue); content: "→"; font-family: var(--sans); }

.method-shell { padding: 3.8rem 0 var(--space-7); }
.method-header { border-bottom: 1px solid var(--line); padding-bottom: var(--space-5); }
.method-header h1 { font-size: clamp(3.5rem, 7vw, 7.6rem); max-width: 1100px; }
.method-header p { color: #d3d5d5; font-size: clamp(1.1rem, 1.65vw, 1.4rem); margin: 1.7rem 0 0; max-width: 825px; }

.method-intro { display: grid; gap: clamp(2rem, 4vw, 5.5rem); grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.8fr); padding: var(--space-6) 0; }
.protocol { border-top: 1px solid var(--line); }
.protocol-row { border-bottom: 1px solid var(--line); display: grid; gap: 1.35rem; grid-template-columns: 2.2rem minmax(190px, 0.72fr) minmax(0, 1.28fr); padding: 1.55rem 0; }
.protocol-no { color: var(--lime); font-family: var(--serif); font-size: 2.5rem; line-height: 0.9; }
.protocol-row h2 { font-family: var(--serif); font-size: clamp(1.55rem, 2.5vw, 2.3rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1; margin: 0; }
.protocol-row p { color: #c4c9ce; margin: 0; }

.method-conditions { border-left: 1px solid var(--line); padding-left: clamp(1.4rem, 3vw, 3rem); }
.method-conditions h2 { color: var(--lime); font-size: 0.76rem; letter-spacing: 0.12em; margin: 0 0 1rem; text-transform: uppercase; }
.condition-list { border-top: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.condition-list li { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: 0.9rem; min-height: 58px; }
.condition-list svg { color: var(--paper); flex: 0 0 20px; height: 20px; stroke-width: 1.5; width: 20px; }
.method-conditions blockquote { border-left: 1px solid var(--line-strong); color: var(--paper); font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2.2rem); letter-spacing: -0.04em; line-height: 1.05; margin: 2.2rem 0 0; padding: 0 0 0 1.2rem; }

.method-table { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(6, 1fr); margin-top: var(--space-4); }
.method-table span { align-items: center; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); color: var(--paper); display: flex; font-size: 0.9rem; gap: 0.55rem; min-height: 68px; padding: 0.75rem; }
.method-table span:last-child { border-right: 0; }
.method-table svg { color: var(--paper); flex: 0 0 auto; height: 20px; stroke-width: 1.5; width: 20px; }

.evidence-grid { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.75fr); margin-top: var(--space-6); }
.prose h2 { font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.3rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1; margin: 0 0 1.2rem; }
.prose p { color: #c4c9ce; margin: 0 0 1rem; }
.score-rules { border-top: 1px solid var(--line); }
.score-rules li { border-bottom: 1px solid var(--line); color: #c4c9ce; list-style: none; padding: 0.9rem 0; }
.score-rules strong { color: var(--paper); }

.site-footer { border-top: 1px solid var(--line); padding: 2.2rem 0 2.8rem; }
.footer-inner { align-items: start; display: grid; gap: 1rem; grid-template-columns: 1fr auto; }
.footer-brand { color: var(--paper); font-family: var(--serif); font-size: 1.55rem; letter-spacing: -0.045em; text-decoration: none; }
.footer-meta { color: var(--muted); font-size: 0.82rem; margin: 0; max-width: 500px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: end; }
.footer-links a { color: var(--muted); font-size: 0.86rem; }

.status-inline { color: var(--muted); font-size: 0.86rem; }
.status-inline .dot { color: var(--lime); padding-right: 0.35rem; }
.no-margin { margin: 0; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 34px, 1440px); }
  .desktop-nav, .header-cta { display: none; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 76px; }
  .menu-toggle { display: inline-flex; }
  .home-hero-grid { grid-template-columns: 1fr; }
  .home-copy { max-width: 720px; padding: 2rem 0 3.8rem; }
  .hero-art { min-height: min(78vw, 540px); }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .toc a { padding-right: 0.75rem; }
  .method-intro, .evidence-grid { grid-template-columns: 1fr; }
  .method-conditions { border-left: 0; border-top: 1px solid var(--line); padding: 2rem 0 0; }
}

@media (max-width: 700px) {
  :root { --shell: min(100% - 28px, 1440px); }
  body { font-size: 15px; }
  .header-inner { min-height: 70px; }
  .brand { font-size: 1.48rem; }
  .home-hero { padding-top: 1.6rem; }
  .home-copy { padding: 1rem 0 3rem; }
  .home-copy h1 { font-size: clamp(3rem, 13vw, 4.5rem); }
  .hero-art { min-height: 360px; }
  .hero-art-labels { padding: 1.2rem 1rem; }
  .hero-art-labels span { font-size: clamp(1.85rem, 8vw, 3.5rem); }
  .hero-art-labels span:first-child { padding-right: 0.75rem; }
  .hero-art-labels span:last-child { padding-left: 0.75rem; }
  .hero-art-labels em { font-size: 0.75rem; letter-spacing: 0.08em; }
  .index-head { display: none; }
  .index-row { grid-template-columns: 1fr auto; min-height: 0; padding: 1.4rem 0; }
  .index-row p { grid-column: 1 / -1; }
  .index-arrow { grid-column: 2; grid-row: 1; }
  .article-shell, .method-shell { padding-top: 2.4rem; }
  .article-header h1 { font-size: clamp(3rem, 13vw, 4.8rem); }
  .article-header .lede { font-size: 1.05rem; }
  .article-layout { gap: 2.25rem; }
  .toc nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { align-items: start; display: block; }
  .section-heading p { margin-top: 0.55rem; text-align: left; }
  .verdict-callout { grid-template-columns: 1fr; }
  .verdict-callout .verdict-label { border-bottom: 1px solid var(--line); border-right: 0; padding: 0.85rem 1rem; }
  .verdict-callout p { padding: 1rem; }
  .score-banner { height: 112px; }
  .score-banner-labels span { font-size: 1.75rem; }
  .scorecard th { width: 42%; }
  .scorecard th, .scorecard td { font-size: 0.77rem; padding: 0.72rem 0.55rem; }
  .scorecard tr:first-child td { font-size: 1rem; }
  .verdict-item, .buyer-row { grid-template-columns: 1fr; gap: 0.7rem; }
  .method-header h1 { font-size: clamp(3rem, 13vw, 5rem); }
  .protocol-row { grid-template-columns: 2rem 1fr; }
  .protocol-row p { grid-column: 2; }
  .method-table { grid-template-columns: repeat(2, 1fr); }
  .method-table span:nth-child(2n) { border-right: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; scroll-behavior: auto !important; transition-duration: 1ms !important; }
}
