/* Citemark. Light, airy ground; near-black ink; one yellow mark for "you"; soft indigo washes for depth.
   Motion: transform/opacity only, authored once per object, all gated by prefers-reduced-motion. */

@font-face { font-family: "Schibsted Grotesk"; font-weight: 400; font-display: swap; src: url(/fonts/schibsted-grotesk-latin-400.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400; font-display: swap; src: url(/fonts/schibsted-grotesk-latin-ext-400.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: "Schibsted Grotesk"; font-weight: 600; font-display: swap; src: url(/fonts/schibsted-grotesk-latin-600.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 600; font-display: swap; src: url(/fonts/schibsted-grotesk-latin-ext-600.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: "Schibsted Grotesk"; font-weight: 800; font-display: swap; src: url(/fonts/schibsted-grotesk-latin-800.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-weight: 800; font-display: swap; src: url(/fonts/schibsted-grotesk-latin-ext-800.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; }
/* One mono weight (500) serves every mono use; 400 requests fall back to it, so only two files load. */
@font-face { font-family: "JetBrains Mono"; font-weight: 400 500; font-display: swap; src: url(/fonts/jetbrains-mono-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2190-2193, U+20AC; }
@font-face { font-family: "JetBrains Mono"; font-weight: 400 500; font-display: swap; src: url(/fonts/jetbrains-mono-latin-ext-500.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF; }

:root {
  --ground: #f6f7fb;
  --sheet: #ffffff;
  --ink: #0f172a;
  --ink-2: #566178;
  --rule: #e4e7ef;
  --rule-strong: #c8cedb;
  --hl: #ffe24d;          /* the mark: "you" */
  --hl-ink: #141414;
  --accent: #4f46e5;      /* depth, progress, focus halo */
  --accent-soft: #e0e7ff;
  --wash-1: rgba(255, 226, 77, 0.55);
  --wash-2: rgba(99, 102, 241, 0.22);
  --wash-3: rgba(34, 211, 238, 0.18);
  --grid: rgba(15, 23, 42, 0.055);
  --band: #0f172a;        /* the request-an-audit block */
  --band-ink: #f1f5f9;
  --band-ink-2: #aab4c8;
  --band-field: #1a2338;
  --band-rule: #2b3650;
  --screen: #f8f9fc;      /* the laptop screen is always light */
  --screen-ink: #111827;
  --screen-ink-2: #6b7280;
  --screen-rule: #e5e7eb;
  --focus: #0f172a;
  --ok: #15803d;
  --bad: #b91c1c;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1160px;
  --pad: clamp(16px, 4vw, 40px);
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 24px 60px -32px rgba(15, 23, 42, 0.25);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0b0e14;
    --sheet: #131824;
    --ink: #eef1f7;
    --ink-2: #9aa5bd;
    --rule: #232b3b;
    --rule-strong: #35405a;
    --hl: #f5d84a;
    --hl-ink: #141414;
    --accent: #818cf8;
    --accent-soft: #272e52;
    --wash-1: rgba(245, 216, 74, 0.16);
    --wash-2: rgba(129, 140, 248, 0.2);
    --wash-3: rgba(34, 211, 238, 0.12);
    --grid: rgba(238, 241, 247, 0.06);
    --band: #161c2b;
    --band-ink: #eef1f7;
    --band-ink-2: #9aa5bd;
    --band-field: #0f141f;
    --band-rule: #2b3650;
    --focus: #f5d84a;
    --ok: #4ade80;
    --bad: #fca5a5;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 24px 60px -32px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.6 var(--font); font-kerning: normal; -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--hl); color: var(--hl-ink); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 0.4em; }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; background: var(--ink); color: var(--ground); padding: 8px 14px; border-radius: 999px; }
.skip:focus { top: 12px; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 60ch; }
.sec-head { max-width: 680px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.sec-head .lede { margin-inline: auto; }
.foot-note { font-size: 0.92rem; color: var(--ink-2); max-width: 70ch; }

/* Scroll reveal: CSS keeps everything visible without JS or with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--r, 0) * 90ms); }
  html.js [data-reveal].in { opacity: 1; transform: none; }
  html.js [data-reveal].now { transition: none; } /* above the fold at load: paint at once, keep LCP early */
  /* Hero entrance: movement only, never opacity, so the H1 is painted at first paint (LCP). No JS needed. */
  [data-rise] { animation: rise-in 0.9s var(--ease) both; animation-delay: calc(var(--r, 0) * 80ms); }
  @keyframes rise-in { from { transform: translateY(16px); } to { transform: none; } }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; white-space: nowrap; padding: 0.85em 1.4em; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--ground); font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer; transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background-color 160ms ease, color 160ms ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -12px color-mix(in srgb, var(--ink) 60%, transparent); }
.btn:active { transform: translateY(0) scale(0.98); box-shadow: none; }
.btn .i { transition: transform 200ms var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.btn-sm { padding: 0.6em 1.05em; font-size: 0.92rem; }
.btn:disabled { opacity: 0.55; cursor: progress; transform: none; }
@media (prefers-reduced-motion: reduce) { .btn, .btn .i { transition: none; } }

/* Nav: a floating pill */
.nav { position: sticky; top: 0; z-index: 20; padding: 12px var(--pad) 0; pointer-events: none; }
.nav-pill { pointer-events: auto; max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; padding: 0 8px 0 20px; border-radius: 999px; background: color-mix(in srgb, var(--sheet) 84%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border: 1px solid var(--rule); box-shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.35); }
.nav nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); font-size: 0.95rem; }
.nav nav a:not(.btn) { text-decoration: none; color: var(--ink-2); font-weight: 600; transition: color 160ms ease; }
.nav nav a:not(.btn):hover, .nav nav a[aria-current] { color: var(--ink); }
.nav .lang { font-size: 0.8rem; letter-spacing: 0.04em; border: 1px solid var(--rule-strong); border-radius: 999px; padding: 3px 9px; }
.logo { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; text-decoration: none; color: var(--ink); }
.logo-mark { background: linear-gradient(transparent 16%, var(--hl) 16%, var(--hl) 88%, transparent 88%); color: var(--hl-ink); padding: 0 2px; border-radius: 3px; }
@media (max-width: 860px) { .nav nav a:not(.btn):not(.lang) { display: none; } }
@media (max-width: 420px) { .nav-pill { height: 54px; padding-left: 14px; } .nav .btn-sm { padding: 0.5em 0.8em; font-size: 0.85rem; } .logo { font-size: 1.15rem; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); margin-top: -72px; padding-top: calc(72px + clamp(48px, 8vw, 104px)); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 56px 56px; background-position: center top; mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 72%); }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.b1 { width: 52vw; height: 52vw; max-width: 720px; max-height: 720px; left: -12vw; top: -14vw; background: radial-gradient(closest-side, var(--wash-1), transparent 72%); }
.b2 { width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; right: -18vw; top: -10vw; background: radial-gradient(closest-side, var(--wash-2), transparent 72%); }
.b3 { width: 44vw; height: 44vw; max-width: 600px; max-height: 600px; left: 30%; bottom: -10vw; background: radial-gradient(closest-side, var(--wash-3), transparent 72%); }
.paths { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.paths path { stroke: var(--ink); stroke-width: 1; opacity: var(--o); fill: none; }
@media (min-width: 900px) { .paths { display: block; } }
@media (prefers-reduced-motion: no-preference) {
  .b1 { animation: drift1 38s ease-in-out infinite alternate; }
  .b2 { animation: drift2 46s ease-in-out infinite alternate; }
  .b3 { animation: drift1 52s ease-in-out infinite alternate-reverse; }
  @keyframes drift1 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6vw, 4vw, 0) scale(1.08); } }
  @keyframes drift2 { from { transform: translate3d(0, 0, 0) scale(1.05); } to { transform: translate3d(-5vw, 5vw, 0) scale(0.96); } }
  .paths path { stroke-dasharray: 10 18; animation: dash var(--d) linear infinite; }
  @keyframes dash { to { stroke-dashoffset: -560; } }
}
.hero-in { position: relative; z-index: 1; text-align: center; max-width: 900px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--sheet) 70%, transparent); border: 1px solid var(--rule); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hl); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hl) 35%, transparent); }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.9rem); letter-spacing: -0.045em; line-height: 1.0; max-width: 16ch; margin-inline: auto; }
.hero .sub { font-size: clamp(1.05rem, 1.55vw, 1.25rem); color: var(--ink-2); max-width: 56ch; margin: 1.2em auto 1.8em; }

/* Scan form: one big pill */
.scan-form { max-width: 640px; margin: 0 auto; }
.scan-row { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 18px; background: var(--sheet); border: 1.5px solid var(--rule-strong); border-radius: 999px; box-shadow: 0 24px 60px -28px color-mix(in srgb, var(--ink) 45%, transparent); transition: border-color 160ms ease, box-shadow 200ms ease; }
.scan-row:focus-within { border-color: var(--ink); box-shadow: 0 0 0 5px color-mix(in srgb, var(--hl) 55%, transparent), 0 24px 60px -28px color-mix(in srgb, var(--ink) 45%, transparent); }
.scan-i { color: var(--ink-2); width: 1.3em; height: 1.3em; }
.scan-row input { flex: 1 1 auto; min-width: 0; font: 400 1.1rem/1.4 var(--font); color: var(--ink); background: transparent; border: 0; padding: 0.7em 0.4em; }
.scan-row input:focus { outline: none; }
.scan-row input::placeholder { color: var(--ink-2); opacity: 0.75; }
.scan-row input[aria-invalid="true"] { color: var(--bad); }
.scan-row .btn { padding: 0.9em 1.3em; }
/* Two fields (site + email) in one pill */
.scan-row-2 { padding-left: 14px; }
.scan-field { display: flex; align-items: center; gap: 8px; flex: 1 1 0; min-width: 0; }
.scan-field + .scan-field { border-left: 1px solid var(--rule); padding-left: 12px; }
.scan-field input { width: 100%; }
.scan-row-2 input { font-size: 1.02rem; }
.scan-form .status { margin: 10px 0 0; }
.ts-hero:empty { display: none; }
.ts-hero { margin-top: 10px; }
.status { margin: 0; font-size: 0.95rem; }
.status.ok { color: var(--ok); font-weight: 600; }
.status.err { color: var(--bad); font-weight: 600; }
.trust { list-style: none; margin: 18px auto 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-size: 0.92rem; color: var(--ink-2); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust li .i { color: var(--ok); width: 1em; height: 1em; }
.trust .trust-note { flex-basis: 100%; justify-content: center; text-align: center; font-size: 0.86rem; margin-top: 2px; }
@media (max-width: 680px) {
  .scan-row { flex-direction: column; align-items: stretch; border-radius: 22px; padding: 8px; gap: 8px; }
  .scan-i { display: none; }
  .scan-row input { padding: 0.6em 0.6em; text-align: center; }
  .scan-field + .scan-field { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
}
.scan-form { max-width: 720px; }
.trust-note a { color: var(--ink); }

/* The stage: laptop + step card */
.stage { position: relative; z-index: 1; margin-top: clamp(36px, 5vw, 64px); }
.device { --w: min(100%, 860px); --p: 1; width: var(--w); margin: 0 auto; position: relative; perspective: 1800px; }
.device-lid { position: relative; z-index: 2; background: #12151c; border-radius: 20px 20px 8px 8px; padding: 10px 10px 18px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 90px -40px rgba(15, 23, 42, 0.6); transform-origin: 50% 100%; transform: rotateX(calc((1 - var(--p)) * 16deg)); }
.device-lid::before { content: ""; position: absolute; top: 0; left: 50%; width: 11%; height: 9px; transform: translateX(-50%); background: #12151c; border-radius: 0 0 8px 8px; z-index: 3; }
.device-lid::after { content: ""; position: absolute; top: 3px; left: 50%; width: 5px; height: 5px; margin-left: -2px; border-radius: 50%; background: #2a3040; z-index: 4; }
.screen { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--screen); color: var(--screen-ink); container-type: inline-size; }
.device-base { position: relative; z-index: 3; height: clamp(10px, 1.6vw, 15px); margin: 0 -2.5%; background: linear-gradient(#eceef3, #cbd0da); border-radius: 0 0 16px 16px; box-shadow: 0 2px 0 #aeb5c2, 0 14px 30px -10px rgba(15, 23, 42, 0.35); }
.device-base i { position: absolute; left: 50%; top: 0; width: 12%; height: 55%; transform: translateX(-50%); background: #b4bbc8; border-radius: 0 0 8px 8px; }
.device-shadow { position: absolute; left: 6%; right: 6%; bottom: -34px; height: 56px; border-radius: 50%; background: radial-gradient(closest-side, rgba(15, 23, 42, 0.26), transparent); z-index: 0; }
@media (prefers-reduced-motion: reduce) { .device-lid { transform: rotateX(5deg); } }
@media (prefers-color-scheme: dark) {
  .device-base { background: linear-gradient(#3a4150, #222835); box-shadow: 0 2px 0 #171c26, 0 14px 30px -10px rgba(0, 0, 0, 0.7); }
  .device-base i { background: #1a1f2a; }
  .device-shadow { background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent); }
}

/* Screens. Type scales with the screen width (container query units). */
.scene { position: absolute; inset: 0; display: flex; flex-direction: column; font-size: clamp(9px, 2.35cqw, 18px); line-height: 1.5; opacity: 0; transform: scale(1.02); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.scene.is-on { opacity: 1; transform: none; }
.app-bar { display: flex; align-items: center; gap: 0.8em; height: 2.6em; padding: 0 1.1em; background: #fff; border-bottom: 1px solid var(--screen-rule); font-size: 0.9em; color: var(--screen-ink-2); }
.dots { display: inline-flex; gap: 0.35em; }
.dots i { width: 0.6em; height: 0.6em; border-radius: 50%; background: #d1d5db; }
.dots i:first-child { background: #fca5a5; } .dots i:nth-child(2) { background: #fde68a; } .dots i:last-child { background: #86efac; }
.app-name { font-weight: 600; color: var(--screen-ink); }
.app-tag { margin-left: auto; font-family: var(--mono); font-size: 0.78em; letter-spacing: 0.04em; text-transform: uppercase; border: 1px solid var(--screen-rule); border-radius: 999px; padding: 0.1em 0.7em; }
.hl { background: linear-gradient(transparent 10%, var(--hl) 10%, var(--hl) 92%, transparent 92%) no-repeat 0 0 / 100% 100%; color: var(--hl-ink); padding: 0 0.2em; font-weight: 600; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.ul { text-decoration: underline; text-decoration-color: #9ca3af; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }

/* Screen 1: chat */
.chat { flex: 1; padding: 1.6em 1.8em; display: flex; flex-direction: column; gap: 1.2em; overflow: hidden; }
.msg { margin: 0; max-width: 78%; }
.msg.user { align-self: flex-end; background: #eef0f5; border-radius: 1.2em 1.2em 0.3em 1.2em; padding: 0.6em 0.95em; font-weight: 600; }
.msg.ai { align-self: flex-start; max-width: 92%; padding-left: 0.2em; }
.msg.ai p, .msg.ai ol { margin: 0 0 0.45em; }
.msg.ai ol { padding-left: 1.4em; }
.msg.ai li { margin-bottom: 0.15em; }
.src { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4em; margin-top: 0.5em; }
.src-l { color: var(--screen-ink-2); font-size: 0.85em; margin-right: 0.2em; }
.src span:not(.src-l) { font-family: var(--mono); font-size: 0.75em; color: var(--screen-ink-2); border: 1px solid var(--screen-rule); background: #fff; border-radius: 999px; padding: 0.1em 0.7em; }
@media (prefers-reduced-motion: no-preference) {
  .scene-chat.play .msg.ai > * { animation: typein 0.5s var(--ease) both; animation-delay: calc(var(--i) * 0.5s + 0.5s); }
  .scene-chat.play .hl { animation: sweep 0.6s var(--ease) both; animation-delay: calc(var(--i) * 0.5s + 0.8s); }
  @keyframes typein { from { opacity: 0; transform: translateY(0.3em); } to { opacity: 1; transform: none; } }
  @keyframes sweep { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
}

/* Screen 2: report */
.rep { flex: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.6em; padding: 1.5em 1.8em; align-content: start; }
.rep-k { margin: 0; color: var(--screen-ink-2); font-size: 0.95em; }
.rep-n { margin: 0.1em 0 0.2em; display: flex; align-items: baseline; gap: 0.35em; }
.rep-n b { font: 500 3.6em/1 var(--mono); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.rep-n span { color: var(--screen-ink-2); font-size: 1em; }
.rep-meta { margin: 0 0 1.1em; font-family: var(--mono); font-size: 0.74em; color: var(--screen-ink-2); }
.rep-h, .rep-bots-h { margin: 0 0 0.6em; font-weight: 700; font-size: 0.85em; letter-spacing: 0.02em; text-transform: uppercase; color: var(--screen-ink-2); }
.rep-bots { list-style: none; margin: 0; padding: 0; font-size: 0.92em; }
.rep-bots li:not(.rep-bots-h) { display: flex; align-items: center; gap: 0.5em; padding: 0.35em 0; border-top: 1px solid var(--screen-rule); }
.rep-bots li .i { width: 1em; height: 1em; border-radius: 50%; padding: 0.15em; }
.rep-bots li.yes .i { background: #dcfce7; color: #15803d; }
.rep-bots li.no .i { background: #fee2e2; color: #b91c1c; }
.rep-bots li b { margin-left: auto; font-weight: 600; }
.rep-bots li.no b { color: #b91c1c; }
.bar { display: grid; grid-template-columns: 1fr auto; gap: 0.1em 0.7em; align-items: center; margin-bottom: 0.7em; font-size: 0.92em; }
.bar-n { grid-column: 1; }
.bar b { grid-column: 2; grid-row: 1 / 3; font: 500 1.1em/1 var(--mono); font-variant-numeric: tabular-nums; }
.bar b small { font-size: 0.7em; color: var(--screen-ink-2); }
.bar-t { grid-column: 1; height: 0.55em; border-radius: 999px; background: #e5e7eb; overflow: hidden; }
.bar-t i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: 999px; background: #94a3b8; transform-origin: left; }
.bar.you { margin-top: 0.9em; padding-top: 0.8em; border-top: 1px dashed var(--screen-rule); }
.bar.you .bar-t i { background: var(--hl); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
@media (prefers-reduced-motion: no-preference) {
  .scene-report.play .bar-t i { animation: grow 0.9s var(--ease) both; animation-delay: calc(0.35s + var(--i) * 0.14s); }
  .scene-report.play .rep-bots li:not(.rep-bots-h) { animation: typein 0.45s var(--ease) both; animation-delay: calc(0.6s + var(--i) * 0.12s); }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Screen 3: actions */
.acts { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; padding: 1.5em 1.8em; align-content: start; }
.act { background: #fff; border: 1px solid var(--screen-rule); border-radius: 0.9em; padding: 1em; font-size: 0.9em; display: flex; flex-direction: column; gap: 0.5em; min-height: 0; }
.act p { margin: 0; color: var(--screen-ink-2); font-size: 0.9em; line-height: 1.4; }
.act .act-t { font-size: 1.05em; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; color: var(--screen-ink); }
.act-l { font-weight: 600; color: var(--screen-ink); }
.act pre { margin: 0; font: 400 0.78em/1.5 var(--mono); background: #f3f4f6; border-radius: 0.5em; padding: 0.6em 0.75em; white-space: pre-wrap; word-break: break-word; overflow: hidden; }
.act-copy { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4em; align-self: flex-start; font-weight: 600; font-size: 0.85em; border: 1px solid var(--screen-ink); border-radius: 999px; padding: 0.3em 0.8em; }
.act-copy .i { width: 1em; height: 1em; }
@media (prefers-reduced-motion: no-preference) {
  .scene-actions.play .act { animation: rise 0.6s var(--ease) both; animation-delay: calc(0.3s + var(--i) * 0.16s); }
  @keyframes rise { from { opacity: 0; transform: translateY(1.2em); } to { opacity: 1; transform: none; } }
}
@media (max-width: 640px) {
  .rep { grid-template-columns: 1fr; gap: 0.8em; padding: 1em 1.1em; }
  .rep-bots { display: none; }
  .acts { grid-template-columns: 1fr 1fr; }
  .act:last-child { display: none; }
}

/* Step chips and text: a card that overlaps the laptop on wide screens */
.stage-steps { position: relative; z-index: 4; margin: 28px auto 0; max-width: 560px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 22px; padding: 18px 20px 20px; box-shadow: var(--shadow-card); }
.stage-steps ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; gap: 8px; }
.stage-steps li { flex: 1; }
.stage-steps button { position: relative; width: 100%; display: flex; align-items: center; gap: 8px; padding: 9px 10px 11px; border-radius: 12px; border: 1px solid var(--rule); background: transparent; color: var(--ink-2); font: 600 0.88rem/1 var(--font); cursor: pointer; overflow: hidden; transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease; }
.stage-steps button .n { font-family: var(--mono); font-size: 0.78rem; }
.stage-steps button:hover { color: var(--ink); border-color: var(--rule-strong); }
.stage-steps li.is-on button { color: var(--ink); border-color: var(--ink); background: color-mix(in srgb, var(--ink) 4%, transparent); }
.stage-steps .fill { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) { .stage-steps .fill.run { animation: fill 7s linear forwards; } @keyframes fill { to { transform: scaleX(1); } } }
@media (prefers-reduced-motion: reduce) { .stage-steps .fill { display: none; } }
.step-text { display: none; }
.step-text.is-on { display: block; }
.step-title { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 6px; text-wrap: balance; }
.step-text p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
@media (prefers-reduced-motion: no-preference) { .step-text.is-on { animation: typein 0.5s var(--ease) both; } }
.demo-label { margin: 18px 0 0; text-align: center; font-size: 0.82rem; color: var(--ink-2); }
.demo-label .legend { margin-left: 8px; white-space: nowrap; }
@media (min-width: 1024px) {
  .device { margin-right: 0; --w: min(100%, 820px); }
  .stage-steps { position: absolute; left: var(--pad); bottom: 48px; width: 380px; margin: 0; }
  .demo-label { text-align: right; }
}
@media (max-width: 480px) { .stage-steps button .k { font-size: 0.8rem; } .stage-steps button { padding: 8px 8px 10px; gap: 6px; } }

/* Three answers */
.answers { padding-block: clamp(64px, 9vw, 120px) clamp(24px, 4vw, 48px); }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.qcard { background: var(--sheet); border: 1px solid var(--rule); border-radius: 22px; padding: 28px 26px; box-shadow: var(--shadow-card); transition: transform 240ms var(--ease), box-shadow 240ms var(--ease); }
.qcard:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 30px 60px -28px rgba(15, 23, 42, 0.35); }
.qcard-i { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 14px; background: var(--hl); color: var(--hl-ink); }
.qcard-i .i { width: 1.35em; height: 1.35em; }
.qcard-stat { margin: 18px 0 6px; font: 500 1.7rem/1 var(--mono); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.qcard h3 { margin-bottom: 10px; }
.qcard p:last-child { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
@media (max-width: 860px) { .cards3 { grid-template-columns: 1fr; } }

/* Process */
.process { padding-block: clamp(56px, 8vw, 104px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 20px; border-top: 2px dashed var(--rule-strong); }
.steps li { position: relative; padding-top: 58px; }
.step-n { position: absolute; top: 0; left: 0; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--ground); font: 500 1rem/1 var(--mono); box-shadow: 0 0 0 6px var(--ground); }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
.sec-link { margin: 36px 0 0; }
.sec-link a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.sec-link a:hover { text-decoration: underline; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 24px; } .steps::before { left: 20px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed var(--rule-strong); } .steps li { padding: 0 0 0 62px; } }

/* Real finding */
.finding { padding-block: clamp(24px, 4vw, 48px) clamp(56px, 8vw, 104px); }
.finding-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.finding-head p { color: var(--ink-2); max-width: 36ch; }
.card { background: var(--sheet); border: 1px solid var(--rule); border-radius: 22px; padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-card); }
.card h3 { display: flex; gap: 10px; align-items: flex-start; font-size: 1.3rem; margin-bottom: 18px; }
.card h3 .i { margin-top: 0.15em; color: #b45309; }
.card dl { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 10px 20px; margin: 0; }
.card dt { color: var(--ink-2); font-size: 0.92rem; padding-top: 2px; }
.card dd { margin: 0; }
.card pre { margin: 0; font: 400 0.82rem/1.7 var(--mono); white-space: pre-wrap; word-break: break-all; background: color-mix(in srgb, var(--ink) 5%, var(--sheet)); border-radius: 10px; padding: 10px 12px; }
.tag { display: inline-block; font-size: 0.85rem; font-weight: 600; border: 1px solid var(--ink); border-radius: 999px; padding: 1px 10px; }
@media (max-width: 860px) { .finding-in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .card dl { grid-template-columns: 1fr; gap: 2px; } .card dd { margin-bottom: 12px; } }

/* Pricing */
.offer { padding-block: clamp(56px, 8vw, 104px); }
.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.price { display: flex; flex-direction: column; background: var(--sheet); border: 1px solid var(--rule); border-radius: 22px; padding: 26px 24px; box-shadow: var(--shadow-card); transition: transform 240ms var(--ease); }
.price:hover { transform: translateY(-3px); }
.price h3 { font-size: 1.05rem; color: var(--ink-2); font-weight: 600; letter-spacing: 0; }
.price-v { margin: 10px 0 12px; font: 500 1.55rem/1.1 var(--mono); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price p:not(.price-v) { color: var(--ink-2); font-size: 0.95rem; flex: 1; }
.price .btn { align-self: flex-start; }
.price.is-free { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.price.is-free h3 { color: color-mix(in srgb, var(--ground) 75%, transparent); }
.price.is-free p:not(.price-v) { color: color-mix(in srgb, var(--ground) 78%, transparent); }
.price.is-free .btn { background: var(--hl); border-color: var(--hl); color: var(--hl-ink); }
@media (max-width: 1000px) { .prices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .prices { grid-template-columns: 1fr; } }

/* FAQ */
.faq { padding-block: 0 clamp(56px, 8vw, 104px); }
.faq-in { max-width: 820px; margin: 0 auto; }
.faq h2 { margin-bottom: 24px; text-align: center; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--sheet); border: 1px solid var(--rule); border-radius: 16px; padding: 0 20px; transition: border-color 160ms ease; }
.faq details[open] { border-color: var(--rule-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { color: var(--ink-2); transition: transform 240ms var(--ease); }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); max-width: 68ch; padding-bottom: 18px; margin: 0; }

/* Request an audit: a dark block */
.apply { padding-block: 0 clamp(64px, 9vw, 112px); }
.apply-in { background: var(--band); color: var(--band-ink); border-radius: 28px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.apply-head p { color: var(--band-ink-2); max-width: 32ch; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: grid; gap: 6px; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; }
.form input:not([type="checkbox"]), .form select { width: 100%; font: 400 1rem/1.4 var(--font); color: var(--band-ink); background: var(--band-field); border: 1px solid var(--band-rule); border-radius: 12px; padding: 0.75em 0.9em; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--band-ink-2) 50%), linear-gradient(135deg, var(--band-ink-2) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.2em; }
.form input:focus-visible, .form select:focus-visible { outline: 2px solid var(--hl); outline-offset: 1px; border-color: var(--hl); }
.form [aria-invalid="true"] { border-color: #fca5a5; border-width: 1.5px; }
.hint { margin: 0; font-size: 0.85rem; color: var(--band-ink-2); }
.check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--hl); }
.check label { font-weight: 400; font-size: 0.93rem; color: var(--band-ink-2); }
.check a { color: var(--band-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.apply .btn { background: var(--hl); border-color: var(--hl); color: var(--hl-ink); }
.apply .status.err { color: #fca5a5; }
.apply .status.ok { color: #86efac; }
@media (max-width: 860px) { .apply-in { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .apply-in { border-radius: 20px; } }

/* Docs (methodology, privacy) */
.doc { max-width: calc(820px + 2 * var(--pad)); padding-block: clamp(40px, 6vw, 80px); }
.doc h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.04em; margin: 10px 0 18px; }
.doc h2 { font-size: 1.45rem; margin: 2em 0 0.5em; }
.doc p, .doc dd { color: var(--ink-2); }
.doc-meta { font-family: var(--mono); font-size: 0.85rem; }
.crumbs { font-size: 0.9rem; color: var(--ink-2); }
.defs { margin: 0; border-top: 1.5px solid var(--ink); }
.defs dt { font-weight: 800; padding-top: 16px; }
.defs dd { margin: 4px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.doc-cta { margin-top: 2.5em; }

/* Footer */
.foot { border-top: 1px solid var(--rule); padding-block: 40px 48px; font-size: 0.92rem; color: var(--ink-2); }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: start; }
.foot .logo { font-size: 1.1rem; }
.foot p { margin: 10px 0 0; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-meta { grid-column: 1 / -1; font-family: var(--mono); font-size: 0.8rem; }
@media (max-width: 560px) { .foot-in { grid-template-columns: 1fr; } }

/* Scan report page */
.scan { max-width: calc(980px + 2 * var(--pad)); padding-block: clamp(32px, 5vw, 64px) clamp(56px, 8vw, 96px); min-height: 60vh; }
.scan h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.04em; margin: 0 0 10px; }
.scan h2 { font-size: 1.5rem; margin: 1.8em 0 0.6em; }
.scan h3 { font-size: 1.15rem; margin: 1.4em 0 0.5em; }
.scan-meta { font-family: var(--mono); font-size: 0.85rem; color: var(--ink-2); margin: 0 0 6px; }
.scan .lede a { font-weight: 600; }
.muted { color: var(--ink-2); }
.small { font-size: 0.86rem; }
.signed-in { font-size: 0.9rem; color: var(--ink-2); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.method-note { border-left: 3px solid var(--ink); padding: 10px 14px; background: color-mix(in srgb, var(--ink) 4%, var(--ground)); border-radius: 0 10px 10px 0; font-size: 0.95rem; max-width: 72ch; }
.steps-live { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1.5px solid var(--ink); max-width: 40rem; }
.steps-live li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--rule); position: relative; color: var(--ink-2); }
.steps-live li::before { content: ""; position: absolute; left: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border: 1.5px solid var(--rule-strong); border-radius: 50%; }
.steps-live li.done { color: var(--ink); }
.steps-live li.done::before { background: var(--ink); border-color: var(--ink); }
.steps-live li.now { color: var(--ink); font-weight: 600; }
.steps-live li.now::before { border-color: var(--ink); background: var(--hl); }
@media (prefers-reduced-motion: no-preference) {
  .steps-live li.now::before { animation: pulse 1.2s var(--ease) infinite alternate; }
  @keyframes pulse { from { transform: scale(0.85); } to { transform: scale(1.1); } }
}
.comp-list { list-style: none; padding: 0; margin: 10px 0 0; border-top: 1.5px solid var(--ink); }
.comp-list li { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.comp-list .rank { font: 500 0.9rem/1 var(--mono); color: var(--ink-2); min-width: 2.2em; }
.comp-list a { color: var(--ink-2); font-size: 0.92rem; }
table.signals { border-collapse: collapse; width: 100%; font-size: 0.92rem; min-width: 560px; }
table.signals th, table.signals td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); }
table.signals thead th { border-bottom: 1.5px solid var(--ink); font-weight: 800; }
table.signals thead small, table.signals td small { display: block; font-weight: 400; color: var(--ink-2); font-size: 0.78rem; word-break: break-word; }
table.signals tbody th { font-weight: 600; width: 26%; }
table.signals .mark { display: inline-flex; width: 1.4em; height: 1.4em; align-items: center; justify-content: center; border-radius: 50%; margin-bottom: 2px; }
table.signals .mark svg { width: 1em; height: 1em; fill: currentColor; }
table.signals td.yes .mark { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
table.signals td.no .mark { background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); }
.tablewrap { overflow-x: auto; }
.ai-label { font-size: 0.85rem; color: var(--ink-2); margin: -4px 0 10px; }
.summary { font-size: 1.1rem; max-width: 70ch; }
ul.plain { padding-left: 1.2em; }
ul.plain li { margin-bottom: 6px; }
.gap-list { display: grid; gap: 12px; }
.gap-list .card { border-radius: 16px; padding: 18px 20px; }
.gap-list .card h4 { margin: 0 0 6px; font-size: 1.05rem; }
.gap-list .card p { margin: 0; color: var(--ink-2); }
ol.actions { list-style: none; padding: 0; margin: 0; border-top: 1.5px solid var(--ink); }
ol.actions li { display: grid; grid-template-columns: 3rem 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
ol.actions .prio { font: 500 1rem/1.4 var(--mono); }
ol.actions p { margin: 4px 0; color: var(--ink-2); }
ol.actions small { color: var(--ink-2); }
.locked { margin-top: 32px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--rule); border-radius: 22px; background: var(--sheet); box-shadow: var(--shadow-card); }
.locked h2 { margin-top: 0; }
.btn.google { background: var(--sheet); color: var(--ink); border-color: var(--ink); }
.btn.google:hover { background: color-mix(in srgb, var(--ink) 6%, var(--sheet)); }
.btn.google .g { width: 1.15em; height: 1.15em; }
.scan-links { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
@media print {
  .nav, .foot, .noprint, .scan-links { display: none !important; }
  .scan { padding: 0; max-width: none; }
  table.signals { min-width: 0; font-size: 0.8rem; }
  .card, .locked, ol.actions li { break-inside: avoid; }
  a { text-decoration: none; }
}

/* ---------- Free AI-visibility test (/tests/, /en/test/) ---------- */
.ft { padding-block: clamp(96px, 12vw, 140px) clamp(48px, 7vw, 90px); max-width: calc(920px + 2 * var(--pad)); display: grid; gap: 22px; }
.ft { grid-template-columns: minmax(0, 1fr); }
/* The rendered states: one column of cards; min-width 0 keeps long answers, URLs and code inside a phone screen. */
.ft [data-ft-root] { display: grid; gap: 22px; min-width: 0; }
.ft [data-ft-root] > * { min-width: 0; }
.ft .btn { white-space: normal; max-width: 100%; text-align: left; line-height: 1.25; }
.ft h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.035em; line-height: 1.1; margin: 0 0 12px; text-wrap: balance; }
.ft h2 { font-size: 1.2rem; letter-spacing: -0.01em; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.ft h3 { font-size: 1rem; margin: 0 0 10px; }
.ft-stage { display: grid; gap: 10px; }
.ft .ic { display: inline-flex; width: 1.15em; height: 1.15em; flex: none; }
.ft .ic svg { width: 100%; height: 100%; fill: currentColor; }
.ft-muted, .ft-method, .ft-fine { color: var(--ink-2); font-size: 0.95rem; margin: 0; }
.ft-fine { font-size: 0.85rem; margin-top: 12px; }
.ft-detected { font-weight: 600; margin: 0; }
.ft-card, .ft-locked, .ft-result { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow-card); min-width: 0; }
.ft-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ft select, .ft input:not([type="checkbox"]), .ft textarea { font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--ground); border: 1.5px solid var(--rule-strong); border-radius: 10px; padding: 0.55em 0.75em; min-width: 0; }
.ft textarea { width: 100%; resize: vertical; }
.ft select:focus, .ft input:focus, .ft textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hl) 50%, transparent); }
.ft-confirm { display: grid; gap: 14px; margin-top: 8px; }
.ft-q { display: grid; gap: 4px; font-size: 0.9rem; color: var(--ink-2); font-weight: 600; }
.ft-bar { height: 10px; border-radius: 999px; background: var(--rule); overflow: hidden; max-width: 40rem; }
.ft-bar i { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--accent); border-radius: inherit; transition: width 600ms var(--ease); }

.ft-domain { font-weight: 800; font-size: 1.05rem; margin: 0; }
.ft-label { color: var(--ink-2); font: 500 0.82rem/1.5 var(--mono); margin: 4px 0 18px; }
.ft-result-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ft-k { margin: 0; color: var(--ink-2); font-weight: 600; }
.ft-n { margin: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ft-n b { font-size: clamp(3.4rem, 9vw, 5.2rem); line-height: 1; letter-spacing: -0.05em; background: linear-gradient(transparent 55%, var(--hl) 55%, var(--hl) 92%, transparent 92%); color: var(--ink); padding: 0 0.08em; }
.ft-n span { color: var(--ink-2); font-weight: 600; }
.ft-n-none { font-size: 1.3rem; font-weight: 700; margin: 0; }
.ft-instead h2 { font-size: 1rem; }
.ft-instead ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ft-instead li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--rule); padding-bottom: 8px; }
.ft-instead b, .ft-bars b, .ft-sources b, .ft-bots b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ft-b { text-decoration: underline; text-decoration-color: var(--rule-strong); text-decoration-thickness: 2px; text-underline-offset: 0.18em; overflow-wrap: anywhere; }
.ft-changed { margin: 16px 0 0; color: var(--ink-2); font-size: 0.95rem; }

.ft-chat { margin: 0; border: 1px solid var(--rule-strong); border-radius: 16px; overflow: hidden; background: var(--ground); }
.ft-chat-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--rule); background: var(--sheet); font-size: 0.85rem; color: var(--ink-2); }
.ft-chat-bar .dots { display: inline-flex; gap: 5px; }
.ft-chat-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule-strong); }
.ft-chat-name { font-weight: 600; color: var(--ink); }
.ft-chat-tag { margin-left: auto; font: 500 0.72rem/1 var(--mono); border: 1px solid var(--rule-strong); border-radius: 999px; padding: 4px 8px; }
.ft-chat-body { padding: clamp(14px, 3vw, 24px); display: grid; gap: 14px; }
.ft-msg { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.ft-msg.user { justify-self: end; max-width: 85%; background: var(--sheet); border: 1px solid var(--rule); border-radius: 1.2em 1.2em 0.3em 1.2em; padding: 0.6em 0.95em; font-weight: 600; }
.ft-msg.ai { font-size: 0.98rem; }
.ft-msg.ai p, .ft-msg.ai ul, .ft-msg.ai ol, .ft-msg.ai h4 { margin: 0 0 0.55em; }
.ft-msg.ai h4 { font-size: 1rem; }
.ft-msg.ai ul, .ft-msg.ai ol { padding-left: 1.3em; }
.ft-msg.ai a { color: var(--ink-2); }
.ft-src { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; font-size: 0.82rem; }
.ft-src-l { color: var(--ink-2); font-weight: 600; margin-right: 4px; }
.ft-src a, .ft-src span:not(.ft-src-l) { border: 1px solid var(--rule-strong); border-radius: 999px; padding: 3px 9px; color: var(--ink); text-decoration: none; background: var(--sheet); }
.ft-chat-cap { padding: 10px 14px; border-top: 1px solid var(--rule); font: 500 0.75rem/1.5 var(--mono); color: var(--ink-2); background: var(--sheet); }
@media (prefers-reduced-motion: no-preference) {
  .ft-chat.typing .ft-msg.ai > *, .ft-chat.typing .ft-msg.ai li { opacity: 0; transform: translateY(4px); animation: ft-in 420ms var(--ease) forwards; animation-delay: calc(var(--i, 0) * 120ms + 200ms); }
}
@keyframes ft-in { to { opacity: 1; transform: none; } }

.ft-bots, .ft-grey ul, .ft-bars, .ft-sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft-bots { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 8px 20px; }
.ft-bots li { display: flex; align-items: center; gap: 8px; }
.ft-bots li b { margin-left: auto; font-weight: 600; font-size: 0.9rem; }
.ft-bots li.yes .ic { color: var(--ok); }
.ft-bots li.no .ic, .ft-bots li.no b { color: var(--bad); }
.ft-grey { background: color-mix(in srgb, var(--sheet) 60%, var(--ground)); box-shadow: none; }
.ft-grey li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--ink-2); }

.ft-locked { border: 1.5px solid var(--ink); display: grid; gap: 10px; }
.ft-locked ul { margin: 0; padding-left: 1.2em; }
.ft-email, .ft-code { display: grid; gap: 6px; max-width: 34rem; }
.ft [hidden] { display: none !important; }
.ft-inline { display: flex; gap: 8px; flex-wrap: wrap; }
.ft-inline input { flex: 1 1 14rem; }
.ft-code input { letter-spacing: 0.3em; font-family: var(--mono); max-width: 10rem; }

.ft-qblock + .ft-qblock { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.ft-runs { display: grid; gap: 8px; }
.ft-run-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ft-run-h .btn { margin-left: auto; }
.ft-run.yes .ic { color: var(--ok); }
.ft-run.no .ic { color: var(--ink-2); }
.ft-run-body { margin-top: 10px; }

.ft-bars li { display: grid; grid-template-columns: minmax(8rem, 14rem) 1fr auto; gap: 12px; align-items: center; }
.ft-t { height: 8px; background: var(--rule); border-radius: 999px; overflow: hidden; }
.ft-t i { display: block; height: 100%; width: calc(var(--v) * 100%); background: var(--ink-2); border-radius: inherit; }
.ft-bars li.you .ft-t i { background: var(--hl); }
.ft-sources li { display: flex; align-items: center; gap: 10px; }
.ft-sources li a { overflow-wrap: anywhere; color: var(--ink); }
.ft-sources li b { margin-left: auto; color: var(--ink-2); }
.ft-acts { display: grid; gap: 16px; }
.ft-act { border: 1px solid var(--rule); border-radius: 12px; padding: 16px; display: grid; gap: 8px; min-width: 0; }
.ft-act h3, .ft-act p { margin: 0; }
.ft-act pre { margin: 0; padding: 12px; background: var(--ground); border: 1px solid var(--rule); border-radius: 8px; font: 500 0.8rem/1.5 var(--mono); overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.ft-act .btn { justify-self: start; }
.ft-help form { display: grid; gap: 12px; }
.ft-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.ft-check input { width: 1.2em; height: 1.2em; margin-top: 0.2em; flex: none; }
.ft-links { display: flex; flex-wrap: wrap; gap: 10px; }
.ft-small { font-size: 0.85rem; }
.ft-mock { margin: 0 0 12px; padding: 8px 12px; border-radius: 10px; background: color-mix(in srgb, var(--hl) 35%, var(--sheet)); color: var(--ink); font-size: 0.92rem; }
.ft-mock b { font: 600 0.75rem/1 var(--mono); border: 1px solid var(--ink); border-radius: 999px; padding: 3px 7px; margin-right: 4px; }
.ft-link { flex: 1 1 18rem; font: 500 0.82rem/1.4 var(--mono) !important; }
.ft-bots small { font-size: 0.82rem; }
.ft-src em { font-style: normal; }
.ft-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; }
.ft-ask p { flex-basis: 100%; margin: 0; }
.ft-ask .btn { text-decoration: none; }
.ft-ik { border-left: 3px solid var(--hl); padding: 4px 0 4px 14px; display: grid; gap: 8px; }
.ft-ik p { margin: 0; color: var(--ink-2); }
.ft-tag { font: 500 0.72rem/1 var(--mono); border: 1px solid var(--rule-strong); border-radius: 999px; padding: 4px 8px; color: var(--ink-2); }
.ft-run.err .ft-muted { font-weight: 400; }
.ft-my { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ft-my li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.ft-my li:last-child { border-bottom: 0; }
.ft-danger { color: var(--bad); border-color: currentColor; }
table.legal { border-collapse: collapse; width: 100%; font-size: 0.93rem; margin: 6px 0 14px; }
table.legal th, table.legal td { text-align: left; vertical-align: top; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
table.legal thead th { color: var(--ink); border-bottom: 1.5px solid var(--ink); font-weight: 800; }
table.legal tbody th { color: var(--ink); font-weight: 600; width: 34%; }
.doc ul.plain li { color: var(--ink-2); }
.draft-banner { margin: 14px 0 0; padding: 10px 14px; border: 1.5px dashed var(--ink); border-radius: 12px; background: color-mix(in srgb, var(--hl) 30%, var(--sheet)); font-size: 0.95rem; }
.draft-banner b { font: 600 0.8rem/1 var(--mono); letter-spacing: 0.06em; margin-right: 6px; }
@media (max-width: 720px) {
  .ft-result-grid { grid-template-columns: 1fr; }
  .ft-my li { grid-template-columns: 1fr auto; }
  .ft-my li > span { grid-column: 1; }
  .ft-bars li { grid-template-columns: 1fr auto; }
  .ft-bars li .ft-t { grid-column: 1 / -1; grid-row: 2; }
}
@media print {
  .ft { padding: 0; max-width: none; }
  .ft-card, .ft-result, .ft-act, .ft-chat { break-inside: avoid; box-shadow: none; }
  .ft-help, .ft-links, .ft-run-h .btn { display: none; }
  .ft-run-body[hidden] { display: block !important; }
}
