:root {
  color-scheme: light;
  --ink: #10203a;
  --ink-2: #1d3150;
  --muted: #607089;
  --paper: #f5f7fb;
  --surface: #ffffff;
  --line: #dce2ec;
  --blue: #2457d6;
  --blue-dark: #173c9a;
  --gold: #f5b942;
  --green: #14795d;
  --red: #ad3f3f;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 22px 60px rgba(28, 48, 82, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.7 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--blue-dark); }
button, input, select { font: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { margin: 0 0 1.25rem; font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { margin: 2.6rem 0 1rem; font-size: clamp(1.8rem, 3.6vw, 3rem); }
h3 { margin: 1.7rem 0 .65rem; font-size: 1.35rem; }
p { margin: .8rem 0 1.2rem; }
ul, ol { padding-left: 1.35rem; }
li { margin: .35rem 0; }

.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .7rem 1rem; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.preview-bar { padding: .55rem 1rem; background: #0c172a; color: #dce7f7; text-align: center; font-size: .88rem; }
.preview-bar strong { color: white; }
.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 2rem)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid rgba(220,226,236,.9); background: rgba(255,255,255,.95); backdrop-filter: blur(16px); }
.nav-wrap { width: min(var(--max), calc(100% - 2rem)); min-height: 74px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); font-weight: 850; letter-spacing: -.03em; text-decoration: none; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; padding: 6px; border-radius: 11px; background: var(--ink); color: #9ec0ff; }
.brand-mark svg { width: 27px; height: 27px; }
.main-nav { display: flex; align-items: center; gap: 1.15rem; }
.main-nav a { color: var(--ink-2); font-size: .92rem; font-weight: 720; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); }
.nav-pill { padding: .55rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: #eef3ff; }
.nav-toggle { display: none; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); }

.home-hero { position: relative; overflow: hidden; padding: 3.8rem 0 3.2rem; background: radial-gradient(circle at 85% 5%, rgba(36,87,214,.2), transparent 30rem), radial-gradient(circle at 10% 80%, rgba(245,185,66,.18), transparent 28rem), linear-gradient(145deg,#fff,#eef3fb); }
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 2.4rem; }
.home-hero h1 { max-width: 760px; font-size: clamp(2.45rem, 4.6vw, 4.25rem); }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; color: var(--blue); font-size: .8rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--gold); }
.eyebrow.gold { color: #ffdd88; }
.hero-lede, .lede { max-width: 760px; color: var(--ink-2); font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.45rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .72rem 1.1rem; border: 1px solid transparent; border-radius: 11px; background: var(--blue); color: white; font-weight: 780; text-decoration: none; }
.button:hover { background: var(--blue-dark); color: white; }
.button-light { border-color: var(--line); background: white; color: var(--ink); }
.button-light:hover { background: #eef3fb; color: var(--ink); }
.trust-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.trust-row span { padding: .35rem .62rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.75); color: var(--muted); font-size: .82rem; font-weight: 700; }
.hero-evidence { display: grid; grid-template-columns: 1fr; align-items: start; gap: .85rem; }
.hero-evidence figure { align-self: start; margin: 0; padding: .55rem; border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: var(--shadow); }
.hero-evidence figure:first-child { transform: none; }
.hero-evidence img { display: block; width: 100%; height: auto; object-fit: contain; object-position: center; border-radius: 11px; background: #edf1f7; }
.hero-evidence figcaption { padding: .55rem .25rem .1rem; color: var(--muted); font-size: .8rem; }

.section { padding: 5.2rem 0; }
.section-head { max-width: 760px; margin-bottom: 2rem; }
.section-head h2, .split h2 { margin-top: 0; }
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.review-card { display: flex; min-height: 285px; flex-direction: column; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 30px rgba(28,48,82,.06); }
.review-card h3 { font-size: 1.55rem; }
.review-card a { margin-top: auto; font-weight: 780; }
.card-tag { align-self: flex-start; padding: .3rem .55rem; border-radius: 999px; background: #e9f7f2; color: var(--green); font-size: .78rem; font-weight: 820; }
.card-tag-docs { background: #fff4d8; color: #77500a; }
.card-tag-secondary { background: #edf0f5; color: #516078; }
.section-ink { background: var(--ink); color: #eaf0fa; }
.section-ink h2 { color: white; }
.section-ink p { color: #c7d2e3; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
.principle-list { display: grid; gap: .8rem; }
.principle-list div { padding: 1rem 1.15rem; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: rgba(255,255,255,.06); }
.principle-list strong, .principle-list span { display: block; }
.principle-list span { color: #bcc9dc; font-size: .9rem; }

.article-hero { padding: 3.2rem 0 2.6rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg,#fff,#f2f5fb); }
.article-hero h1 { font-size: clamp(2.35rem, 4.7vw, 4rem); }
.meta-row { display: flex; flex-wrap: wrap; gap: .7rem 1.25rem; color: var(--muted); font-size: .86rem; }
.article-section { padding: 3rem 0 5rem; }
.article-layout { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 790px) 260px; gap: 4rem; align-items: start; }
.article-layout > article { min-width: 0; }
.article-layout article > h2 { padding-top: 1rem; }
.article-layout > aside { position: sticky; top: 98px; }
.article-layout h2[id], .article-layout h3[id] { scroll-margin-top: 112px; }
.toc { display: grid; gap: .45rem; padding: 1rem; border: 1px solid var(--line); border-radius: 13px; background: white; font-size: .9rem; }
.toc strong { margin-bottom: .25rem; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--blue); }
.disclosure, .risk-note, .callout { margin: 0 0 1.2rem; padding: 1rem 1.1rem; border: 1px solid #cad8f7; border-left: 4px solid var(--blue); border-radius: 10px; background: #eef3ff; }
.disclosure-compact { display: flex; align-items: baseline; gap: .45rem; padding: .62rem .85rem; font-size: .86rem; line-height: 1.45; }
.disclosure-compact strong { flex: 0 0 auto; }
.disclosure-compact p { display: inline; margin: 0; }
.testing-status { border-color: #d8deea; border-left-color: var(--ink-2); background: white; }
.testing-status p { margin: .25rem 0 0; }
.risk-note { border-color: #f1d89a; border-left-color: var(--gold); background: #fff9e9; }
.disclosure p, .risk-note p { margin: .25rem 0 0; }
.verdict { margin: 2rem 0 2.5rem; padding: 1.4rem; border-radius: var(--radius); background: var(--ink); color: #dbe5f4; }
.verdict span { color: #ffda7c; font-size: .78rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.verdict h2 { margin: .45rem 0 .65rem; color: white; font-size: clamp(1.7rem,3vw,2.4rem); }
.verdict p { margin: 0; }
.evidence { margin: 1.7rem 0 2.2rem; padding: .65rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 13px 36px rgba(28,48,82,.08); }
.evidence img { display: block; width: 100%; max-height: 680px; object-fit: contain; border-radius: 12px; background: #edf1f7; }
.evidence figcaption, .video-block figcaption { padding: .75rem .35rem .25rem; color: var(--muted); font-size: .86rem; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.pros-cons > div { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 13px; background: white; }
.pros-cons h3 { margin-top: 0; }
.video-block { margin: 2rem 0; }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16/9; border-radius: var(--radius); background: #0b1220; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #263b61, #0b1220 68%); }
.video-load { display: grid; justify-items: center; gap: .55rem; max-width: 340px; padding: 1.25rem; border: 1px solid rgba(255,255,255,.25); border-radius: 14px; background: rgba(255,255,255,.08); color: white; cursor: pointer; text-align: center; }
.video-load:hover, .video-load:focus-visible { background: rgba(255,255,255,.14); outline: 3px solid #9ec0ff; outline-offset: 3px; }
.video-load span:last-child { color: #c7d2e3; font-size: .86rem; }
.video-play { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 50%; background: var(--blue); font-size: 1.2rem; }
.cta-box { margin: 2.5rem 0; padding: 1.5rem; border-radius: var(--radius); background: #eaf0ff; }
.cta-box h2 { margin-top: 0; font-size: 2rem; }
.cta-box p:last-of-type { margin-bottom: 1.1rem; }
.cta-box.compact { margin: 1.4rem 0 2rem; padding: 1.2rem; border: 1px solid #cbd8f7; }
.cta-box.compact h2 { font-size: 1.45rem; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.cta-note { color: var(--muted); font-size: .82rem; }
.quick-answer { margin: 1.5rem 0; padding: 1.2rem; border: 1px solid var(--line); border-radius: 13px; background: white; }
.quick-answer h2 { margin: 0 0 .6rem; font-size: 1.55rem; }
.quick-answer p:last-child { margin-bottom: 0; }
.test-record { display: grid; grid-template-columns: repeat(4,1fr); gap: .65rem; margin: 1.2rem 0 2rem; }
.test-record div { padding: .8rem; border: 1px solid var(--line); border-radius: 10px; background: white; }
.test-record strong, .test-record span { display: block; }
.test-record strong { font-size: .78rem; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }
.test-record span { margin-top: .25rem; font-size: .88rem; color: var(--ink-2); }
.answer-list { display: grid; gap: .75rem; }
.answer-list details { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 11px; background: white; }
.answer-list summary { cursor: pointer; color: var(--ink); font-weight: 780; }
.answer-list details p { margin-bottom: 0; }
.sources-list li { margin: .65rem 0; }
.compare-images { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.compare-images .evidence { margin: .5rem 0; }
.dual-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.dual-cta > div { padding: 1.2rem; border: 1px solid var(--line); border-radius: 13px; background: white; }
.dual-cta h3 { margin-top: 0; }
.top-offers { margin-top: 1.2rem; }
.top-offers p { margin: .75rem 0 0; color: var(--muted); font-size: .9rem; }
.three-offers { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 2rem 0; }
.three-offers > div { padding: 1.2rem; border: 1px solid var(--line); border-radius: 13px; background: white; }
.three-offers h3 { margin-top: 0; }
.three-offers p { color: var(--muted); font-size: .9rem; }
.evidence-levels { margin: 1.3rem 0 2.2rem; }
.table-wrap { overflow-x: auto; margin: 1.3rem 0 2rem; border: 1px solid var(--line); border-radius: 13px; background: white; }
table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: .94rem; }
.wide-table { min-width: 940px; }
.comparison-table { min-width: 720px; table-layout: fixed; font-size: .86rem; }
.comparison-table th:first-child, .comparison-table td:first-child { width: 20%; }
.comparison-table th, .comparison-table td { overflow-wrap: anywhere; hyphens: auto; }
.comparison-table-wrap { scrollbar-gutter: stable; }
.comparison-table-wrap:focus-visible { outline: 3px solid #9ec0ff; outline-offset: 3px; }
.table-scroll-hint { display: none; margin: -.35rem 0 .7rem; color: var(--muted); font-size: .84rem; }
.home-summary { margin-top: 1.4rem; }
.home-summary table { min-width: 820px; font-size: .88rem; }
.cost-form { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 1rem; }
.cost-form label { display: grid; gap: .35rem; }
.cost-form input { width: 100%; padding: .7rem; border: 1px solid var(--line); border-radius: 8px; }
#cost-result { display: block; }
th, td { padding: .85rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #edf2fb; color: var(--ink); }
tr:last-child td { border-bottom: 0; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; padding: 0; list-style: none; }
.checklist li { padding: .65rem .8rem .65rem 2rem; border: 1px solid var(--line); border-radius: 9px; background: white; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: .75rem; color: var(--green); font-weight: 900; }
.prose { font-size: 1.04rem; }
.method-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.method-grid > div { padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: white; }
.method-grid p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }
.workflow-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; padding: 0; counter-reset: workflow; }
.workflow-steps > div { position: relative; min-height: 150px; padding: 3rem 1rem 1rem; border: 1px solid var(--line); border-radius: 13px; background: white; counter-increment: workflow; }
.workflow-steps > div::before { content: counter(workflow); position: absolute; top: .85rem; left: 1rem; display: grid; width: 1.75rem; height: 1.75rem; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: .78rem; font-weight: 850; }
.workflow-steps strong, .workflow-steps span { display: block; }
.workflow-steps span { margin-top: .35rem; color: var(--muted); font-size: .9rem; }

.site-footer { padding: 3.7rem 0 1.5rem; background: #0c172a; color: #c2cee0; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 2.5rem; }
.footer-brand { color: white; }
.site-footer h2 { margin: 0 0 .7rem; color: white; font-size: 1rem; letter-spacing: 0; }
.site-footer a:not(.brand) { display: block; margin: .35rem 0; color: #c2cee0; font-size: .9rem; text-decoration: none; }
.site-footer a:hover { color: white; }
.footer-note { margin-top: 2.4rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }

@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-evidence { max-width: 720px; }
  .card-grid { grid-template-columns: 1fr; }
  .review-card { min-height: 0; }
  .article-layout { grid-template-columns: 1fr; }
  .article-layout > aside { position: static; order: -1; }
  .toc { grid-template-columns: repeat(3,1fr); }
  .toc strong { grid-column: 1/-1; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 74px; left: 1rem; right: 1rem; padding: .8rem; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: grid; }
  .main-nav a { padding: .55rem; }
  .home-hero { padding: 3.2rem 0 2.8rem; }
  .home-hero h1 { font-size: clamp(2.25rem, 11vw, 3.35rem); }
  .table-scroll-hint { display: block; }
  .hero-evidence { grid-template-columns: 1fr; transform: none; }
  .hero-evidence figure:first-child { transform: none; }
  .article-hero { padding: 3.5rem 0 2.6rem; }
  .article-layout { width: min(calc(100% - 1.25rem), 790px); }
  .toc { grid-template-columns: 1fr 1fr; }
  .pros-cons, .compare-images, .dual-cta, .three-offers, .method-grid, .workflow-steps { grid-template-columns: 1fr; }
  .workflow-steps > div { min-height: 0; }
  .test-record { grid-template-columns: 1fr 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 480px) {
  .brand > span:last-child { max-width: 180px; line-height: 1.1; }
  .toc { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .test-record { grid-template-columns: 1fr; }
  .disclosure-compact { display: block; }
  .disclosure-compact strong { display: block; margin-bottom: .2rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
