/* Agentic Readiness Check – one stylesheet for every HTML page (the PDF has its own, report-pdf.css).
   Based on the creativestyle redesign (#83): dark header with a red glow, Outfit, rounded cards. */

@font-face { font-family: Outfit; font-weight: 100 900; font-display: swap; src: url(fonts/outfit-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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Outfit; font-weight: 100 900; font-display: swap; src: url(fonts/outfit-latin-ext-wght-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; }

:root {
  --black: #000000;
  --night: #0b0c0f;
  --ink: #191b1f;
  --ink-2: #3d3f44;
  --muted: #6a6a6a;        /* 5.4:1 on white */
  --muted-dark: #a6a6a6;   /* 8:1 on night */
  --line: #e8e8e8;
  --paper: #ffffff;
  --paper-2: #f3f3f3;
  --red: #d81316;
  --red-600: #be1114;
  --red-700: #b2080c;      /* red for small text on light grounds */
  --good: #1f9d3a;
  --warning: #f2b200;
  --serious: #ec835a;
  --critical: #d81316;
  /* Colour follows function: green = act / positive, red = problem, limit, error (and brand accent
     in headlines), black/white = neutral. */
  --go: #178a3a;           /* white text 4.6:1 */
  --go-600: #126f2e;
  --go-700: #0f5d26;
  --go-bright: #3ccf6a;    /* green on dark grounds */
  --go-tint: #e3f3e7;
  --go-ink: #17692a;
  --radius: 20px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 5vw, 72px);
  --font: Outfit, Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--paper); text-wrap: pretty; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
a { color: var(--ink); text-underline-offset: 0.15em; }
a:hover { color: var(--red-700); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.dark :focus-visible, .band-black :focus-visible { outline-color: var(--paper); }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
/* Pages that are only the dark hero (scan in progress, failed scan): the hero fills the window. */
body.hero-only header.dark { flex: 1; display: flex; flex-direction: column; }
body.hero-only main { display: none; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-wide { max-width: 1360px; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ---------- Dark header (nav + hero) ---------- */
.dark { position: relative; overflow: hidden; color: var(--paper); background: var(--night); }
.dark a { color: var(--paper); }
.dark a:hover { color: var(--paper); }
.glow { background: radial-gradient(55% 80% at 0% 0%, rgba(216,19,22,0.38), rgba(216,19,22,0) 70%), radial-gradient(40% 60% at 100% 100%, rgba(178,8,12,0.24), rgba(178,8,12,0) 70%), var(--night); }
.grid-bg { background-color: var(--black); background-image: linear-gradient(to right, rgba(255,255,255,0.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.07) 1px, transparent 1px); background-size: 80px 80px; background-position: -1px -1px; }
.topnav { position: relative; display: flex; align-items: center; gap: 12px 32px; flex-wrap: wrap; padding: 20px var(--gutter); border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 15px; }
.topnav .logo { height: 36px; width: auto; }
.topnav a { text-decoration: none; }
.topnav a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 6px; }
.topnav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.topnav .brand:hover { color: var(--paper); }
.topnav-meta { margin-left: auto; order: 1; display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; color: #dedede; font-size: 14px; }
.topnav-meta strong { color: var(--paper); }
.lang-switch { margin-left: auto; display: flex; gap: 2px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; order: 2; }
.topnav-meta + .lang-switch { margin-left: 8px; }
.lang-switch a { padding: 4px 8px; border-radius: 8px; color: var(--muted-dark); }
.lang-switch a:hover { color: var(--paper); background: rgba(255,255,255,0.08); }
.lang-switch a[aria-current="true"] { color: var(--paper); background: rgba(255,255,255,0.14); }
.topnav-meta .dim { color: var(--muted-dark); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: #dedede; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px rgba(216,19,22,0.9); flex: none; }
.eyebrow-plain::before { display: none; }
.kicker { display: block; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.marker { position: relative; display: inline-block; padding: 0 0.12em; white-space: nowrap; }
.marker::before { content: ""; position: absolute; inset: 0.12em -0.04em 0.04em; background: var(--red); border-radius: 0.14em; z-index: 0; }
.marker > span { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 24px; border-radius: 14px; border: 0; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; background: var(--go); color: var(--paper); }
.btn:hover { background: var(--go-600); color: var(--paper); }
.btn:active { background: var(--go-700); }
.btn svg { flex: none; }
.btn-ghost-light { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); }
.btn-ghost-light:hover { background: transparent; box-shadow: inset 0 0 0 1px var(--paper); }
.btn-outline { background: transparent; color: var(--black); box-shadow: inset 0 0 0 2px var(--black); border-radius: var(--radius-sm); font-weight: 700; min-height: 60px; padding: 0 28px; gap: 20px; }
.btn-outline:hover { background: var(--black); color: var(--paper); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 0.15em; cursor: pointer; }
form.inline { display: inline; }

/* ---------- Start page ---------- */
.start-hero { position: relative; max-width: 1200px; margin: 0 auto; padding: clamp(56px, 9vw, 128px) var(--gutter) clamp(64px, 10vw, 144px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.start-hero h1 { font-size: clamp(40px, 7.4vw, 112px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; margin-top: clamp(28px, 4vw, 56px); max-width: 14ch; }
.start-hero .sub { font-size: clamp(17px, 1.6vw, 21px); margin-top: 32px; max-width: 40ch; color: #dedede; }
.url-form { margin-top: clamp(36px, 5vw, 64px); width: 100%; max-width: 960px; }
.url-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; background: var(--paper-2); border-radius: 24px; padding: 10px 10px 10px 24px; box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.url-box input { font: inherit; border: 0; outline: none; min-height: 60px; font-size: clamp(18px, 1.8vw, 24px); background: transparent; color: var(--ink); min-width: 0; }
.url-box input::placeholder { color: #8c8c8c; }
.url-box:focus-within { box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 3px var(--go-bright); }
.url-box .btn { min-height: 60px; border-radius: 16px; }
.perks { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 24px; justify-content: center; font-size: 16px; color: #dedede; list-style: none; padding: 0; }
.perks li { display: inline-flex; align-items: center; gap: 10px; }
.form-error { margin-top: 20px; padding: 12px 18px; border-radius: var(--radius-sm); background: rgba(216,19,22,0.18); color: var(--paper); font-weight: 600; }

.band { padding: clamp(56px, 8vw, 112px) 0; }
.band-white { background: var(--paper); }
.band-grey { background: var(--paper-2); }
.band-black { background: var(--black); color: var(--paper); }
.band-black a { color: var(--paper); }
.h2 { font-size: clamp(30px, 4vw, 56px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.05; }
.h2 strong { font-weight: 700; }
.h2-sm { font-size: clamp(28px, 3.4vw, 48px); }
.section-intro { font-size: 17px; color: var(--muted); margin-top: 12px; max-width: 60ch; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 32px; margin-top: 48px; border-top: 2px solid var(--ink); list-style: none; padding: 0; }
.steps li { padding-top: 28px; display: grid; gap: 12px; align-content: start; }
.steps .num { font-size: 56px; font-weight: 700; line-height: 1; color: var(--red); letter-spacing: -0.03em; }
.steps h3 { font-size: 22px; margin-top: 12px; }
.steps p { color: var(--muted); font-size: 16px; max-width: 34ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; margin-top: 48px; }
.card { background: var(--paper); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.band-white .card, .card-grey { background: var(--paper-2); }
.card-head { display: flex; align-items: center; justify-content: space-between; }
.card-head .num { font-size: 13px; font-weight: 700; color: var(--red-700); font-variant-numeric: tabular-nums; }
.card h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.01em; margin-top: 24px; }
.card p { font-size: 16px; color: var(--muted); max-width: 36ch; }

/* The photo is cropped to Benedikt and stands on the section floor; his head sits just below the top. */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(32px, 6vw, 120px); align-items: end; padding-top: clamp(24px, 3vw, 40px); }
.contact-photo { display: flex; justify-content: center; }
.contact-photo img { width: 100%; max-width: 540px; }
@media (max-width: 720px) { .contact { padding-top: 32px; } .contact-photo img { max-width: 300px; } }
.contact-text { align-self: center; padding-bottom: clamp(56px, 7vw, 96px); }
.contact-text h2 { font-size: clamp(34px, 4.4vw, 64px); font-weight: 400; line-height: 1.12; }
.contact-text h2 strong { display: block; font-weight: 700; }
.contact-text .lead { font-size: 18px; margin-top: 32px; max-width: 44ch; }
.person { display: grid; gap: 4px; margin-top: 40px; }
.person strong { font-size: 24px; }
.person span { color: var(--muted); }
.contact-text .btn-outline { margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--muted-dark); padding: 24px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; font-size: 14px; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: var(--muted-dark); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.site-footer a:hover { color: var(--paper); }

/* ---------- Scan in progress ---------- */
.progress { flex: 1; display: grid; place-items: center; }
.progress-inner { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 6vw, 80px); padding: clamp(56px, 8vw, 96px) var(--gutter); max-width: 1200px; width: 100%; }
.ring { width: clamp(110px, 12vw, 160px); height: clamp(110px, 12vw, 160px); border-radius: 50%; border: 8px solid rgba(255,255,255,0.12); border-top-color: var(--go-bright); border-right-color: var(--go-bright); filter: drop-shadow(0 0 12px rgba(60,207,106,0.45)); animation: spin 1.2s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress-text { flex: 1 1 420px; min-width: 0; }
.progress-text h1 { font-size: clamp(36px, 5vw, 72px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; margin-top: 20px; }
.progress-text h1 em { font-style: normal; color: var(--red); display: block; }
.progress-steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 8px; font-size: 17px; color: var(--muted-dark); }
.progress-steps li { display: flex; gap: 12px; align-items: center; }
.progress-steps li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); flex: none; }
.progress-steps li.is-done { color: #dedede; }
.progress-steps li.is-done::before { background: var(--go-bright); }
.progress-steps li.is-current { color: var(--paper); font-weight: 600; }
.progress-steps li.is-current::before { background: var(--paper); box-shadow: 0 0 10px rgba(255,255,255,0.8); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.progress-hint { margin-top: 28px; color: var(--muted-dark); font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .ring { animation: none; } }

/* ---------- Report hero ---------- */
.report-hero { max-width: 1200px; margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(40px, 6vw, 80px); }
.score-row { display: flex; flex-wrap: wrap; gap: clamp(28px, 6vw, 96px); align-items: flex-end; }
.score-block { flex: 0 0 auto; }
.score-number { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; }
.score-number .value { font-size: clamp(96px, 12vw, 160px); font-weight: 700; line-height: 0.85; letter-spacing: -0.05em; }
.score-number .of { font-size: 18px; color: var(--muted-dark); }
.band-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: var(--paper); color: var(--black); }
.band-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tone, var(--muted)); }
.verdict-block { flex: 1 1 420px; min-width: 0; }
.verdict-block .meta { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-dark); }
.verdict { font-size: clamp(28px, 3.6vw, 52px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.1; margin-top: 16px; max-width: 26ch; }
.outcome-hero h1 { font-size: clamp(30px, 4vw, 56px); font-weight: 700; letter-spacing: -0.03em; margin-top: 20px; max-width: 22ch; }
.outcome-hero .lead { font-size: 19px; color: #dedede; margin-top: 20px; max-width: 56ch; }
.allow-box { margin-top: 36px; padding: 24px 28px; border-radius: var(--radius); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); max-width: 760px; }
.allow-box h2 { font-size: 20px; }
.allow-box p { margin-top: 10px; color: #dedede; }

.scale { position: relative; display: flex; gap: 6px; margin-top: clamp(36px, 5vw, 64px); padding-bottom: 28px; }
.scale-band { position: relative; min-width: 0; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.14); }
.scale-band.is-active { background: var(--tone, var(--paper)); }
.scale-label { position: absolute; top: 18px; left: 0; right: 0; font-size: 13px; color: var(--muted-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scale-band.is-active .scale-label { color: var(--paper); font-weight: 700; overflow: visible; }
.scale-marker { position: absolute; top: -6px; width: 4px; height: 20px; border-radius: 2px; background: var(--paper); box-shadow: 0 0 0 3px var(--night), 0 0 12px rgba(255,255,255,0.7); transform: translateX(-50%); }
@media (max-width: 640px) { .scale-band:not(.is-active) .scale-label { display: none; } }

.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 24px; }
.level { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); }
.level-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.level-name { font-size: 17px; font-weight: 600; }
.level-value { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.level-track { margin-top: 16px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.1); overflow: hidden; }
.level-fill { height: 8px; border-radius: 999px; background: var(--tone, var(--muted)); }
.tone-good { --tone: var(--good); }
.tone-warning { --tone: var(--warning); }
.tone-serious { --tone: var(--serious); }
.tone-critical { --tone: var(--critical); }

/* ---------- Report body ---------- */
.levers { display: grid; gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; counter-reset: lever; }
.lever { counter-increment: lever; border-radius: var(--radius); background: var(--paper-2); padding: clamp(20px, 2.6vw, 32px); }
.lever-head { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.lever-head::before { content: counter(lever); width: 36px; height: 36px; border-radius: 50%; background: var(--black); color: var(--paper); display: grid; place-items: center; font-size: 15px; font-weight: 700; flex: none; }
.lever-head h3 { font-size: clamp(19px, 1.8vw, 24px); flex: 1 1 220px; }
.tag { font-size: 13px; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px #8c8c8c; color: var(--ink); white-space: nowrap; }
.tag-red { background: var(--red); color: var(--paper); font-weight: 700; box-shadow: none; }
.tag-gain { background: var(--go-tint); color: var(--go-ink); font-weight: 700; box-shadow: none; }
.tag-dark { background: var(--black); color: var(--paper); font-weight: 600; box-shadow: none; }
.cap-note { margin-top: 12px; padding-left: 52px; font-weight: 600; color: var(--red-700); }
.advice { display: grid; grid-template-columns: minmax(140px, 200px) minmax(0, 1fr); gap: 10px 24px; margin: 24px 0 0; font-size: 16px; }
.lever .advice { padding-left: 52px; }
.advice dt { color: var(--muted); }
.advice dd { margin: 0; }
.advice dd.fix { font-weight: 600; }
@media (max-width: 640px) { .advice { grid-template-columns: 1fr; gap: 2px; } .advice dd { margin-bottom: 10px; } .lever .advice, .cap-note { padding-left: 0; } }

.good-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 40px; }
.good-card { border-radius: var(--radius); background: var(--paper); padding: 28px; display: grid; gap: 12px; align-content: start; }
.good-card strong { font-size: 19px; }
.good-card span.text { color: var(--muted); font-size: 16px; }
.findings { margin: 32px 0 0; padding-left: 1.2em; display: grid; gap: 8px; max-width: 70ch; }

.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: clamp(28px, 3.2vw, 44px); font-weight: 400; line-height: 1.08; }
.cta-band h2 strong { color: var(--red); font-weight: 700; }
.cta-band p { font-size: 17px; color: #dedede; margin-top: 16px; max-width: 52ch; }
.cta-copy { flex: 1 1 420px; min-width: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.check-level { margin-top: 48px; }
.check-level-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--black); }
.check-level-head h3 { font-size: 26px; }
.check-level-head .score { font-size: 26px; color: var(--tone, var(--muted)); font-weight: 600; }
.check-group { margin-top: 24px; }
.check-group h4 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { border-bottom: 1px solid var(--line); }
.checks summary { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto 20px; gap: 14px; align-items: center; padding: 14px 0; cursor: pointer; list-style: none; }
.checks summary:hover { background: var(--paper-2); }
.checks summary::-webkit-details-marker { display: none; }
.checks summary::after { content: "+"; font-size: 20px; color: #8c8c8c; text-align: center; }
.checks details[open] summary::after { content: "–"; }
.check-status { font-size: 14px; color: var(--muted); white-space: nowrap; }
.checks .advice, .checks .check-statement { margin: 0 0 20px 38px; }
.checks .advice dt { color: var(--ink); font-weight: 700; }
@media (max-width: 640px) { .checks summary { grid-template-columns: 24px minmax(0, 1fr) 20px; } .check-status { display: none; } .checks .advice, .checks .check-statement { margin-left: 0; } }
.status-icon { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; line-height: 1; color: var(--paper); background: #e8e8e8; }
.status-pass { background: var(--good); }
.status-partial { background: var(--warning); color: var(--black); }
.status-fail { background: var(--critical); }
.status-na { background: #e8e8e8; color: #8c8c8c; }
.status-info { background: var(--ink-2); }

.context-box { margin-top: 56px; border-radius: var(--radius); background: var(--paper-2); padding: 28px 32px; }
.context-box h3 { font-size: 20px; }
.context-box h3 span { font-weight: 400; color: var(--muted); }
.context-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; margin: 20px 0 0; }
.context-grid dt { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.context-grid dd { margin: 4px 0 0; font-weight: 600; }
.report-meta { margin-top: 40px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.report-meta a { color: var(--ink); }

/* ---------- Teaser form ---------- */
.lead-form { display: grid; gap: 16px; background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.lead-form a { color: var(--ink); }
.field-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input { font: inherit; padding: 14px 16px; border: 1px solid #b9babf; border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); min-width: 0; }
.field input:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: transparent; }
.field-error input { border-color: var(--critical); }
.field .error { color: var(--red-700); font-size: 14px; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--go); }
.lead-form .btn { justify-self: start; }

/* ---------- Text pages (methodology, privacy, bot, admin) ---------- */
.page-hero { max-width: 1200px; margin: 0 auto; padding: clamp(48px, 7vw, 104px) var(--gutter) clamp(48px, 6vw, 88px); }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 96px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; margin-top: 28px; }
.page-hero h1.sm { font-size: clamp(32px, 4.4vw, 60px); }
.page-hero .lead { font-size: clamp(17px, 1.5vw, 20px); color: #dedede; margin-top: 28px; max-width: 64ch; }
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 14px; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
pre { overflow-x: auto; background: var(--paper-2); padding: 16px 20px; border-radius: var(--radius-sm); font-size: 14px; margin-top: 14px; }

.weights { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 48px; }
.weight { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); display: grid; gap: 16px; }
.weight .level-head .level-value { font-size: 36px; }
.weight .level-fill { background: var(--paper); }
.weight p { color: #dedede; font-size: 15px; }
.step-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 40px; list-style: none; padding: 0; counter-reset: step; }
.step-cards li { counter-increment: step; border-radius: var(--radius); background: var(--paper-2); padding: 28px; font-size: 16px; color: var(--ink-2); }
.step-cards li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 40px; font-weight: 700; color: var(--red); letter-spacing: -0.03em; margin-bottom: 12px; line-height: 1; }
.two-up { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.level-title { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.level-title .tag { font-size: 14px; }
.table-scroll { overflow-x: auto; margin-top: 16px; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
thead th { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; border-bottom: 2px solid var(--black); white-space: nowrap; }
tbody th { font-weight: 600; min-width: 11rem; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-right: 20px; }
.effort { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; background: var(--paper-2); }
.effort-S { background: #e3f3e7; color: #17692a; }
.effort-M { background: #fdf1cc; color: #6b4f00; }
.effort-L { background: #fde7d9; color: #8a3b12; }
.method-level { margin-top: clamp(56px, 7vw, 96px); }
.method-level h3 { font-size: 20px; margin-top: 36px; }
.caps-list, .bands-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 0; }
.caps-list li, .bands-list li { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.caps-list .limit { font-size: 22px; font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }
.bands-list .min { color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.outcome-card { border-radius: var(--radius); background: var(--paper-2); padding: 24px 28px; margin-top: 16px; }
.outcome-card ul { margin: 10px 0 0; padding-left: 1.2em; color: var(--ink-2); }
.numbered { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: n; display: grid; gap: 16px; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 48px 1fr; gap: 12px; color: var(--ink-2); }
.numbered li::before { content: counter(n, decimal-leading-zero); font-size: 22px; font-weight: 700; color: var(--red); }

/* ---------- Admin ---------- */
.admin { padding: 40px 0 64px; }
.admin h1 { font-size: 36px; }
.admin-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.admin-filter input, .admin-filter select { font: inherit; padding: 8px 12px; border: 1px solid #b9babf; border-radius: 8px; }
.admin-filter button { font: inherit; padding: 8px 16px; border: 0; border-radius: 8px; background: var(--black); color: var(--paper); cursor: pointer; }
.admin-new { align-items: center; padding: 16px; background: var(--paper-2); border-radius: 12px; }
.admin-new input[name="url"] { flex: 1 1 260px; }
.admin-new label { display: flex; align-items: center; gap: 6px; }
.admin-new p { flex-basis: 100%; margin: 0; }
.admin td, .admin th { font-size: 14px; padding: 8px 12px 8px 0; }
.nowrap { white-space: nowrap; }
.raw pre { max-height: 70vh; }

/* ---------- Soft gate (teaser) ---------- */
.gate-lead { padding-bottom: 16px; }
.gate { position: relative; }
.gate-content { max-height: 1500px; overflow: hidden; filter: blur(7px) saturate(0.85); user-select: none; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 140px, #000 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 140px, #000 50%, transparent 100%); }
.gate-first { padding-top: 16px; }
.levers-continued { counter-reset: lever 1; margin-top: 0; }
.gate-overlay { position: absolute; inset: 0; padding: 24px var(--gutter) 0; display: flex; justify-content: center; align-items: flex-start; }
.gate-card { position: sticky; top: 24px; width: 100%; max-width: 620px; box-shadow: 0 30px 80px rgba(11,12,15,0.22); border: 1px solid var(--line); }
.gate-card .kicker { margin-bottom: 0; letter-spacing: 0.22em; }
.gate-card h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.03em; }
.gate-card h2 em { font-style: normal; color: var(--go); }
.gate-text { color: var(--ink-2); font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.lead-form .btn-block { justify-self: stretch; }

/* Methodology: the same column grid in every group table */
.method-table { table-layout: fixed; min-width: 860px; }
.method-table .c-check { width: 20%; }
.method-table .c-share { width: 8%; }
.method-table .c-full { width: 31%; }
.method-table .c-partial { width: 23%; }
.method-table .c-effort { width: 10%; }
.method-table tbody th { min-width: 0; }

/* Admin key figures */
.admin tfoot th, .admin tfoot td { border-top: 2px solid var(--black); border-bottom: 0; font-weight: 700; }
.kpi-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px 32px; margin: 32px 0 0; font-size: 14px; color: var(--ink-2); }
.kpi-notes dt { font-weight: 700; color: var(--ink); }
.kpi-notes dd { margin: 4px 0 0; }

/* ---------- GEO visibility ---------- */
/* Follows another white band: one gap, not two paddings stacked. */
.band-white + .geo-full { padding-top: clamp(16px, 2vw, 32px); }
.geo-short { padding: 0; }
.geo-short .wrap { padding-top: clamp(40px, 5vw, 64px); }
.geo-card { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; border-radius: var(--radius); background: var(--paper-2); padding: clamp(24px, 3vw, 36px); }
.geo-card-text { flex: 1 1 420px; min-width: 0; }
.geo-card .kicker { margin-bottom: 8px; }
.geo-headline { font-size: clamp(19px, 2vw, 24px); font-weight: 600; margin-top: 12px; }
.geo-card .muted { margin-top: 8px; }
.geo-dots { display: flex; gap: 10px; }
.geo-dot { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: var(--paper); }
.geo-dot.is-hit { background: var(--go); }
.geo-dot.is-miss { background: var(--critical); }
.geo-pending { display: flex; align-items: center; gap: 12px; margin-top: 14px; color: var(--ink-2); }
.geo-spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--go); animation: spin 1s linear infinite; flex: none; }
.geo-questions { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.geo-question { border-radius: var(--radius); background: var(--paper-2); padding: clamp(20px, 2.6vw, 28px); border-left: 6px solid var(--line); }
.geo-question.is-hit { border-left-color: var(--go); }
.geo-question.is-miss { border-left-color: var(--critical); }
.geo-q-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.geo-q-label { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.tag-miss { background: #fbe3e3; color: var(--red-700); font-weight: 700; box-shadow: none; }
.geo-q-text { font-size: clamp(18px, 1.8vw, 21px); font-weight: 600; margin-top: 12px; }
.geo-instead { margin-top: 10px; color: var(--ink-2); }
.geo-answer { margin-top: 12px; }
.geo-answer summary { cursor: pointer; color: var(--ink-2); font-size: 15px; }
.geo-answer p { white-space: pre-line; margin-top: 10px; font-size: 15px; color: var(--ink-2); max-height: 320px; overflow: auto; }
@media (prefers-reduced-motion: reduce) { .geo-spinner { animation: none; } }
