/* Unflag website. Tokens follow DESIGN.md. No hex values outside :root. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
:root {
  --bg: #0a0f1e;            --bg-rgb: 10, 15, 30;
  --surface-1: #10172a;     --surface-1-rgb: 16, 23, 42;
  --surface-2: #161f38;
  --surface-3: #1e2947;
  --outline: #283456;
  --text: #f1f4fb;          --text-rgb: 241, 244, 251;
  --text-muted: #a9b3cc;
  --primary: #6e95ff;       --primary-rgb: 110, 149, 255;
  --on-primary: #06123a;
  --cta: #22d3a6;           --cta-rgb: 34, 211, 166;
  --cta-hover: #4be3bd;
  --on-cta: #032b21;
  --violet: #9b7bff;        --violet-rgb: 155, 123, 255;
  --mint: #22d3a6;          --mint-rgb: 34, 211, 166;
  --sky: #3cc8f5;           --sky-rgb: 60, 200, 245;
  --flag: #ff6b61;          --flag-rgb: 255, 107, 97;
  --caution: #ffb547;       --caution-rgb: 255, 181, 71;
  --black-rgb: 0, 0, 0;

  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-lg: 28px; --r-md: 20px; --r-sm: 14px; --r-pill: 999px;
  --max: 1180px;
  --shadow-float: 0 30px 60px -30px rgba(var(--black-rgb), .6);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--sky); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(var(--primary-rgb), .35); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 16px; z-index: 100; background: var(--surface-3); color: var(--text); padding: 8px 14px; border-radius: var(--r-pill); }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; }
h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3 { font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(var(--surface-1-rgb), .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--outline);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.brand:hover { color: var(--text); }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { color: var(--text-muted); text-decoration: none; font-weight: 500; padding: 10px 14px; border-radius: var(--r-pill); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), transform .15s var(--ease), border-color .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--sky); color: var(--on-primary); }
.btn-tonal { background: var(--surface-3); color: var(--text); }
.btn-tonal:hover { background: var(--outline); color: var(--text); }
.btn-outline { border-color: var(--outline); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--primary); color: var(--text); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 96px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 140%; z-index: -1;
  background:
    radial-gradient(600px circle at var(--mx, 70%) var(--my, 30%), rgba(var(--primary-rgb), .16), transparent 60%),
    radial-gradient(520px circle at 12% 18%, rgba(var(--violet-rgb), .12), transparent 60%),
    radial-gradient(700px circle at 85% 90%, rgba(var(--mint-rgb), .08), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; margin-bottom: 24px;
  background: var(--surface-2); border: 1px solid var(--outline); border-radius: var(--r-pill);
  color: var(--text-muted); font-size: .9375rem; text-decoration: none;
}
.hero-chip:hover { color: var(--text); border-color: var(--primary); }
.hero-chip b { background: rgba(var(--mint-rgb), .16); color: var(--mint); font-weight: 600; padding: 2px 10px; border-radius: var(--r-pill); font-size: .8125rem; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); line-height: 1.02; margin-bottom: 24px; }
.hero h1 .line { display: block; }
.hero .lead { color: var(--text-muted); font-size: 1.2rem; max-width: 36rem; margin: 0 0 32px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .assure { margin: 24px 0 0; display: flex; gap: 20px; flex-wrap: wrap; color: var(--text-muted); font-size: .9375rem; }
.hero .assure span { display: inline-flex; align-items: center; gap: 8px; }
.hero .assure svg { width: 18px; height: 18px; color: var(--mint); }

/* Scan console: signature moment */
.console {
  background: var(--surface-1); border: 1px solid var(--outline); border-radius: var(--r-lg);
  box-shadow: var(--shadow-float); overflow: hidden;
}
.console-top { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--outline); }
.score { position: relative; width: 64px; height: 64px; flex: none; }
.score svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.score circle { fill: none; stroke-width: 6; }
.score .track { stroke: var(--surface-3); }
.score .bar { stroke: var(--caution); stroke-linecap: round; stroke-dasharray: 163.4; stroke-dashoffset: 163.4; transition: stroke-dashoffset 1.6s var(--ease), stroke .4s; }
.score .num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.console-title strong { display: block; font-size: 1.05rem; }
.console-title span { color: var(--text-muted); font-size: .875rem; }
.checks-run { list-style: none; margin: 0; padding: 12px 24px; border-bottom: 1px solid var(--outline); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.checks-run li { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--text-muted); opacity: .45; transition: opacity .3s, color .3s; }
.checks-run li .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--outline); flex: none; transition: background .3s; }
.checks-run li.done { opacity: 1; color: var(--text); }
.checks-run li.done .dot { background: var(--mint); }
.checks-run li.bad .dot { background: var(--flag); }
.findings { list-style: none; margin: 0; padding: 8px 0; min-height: 252px; }
.finding {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 24px;
  opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease), background .5s;
}
.finding.show { opacity: 1; transform: none; }
.finding .ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--flag-rgb), .14); color: var(--flag); transition: background .4s, color .4s; }
.finding .ico svg { width: 16px; height: 16px; }
.finding h3 { font-family: var(--font-body); font-size: .975rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; margin-bottom: 2px; }
.finding p { margin: 0; font-size: .875rem; color: var(--text-muted); line-height: 1.5; }
.finding .rule { display: inline-block; margin-top: 6px; font-size: .8125rem; color: var(--primary); }
.finding.fixed { background: rgba(var(--mint-rgb), .06); }
.finding.fixed .ico { background: rgba(var(--mint-rgb), .16); color: var(--mint); }
.chip { display: inline-block; padding: 1px 10px; border-radius: var(--r-pill); font-size: .75rem; font-weight: 600; vertical-align: 1px; margin-left: 6px; font-family: var(--font-body); }
.chip-flag { background: rgba(var(--flag-rgb), .14); color: var(--flag); }
.chip-fixed { background: rgba(var(--mint-rgb), .16); color: var(--mint); }
.console-foot { padding: 12px 24px; background: var(--surface-2); color: var(--text-muted); font-size: .8125rem; display: flex; justify-content: space-between; gap: 12px; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--outline); background: var(--surface-1); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; gap: 40px; animation: slide 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--text-muted); }
.marquee span img { width: 18px; height: 18px; opacity: .8; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-head { max-width: 46rem; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 1.15rem; margin: 0; }

/* Bento of checks */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--surface-2); border: 1px solid var(--outline); border-radius: var(--r-lg);
  padding: 28px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--tx, 50%) var(--ty, 50%), rgba(var(--primary-rgb), .14), transparent 65%);
}
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 1.35rem; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--text-muted); }
.tile .count { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; letter-spacing: -0.04em; }
.tile .count small { font-family: var(--font-body); font-size: .9375rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0; margin-left: 6px; }
.t-a { grid-column: span 4; } .t-b { grid-column: span 2; } .t-c { grid-column: span 2; }
.t-d { grid-column: span 2; } .t-e { grid-column: span 2; } .t-f { grid-column: span 6; }
.t-a .count { color: var(--primary); } .t-b .count { color: var(--violet); } .t-c .count { color: var(--mint); }
.t-d .count { color: var(--sky); } .t-e .count { color: var(--caution); }
.tile-examples { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tile-examples li { background: var(--surface-3); color: var(--text); border-radius: var(--r-pill); padding: 4px 12px; font-size: .875rem; }
.t-f { flex-direction: row; align-items: center; min-height: 0; }
.t-f .google-link { display: flex; align-items: center; gap: 20px; }
.t-f .plug { flex: none; width: 56px; height: 56px; border-radius: var(--r-sm); background: rgba(var(--sky-rgb), .14); color: var(--sky); display: grid; place-items: center; }
.t-f .plug svg { width: 28px; height: 28px; }
.t-f .tag { flex: none; background: rgba(var(--violet-rgb), .16); color: var(--violet); border-radius: var(--r-pill); padding: 6px 14px; font-size: .875rem; font-weight: 600; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface-1); border: 1px solid var(--outline); border-radius: var(--r-md); padding: 28px 24px; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 20px;
  border-radius: 12px; background: rgba(var(--primary-rgb), .14); color: var(--primary);
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
}
.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--text-muted); font-size: .975rem; }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.promise { padding: 32px; border-radius: var(--r-lg); background: var(--surface-1); border: 1px solid var(--outline); }
.promise .p-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; }
.promise .p-ico svg { width: 24px; height: 24px; }
.promise:nth-child(1) .p-ico { background: rgba(var(--mint-rgb), .14); color: var(--mint); }
.promise:nth-child(2) .p-ico { background: rgba(var(--caution-rgb), .14); color: var(--caution); }
.promise:nth-child(3) .p-ico { background: rgba(var(--violet-rgb), .16); color: var(--violet); }
.promise h3 { font-size: 1.25rem; margin-bottom: 8px; }
.promise p { margin: 0; color: var(--text-muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-lg); background: var(--surface-1); border: 1px solid var(--outline); }
.plan.featured { background: var(--surface-2); border-color: rgba(var(--primary-rgb), .6); position: relative; }
.plan.featured .badge { position: absolute; top: -13px; left: 32px; background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: .8125rem; padding: 4px 12px; border-radius: var(--r-pill); }
.plan h3 { font-size: 1.25rem; }
.plan .price { font-family: var(--font-display); font-weight: 800; font-size: 3rem; letter-spacing: -0.04em; line-height: 1; margin: 16px 0 8px; }
.plan .price small { font-family: var(--font-body); font-weight: 500; font-size: 1rem; letter-spacing: 0; color: var(--text-muted); }
.plan .for { color: var(--text-muted); margin: 0 0 24px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.plan li svg { width: 20px; height: 20px; color: var(--mint); margin-top: 3px; }
.pricing-note { color: var(--text-muted); margin: 24px 0 0; font-size: .9375rem; }

/* Blog teaser and blog list */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-card {
  display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-lg);
  background: var(--surface-1); border: 1px solid var(--outline); color: var(--text); text-decoration: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.post-card:hover { color: var(--text); border-color: var(--primary); background: var(--surface-2); }
.post-card .topic { align-self: flex-start; font-size: .8125rem; font-weight: 600; padding: 3px 12px; border-radius: var(--r-pill); background: rgba(var(--primary-rgb), .14); color: var(--primary); }
.post-card h3 { font-size: 1.3rem; line-height: 1.25; }
.post-card p { margin: 0; color: var(--text-muted); font-size: .975rem; flex: 1; }
.post-card .meta { color: var(--text-muted); font-size: .875rem; }
.post-card .read { color: var(--primary); font-weight: 600; font-size: .9375rem; }

/* FAQ */
.faq { max-width: 52rem; display: grid; gap: 12px; }
.faq details { background: var(--surface-1); border: 1px solid var(--outline); border-radius: var(--r-md); padding: 4px 24px; }
.faq details[open] { background: var(--surface-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { margin: 0 0 20px; color: var(--text-muted); }

/* Closing CTA */
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; padding: 72px 56px;
  background: var(--surface-2); border: 1px solid var(--outline);
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(520px circle at 90% 10%, rgba(var(--primary-rgb), .22), transparent 60%),
              radial-gradient(420px circle at 0% 100%, rgba(var(--mint-rgb), .14), transparent 60%);
}
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; max-width: 18ch; margin-bottom: 16px; }
.cta p { color: var(--text-muted); max-width: 40rem; font-size: 1.15rem; margin: 0 0 32px; }
.cta .mark { position: absolute; right: 48px; bottom: 40px; width: 160px; opacity: .9; z-index: -1; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--outline); padding: 56px 0 40px; margin-top: 112px; color: var(--text-muted); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h4 { margin: 0 0 12px; color: var(--text); font-family: var(--font-body); font-size: .9375rem; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .legal-line { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--outline); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .875rem; }
.selfscan { position: relative; display: inline-flex; align-items: center; gap: 8px; background: rgba(var(--mint-rgb), .12); color: var(--mint); border: 0; border-radius: var(--r-pill); padding: 6px 14px; font: inherit; font-size: .875rem; cursor: help; }
.selfscan .tip { position: absolute; bottom: calc(100% + 10px); right: 0; width: 260px; background: var(--surface-3); color: var(--text); border: 1px solid var(--outline); border-radius: var(--r-sm); padding: 12px 14px; font-size: .8125rem; line-height: 1.5; text-align: left; opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity .2s, transform .2s; }
.selfscan:hover .tip, .selfscan:focus-visible .tip { opacity: 1; transform: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Blog index ---------- */
.page-head { padding: 64px 0 48px; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.5rem); line-height: 1.05; margin-bottom: 16px; }
.page-head p { color: var(--text-muted); font-size: 1.2rem; max-width: 42rem; margin: 0; }

/* ---------- Article ---------- */
.crumbs { font-size: .875rem; color: var(--text-muted); margin-bottom: 24px; }
.crumbs a { color: var(--text-muted); }
.article-head { padding: 48px 0 40px; border-bottom: 1px solid var(--outline); margin-bottom: 48px; }
.article-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.08; max-width: 22ch; margin-bottom: 20px; }
.article-head .dek { color: var(--text-muted); font-size: 1.25rem; max-width: 44rem; margin: 0 0 24px; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--text-muted); font-size: .9375rem; align-items: center; }
.article-layout { display: grid; grid-template-columns: minmax(0, 68ch) minmax(0, 1fr); gap: 64px; }
.toc { position: sticky; top: 96px; align-self: start; background: var(--surface-1); border: 1px solid var(--outline); border-radius: var(--r-md); padding: 20px 24px; font-size: .9375rem; }
.toc h2 { font-family: var(--font-body); font-size: .9375rem; font-weight: 600; margin-bottom: 10px; letter-spacing: 0; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.toc a:not(.btn) { color: var(--text-muted); text-decoration: none; }
.toc a:not(.btn):hover { color: var(--text); }
.toc .toc-cta { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--outline); }
.toc .toc-cta p { margin: 0 0 12px; color: var(--text-muted); }
.prose { font-size: 1.125rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.75rem; line-height: 1.2; margin-top: 2.2em; scroll-margin-top: 96px; }
.prose h3 { font-size: 1.3rem; line-height: 1.3; margin-top: 1.8em; scroll-margin-top: 96px; }
.prose p, .prose li { color: rgba(var(--text-rgb), .9); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose strong { color: var(--text); }
.prose blockquote { margin-left: 0; padding: 16px 20px; border-radius: var(--r-sm); background: rgba(var(--primary-rgb), .08); border-left: 3px solid var(--primary); }
.prose blockquote p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--outline); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; background: var(--surface-1); }
.prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .95em; }
.prose hr { border: 0; border-top: 1px solid var(--outline); margin: 2.4em 0; }
.article-end { margin-top: 64px; }
.sources { margin-top: 48px; padding: 24px; border-radius: var(--r-md); background: var(--surface-1); border: 1px solid var(--outline); font-size: .9375rem; }
.sources h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: 10px; }
.sources ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }

/* ---------- Legal ---------- */
.legal .wrap { max-width: 820px; }
.legal .updated { color: var(--text-muted); margin: 0 0 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-a, .t-b, .t-c, .t-d, .t-e { grid-column: span 1; }
  .t-a { grid-column: span 2; }
  .t-f { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav a:not(.btn) { display: none; }
  .section { padding: 80px 0; }
  .bento { grid-template-columns: 1fr; }
  .t-a, .t-f { grid-column: span 1; }
  .t-f { flex-direction: column; align-items: flex-start; }
  .promises, .plans, .steps { grid-template-columns: 1fr; }
  .cta { padding: 48px 24px; border-radius: var(--r-lg); }
  .cta .mark { display: none; }
  .hero { padding: 32px 0 72px; }
  .finding, .console-top, .checks-run, .console-foot { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero .actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .finding, .score .bar, .checks-run li { transition: none; }
}

/* ===================== v2 upgrades ===================== */

/* Fine grain over the whole page: removes gradient banding on dark screens */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Floating header */
.site-header { padding: 14px 0; border: 0; background: transparent; }
.site-header.scrolled { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; }
.site-header .wrap { min-height: 0; }
.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  padding: 8px 8px 8px 18px; border-radius: var(--r-pill);
  background: rgba(var(--surface-1-rgb), .72); border: 1px solid var(--outline);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled .bar { background: rgba(var(--surface-1-rgb), .9); box-shadow: var(--shadow-float); }
.brand img { width: 28px; height: 28px; }

/* Icon tiles: one consistent icon language */
.ico-tile { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.ico-tile svg { width: 22px; height: 22px; stroke-width: 1.8; }
.tone-primary { background: rgba(var(--primary-rgb), .14); color: var(--primary); }
.tone-violet { background: rgba(var(--violet-rgb), .16); color: var(--violet); }
.tone-mint { background: rgba(var(--mint-rgb), .14); color: var(--mint); }
.tone-sky { background: rgba(var(--sky-rgb), .14); color: var(--sky); }
.tone-caution { background: rgba(var(--caution-rgb), .14); color: var(--caution); }
.tone-flag { background: rgba(var(--flag-rgb), .14); color: var(--flag); }

/* Hero v2 */
.hero { padding: 40px 0 72px; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); letter-spacing: -0.035em; }
.hero h1 .soft { color: var(--text-muted); }
.hero-visual { position: relative; }
.hero-visual .halo {
  position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -90px; opacity: .22;
  filter: saturate(1.1); pointer-events: none;
}
.status-card {
  position: absolute; left: -40px; bottom: -36px; width: 290px;
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  background: var(--surface-2); border: 1px solid var(--outline); border-radius: var(--r-md);
  box-shadow: var(--shadow-float); opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.status-card.show { opacity: 1; transform: none; }
.status-card strong { display: block; font-size: .9375rem; }
.status-card span { font-size: .8125rem; color: var(--text-muted); }
.status-card .ico-tile { width: 36px; height: 36px; border-radius: 12px; }
.status-card .ico-tile svg { width: 18px; height: 18px; }

/* Facts strip: quotable, sourced */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 88px; border: 1px solid var(--outline); border-radius: var(--r-lg); background: rgba(var(--surface-1-rgb), .6); }
.fact { padding: 24px 28px; border-right: 1px solid var(--outline); }
.fact:last-child { border-right: 0; }
.fact b { display: block; font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.fact span { color: var(--text-muted); font-size: .9375rem; line-height: 1.5; display: block; margin-top: 6px; }
.facts-note { margin: 12px 4px 0; font-size: .8125rem; color: var(--text-muted); }
.facts-note a { color: var(--text-muted); }

/* Answer block (homepage definition) */
.answer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.answer h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.1; }
.answer .def { font-size: 1.2rem; color: rgba(var(--text-rgb), .92); margin: 0 0 16px; }
.answer .def strong { color: var(--text); }
.answer p { color: var(--text-muted); margin: 0 0 14px; }

/* Bento tiles with icons */
.tile-head { display: flex; gap: 16px; align-items: flex-start; }
.tile .count { margin-bottom: 4px; }

/* Audience */
.audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.persona { padding: 28px 24px; border-radius: var(--r-lg); background: var(--surface-1); border: 1px solid var(--outline); display: flex; flex-direction: column; gap: 16px; }
.persona h3 { font-size: 1.2rem; }
.persona p { margin: 0; color: var(--text-muted); font-size: .975rem; }
.persona .need { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--outline); font-size: .9375rem; color: var(--text); }

/* Comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--outline); border-radius: var(--r-lg); overflow: hidden; background: var(--surface-1); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--outline); font-size: .975rem; vertical-align: middle; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--font-body); font-weight: 600; color: var(--text-muted); background: var(--surface-2); }
.compare thead th.us { color: var(--primary); }
.compare td.us { background: rgba(var(--primary-rgb), .06); }
.compare .yes, .compare .no, .compare .part { display: inline-flex; align-items: center; gap: 8px; }
.compare .yes { color: var(--mint); } .compare .no { color: var(--text-muted); } .compare .part { color: var(--caution); }
.compare svg { width: 18px; height: 18px; }
.compare-wrap { overflow-x: auto; }

/* Steps with icon */
.steps li::before { display: none; }
.steps .step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.steps .step-n { font-family: var(--font-display); font-weight: 800; color: var(--outline); font-size: 2rem; line-height: 1; }

/* Article v2 */
.tldr { margin: 0 0 32px; padding: 22px 24px; border-radius: var(--r-md); background: rgba(var(--primary-rgb), .08); border: 1px solid rgba(var(--primary-rgb), .35); }
.tldr h2 { font-family: var(--font-body); font-size: .9375rem !important; font-weight: 700; letter-spacing: 0; margin: 0 0 8px !important; color: var(--primary); }
.tldr p { margin: 0; font-size: 1.125rem; color: var(--text) !important; }
.keyfacts { margin: 0 0 40px; border: 1px solid var(--outline); border-radius: var(--r-md); overflow: hidden; }
.keyfacts h2 { font-family: var(--font-body); font-size: .9375rem !important; font-weight: 700; letter-spacing: 0; margin: 0 !important; padding: 14px 20px; background: var(--surface-1); border-bottom: 1px solid var(--outline); }
.keyfacts dl { margin: 0; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); }
.keyfacts dt, .keyfacts dd { margin: 0; padding: 12px 20px; border-bottom: 1px solid var(--outline); font-size: 1rem; }
.keyfacts dt { color: var(--text-muted); }
.keyfacts dd { color: var(--text); }
.keyfacts dl > :nth-last-child(-n+2) { border-bottom: 0; }
.author-box { display: flex; gap: 16px; align-items: center; margin-top: 48px; padding: 20px 24px; border-radius: var(--r-md); background: var(--surface-1); border: 1px solid var(--outline); }
.author-box .avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); flex: none; }
.author-box .avatar img { width: 30px; height: 30px; }
.author-box p { margin: 0; font-size: .9375rem; color: var(--text-muted); }
.author-box strong { color: var(--text); }
.prose input[type="checkbox"] { accent-color: var(--mint); width: 16px; height: 16px; margin-right: 8px; vertical-align: -2px; }
.prose ul:has(input[type="checkbox"]) { list-style: none; padding-left: 0; }
.related { margin-top: 48px; }
.related h2 { font-size: 1.4rem !important; margin-bottom: 16px; }
.related .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Glossary */
.glossary { display: grid; gap: 12px; max-width: 900px; }
.term { padding: 22px 24px; border-radius: var(--r-md); background: var(--surface-1); border: 1px solid var(--outline); scroll-margin-top: 110px; }
.term h2 { font-size: 1.25rem; margin-bottom: 6px; }
.term p { margin: 0; color: rgba(var(--text-rgb), .88); }
.term .see { margin-top: 10px; font-size: .9375rem; }
.az { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.az a { display: inline-block; padding: 6px 14px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--text); text-decoration: none; font-size: .9375rem; border: 1px solid var(--outline); }
.az a:hover { border-color: var(--primary); color: var(--text); }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 68ch) minmax(0, 1fr); gap: 64px; }
.about-card { background: var(--surface-1); border: 1px solid var(--outline); border-radius: var(--r-md); padding: 24px; align-self: start; }
.about-card dl { margin: 0; display: grid; gap: 12px; }
.about-card dt { color: var(--text-muted); font-size: .875rem; }
.about-card dd { margin: 0; }

@media (max-width: 1024px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--outline); }
  .answer, .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-card { left: 16px; }
  .hero-visual .halo { display: none; }
}
@media (max-width: 760px) {
  .bar { padding-left: 14px; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 64px; }
  .fact { padding: 18px; }
  .fact b { font-size: 1.6rem; }
  .audience, .related .posts { grid-template-columns: 1fr; }
  .status-card { position: relative; left: 0; bottom: 0; margin-top: 16px; width: auto; }
  .keyfacts dl { grid-template-columns: 1fr; }
  .keyfacts dt { border-bottom: 0; padding-bottom: 0; }
  .compare th, .compare td { padding: 12px 14px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .status-card { opacity: 1; transform: none; transition: none; } }

/* v2 polish */
.site-header { position: sticky; }
.hero { margin-top: -96px; padding-top: 136px; }
.hero h1 { font-weight: 750; letter-spacing: -0.028em; line-height: 1.04; font-variation-settings: "opsz" 96; }
.hero-visual .halo { width: 640px; height: 640px; right: -260px; top: -150px; opacity: .1; }
.status-card span { line-height: 1.45; display: block; margin-top: 2px; }
h2 { font-variation-settings: "opsz" 72; }
@media (max-width: 760px) { .hero { margin-top: -84px; padding-top: 112px; } }

/* v3: calmer hero, logo only in header and footer */
.hero { padding-bottom: 96px; }
.hero-grid { gap: 72px; }
.hero .lead { max-width: 33rem; }
.marquee span { gap: 14px; }
.marquee .sep { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); opacity: .7; display: inline-block; }
.facts-band { padding: 72px 0 0; }
.facts-band .facts { margin-top: 0; }
.author-box .avatar { font-family: var(--font-display); font-weight: 700; color: var(--primary); font-size: 1.05rem; }
.consent { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto; display: grid; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--outline); box-shadow: var(--shadow-float); }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: .9375rem; color: var(--text-muted); }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.hero h1 { font-weight: 700; letter-spacing: -0.018em; line-height: 1.06; }

/* ===== Scan report card v2 ===== */
.console { border-radius: 24px; background: linear-gradient(180deg, var(--surface-2), var(--surface-1) 38%); box-shadow: 0 40px 80px -40px rgba(var(--black-rgb), .8), 0 0 0 1px rgba(var(--primary-rgb), .06); }
.console-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--outline); background: rgba(var(--bg-rgb), .35); }
.cb-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; }
.store-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--surface-3); color: var(--text-muted); font-size: .8125rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(var(--mint-rgb), .2); flex: none; }
.console-top { padding: 22px 20px 18px; gap: 18px; border-bottom: 0; }
.score, .score svg { width: 76px; height: 76px; }
.score .num { font-size: 1.5rem; }
.console-title strong { font-size: 1.1rem; }
.sev-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.sev { font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); }
.sev-c { --sev: var(--flag); --sev-rgb: var(--flag-rgb); }
.sev-h { --sev: var(--caution); --sev-rgb: var(--caution-rgb); }
.sev-m { --sev: var(--sky); --sev-rgb: var(--sky-rgb); }
.sev.sev-c, .sev.sev-h, .sev.sev-m { background: rgba(var(--sev-rgb), .14); color: var(--sev); }
.progress { padding: 0 20px 18px; border-bottom: 1px solid var(--outline); }
.progress-label { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--text-muted); margin-bottom: 8px; }
.progress-track { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.progress-track i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--mint), var(--sky)); transition: width .8s var(--ease); }
.checks-run { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 16px 20px; }
.checks-run li { justify-content: flex-start; padding: 7px 10px; border-radius: 10px; background: var(--surface-1); border: 1px solid var(--outline); font-size: .8125rem; }
.checks-run li.done { border-color: rgba(var(--mint-rgb), .35); }
.checks-run li.done.bad { border-color: rgba(var(--flag-rgb), .4); }
.findings { padding: 6px 12px 12px; min-height: 0; display: grid; gap: 8px; }
.finding {
  grid-template-columns: 30px 1fr; gap: 12px; padding: 14px 14px 14px 12px; border-radius: 16px;
  background: var(--surface-1); border: 1px solid var(--outline); border-left: 3px solid var(--sev);
}
.finding .ico { width: 30px; height: 30px; background: rgba(var(--sev-rgb), .14); color: var(--sev); }
.finding .ico svg { width: 15px; height: 15px; }
.f-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.sev-tag { font-size: .75rem; font-weight: 700; color: var(--sev); }
.finding .chip { margin-left: auto; }
.finding h3 { font-size: .95rem; margin-bottom: 2px; }
.f-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.finding .rule { margin-top: 0; font-size: .75rem; padding: 2px 8px; border-radius: 6px; background: rgba(var(--primary-rgb), .1); }
.fixlink { font-size: .75rem; font-weight: 600; color: var(--text); padding: 3px 10px; border-radius: var(--r-pill); border: 1px solid var(--outline); }
.finding.fixed { background: rgba(var(--mint-rgb), .06); border-left-color: var(--mint); border-color: rgba(var(--mint-rgb), .3); }
.finding.fixed .ico { background: rgba(var(--mint-rgb), .16); color: var(--mint); }
.finding.fixed .sev-tag { color: var(--mint); }
.finding.fixed h3 { color: var(--text-muted); }
.console-foot { padding: 14px 20px; background: rgba(var(--bg-rgb), .35); border-top: 1px solid var(--outline); align-items: center; }
.console-foot .more { color: var(--primary); font-weight: 600; }
@media (max-width: 760px) {
  .checks-run { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-pill { max-width: 55%; }
  .console-bar, .console-top, .progress, .checks-run, .console-foot { padding-left: 16px; padding-right: 16px; }
  .findings { padding: 6px 8px 10px; }
}

/* v4 palette: trust blue for brand and links, emerald for action and "fixed" */
.btn-primary { background: var(--cta); color: var(--on-cta); box-shadow: 0 8px 24px -10px rgba(var(--cta-rgb), .55); }
.btn-primary:hover { background: var(--cta-hover); color: var(--on-cta); }
.closing .button, .plan.featured .badge { background: var(--cta); color: var(--on-cta); }
.plan.featured { border-color: rgba(var(--cta-rgb), .55); }
.hero::before {
  background:
    radial-gradient(640px circle at var(--mx, 72%) var(--my, 28%), rgba(var(--primary-rgb), .22), transparent 60%),
    radial-gradient(520px circle at 8% 12%, rgba(var(--violet-rgb), .16), transparent 60%),
    radial-gradient(720px circle at 88% 95%, rgba(var(--cta-rgb), .12), transparent 60%);
}
.hero h1 .soft { color: var(--primary); }
.hero-chip b { background: rgba(var(--cta-rgb), .16); color: var(--cta); }
a:hover { color: var(--sky); }
.hero-grid { align-items: start; }
.hero-grid > div:first-child { padding-top: 40px; }
.finding { padding: 12px 14px 12px 12px; }
.finding p { font-size: .8375rem; }
@media (max-width: 1024px) { .hero-grid > div:first-child { padding-top: 0; } }

/* ===== Light theme (preview; activates with <html data-theme="light">) ===== */
:root:not([data-theme="dark"]) {
  --bg: #f6f8fc;            --bg-rgb: 246, 248, 252;
  --surface-1: #ffffff;     --surface-1-rgb: 255, 255, 255;
  --surface-2: #ffffff;
  --surface-3: #eef2f9;
  --outline: #dde3ef;
  --text: #0b1530;          --text-rgb: 11, 21, 48;
  --text-muted: #4a5675;
  --primary: #2d5be3;       --primary-rgb: 45, 91, 227;
  --on-primary: #ffffff;
  --cta: #087a5c;           --cta-rgb: 8, 122, 92;
  --cta-hover: #066a50;
  --on-cta: #ffffff;
  --violet: #6b47e0;        --violet-rgb: 107, 71, 224;
  --mint: #087a5c;          --mint-rgb: 8, 122, 92;
  --sky: #0b78a8;           --sky-rgb: 11, 120, 168;
  --flag: #d93a30;          --flag-rgb: 217, 58, 48;
  --caution: #a15c00;       --caution-rgb: 161, 92, 0;
  --shadow-float: 0 24px 48px -24px rgba(11, 21, 48, .18);
}
:root:not([data-theme="dark"]) body::after { opacity: .025; mix-blend-mode: multiply; }
:root:not([data-theme="dark"]) .console { background: #ffffff; box-shadow: 0 30px 70px -30px rgba(11, 21, 48, .25), 0 0 0 1px rgba(45, 91, 227, .06); }
:root:not([data-theme="dark"]) .tile, :root:not([data-theme="dark"]) .persona, :root:not([data-theme="dark"]) .promise, :root:not([data-theme="dark"]) .plan, :root:not([data-theme="dark"]) .steps li, :root:not([data-theme="dark"]) .post-card { box-shadow: 0 1px 2px rgba(11, 21, 48, .04), 0 8px 24px -16px rgba(11, 21, 48, .12); }
:root:not([data-theme="dark"]) .closing, :root:not([data-theme="dark"]) .cta { background: #0b1530; color: #f1f4fb; border-color: #0b1530; }
:root:not([data-theme="dark"]) .cta h2 { color: #f1f4fb; }
:root:not([data-theme="dark"]) .cta p { color: #c3cbe0; }
:root:not([data-theme="dark"]) .marquee { background: #ffffff; }
:root:not([data-theme="dark"]) .btn-primary { box-shadow: 0 8px 20px -10px rgba(8, 122, 92, .5); }
.theme-toggle { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--outline); background: transparent; color: var(--text-muted); cursor: pointer; transition: color .2s, border-color .2s; }
.theme-toggle:hover { color: var(--text); border-color: var(--primary); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (max-width: 760px) { .nav { gap: 8px; } }

/* ===== FAQ v2 ===== */
.faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.1; margin-bottom: 16px; }
.faq-intro p { color: var(--text-muted); font-size: 1.1rem; margin: 0 0 28px; }
.faq-help { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-md); background: var(--surface-1); border: 1px solid var(--outline); }
.faq-help strong { display: block; margin-bottom: 2px; }
.faq-help span { color: var(--text-muted); font-size: .9375rem; }
.faq { max-width: none; gap: 0; border: 1px solid var(--outline); border-radius: var(--r-lg); background: var(--surface-1); overflow: hidden; }
.faq details { border: 0; border-radius: 0; background: transparent; padding: 0 28px; border-bottom: 1px solid var(--outline); }
.faq details:last-child { border-bottom: 0; }
.faq details[open] { background: rgba(var(--primary-rgb), .04); }
.faq summary { padding: 22px 0; font-size: 1.05rem; }
.faq summary::after { border-color: var(--primary); }
.faq details p { margin: -4px 0 22px; line-height: 1.7; max-width: 60ch; }
.faq summary:hover { color: var(--primary); }

/* ===== Section rhythm ===== */
.section { padding: 96px 0; }

/* ===== Mobile menu ===== */
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--outline); cursor: pointer; color: var(--text); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary svg { width: 20px; height: 20px; }
.mnav-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; display: grid; padding: 8px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--outline); box-shadow: var(--shadow-float); }
.mnav-panel a { padding: 12px 14px; border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 500; }
.mnav-panel a:hover, .mnav-panel a[aria-current="page"] { background: var(--surface-3); color: var(--text); }

/* ===== Responsive pass ===== */
@media (max-width: 1100px) {
  .nav > a:not(.btn) { display: none; }
  .mnav { display: block; }
}
@media (max-width: 1024px) {
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .faq-intro { position: static; }
  .hero-grid > div:first-child { padding-top: 8px; }
  .console { max-width: 640px; }
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .faq details { padding: 0 18px; }
  .faq summary { padding: 18px 0; font-size: 1rem; }
  .btn-sm.btn-primary { padding: 0 14px; }
  .compare th, .compare td { white-space: normal; }
  .compare { min-width: 620px; }
  .plan, .promise, .persona, .tile { padding: 22px; }
  .cta { padding: 40px 22px; }
  .page-head { padding: 40px 0 32px; }
  .article-head { padding: 32px 0 28px; margin-bottom: 32px; }
  .prose { font-size: 1.0625rem; }
  .prose h2 { font-size: 1.45rem; }
  .keyfacts dt, .keyfacts dd { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 400px) {
  .brand { font-size: 1.15rem; }
  .nav .btn-sm { font-size: .875rem; padding: 0 12px; }
  .hero h1 { font-size: 2.3rem; }
  .fact b { font-size: 1.4rem; }
}
.article-layout > *, .about-grid > * { min-width: 0; }
.prose { overflow-wrap: break-word; }
.prose a { overflow-wrap: anywhere; }
.prose table { max-width: 100%; }
.site-footer .foot-h { margin: 0 0 12px; color: var(--text); font-family: var(--font-body); font-size: .9375rem; font-weight: 600; letter-spacing: 0; }
:root:not([data-theme="dark"]) .selfscan { background: #e6f4ef; color: #066a50; }
