/* CITARI app: citari.cz landing + GEO audit funnel.
   Space Grotesk (display) / Instrument Sans (text) / IBM Plex Mono (data).
   Off-white paper + near-black ink + one emerald accent. Light by default,
   dark via prefers-color-scheme (tokens only). No framework, ~1 request. */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url(/assets/fonts/space-grotesk-latin-ext-wght.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url(/assets/fonts/space-grotesk-latin-wght.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url(/assets/fonts/instrument-sans-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url(/assets/fonts/instrument-sans-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url(/assets/fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url(/assets/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ---------- Tokens: light (default) + dark (OS preference) ---------- */
:root {
  --bg: #f6f7f4; --bg-2: #edf0ea; --surface: #ffffff; --surface-2: #fafbf8;
  --ink: #0e1311; --ink-2: #39423c; --muted: #5f6861; --line: #e2e6de; --line-strong: #c9cfc5;
  --accent: #0b6b4c; --accent-strong: #08573d; --accent-soft: #e3f0e9; --on-accent: #ffffff;
  --signal: #7ad21f; --signal-ink: #477f0c;
  --ok: #0b6b4c; --ok-soft: #e3f0e9; --warn: #8a5a0b; --warn-soft: #f6ecd6;
  --danger: #a32f2f; --danger-soft: #f7e5e3;
  --bar: #a3ada5; --code-bg: #0f1613; --code-ink: #e6ece7; --code-line: #0f1613;
  --font-display: "Space Grotesk", "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 16px; --radius-sm: 10px; --gutter: 1rem; --maxw: 74rem;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(14, 19, 17, .04), 0 18px 40px -24px rgba(11, 60, 40, .22);
  --shadow-card: var(--shadow);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1210; --bg-2: #141b17; --surface: #121915; --surface-2: #161e1a;
    --ink: #e8eee9; --ink-2: #c2cbc4; --muted: #96a199; --line: #232d27; --line-strong: #35433b;
    --accent: #43c98c; --accent-strong: #74dcab; --accent-soft: #132a20; --on-accent: #06120c;
    --signal: #9bec3e; --signal-ink: #a6ec5a;
    --ok: #43c98c; --ok-soft: #132a20; --warn: #e2ad55; --warn-soft: #2a2213;
    --danger: #f08178; --danger-soft: #2f1916;
    --bar: #4b5850; --code-bg: #080c0a; --code-ink: #dfe7e1; --code-line: #26302a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -24px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
@media (min-width: 48rem) { :root { --gutter: 2rem; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans);
  font-size: 1.0625rem; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a, button, summary, input { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.btn.is-busy { opacity: .75; pointer-events: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); letter-spacing: -0.03em; }
h3 { font-size: 1.15rem; letter-spacing: -0.015em; }
p { margin: 0 0 1rem; text-wrap: pretty; }
a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: .2em; transition: color .15s; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--font-mono); font-weight: 500; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 42rem; }
.mid { max-width: 56rem; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--ink); color: var(--bg); padding: .5rem .9rem; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 1rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; }
@media (min-width: 48rem) { .lead { font-size: 1.25rem; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; }
.logo { margin-right: auto; display: inline-flex; align-items: baseline; text-decoration: none; color: var(--ink); gap: .12rem; }
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.04em; }
.logo-mark { font-family: var(--font-mono); font-weight: 500; font-size: .68rem; color: var(--accent); }
.nav { display: none; gap: 1.6rem; }
.nav a, .header-link { font-size: .94rem; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.nav a:hover, .header-link:hover { color: var(--accent); }
@media (min-width: 60rem) { .nav { display: flex; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; white-space: nowrap;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg);
  font-family: var(--font-sans); font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .15s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-1px);
  box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn:active { transform: translateY(1px) scale(.985); box-shadow: none; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: transparent; color: var(--accent); border-color: var(--accent); box-shadow: none; }
.btn-block { width: 100%; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.02rem; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.nav-cta { flex: none; }

.eyebrow { font-family: var(--font-mono); font-weight: 500; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }

/* ---------- Scan form ---------- */
.scan-form { margin-top: 2rem; max-width: 36rem; }
.scan-label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .5rem; color: var(--ink-2); }
.scan-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.scan-input { flex: 1 1 15rem; display: flex; align-items: center; gap: .4rem; background: var(--surface);
  border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 0 .4rem 0 1.15rem; transition: border-color .2s, box-shadow .2s; }
.scan-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.scan-input .proto { font-family: var(--font-mono); font-size: .9rem; color: var(--muted); }
.scan-input input { flex: 1; border: 0; outline: 0; background: transparent; font-family: var(--font-mono); font-size: 1rem; color: var(--ink); padding: .9rem 0; min-width: 6rem; }
.scan-input input::placeholder { color: var(--muted); opacity: 1; }
.scan-row .btn { flex: 0 0 auto; }
@media (max-width: 30rem) { .scan-row .btn { width: 100%; } }
.scan-help { margin: .7rem 0 0; font-size: .88rem; color: var(--muted); }

/* ---------- Landing: hero ---------- */
.hero { padding-block: 3rem 4rem; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -10% -10% auto auto; width: 60rem; height: 40rem; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--signal) 16%, transparent), transparent); opacity: .8; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 62rem) { .hero { padding-block: 4.5rem 5.5rem; } .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 4rem; } }
.hero h1 { font-size: clamp(2.5rem, 4.8vw, 3.9rem); max-width: 17ch; margin-bottom: 1.25rem; }
.hero .lead { max-width: 38ch; }

/* real report excerpt */
.case-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.case-top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.case-tag { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: .25rem .6rem; border-radius: 999px; }
.case-meta { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); }
.case-title { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.3; margin-bottom: 1.1rem; }
.case-sub { font-weight: 600; font-size: .9rem; margin: 1.5rem 0 .5rem; color: var(--ink-2); }
.case-card figcaption { margin-top: 1.1rem; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.hero-proof { animation: rise .8s var(--ease) .15s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* bars (share of voice) */
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.bars li { display: grid; grid-template-columns: minmax(5.5rem, 8.5rem) 1fr 3rem; align-items: center; gap: .8rem; font-size: .9rem; }
.bar-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.bar-track { position: relative; height: .6rem; background: var(--bg-2); border-radius: 999px; overflow: hidden; }
.bar-fill { position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--bar); border-radius: 999px; transition: width 1.1s var(--ease); }
.bar-val { font-family: var(--font-mono); font-size: .85rem; text-align: right; color: var(--ink-2); }
.bars li.is-client .bar-name, .bars li.is-client .bar-val { color: var(--accent); font-weight: 600; }
.bars li.is-client .bar-fill { background: var(--accent); }
.js .anim-bars .bar-fill { width: 0; }
.js .anim-bars.in .bar-fill { width: var(--v); }
.anim-bars.in li:nth-child(2) .bar-fill { transition-delay: .08s; } .anim-bars.in li:nth-child(3) .bar-fill { transition-delay: .16s; }
.anim-bars.in li:nth-child(4) .bar-fill { transition-delay: .24s; } .anim-bars.in li:nth-child(5) .bar-fill { transition-delay: .32s; }

/* source domain list */
.src-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.src-list li { display: grid; grid-template-columns: 1fr auto 3.2rem; gap: .8rem; align-items: baseline; padding: .4rem 0; font-size: .9rem; }
.src-dom { font-family: var(--font-mono); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.src-kind { font-size: .78rem; color: var(--muted); }
.src-val { font-family: var(--font-mono); text-align: right; }
.src-list li.is-client .src-dom, .src-list li.is-client .src-val { color: var(--accent); font-weight: 600; }
.src-list.big li { padding: .7rem 0; border-top: 1px solid var(--line); font-size: 1rem; }
.src-list.big li:first-child { border-top: 0; }

/* ---------- Landing: sections ---------- */
section[id] { scroll-margin-top: 5rem; }
.insight, .how, .audit, .honest, .pricing, .faq { padding-block: 4rem; }
@media (min-width: 62rem) { .insight, .how, .audit, .honest, .pricing, .faq { padding-block: 6rem; } }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 52ch; margin-bottom: 2.5rem; }

.insight { border-top: 1px solid var(--line); }
.insight h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 18ch; }
.insight-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 54ch; }
.figures { display: grid; gap: 1.5rem; margin: 3rem 0 0; }
@media (min-width: 48rem) { .figures { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.figures > div { border-top: 2px solid var(--ink); padding-top: 1rem; display: flex; flex-direction: column-reverse; gap: .3rem; }
.figures > div:last-child { border-top-color: var(--accent); }
.figures dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.8rem); letter-spacing: -0.04em; line-height: 1; }
.figures > div:last-child dd { color: var(--accent); }
.figures dt { color: var(--muted); font-size: .95rem; }

.how { background: var(--surface); border-block: 1px solid var(--line); }
.how-steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 2rem; counter-reset: s; }
@media (min-width: 52rem) { .how-steps { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.how-steps li { position: relative; padding: 1.5rem 0 0 0; border-top: 1px solid var(--line-strong); counter-increment: s; }
@media (min-width: 52rem) { .how-steps li { padding: 1.75rem 2rem 0 0; } }
.how-steps li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.how-steps li:first-child::before { background: var(--accent); }
.how-when { display: block; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.how-steps h3 { font-size: 1.35rem; }
.how-steps p { color: var(--ink-2); max-width: 32ch; }

.bento { display: grid; gap: 1rem; }
@media (min-width: 52rem) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(10rem, auto); }
  .b-sov { grid-column: 1 / 4; grid-row: 1 / 3; } .b-src { grid-column: 4 / 7; } .b-eng { grid-column: 4 / 7; }
  .b-plan, .b-base, .b-fix { grid-column: span 2; }
}
.b-cell { border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; min-width: 0; }
.b-cell p { color: var(--ink-2); font-size: .97rem; max-width: 46ch; }
.b-cell h3 { font-size: 1.3rem; }
.b-sov { background: linear-gradient(160deg, var(--accent-soft), var(--surface) 70%); }
.b-sov .bars { margin-top: auto; padding-top: 1.5rem; }
.b-base { background: var(--bg-2); }
.b-fix { background: var(--code-bg); border-color: var(--code-line); }
.b-fix h3 { color: var(--code-ink); }
.b-fix p { color: color-mix(in srgb, var(--code-ink) 72%, transparent); font-size: .92rem; margin: 0; }
.b-fix pre { font-family: var(--font-mono); font-size: .8rem; line-height: 1.6; color: var(--signal); margin: 0 0 1rem; white-space: pre-wrap; }
.eng-list { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.eng-list li { font-family: var(--font-mono); font-size: .82rem; padding: .4rem .75rem; border: 1px solid var(--line-strong); border-radius: 999px; }

.honest-grid { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .honest-grid { grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; } }
.honest h2 { max-width: 14ch; }
.honest-cols { display: grid; gap: 2rem; }
@media (min-width: 40rem) { .honest-cols { grid-template-columns: 1fr 1fr; } }
.ticks, .crosses { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.ticks li, .crosses li { position: relative; padding-left: 1.7rem; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.crosses li::before { content: "✕"; position: absolute; left: .1rem; color: var(--danger); font-weight: 700; font-size: .9em; }

.pricing { background: var(--surface); border-block: 1px solid var(--line); }
.free-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding: 1.4rem 1.6rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); margin-bottom: 1rem; }
.free-row h3 { margin-bottom: .25rem; } .free-row p { margin: 0; color: var(--muted); font-size: .95rem; }
.free-price { display: flex; align-items: center; gap: 1.25rem; }
.free-price b { font-family: var(--font-mono); font-weight: 500; font-size: 1.5rem; }
.price-grid { display: grid; gap: 1rem; }
@media (min-width: 44rem) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.75rem; }
.price-card.featured { border: 1.5px solid var(--accent); box-shadow: var(--shadow); }
.price-flag { position: absolute; top: -.8rem; left: 1.5rem; margin: 0; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--on-accent); padding: .2rem .65rem; border-radius: 999px; }
.price-card h2, .price-card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.amount { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; margin: .4rem 0 .3rem; }
.price-note { color: var(--muted); font-size: .88rem; margin-bottom: 1.5rem; }
.price-card .ticks { margin-bottom: 1.75rem; }
.price-card form, .price-card > .btn { margin-top: auto; }
.price-foot { margin: 1.5rem 0 0; color: var(--muted); font-size: .95rem; }

.faq-grid { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .faq-grid { grid-template-columns: 1fr 2fr; gap: 4rem; } .faq-grid h2 { position: sticky; top: 6rem; align-self: start; } }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.1rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.01em; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.3rem; color: var(--accent); transition: transform .25s var(--ease); flex: none; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--ink-2); max-width: 62ch; padding-bottom: 1.1rem; margin: 0; }

.final { padding-block: 1rem 5rem; }
.final-inner { background: var(--accent-soft); border-radius: calc(var(--radius) + 8px); padding: clamp(2rem, 6vw, 4rem); display: grid; justify-items: start; }
@media (min-width: 52rem) { .final-inner { justify-items: center; text-align: center; } .final-inner .scan-form { width: 100%; } .final-inner .scan-help { text-align: center; } }
.final h2 { max-width: 20ch; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem; color: var(--muted); font-size: .9rem; }
.footer-inner { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .footer-inner { grid-template-columns: 1.5fr 2fr auto; align-items: start; } }
.footer-brand p { margin: .5rem 0 0; max-width: 32ch; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-legal { margin: 0; }

/* ---------- Funnel shell ---------- */
.shell { padding-block: 2rem 4.5rem; }
.shell:not(.ob-stage) { animation: pageIn .42s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-rail { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 2rem;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.step-rail li { display: flex; align-items: center; gap: .5rem; }
.step-rail li::after { content: "/"; color: var(--line-strong); margin-left: .5rem; }
.step-rail li:last-child::after { content: none; }
.step-rail .on { color: var(--accent); }
.step-rail .done { color: var(--ink-2); }
.h-sub { font-size: 1.3rem; margin: 2.5rem 0 1rem; }
.center-page { text-align: center; padding-top: 3rem; }
.center-page .lead { margin-inline: auto; }
.big-check { width: 3.5rem; height: 3.5rem; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 700; }

/* ---------- Score ---------- */
.result-wrap { max-width: 52rem; }
.score-card { display: grid; gap: 1.75rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.25rem); box-shadow: var(--shadow); }
@media (min-width: 40rem) { .score-card { grid-template-columns: auto 1fr; } }
.score-card h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: .75rem; }
.score-card .eyebrow { margin-bottom: .6rem; overflow-wrap: anywhere; }
.score-card .muted { margin: 0; max-width: 52ch; }
.score-card.compact h2 { font-size: 1.35rem; margin-bottom: .4rem; }
.gauge { --size: 170px; width: var(--size); height: var(--size); position: relative; flex: none; }
.gauge svg { transform: rotate(-90deg); display: block; width: 100%; height: 100%; }
.gauge .track { stroke: var(--bg-2); }
.gauge .fill { stroke: var(--accent); stroke-linecap: round; animation: gaugeIn 1.2s var(--ease) both; }
@keyframes gaugeIn { from { stroke-dashoffset: 999; } }
.gauge.g-mid .fill { stroke: var(--warn); } .gauge.g-low .fill { stroke: var(--danger); }
.gauge .num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge .num b { font-family: var(--font-display); font-weight: 600; font-size: calc(var(--size) * .26); line-height: 1; letter-spacing: -0.03em; }
.gauge .num span { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }

.engine-strip { margin-top: 1.25rem; }
.engine-lead { margin: 0 0 .6rem; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.engines { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.eng { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 600; padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--line-strong); }
.eng.ok { color: var(--ok); background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 28%, var(--line)); }
.eng.no { color: var(--danger); background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 30%, var(--line)); }

.findings { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.finding { display: flex; gap: .9rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.15rem; }
.finding .ic { font-family: var(--font-mono); font-weight: 700; flex: none; width: 1.6rem; height: 1.6rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: .85rem; }
.finding.good .ic { background: var(--ok-soft); color: var(--ok); }
.finding.warn .ic { background: var(--warn-soft); color: var(--warn); }
.finding.bad .ic { background: var(--danger-soft); color: var(--danger); }
.finding.bad { border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); }
.f-title { font-weight: 600; margin: 0 0 .15rem; }
.f-body { margin: 0; font-size: .93rem; color: var(--ink-2); }

/* the sell */
.sell { margin-top: 3.5rem; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 50rem) { .sell { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.sell h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.value-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .8rem; }
.value-list li { position: relative; padding-left: 1.6rem; color: var(--ink-2); line-height: 1.5; font-size: .98rem; }
.value-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.value-list b { color: var(--ink); }
.locked { position: relative; min-height: 15rem; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; overflow: hidden; background: var(--surface); }
.locked .blur { filter: blur(5px); opacity: .6; pointer-events: none; user-select: none; }
.lock-ov { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.25rem;
  background: color-mix(in srgb, var(--surface) 62%, transparent); }
.lock-k { margin: 0 0 .3rem; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lock-h { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin: 0 0 .4rem; }
.lock-ov .small { color: var(--ink-2); max-width: 30rem; margin: 0; }
.dash-main > .locked, .shell > .container > .locked { margin-top: 1.5rem; }

.cta-card { margin-top: 2rem; background: var(--surface); border: 1.5px solid var(--accent); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.25rem); box-shadow: var(--shadow); }
.cta-card h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.price-mini { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: 1.25rem 0 0; }
.price-mini + .btn { margin-top: 1rem; }
.price-mini > div { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .75rem 1rem; }
.price-mini b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; }
.price-mini span { font-size: .82rem; color: var(--muted); }
.capture { display: grid; gap: .6rem; margin-top: 1.25rem; }
@media (min-width: 34rem) { .capture { grid-template-columns: 1fr auto; } }
.capture input, .field input { border: 1.5px solid var(--line-strong); border-radius: 999px; padding: .9rem 1.2rem; font-size: 1rem; font-family: var(--font-sans); background: var(--surface); color: var(--ink); width: 100%; }
.capture input::placeholder, .field input::placeholder { color: var(--muted); opacity: 1; }
.capture input:focus, .field input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.consent { font-size: .84rem; color: var(--muted); margin: .75rem 0 0; }
.callout { background: var(--warn-soft); border-left: 3px solid var(--warn); padding: 1rem 1.2rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; color: var(--ink); }

/* ---------- Dashboard ---------- */
.toast { background: var(--accent-soft); color: var(--accent-strong); border-radius: var(--radius-sm); padding: .75rem 1rem; font-size: .92rem; margin-bottom: 1.5rem; }
.dash-head { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.dash-head h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: .3rem; }
.dash-head .eyebrow { margin-bottom: .5rem; }
.dash-head p { margin: 0; overflow-wrap: anywhere; }
.dash-split { display: grid; gap: 1.25rem; align-items: start; grid-template-columns: minmax(0, 1fr); }
.dash-split > * { min-width: 0; margin-top: 0; }
@media (min-width: 56rem) { .dash-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.status-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; margin-bottom: 1.75rem; }
.status-card.is-error { border-left-color: var(--danger); }
.status-card .status-h { font-weight: 600; margin: 0 0 .2rem; }
.status-card p { margin: 0 0 .5rem; }
.spinner { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .15rem; border-radius: 50%; border: 2px solid var(--accent-soft); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.badge { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.badge.real { color: var(--accent); background: var(--accent-soft); border-color: transparent; }
.badge.warn { color: var(--warn); background: var(--warn-soft); border-color: transparent; }

/* report */
.report { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64rem) { .report { grid-template-columns: 11rem minmax(0, 1fr); gap: 3rem; } }
.rep-toc ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; }
.rep-toc a { display: block; white-space: nowrap; padding: .4rem .8rem; border-radius: 999px; font-size: .88rem; color: var(--ink-2); text-decoration: none; border: 1px solid var(--line); background: var(--surface); }
.rep-toc a:hover, .rep-toc a.on { color: var(--accent); border-color: var(--accent); }
@media (min-width: 64rem) {
  .rep-toc { position: sticky; top: 5.5rem; align-self: start; }
  .rep-toc ul { flex-direction: column; gap: .15rem; }
  .rep-toc a { border: 0; background: transparent; padding: .45rem .7rem; border-left: 2px solid var(--line); border-radius: 0; }
  .rep-toc a.on { border-left-color: var(--accent); }
}
@media (max-width: 63.99rem) { .rep-toc { position: sticky; top: 4rem; z-index: 5; background: var(--bg); padding: .6rem 0; margin: -.6rem 0 0; } }
.rep-main { min-width: 0; display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); }
.rep-sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3.5vw, 2rem); min-width: 0; }
.rep-sec h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: .5rem; }
.rep-lead { color: var(--ink-2); max-width: 62ch; margin-bottom: 1.4rem; }
.ov-head { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-bottom: 1.4rem; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; margin: 0; }
@media (min-width: 44rem) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpis > div { display: flex; flex-direction: column; }
.kpis dt { order: 0; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.kpis dd { order: 1; margin: .25rem 0 .15rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.kpis > div:first-child dd { color: var(--accent); }
.kpis p { order: 2; margin: 0; font-size: .8rem; color: var(--muted); }
.ov-read { margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }

.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.plan-item { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.15rem; background: var(--surface-2); }
.plan-item.plan-critical { border-left: 3px solid var(--danger); }
.plan-item.plan-high { border-left: 3px solid var(--warn); }
.plan-item.plan-done { border-left: 3px solid var(--accent); }
.plan-top { display: flex; align-items: flex-start; gap: .7rem; flex-wrap: wrap; }
.plan-rank { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 999px; background: var(--ink); color: var(--bg); font-family: var(--font-mono); font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.plan-done .plan-rank { background: var(--accent); color: var(--on-accent); }
.plan-title { flex: 1 1 14rem; margin: .1rem 0 0; font-family: var(--font-sans); font-weight: 600; font-size: 1rem; letter-spacing: 0; line-height: 1.35; }
.sev { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .5rem; border-radius: 999px; white-space: nowrap; background: var(--bg-2); color: var(--muted); }
.sev-critical { background: var(--danger-soft); color: var(--danger); } .sev-high { background: var(--warn-soft); color: var(--warn); } .sev-done { background: var(--accent-soft); color: var(--accent); }
.plan-why { margin: .6rem 0 0; font-size: .92rem; color: var(--ink-2); }
.plan-fix { margin: .45rem 0 0; font-size: .92rem; }
.plan-impact { margin: .45rem 0 0; font-size: .85rem; color: var(--accent-strong); font-weight: 600; }
.plan-jump { white-space: nowrap; font-size: .85rem; }

.table-wrap { overflow-x: auto; }
.eng-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 32rem; }
.eng-table th, .eng-table td { text-align: right; padding: .7rem .6rem; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.eng-table thead th { border-top: 0; font-size: .8rem; font-weight: 600; color: var(--muted); }
.eng-table th[scope=row], .eng-table thead th:first-child { text-align: left; font-weight: 600; }
.eng-table td { font-family: var(--font-mono); }

.fp-list { display: grid; gap: .6rem; }
.fp-item { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); }
.fp-item summary { cursor: pointer; list-style: none; padding: .9rem 1.1rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; }
.fp-item summary::-webkit-details-marker { display: none; }
.fp-item summary::before { content: "+"; font-family: var(--font-mono); color: var(--accent); width: 1rem; }
.fp-item[open] summary::before { content: "-"; }
.fp-name { font-weight: 600; }
.fp-how { font-size: .85rem; color: var(--muted); }
.fp-actions { display: flex; gap: .5rem; padding: 0 1.1rem; }
.snippet { background: var(--code-bg); color: var(--code-ink); border-radius: var(--radius-sm); padding: 1rem 1.1rem; font-family: var(--font-mono); font-size: .8rem; line-height: 1.6; overflow: auto; max-height: 22rem; margin: .7rem 1.1rem 1.1rem; white-space: pre; }
.copy-btn { font-family: var(--font-mono); font-size: .75rem; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); border-radius: 999px; padding: .35rem .8rem; cursor: pointer; }
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.dfy-card { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.dfy-card h3 { margin-bottom: .25rem; } .dfy-card p { margin: 0; max-width: 46ch; }

/* paywall + checkout */
.mid .price-grid { margin-top: 2.5rem; }
.pay-foot { margin-top: 1.5rem; }
.checkout { max-width: 30rem; margin: 2rem auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem; }
.co-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.co-head h1 { font-size: 1.6rem; margin: 0; }
.co-line { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; font-size: .95rem; }
.co-total { border-top: 1px solid var(--line); margin: .25rem 0 1.25rem; padding-top: .8rem; font-weight: 700; }
.demo-flag { background: var(--warn-soft); color: var(--warn); font-size: .85rem; border-radius: var(--radius-sm); padding: .55rem .8rem; }
.fake-input { border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); padding: .75rem .9rem; font-family: var(--font-mono); color: var(--muted); font-size: .9rem; margin-bottom: .6rem; }
.fake-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .75rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.field input { border-radius: var(--radius-sm); }
.order-form .btn { margin-top: .5rem; }
.order-form .small { margin-top: .75rem; }

/* ---------- Scanning ---------- */
.scan-stage { min-height: 100vh; min-height: 100dvh; background: var(--bg); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2.5rem var(--gutter); position: relative; overflow: hidden; }
.scan-stage::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(55% 48% at 50% -2%, color-mix(in srgb, var(--signal) 16%, transparent), transparent 68%),
              radial-gradient(40% 36% at 90% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%); }
.scan-wrap { position: relative; z-index: 1; width: 100%; max-width: 38rem;
  transition: opacity .32s var(--ease), transform .32s var(--ease); }
.scan-stage.leaving .scan-wrap { opacity: 0; transform: translateY(-10px) scale(.99); }
.scan-stage.leaving::before { opacity: 0; transition: opacity .32s var(--ease); }
.scan-head { text-align: center; margin-bottom: 2rem; }
.scan-head .eyebrow { justify-content: center; }
.scan-head h1 { color: var(--ink); font-size: clamp(1.9rem, 5vw, 2.9rem); }
.scan-sub { color: var(--muted); max-width: 34ch; margin: .6rem auto 0; font-size: 1.02rem; }
.scan-target { font-family: var(--font-mono); color: var(--accent); }

/* big circular progress */
.scan-ring { width: 150px; height: 150px; margin: 0 auto 1.9rem; position: relative; }
.scan-ring svg { transform: rotate(-90deg); display: block; }
.scan-ring .track { stroke: var(--line); }
.scan-ring .fill { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .6s var(--ease);
  filter: drop-shadow(0 2px 5px color-mix(in srgb, var(--accent) 28%, transparent)); }
.scan-ring .pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 500; font-size: 1.9rem; color: var(--ink); }

/* step list - cards that gently reveal in sequence */
.scan-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.scan-steps li { display: flex; align-items: center; gap: .85rem; padding: .8rem 1rem; border-radius: var(--radius-sm);
  font-size: 1rem; color: var(--ink-2); background: transparent; border: 1px solid transparent;
  opacity: 0; transform: translateY(8px); animation: stepIn .5s var(--ease) both;
  transition: color .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.scan-steps li:nth-child(1) { animation-delay: .05s; } .scan-steps li:nth-child(2) { animation-delay: .13s; }
.scan-steps li:nth-child(3) { animation-delay: .21s; } .scan-steps li:nth-child(4) { animation-delay: .29s; }
.scan-steps li:nth-child(5) { animation-delay: .37s; } .scan-steps li:nth-child(6) { animation-delay: .45s; }
@keyframes stepIn { to { opacity: .6; transform: none; } }
.scan-steps li .dot { width: 1.3rem; height: 1.3rem; flex: none; border-radius: 50%; border: 1.5px solid var(--line-strong); position: relative; background: var(--surface); }
.scan-steps li .label { flex: 1; }
.scan-steps li .tag { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-strong); padding: .12rem .45rem; border-radius: 999px; white-space: nowrap; }
.scan-steps li.is-active { opacity: 1; color: var(--ink); background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-card); }
.scan-steps li.is-active .dot { border-color: var(--accent); }
.scan-steps li.is-active .dot::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; border: 2px solid var(--accent); border-top-color: transparent; animation: spin .7s linear infinite; }
.scan-steps li.is-done { opacity: 1; color: var(--ink-2); }
.scan-steps li.is-done .dot { background: var(--accent); border-color: var(--accent); }
.scan-steps li.is-done .dot::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--on-accent); font-size: .8rem; font-weight: 700; }
@keyframes spin { to { transform: rotate(360deg); } }

/* discovered-profile teaser (earned handoff) */
.scan-found { margin-top: 1.6rem; text-align: center; opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease); }
.scan-found.in { opacity: 1; transform: none; }
.found-eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-mono); font-weight: 500;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.found-line { margin: .5rem 0 0; font-size: 1.08rem; color: var(--ink); text-wrap: balance; }
.found-line strong { color: var(--accent-strong); }
.noscript-note { margin-top: 1.5rem; text-align: center; }


.scan-head .logo { margin: 0 auto 2rem; justify-content: center; }
.scan-steps li .dot { flex: none; }

/* ---------- Onboarding v2 (clean confirm) ---------- */
.ob-stage { padding-block: 2.5rem 4rem; }
.ob-intro { text-align: center; max-width: 36rem; margin: 0 auto 2.25rem; }
.ob-intro h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .6rem; }
.ob-intro .muted { font-size: 1.08rem; max-width: 34rem; margin-inline: auto; }
.ob-callout { max-width: 40rem; margin: 0 auto 1.75rem; }
.ob-form { max-width: 40rem; margin-inline: auto; display: flex; flex-direction: column; gap: 1rem; }
.ob-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: clamp(1.35rem, 3.5vw, 2rem); }

.ob-row { padding: 1.35rem 0; border-top: 1px solid var(--line); }
.ob-row:first-child { padding-top: 0; border-top: 0; }
.ob-row:last-child { padding-bottom: 0; }
.ob-rowhead { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.ob-label { font-family: var(--font-mono); font-weight: 500; font-size: .74rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-2); }

/* subtle status tags - quiet by design, never loud pills */
.ob-tag { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.ob-tag.found { color: var(--signal-ink); }
.ob-tag.found::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 20%, transparent); }
.ob-tag.empty { color: var(--muted); }
.ob-tag.guess { color: var(--warn); }

.ob-card input[type=text] { width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface-2); font-family: var(--font-sans); font-size: 1.05rem; color: var(--ink);
  padding: .8rem .95rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.ob-card input[type=text]:hover { border-color: var(--line-strong); }
.ob-card input[type=text]:focus { outline: 0; background: var(--surface); border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }

.ob-card-guess { padding-top: 1.35rem; }
.ob-card-guess .ob-rowhead { margin-bottom: .6rem; }
.ob-note { margin: .6rem 0 0; font-size: .85rem; color: var(--muted); }

/* services as chips (progressive enhancement; textarea is the no-JS fallback) */
.ob-chips.is-enhanced .ob-fallback { display: none; }
.ob-fallback { width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2);
  font-family: var(--font-sans); font-size: 1rem; color: var(--ink); padding: .8rem .95rem; min-height: 4.5rem; resize: vertical; }
.ob-fallback:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
.ob-chipbox { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.ob-chip { display: inline-flex; align-items: center; gap: .45rem; background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line)); color: var(--accent-strong);
  border-radius: 999px; padding: .4rem .5rem .4rem .85rem; font-size: .92rem; line-height: 1;
  animation: chipIn .25s var(--ease) both; }
.ob-chip button { border: 0; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-strong);
  width: 1.15rem; height: 1.15rem; border-radius: 50%; cursor: pointer; font-size: .85rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.ob-chip button:hover { background: var(--danger-soft); color: var(--danger); }
.ob-chipadd { flex: 1 1 8rem; min-width: 7rem; border: 0; outline: 0; background: transparent;
  font-family: var(--font-sans); font-size: .98rem; color: var(--ink); padding: .4rem .2rem; }
.ob-chipadd::placeholder { color: var(--muted); }
@keyframes chipIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

.ob-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; margin-top: .75rem; }
.ob-actions .btn { flex: none; }
.ob-reassure { font-size: .9rem; color: var(--muted); }

/* intro always eases in; the scanning stage hands off into this screen */
.ob-intro { animation: obIn .55s var(--ease) both; }
@keyframes obIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* smooth exit toward the score screen (JS adds .leaving on submit) */
.ob-stage { transition: opacity .3s var(--ease), transform .3s var(--ease); }
.ob-stage.leaving { opacity: 0; transform: translateY(-8px); }

/* JS-orchestrated "populating" reveal - progressive enhancement:
   without JS everything is visible; .js-reveal opts into the motion. */
.ob-form.js-reveal .ob-anim { opacity: 0; transform: translateY(16px); will-change: opacity, transform; }
.ob-form.js-reveal .ob-anim.in { opacity: 1; transform: none;
  transition: opacity .44s var(--ease), transform .44s var(--ease); }

/* each value "settles in" with a soft signal-tinted flash as its row lands */
.ob-card input.landed { animation: valueLand .6s var(--ease) both; }
@keyframes valueLand {
  0%   { background-color: color-mix(in srgb, var(--signal) 16%, var(--surface-2)); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
  100% { background-color: var(--surface-2); border-color: var(--line); } }

/* the "nalezeno" dot ticks in with a ripple exactly when its value lands */
.ob-form.js-reveal .ob-anim .ob-tag.found::before { transform: scale(0); }
.ob-form.js-reveal .ob-anim.in .ob-tag.found::before { animation: dotTick .55s var(--ease) .16s both; }
@keyframes dotTick {
  0%   { transform: scale(0);   box-shadow: 0 0 0 0 color-mix(in srgb, var(--signal) 45%, transparent); }
  55%  { transform: scale(1.3); box-shadow: 0 0 0 7px color-mix(in srgb, var(--signal) 0%, transparent); }
  100% { transform: scale(1);   box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 20%, transparent); } }
.ob-form.js-reveal .ob-anim.in .ob-tag.found { animation: tagFade .4s var(--ease) both; }
@keyframes tagFade { from { opacity: 0; } to { opacity: 1; } }

/* confident CTA feel: lift + soft shadow on hover, settle on press */
.ob-actions .btn { transition: background .2s, border-color .2s, color .2s,
  transform .12s var(--ease), box-shadow .22s var(--ease); }
.ob-actions .btn:hover { transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--accent) 60%, transparent); }
.ob-actions .btn:active { transform: translateY(1px) scale(.985); box-shadow: none; }

@media (max-width: 24.5rem) { .ob-intro .muted { font-size: 1rem; } .ob-reassure { width: 100%; } }

