/* TRACKING DOCTOR by Purceas — design system v0.1 "Signal" (docs/BRAND-BOOK.md)
   Purceas family tokens (violet #6D4AFF → magenta #A63CF2 → cyan #0784B8, ink #0F1020, Bricolage + Instrument Sans).
   Two planes: NIGHT (the instrument: hero, live trace, statements) and PAPER (reports, evidence, forms).
   Status colours carry meaning only (ok / warn / crit / info / unverified); certainty is shown by fill, not colour:
   confirmed = solid, probable = tinted, unverified = dashed outline. Display type capped at ~3.2rem. */

@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/bricolage-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/bricolage-latin-ext.woff2') format('woff2'); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02AF, U+0218-021B, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/instrument-sans-latin.woff2') format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/instrument-sans-latin-ext.woff2') format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02AF, U+0218-021B, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --bg: #F6F5FC; --surface: #FFFFFF; --surface-2: #FAF9FF; --surface-3: #F0EDFD;
  --ink: #0F1020; --ink-2: #353950; --muted: #585C72; --faint: #9A9EB2;
  --line: rgba(15,16,32,.10); --line-soft: rgba(15,16,32,.06); --line-strong: rgba(15,16,32,.22);
  --act: #6D4AFF; --act-fill: #5634F0; --act-hover: #4422D6; --act-text: #4E2FDB; --act-tint: rgba(109,74,255,.10);
  --sig: #0784B8; --sig-2: #3CB4E8;
  --grad: linear-gradient(100deg, #8B6BFF 0%, #B15BF5 48%, #3CB4E8 100%);
  --ok: #0B6E3C; --ok-tint: rgba(22,160,90,.12); --warn: #8A3D06; --warn-tint: rgba(255,170,0,.16); --crit: #AE1B10; --crit-tint: rgba(255,61,46,.10); --info: #4C3CC9; --info-tint: rgba(76,60,201,.10);
  --night: #0B0A18; --night-2: #13112A; --night-3: #1B1838; --night-ink: #F2F0FF; --night-muted: #ABA7CC; --night-line: rgba(242,240,255,.12);
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-0: .8125rem; --fs-1: .9rem; --fs-2: 1rem; --fs-3: 1.125rem; --fs-h3: clamp(1.12rem, 1.4vw, 1.35rem); --fs-h2: clamp(1.6rem, 2.7vw, 2.35rem); --fs-h1: clamp(2.15rem, 4.4vw, 3.2rem);
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 6.5rem;
  --r-1: 10px; --r-2: 16px; --r-3: 24px; --r-pill: 999px;
  --sh-1: 0 1px 0 rgba(15,16,32,.03), 0 1px 3px rgba(15,16,32,.06);
  --sh-2: 0 2px 6px rgba(15,16,32,.04), 0 22px 44px -26px rgba(15,16,32,.32);
  --sh-3: 0 40px 100px -40px rgba(30,10,90,.55);
  --ease: cubic-bezier(.2,.7,.2,1); --t1: 120ms; --t2: 220ms; --t3: 480ms;
  --max: 1220px; --nav-h: 66px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--fs-2)/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; letter-spacing: -.022em; margin: 0 0 var(--s-3); text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 720; } h2 { font-size: var(--fs-h2); font-weight: 680; } h3 { font-size: var(--fs-h3); font-weight: 640; letter-spacing: -.012em; } h4 { font-size: var(--fs-3); font-weight: 620; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; max-width: 68ch; }
a { color: var(--act-text); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--act); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--act-tint); }
code, .mono { font-family: var(--mono); font-size: .88em; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); } .small { font-size: var(--fs-1); } .tiny { font-size: var(--fs-0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--s-5); }
.narrow { max-width: 760px; }
.row { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; }
.spread { display: flex; gap: var(--s-3); align-items: center; justify-content: space-between; flex-wrap: wrap; }
.grid { display: grid; gap: var(--s-4); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stack > * + * { margin-top: var(--s-4); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 680 var(--fs-0)/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--act-text); margin-bottom: var(--s-3); }
.lede { font-size: var(--fs-3); color: var(--ink-2); max-width: 60ch; }

/* ---------- planes & sections ---------- */
.section { padding: var(--s-9) 0; }
.section-tight { padding: var(--s-7) 0; }
.section-alt { background: var(--surface-2); border-block: 1px solid var(--line-soft); }
.sec-head { max-width: 720px; margin-bottom: var(--s-7); }
.sec-head p { color: var(--muted); font-size: var(--fs-3); }
.sec-head.center { margin-inline: auto; text-align: center; } .sec-head.center p { margin-inline: auto; }
.night { position: relative; background: var(--night); color: var(--night-ink); overflow: hidden; isolation: isolate; }
.night::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 82% -6%, rgba(139,107,255,.40), transparent 70%), radial-gradient(40% 50% at 0% 34%, rgba(60,180,232,.16), transparent 70%), radial-gradient(40% 40% at 50% 125%, rgba(177,91,245,.20), transparent 70%); }
.night::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(242,240,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(242,240,255,.045) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 92%); mask-image: linear-gradient(to bottom, #000 0%, transparent 92%); }
.night h1, .night h2, .night h3 { color: #fff; }
.night p, .night .lede { color: var(--night-muted); }
.night .eyebrow { color: #CDBEFF; }
.night a:not(.btn) { color: #D6CBFF; }
.night .card, .night .card h3, .night .card legend, .night .card label { color: var(--ink); }
.night .card a:not(.btn) { color: var(--act-text); }
.night .card .muted, .night .card .hint { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- header / footer ---------- */
.envbar { padding-inline: 12px; background: repeating-linear-gradient(135deg, #FFF6D6 0 12px, #FFF0BF 12px 24px); color: #5B3A00; font-size: var(--fs-0); text-align: center; padding: 6px 0; border-bottom: 1px solid #F1D98A; }
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line-soft); }
body.dark-top .nav { background: color-mix(in srgb, var(--night) 82%, transparent); border-bottom-color: var(--night-line); }
body.dark-top .nav .logo, body.dark-top .nav-links a:not(.btn) { color: var(--night-ink); }
body.dark-top .nav-links a:not(.btn):hover { background: rgba(255,255,255,.08); }
body.dark-top .nav .logo small { color: var(--night-muted); }
.nav .wrap { height: var(--nav-h); display: flex; align-items: center; gap: var(--s-4); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 720 1.06rem/1 var(--display); letter-spacing: -.015em; white-space: nowrap; }
.logo svg { width: 30px; height: 30px; flex: none; filter: drop-shadow(0 4px 10px rgba(109,74,255,.35)); }
.logo small { font: 500 .78rem/1 var(--body); color: var(--muted); letter-spacing: 0; }
.nav-links { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav-links a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 560; font-size: var(--fs-1); padding: 8px 12px; border-radius: var(--r-pill); transition: background var(--t1); }
.nav-links a:not(.btn):hover { background: var(--act-tint); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 10px; padding: 8px 12px; color: inherit; font: 600 var(--fs-1) var(--body); }
body.dark-top .nav-toggle { color: #fff; border-color: rgba(255,255,255,.3); }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: var(--nav-h); flex-direction: column; align-items: stretch; background: var(--surface); padding: var(--s-4) var(--s-5) var(--s-5); border-bottom: 1px solid var(--line); box-shadow: var(--sh-2); }
  body.dark-top .nav-links { background: var(--night-2); }
  .nav[data-open] .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 12px; }
}
.footer { background: var(--night); color: var(--night-muted); padding: var(--s-8) 0 var(--s-6); font-size: var(--fs-1); }
.footer a { color: var(--night-ink); text-decoration: none; } .footer a:hover { text-decoration: underline; }
.footer p a, .footer .legal a { text-decoration: underline; text-underline-offset: .2em; }
.footer h4 { color: #fff; font-size: var(--fs-1); font-family: var(--body); font-weight: 650; letter-spacing: .02em; margin-bottom: var(--s-3); }
.footer ul { list-style: none; margin: 0; padding: 0; } .footer li { margin: 0 0 8px; }
.footer .cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--s-6); }
@media (max-width: 800px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
.footer .legal { border-top: 1px solid var(--night-line); margin-top: var(--s-7); padding-top: var(--s-5); font-size: var(--fs-0); }

/* ---------- buttons, inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--r-pill); border: 1px solid transparent; font: 640 var(--fs-2)/1 var(--body); text-decoration: none; cursor: pointer; transition: background var(--t1), transform var(--t1) var(--ease), box-shadow var(--t2); white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--act-fill); color: #fff; box-shadow: 0 8px 22px -10px rgba(86,52,240,.7); }
.btn-primary:hover { background: var(--act-hover); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--act); }
.night .btn-secondary { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.25); }
.night .btn-secondary:hover { background: rgba(255,255,255,.12); }
.btn-ghost { background: transparent; color: var(--act-text); padding: 0 12px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: var(--fs-1); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: var(--fs-3); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
label { font-weight: 600; font-size: var(--fs-1); display: block; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=url], input[type=tel], input:not([type]), select, textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-1); background: var(--surface); color: var(--ink); font: inherit; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--act); box-shadow: 0 0 0 4px var(--act-tint); }
.field { margin-bottom: var(--s-4); } .hint { font-size: var(--fs-0); color: var(--muted); margin-top: 6px; }
.err { color: var(--crit); font-size: var(--fs-1); font-weight: 600; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 450; }
.check-row input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--act-fill); flex: none; }
fieldset { border: 0; padding: 0; margin: 0 0 var(--s-5); } legend { font-weight: 650; margin-bottom: var(--s-3); font-family: var(--display); font-size: var(--fs-3); }
.choice-grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.choice { position: relative; display: block; margin: 0; border: 1px solid var(--line-strong); border-radius: var(--r-2); padding: 14px 16px; background: var(--surface); cursor: pointer; font-weight: 500; transition: border-color var(--t1), box-shadow var(--t1); }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice b { display: block; font-weight: 650; margin-bottom: 2px; }
.choice:has(input:checked) { border-color: var(--act); box-shadow: 0 0 0 3px var(--act-tint); }
.choice:has(input:focus-visible) { outline: 3px solid var(--act); outline-offset: 2px; }

/* domain form (hero) */
.probe { display: flex; gap: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-pill); padding: 6px 6px 6px 20px; max-width: 620px; box-shadow: var(--sh-3); transition: border-color var(--t2); }
.probe:focus-within { border-color: #9B7BFF; box-shadow: 0 0 0 6px rgba(155,123,255,.18), var(--sh-3); }
.probe .pfx { color: var(--night-muted); font-family: var(--mono); font-size: .95rem; align-self: center; }
.probe input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: 500 1.08rem var(--body); min-height: 48px; padding: 0; box-shadow: none !important; }
.probe input::placeholder { color: rgba(242,240,255,.45); }
.probe .btn { min-height: 50px; }
@media (max-width: 560px) { .probe { flex-direction: column; border-radius: var(--r-3); padding: 10px; } .probe .pfx { display: none; } .probe input { padding: 0 8px; } }
.probe-note { margin-top: 12px; font-size: var(--fs-0); color: var(--night-muted); }

/* ---------- cards, badges ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); padding: var(--s-5); box-shadow: var(--sh-1); }
.card-lg { border-radius: var(--r-3); padding: var(--s-6); }
.card h3 { margin-bottom: var(--s-2); }
.panel-dark { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--r-3); color: var(--night-ink); box-shadow: var(--sh-3); }
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: var(--r-pill); padding: 3px 10px; font: 650 var(--fs-0)/1.4 var(--body); white-space: nowrap; }
.sev-critical { background: var(--crit); color: #fff; } .sev-high { background: #C2410C; color: #fff; } .sev-medium { background: var(--warn-tint); color: var(--warn); } .sev-low { background: var(--info-tint); color: var(--info); } .sev-info { background: var(--surface-3); color: var(--ink-2); }
.st-confirmed { background: var(--ink); color: #fff; } .st-probable { background: var(--act-tint); color: var(--act-text); } .st-unverified { background: transparent; color: var(--muted); border: 1px dashed var(--line-strong); } .st-na { background: var(--surface-3); color: var(--muted); }
.ok { color: var(--ok); } .crit { color: var(--crit); } .warn { color: var(--warn); }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.dot-ok { background: #16A05A; } .dot-warn { background: #F0A400; } .dot-crit { background: #E5372A; } .dot-off { background: transparent; border: 1.5px dashed var(--faint); } .dot-info { background: var(--act); }
.notice { border-radius: var(--r-2); padding: 14px 18px; background: var(--info-tint); color: var(--ink-2); border: 1px solid rgba(76,60,201,.18); }
.notice-warn { background: var(--warn-tint); border-color: rgba(138,61,6,.2); }
.notice-crit { background: var(--crit-tint); border-color: rgba(174,27,16,.2); }
.notice-ok { background: var(--ok-tint); border-color: rgba(11,110,60,.2); }
.demo-flag { display: inline-flex; gap: 8px; align-items: center; border: 1px dashed currentColor; border-radius: var(--r-pill); padding: 4px 12px; font: 650 var(--fs-0)/1.3 var(--body); letter-spacing: .05em; text-transform: uppercase; }

/* ---------- hero ---------- */
.hero { padding: calc(var(--s-8) + 10px) 0 var(--s-8); }
.hero-grid > *, .grid > *, .paths > *, .compare > *, .split > * { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: var(--s-7); align-items: center; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.2rem); }
.hero .lede { margin-bottom: var(--s-6); }
.hero-links { margin-top: var(--s-5); display: flex; gap: var(--s-4); flex-wrap: wrap; align-items: center; }

/* live instrument */
.scope { position: relative; padding: 18px; }
.scope-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 600 var(--fs-0)/1 var(--mono); color: var(--night-muted); padding: 2px 4px 12px; border-bottom: 1px solid var(--night-line); }
.scope-head .live { display: inline-flex; align-items: center; gap: 8px; color: #9DF2C3; }
.scope-head .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #34D27F; box-shadow: 0 0 0 0 rgba(52,210,127,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52,210,127,0); } 100% { box-shadow: 0 0 0 0 rgba(52,210,127,0); } }
.scope-wave { display: block; width: 100%; height: 92px; margin: 10px 0 6px; }
.scope-wave .line { fill: none; stroke: url(#wg); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.6s var(--ease) forwards .2s; }
.scope-wave .base { stroke: rgba(242,240,255,.14); stroke-dasharray: 2 6; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.scope-tabs { display: flex; gap: 6px; padding: 4px 0 10px; flex-wrap: wrap; }
.scope-tabs button { background: transparent; color: var(--night-muted); border: 1px solid var(--night-line); border-radius: var(--r-pill); padding: 5px 11px; font: 600 var(--fs-0)/1 var(--body); cursor: pointer; }
.scope-tabs button[aria-selected="true"] { background: rgba(155,123,255,.18); color: #fff; border-color: rgba(155,123,255,.55); }
.req-list { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: .76rem; line-height: 1.35; max-height: 268px; overflow: hidden; }
.req-list li { display: grid; grid-template-columns: 52px 108px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 6px; border-bottom: 1px dashed var(--night-line); opacity: 0; transform: translateY(6px); animation: rise var(--t3) var(--ease) forwards; }
.req-list li .t { color: #7E7AA8; } .req-list li .v { color: #CDBEFF; font-weight: 600; } .req-list li .e { color: #E8E6FF; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .req-list li .s { font-size: .7rem; }
@keyframes rise { to { opacity: 1; transform: none; } }
.scope-foot { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 12px; }
.chip-n { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.05); border: 1px solid var(--night-line); border-radius: var(--r-pill); padding: 5px 11px; font-size: var(--fs-0); color: var(--night-ink); }
@media (max-width: 560px) { .req-list li { grid-template-columns: 44px minmax(0, 1fr) auto; } .req-list li .v { display: none; } }

/* ---------- steps, features ---------- */
.steps { counter-reset: s; display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.step { position: relative; padding: var(--s-5); border-radius: var(--r-2); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font: 700 .8rem/1 var(--mono); color: var(--act-text); display: block; margin-bottom: var(--s-3); }
.feature-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--act-tint); color: var(--act-text); margin-bottom: var(--s-3); }
.problem-card { border-left: 3px solid var(--act); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare .card ul { padding-left: 18px; margin: 0; } .compare li { margin-bottom: 6px; }
.tag-planned { font: 650 .7rem/1 var(--body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); border: 1px dashed var(--line-strong); padding: 3px 8px; border-radius: var(--r-pill); }
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s-3); }
.platform { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); padding: 14px 16px; font-weight: 600; }
.platform small { display: block; font-weight: 450; color: var(--muted); }

/* ---------- pricing ---------- */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--s-5); align-items: stretch; }
.price-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3); padding: var(--s-6); box-shadow: var(--sh-1); }
.price-card.featured { border: 2px solid var(--act); box-shadow: var(--sh-2); }
.price-amount { font: 720 2.6rem/1 var(--display); letter-spacing: -.03em; margin: var(--s-3) 0 4px; }
.price-amount small { font: 500 var(--fs-2) var(--body); color: var(--muted); letter-spacing: 0; }
.price-eur { color: var(--muted); font-size: var(--fs-1); }
.price-card ul { list-style: none; padding: 0; margin: var(--s-5) 0; flex: 1; }
.price-card li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px solid var(--line-soft); }
.price-card li::before { content: ''; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.price-card li.no::before { border: 0; width: 10px; height: 2px; background: var(--faint); transform: none; top: 18px; }
.price-card li.no { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: var(--s-4) 0; }
.faq summary { cursor: pointer; font: 640 var(--fs-3)/1.35 var(--display); list-style: none; display: flex; justify-content: space-between; gap: var(--s-4); }
.faq summary::after { content: '+'; font: 400 1.5rem/1 var(--body); color: var(--act-text); transition: transform var(--t2) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: var(--s-3); color: var(--ink-2); }

/* ---------- report ---------- */
.report-hero { padding: var(--s-7) 0 var(--s-6); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--s-3); }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); padding: 16px 18px; }
.night .kpi { background: rgba(255,255,255,.05); border-color: var(--night-line); }
.kpi b { display: block; font: 720 2rem/1.05 var(--display); letter-spacing: -.02em; }
.kpi span { font-size: var(--fs-0); color: var(--muted); } .night .kpi span { color: var(--night-muted); }
.gauge { --v: 0; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--g, #8B6BFF) calc(var(--v) * 1%), rgba(255,255,255,.08) 0); position: relative; flex: none; }
.gauge::before { content: ''; position: absolute; inset: 11px; border-radius: 50%; background: var(--night); }
.gauge > * { position: relative; text-align: center; }
.gauge b { display: block; font: 720 2.2rem/1 var(--display); color: #fff; }
.gauge span { font-size: .7rem; color: var(--night-muted); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: var(--s-3) 0 var(--s-4); position: sticky; top: var(--nav-h); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); z-index: 5; }
.filters select { width: auto; min-height: 38px; padding: 6px 12px; font-size: var(--fs-1); }
.fcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); margin-bottom: var(--s-3); box-shadow: var(--sh-1); overflow: hidden; }
.fcard > summary { list-style: none; cursor: pointer; padding: 16px 20px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; }
.fcard > summary::-webkit-details-marker { display: none; }
.fcard > summary h3 { font-size: 1.06rem; margin: 2px 0 6px; }
.fcard .chev { transition: transform var(--t2) var(--ease); color: var(--muted); margin-top: 4px; }
.fcard[open] .chev { transform: rotate(180deg); }
.fcard .body { padding: 0 20px 20px 54px; }
@media (max-width: 640px) { .fcard .body { padding: 0 16px 18px; } .fcard > summary { grid-template-columns: 1fr auto; } .fcard .rank { display: none; } }
.rank { font: 700 .82rem/1 var(--mono); color: var(--muted); padding-top: 6px; min-width: 22px; }
.fcard.st-u { border-style: dashed; box-shadow: none; background: var(--surface-2); }
.lbl { font: 700 .7rem/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--act-text); margin: var(--s-4) 0 6px; }
.evidence { font-family: var(--mono); font-size: .78rem; background: var(--night); color: #E6E3FF; border-radius: var(--r-1); padding: 12px 14px; overflow-x: auto; }
.evidence div { padding: 3px 0; border-bottom: 1px dashed rgba(255,255,255,.08); white-space: pre-wrap; word-break: break-word; }
.evidence .k { color: #9B95D0; }
.inv { width: 100%; border-collapse: collapse; font-size: var(--fs-1); }
.inv th, .inv td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
.inv th { font-weight: 650; color: var(--ink-2); background: var(--surface-2); }
@media (max-width: 700px) { .inv thead { display: none; } .inv tr { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); } .inv td { border: 0; padding: 4px 8px; } .inv td:first-child { grid-column: 1 / -1; font-weight: 650; } }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 800px) { .paths { grid-template-columns: 1fr; } }
.progress-steps { list-style: none; padding: 0; margin: 0; }
.progress-steps li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--night-line); color: var(--night-muted); }
.progress-steps li.done { color: var(--night-ink); } .progress-steps li.now { color: #fff; font-weight: 600; }
.progress-steps li .ic { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--night-line); display: grid; place-items: center; font-size: .7rem; flex: none; }
.progress-steps li.done .ic { background: #16A05A; border-color: #16A05A; color: #fff; }
.progress-steps li.now .ic { border-color: #9B7BFF; border-top-color: transparent; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-1); background: var(--surface); border-radius: var(--r-2); overflow: hidden; }
.table th, .table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.table th { background: var(--surface-2); font-weight: 650; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-2); }
.timeline { list-style: none; padding: 0; margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.timeline li { font-size: var(--fs-0); padding: 5px 10px; border-radius: var(--r-pill); background: var(--surface-3); color: var(--muted); }
.timeline li.on { background: var(--act-fill); color: #fff; } .timeline li.past { background: var(--act-tint); color: var(--act-text); }
.prose h2 { margin-top: var(--s-7); font-size: 1.5rem; } .prose h3 { margin-top: var(--s-5); } .prose li { margin-bottom: 6px; } .prose table { margin: var(--s-4) 0; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--t3) var(--ease), transform var(--t3) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.lift { transition: transform var(--t2) var(--ease), box-shadow var(--t2); } .lift:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .req-list li { opacity: 1; transform: none; }
  .scope-wave .line { stroke-dashoffset: 0; }
}
@media print { .nav, .footer, .filters, .no-print { display: none !important; } .fcard { break-inside: avoid; } details.fcard > .body { display: block; } }

/* report on small screens */
.report-hero .lede, .report-hero p { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 12px 14px; } .kpi b { font-size: 1.6rem; }
  .gauge { width: 108px; height: 108px; } .gauge b { font-size: 1.8rem; } .gauge::before { inset: 9px; }
  .report-hero { padding-top: var(--s-6); }
}
