/* Postlaunch — dark-first design system. One typeface (Geist), one accent, large type, lots of space.
   Order: tokens → base → components → sections → simple pages. */

@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root, .band-dark {
  --bg: #07080A; --bg-2: #0B0D10; --card: #0E1013; --card-2: #14171B;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.15);
  --text: #F2F2F0; --muted: #8B9099; --dim: #5C616B;
  --accent: #5BE49B; --accent-ink: #06120B; --red: #FF6B5E; --amber: #F2B84B;
  --glow: rgba(91,228,155,.13); --shadow: 0 40px 90px -40px rgba(0,0,0,.85);
  --code-bg: #090A0C; --code-ink: #D6D9DE;
}
:root[data-theme="light"] {
  --bg: #F7F7F5; --bg-2: #EFEFEC; --card: #FFFFFF; --card-2: #F3F3F0;
  --line: rgba(10,12,14,.09); --line-2: rgba(10,12,14,.17);
  --text: #0B0C0E; --muted: #575C64; --dim: #A3A8AF;
  --accent: #0F9A57; --accent-ink: #FFFFFF; --red: #D9382B; --amber: #B7791F;
  --glow: rgba(15,154,87,.09); --shadow: 0 30px 70px -40px rgba(20,25,30,.35);
  --code-bg: #0B0D10; --code-ink: #D6D9DE;
}
:root { --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace; --nav-h: 64px; }
.band-dark { background: var(--bg); color: var(--text); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
code, pre { font-family: var(--mono); }
code { font-size: .86em; padding: 1px 6px; border-radius: 5px; background: var(--card-2); border: 1px solid var(--line); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { width: min(1320px, 100% - 40px); margin-inline: auto; }
@media (min-width: 900px) { .wrap { width: min(1320px, 100% - 96px); } }

.label { font: 400 12.5px var(--mono); color: var(--muted); letter-spacing: .01em; display: inline-flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.title { font-size: clamp(40px, 6.2vw, 92px); line-height: .94; letter-spacing: -0.05em; font-weight: 500; text-wrap: balance; }
.title .dim, .dim { color: var(--dim); }
.lede { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 46ch; margin: 0; }

/* line-by-line rise for headlines: <span class="l"><span>…</span></span> */
.l { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.l > span { display: block; transform: translateY(105%); transition: transform 1.1s cubic-bezier(.16,1,.3,1); }
.l:nth-child(2) > span { transition-delay: .09s; } .l:nth-child(3) > span { transition-delay: .18s; }
.in .l > span, .ready .hero .l > span { transform: none; }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.rv.in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: .08s; } .rv[data-d="2"] { transition-delay: .16s; } .rv[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .rv, .l > span { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ---------- buttons ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--text); color: var(--bg); font: 500 14px var(--sans); border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .25s cubic-bezier(.16,1,.3,1), background .25s, box-shadow .25s; will-change: transform; }
.pill:hover { box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--text) 45%, transparent); }
.pill.lg { height: 54px; padding: 0 28px; font-size: 15.5px; }
.pill .arr { transition: transform .25s ease; } .pill:hover .arr { transform: translateX(3px); }
.ghost { display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); font: 500 15.5px var(--sans); transition: border-color .2s, background .2s; white-space: nowrap; }
.ghost:hover { border-color: var(--text); }
.ghost.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.link { color: var(--muted); font-weight: 500; transition: color .2s; } .link:hover { color: var(--text); }

/* ---------- nav ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: flex; align-items: center; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav.on-hero { --text: #F2F2F0; --muted: #8B9099; --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.15); --bg: #07080A; color: #F2F2F0; }
.logo { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 8px; color: var(--text); }
.logo i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.links { display: none; gap: 30px; font-size: 14px; }
.links a { color: var(--muted); transition: color .2s; } .links a:hover, .links a.active { color: var(--text); }
@media (min-width: 1000px) { .links { display: flex; } }
.nav-right { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; transition: border-color .2s; }
.icon-btn:hover { border-color: var(--text); } .icon-btn svg { width: 17px; height: 17px; }
.menu-btn path { transition: transform .3s ease; transform-origin: 12px 12px; }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .l2 { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 1000px) { .menu-btn { display: none; } }
@media (max-width: 999px) { .nav-right > [data-theme-toggle] { display: none; } }
@media (max-width: 400px) { .nav-right > .pill { padding: 0 14px; font-size: 13.5px; } }
@media (max-width: 340px) { .nav-right > .pill { display: none; } }
.mobile-menu { position: fixed; inset: var(--nav-h) 0 0; z-index: 49; background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 20px 20px 32px; display: flex; flex-direction: column; opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .3s ease, transform .3s cubic-bezier(.16,1,.3,1); }
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu a.ml { font-size: 30px; font-weight: 500; letter-spacing: -0.03em; padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.mobile-menu a.ml span { font: 12.5px var(--mono); color: var(--dim); }
.mm-foot { margin-top: auto; display: flex; gap: 10px; align-items: center; }
.mm-foot .pill { flex: 1; }
@media (min-width: 1000px) { .mobile-menu { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 740px; overflow: hidden; }
.hero canvas, .final canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.8s ease; }
.hero.live canvas, .final.live canvas { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 48%; background: linear-gradient(transparent, var(--bg) 92%); pointer-events: none; z-index: 1; }
.glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(900px 620px at 76% 36%, rgba(91,228,155,.12), transparent 62%); }
.hero-fallback { position: absolute; right: 8%; top: 14%; width: min(42vw, 520px); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(91,228,155,.25), rgba(91,228,155,.04) 45%, transparent 66%); border: 1px solid rgba(255,255,255,.07); transition: opacity 1s; }
.hero.live .hero-fallback { opacity: 0; }
@media (max-width: 999px) { .hero-fallback { right: -12vw; top: 7%; width: 62vw; } .hero.live canvas { opacity: .75; } .final.live canvas { opacity: .45; } }
.hero-content { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: 40px; }
.hero h1 { font-size: clamp(50px, 8.4vw, 132px); line-height: .9; letter-spacing: -0.055em; margin-top: 22px; }
.hero h1 .l:nth-child(2) > span { color: var(--dim); }
.hero-row { display: grid; gap: 22px; margin-top: 34px; }
@media (min-width: 1000px) { .hero-row { grid-template-columns: minmax(0, 520px) auto; align-items: center; gap: 48px; } }
.hero-row p { color: var(--muted); font-size: 17px; margin: 0; max-width: 44ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fade { opacity: 0; transform: translateY(12px); transition: opacity 1s ease .55s, transform 1s cubic-bezier(.16,1,.3,1) .55s; }
.ready .fade { opacity: 1; transform: none; }
.tools { margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: center; color: var(--dim); font-size: 15px; font-weight: 500; }
.tools span:first-child { font: 12px var(--mono); color: var(--muted); font-weight: 400; }
.log { position: absolute; z-index: 2; left: 48px; top: 104px; width: 360px; font: 12px/1.55 var(--mono); color: var(--muted); display: none;
  background: rgba(13,15,18,.55); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
@media (min-width: 1000px) and (min-height: 820px) { .log { display: block; } }
.log .h { display: flex; justify-content: space-between; color: var(--text); margin-bottom: 8px; }
.log .h em { font-style: normal; color: var(--accent); }
.log ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; min-height: 18px; }
.log li { display: flex; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: logIn .5s cubic-bezier(.16,1,.3,1); }
.log li i { font-style: normal; color: var(--accent); }
@keyframes logIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- sections ---------- */
section { padding: clamp(96px, 12vw, 168px) 0; position: relative; scroll-margin-top: 0; }
.sh { display: grid; gap: 26px; margin-bottom: clamp(48px, 6vw, 80px); }
@media (min-width: 1000px) { .sh { grid-template-columns: minmax(0, 1fr) 400px; align-items: end; gap: 64px; } }
.sh .label { margin-bottom: 22px; }

/* statement + stats */
.statement p.big { margin: 0; font-size: clamp(30px, 4.2vw, 62px); line-height: 1.07; letter-spacing: -0.035em; font-weight: 500; max-width: 23ch; color: var(--dim); }
.statement p.big b { color: var(--text); font-weight: 500; }
.stats { display: grid; margin-top: clamp(64px, 8vw, 104px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stats > div { padding: 30px 0 34px; border-bottom: 1px solid var(--line); }
.stats > div:last-child { border-bottom: 0; }
@media (min-width: 800px) { .stats > div { padding: 32px 32px 36px; border-bottom: 0; border-left: 1px solid var(--line); } .stats > div:first-child { padding-left: 0; border-left: 0; } }
.stats strong { display: block; font-size: clamp(48px, 5vw, 64px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; margin-bottom: 14px; }
.stats p { color: var(--muted); font-size: 15px; max-width: 30ch; margin: 0; }
.stats a { display: inline-block; margin-top: 14px; font: 12px var(--mono); color: var(--dim); transition: color .2s; } .stats a:hover { color: var(--text); }

/* spotlight cards (cursor-follow glow; JS sets --mx/--my) */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 45%); }
.spot:hover::before { opacity: 1; }

/* the test (product panel) */
.panel { border: 1px solid var(--line-2); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.panel-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--muted); }
.panel-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.panel-bar span { margin-left: 8px; } .panel-bar em { margin-left: auto; font-style: normal; color: var(--dim); }
.controls { display: flex; flex-wrap: wrap; gap: 14px 28px; padding: 18px 18px 6px; }
.controls .grp { display: grid; gap: 8px; }
.controls .grp > span { font: 11.5px var(--mono); color: var(--dim); }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg-2); }
.seg button { font: 500 13.5px var(--sans); padding: 7px 14px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: background .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.panel-grid { display: grid; }
@media (min-width: 980px) { .panel-grid { grid-template-columns: 1.2fr 1fr; } }
.rows { padding: 12px 18px 20px; }
.rows-head { display: flex; justify-content: space-between; font: 12px var(--mono); color: var(--dim); padding: 8px 4px 10px; }
.trow { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; background: var(--bg-2); transition: border-color .3s, background .3s; }
.trow small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.trow .ws { font: 11.5px var(--mono); color: var(--muted); padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-2); white-space: nowrap; }
.trow.leak { border-color: color-mix(in srgb, var(--red) 55%, transparent); background: color-mix(in srgb, var(--red) 9%, var(--bg-2)); }
.trow.leak .ws { color: var(--red); border-color: color-mix(in srgb, var(--red) 55%, transparent); }
.trow.empty { grid-template-columns: 1fr; text-align: center; color: var(--muted); border-style: dashed; padding: 24px; font: 13px var(--mono); }
.verdict { margin: 10px 4px 0; font-size: 14px; color: var(--muted); display: flex; gap: 10px; }
.verdict b { color: var(--red); font-weight: 500; } .verdict.good b { color: var(--accent); }
.code { background: var(--code-bg); color: var(--code-ink); padding: 20px; display: flex; flex-direction: column; gap: 16px; font-size: 12.5px; border-top: 1px solid var(--line); }
@media (min-width: 980px) { .code { border-top: 0; border-left: 1px solid var(--line); } }
.code .t { font: 11.5px var(--mono); color: #5C616B; margin-bottom: 6px; }
.code pre { margin: 0; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.code .k { color: #FF8A7E; } .code .ok { color: #6BEBA8; } .code .c { color: #5C616B; }
.result { margin-top: auto; display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; font: 500 14px var(--mono); }
.result::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.result.leak { color: #FF8A7E; background: rgba(255,107,94,.1); border: 1px solid rgba(255,107,94,.35); }
.result.safe { color: #6BEBA8; background: rgba(91,228,155,.1); border: 1px solid rgba(91,228,155,.35); }
.result.pop { animation: pop .5s cubic-bezier(.2,.9,.3,1.4); }
@keyframes pop { 0% { transform: scale(.85); opacity: .4; } 100% { transform: none; opacity: 1; } }
.panel-note { margin: 18px 0 0; font: 12.5px var(--mono); color: var(--dim); }

/* scope grid (lined) */
.lined { display: grid; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 640px) { .lined { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .lined { grid-template-columns: repeat(4, 1fr); } }
.lined > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 28px 34px; min-height: 230px; display: flex; flex-direction: column; }
.lined svg { width: 24px; height: 24px; stroke: var(--text); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.lined .n { font: 12px var(--mono); color: var(--dim); margin: 34px 0 8px; }
.lined h3 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 8px; }
.lined p { color: var(--muted); font-size: 15px; margin: 0; }

/* process */
.proc { display: grid; gap: 40px; position: relative; }
@media (min-width: 1000px) { .proc { grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 40px; } }
.proc-line { display: none; }
@media (min-width: 1000px) { .proc-line { display: block; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
  .proc-line span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); box-shadow: 0 0 12px var(--accent); transition: width 2.2s cubic-bezier(.65,0,.35,1); }
  .proc.in .proc-line span { width: 100%; } }
.step .num { font-size: 56px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: var(--dim); margin-bottom: 18px; transition: color .4s; }
.step:hover .num { color: var(--text); }
.step .when { font: 12px var(--mono); color: var(--accent); margin-bottom: 10px; }
.step h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* pricing */
.prices { display: grid; gap: 14px; }
@media (min-width: 720px) { .prices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1150px) { .prices { grid-template-columns: repeat(4, 1fr); } }
.price { border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: 28px 26px; display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s; }
.price:hover { transform: translateY(-4px); border-color: var(--line-2); }
.price.featured { border: 1px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, conic-gradient(from var(--ang), transparent 0 65%, var(--accent) 80%, transparent 95%) border-box, linear-gradient(var(--line-2), var(--line-2)) border-box; animation: spin 7s linear infinite; }
@keyframes spin { to { --ang: 360deg; } }
@media (prefers-reduced-motion: reduce) { .price.featured { animation: none; } }
.price .tag, .extra .tag { align-self: flex-start; font: 11.5px var(--mono); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); padding: 3px 10px; border-radius: 999px; margin-bottom: 18px; }
.price h3 { font-size: 19px; letter-spacing: -0.02em; }
.price .amt { font-size: 52px; font-weight: 500; letter-spacing: -0.05em; line-height: 1; margin: 18px 0 6px; }
.price .amt small { font-size: 15px; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.price .for { color: var(--muted); font-size: 14.5px; min-height: 2.8em; margin: 0; }
.price ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; align-content: start; gap: 9px; font-size: 14.5px; flex: 1; }
.price li { padding-left: 24px; position: relative; color: color-mix(in srgb, var(--text) 85%, var(--muted)); }
.price li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border: solid var(--accent); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
.price .ghost, .price .pill { width: 100%; height: 46px; font-size: 14.5px; }
.guarantee { margin-top: 18px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: 15px; display: flex; gap: 12px; align-items: baseline; }
.guarantee b { color: var(--text); font-weight: 500; flex: none; }
@media (max-width: 640px) { .guarantee { flex-direction: column; gap: 6px; } }
.extras { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 900px) { .extras { grid-template-columns: 1fr 1fr; } }
.extra { border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: 26px; display: flex; flex-direction: column; scroll-margin-top: 90px; }
.extra h3 { font-size: 19px; letter-spacing: -0.02em; }
.extra p { color: var(--muted); font-size: 14.5px; margin: 10px 0 22px; flex: 1; }
.extra-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px 18px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.extra .amt { font-size: 30px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.1; }
.extra .amt small { font-size: 13px; color: var(--muted); letter-spacing: 0; font-weight: 400; }

/* sample report */
.report { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1050px) { .report { grid-template-columns: 1fr 1fr; gap: 72px; } }
.pages { position: relative; height: clamp(380px, 46vw, 620px); }
.pages img { position: absolute; width: 58%; height: auto; border-radius: 8px; box-shadow: 0 50px 80px -40px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.06); background: #fff; will-change: transform; }
.pages img:nth-child(1) { left: 0; top: 9%; rotate: -7deg; }
.pages img:nth-child(2) { left: 21%; top: 2%; rotate: -1.5deg; }
.pages img:nth-child(3) { left: 42%; top: 11%; rotate: 5deg; }
#report { overflow-x: clip; }
.grades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 22px; }
@media (max-width: 520px) { .grades { grid-template-columns: repeat(2, 1fr); } }
.grade { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 13.5px; color: var(--muted); }
.grade i { font-style: normal; font-size: 22px; font-weight: 600; width: 22px; color: var(--red); letter-spacing: -0.03em; transition: color .35s; }
.grade[data-after] i { color: var(--accent); }
.grade.flip i { animation: regrade .45s cubic-bezier(.2,.9,.3,1.3); }
@keyframes regrade { 40% { transform: translateY(-6px) scale(1.25); opacity: .2; } }
.results { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 26px; }
.results th { text-align: left; font: 400 12px var(--mono); color: var(--dim); padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.results td { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.results td:first-child { color: var(--text); }
.results th:not(:first-child), .results td:not(:first-child) { text-align: right; padding-left: 14px; }
.bad { color: var(--red) !important; } .good { color: var(--accent) !important; }
.toggle-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.toggle-row .note { font: 12px var(--mono); color: var(--dim); }

/* free email check */
.check { max-width: 820px; }
.check-form { display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 24px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); margin-top: 8px; transition: border-color .25s, box-shadow .25s; }
.check-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--glow); }
.check-form input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: 18px var(--mono); padding: 10px 0; }
.check-form input::placeholder { color: var(--dim); }
@media (max-width: 480px) { .check-form { padding-left: 18px; } .check-form input { font-size: 15px; } .check-form .pill { padding-inline: 16px; } }
.check-form input:focus { outline: none; }
#ehc-out { display: grid; gap: 8px; margin-top: 18px; }
.res { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); font-size: 15px; animation: logIn .5s cubic-bezier(.16,1,.3,1); }
.res::before { content: "•"; font: 600 15px var(--mono); color: var(--dim); }
.res.ok::before { content: "✓"; color: var(--accent); } .res.warn::before { content: "!"; color: var(--amber); } .res.bad::before { content: "✕"; color: var(--red); }
.res .k { font-weight: 500; } .res .b { color: var(--muted); } .res code { display: block; margin-top: 8px; font-size: 12px; word-break: break-all; background: transparent; border: 0; padding: 0; color: var(--dim); }
.res a { color: var(--accent); }

/* principles */
.princ { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .princ { grid-template-columns: repeat(2, 1fr); column-gap: 64px; } }
.princ > div { display: grid; grid-template-columns: 56px 1fr; padding: 30px 0; border-bottom: 1px solid var(--line); }
.princ .n { font: 12.5px/1.9 var(--mono); color: var(--dim); }
.princ h3 { font-size: 24px; letter-spacing: -0.025em; margin-bottom: 8px; }
.princ p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* faq */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 7px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg); transition: transform .3s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { color: var(--muted); margin: 0 0 26px; max-width: 64ch; animation: logIn .45s ease; }

/* final */
.final { position: relative; min-height: 92svh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 120px 0; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 520px at 50% 50%, rgba(91,228,155,.10), transparent 65%); pointer-events: none; }
.final .wrap { position: relative; z-index: 2; }
.final .title { margin-inline: auto; max-width: 15ch; font-size: clamp(44px, 7.4vw, 116px); }
.final .lede { margin: 26px auto 0; max-width: 42ch; }
.final .ctas { justify-content: center; margin-top: 36px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 64px 0 0; color: var(--muted); font-size: 14.5px; overflow: hidden; }
.foot-grid { display: grid; gap: 34px 24px; grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot-brand { grid-column: 1 / -1; } @media (min-width: 1000px) { .foot-brand { grid-column: auto; } }
.foot-brand p { max-width: 34ch; margin: 14px 0; }
footer h4 { font: 400 12px var(--mono); color: var(--dim); margin-bottom: 14px; }
footer .col a { display: block; padding: 5px 0; transition: color .2s; } footer a:hover { color: var(--text); }
.wordmark { font-size: clamp(84px, 19vw, 300px); font-weight: 600; letter-spacing: -0.07em; line-height: .8; margin: 72px 0 -0.08em; white-space: nowrap;
  background: linear-gradient(180deg, color-mix(in srgb, var(--text) 16%, transparent), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px 0 28px; border-top: 1px solid var(--line); font: 12.5px var(--mono); color: var(--dim); position: relative; }

/* simple pages: privacy, 404 */
.doc { padding: calc(var(--nav-h) + 72px) 0 110px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(42px, 6vw, 76px); letter-spacing: -0.05em; line-height: .95; margin: 20px 0 14px; }
.doc .updated { font: 12.5px var(--mono); color: var(--dim); margin-bottom: 40px; }
.doc h2 { font-size: 21px; letter-spacing: -0.02em; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-left: 20px; }
.doc a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.nf { min-height: 100svh; display: grid; align-items: center; padding: calc(var(--nav-h) + 40px) 0 60px; position: relative; overflow: hidden; }
.nf::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 480px at 70% 30%, rgba(91,228,155,.12), transparent 62%); pointer-events: none; }
.nf .wrap { position: relative; }
.nf .code-line { font: 13px var(--mono); color: var(--muted); margin-bottom: 20px; }
.nf h1 { font-size: clamp(52px, 9vw, 140px); line-height: .9; letter-spacing: -0.055em; }
.nf h1 span { color: var(--dim); display: block; }
.nf p { color: var(--muted); font-size: 18px; max-width: 46ch; margin: 28px 0 34px; }

/* scanner comparison */
.vs-wrap { margin-top: clamp(56px, 7vw, 88px); display: grid; gap: 26px; scroll-margin-top: 90px; }
@media (min-width: 1000px) { .vs-wrap { grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; } }
.vs-head h3 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.03em; line-height: 1.15; }
.vs-head p { color: var(--muted); font-size: 15.5px; margin: 14px 0 0; }
.vs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.vs th, .vs td { text-align: left; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.vs thead th { font: 400 12px var(--mono); color: var(--dim); border-bottom-color: var(--line-2); }
.vs thead th span { display: block; margin-top: 3px; color: var(--dim); font-size: 11px; }
.vs tbody th { font-weight: 500; color: var(--text); width: 38%; }
.vs td { color: var(--muted); width: 31%; }
.vs td:last-child { color: var(--text); }
.vs td::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 9px; vertical-align: 1px; background: var(--dim); }
.vs td.y::before { background: var(--accent); }
.vs td.n::before { background: var(--red); }
.vs td.p::before { background: #E5B454; }
@media (max-width: 640px) {
  .vs thead { display: none; }
  .vs tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .vs th, .vs td { display: block; width: auto; padding: 2px 0; border: 0; }
  .vs tbody th { margin-bottom: 6px; width: auto; }
  .vs td::after { content: " · " attr(data-h); color: var(--dim); font: 11.5px var(--mono); }
}

/* hero news chip */
.news { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 10px; margin-bottom: 20px; padding: 5px 14px 5px 5px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; color: var(--text); background: color-mix(in srgb, var(--card) 70%, transparent); backdrop-filter: blur(8px); transition: border-color .2s; }
.news:hover { border-color: var(--accent); }
.news b { flex: none; font: 500 11.5px var(--mono); color: #07080A; background: var(--accent); padding: 3px 9px; border-radius: 999px; }
.news i { font-style: normal; color: var(--muted); transition: transform .25s; }
.news:hover i { transform: translateX(3px); }
