/* Evidence Engine site: one design system. No web fonts, no third-party requests, no script.
   Design pass 29 Oct 2026. Tokens first. The first screen and the walkthrough sit on a deep-navy stage in both colour schemes; the rest of
   the page follows the viewer's scheme. Motion is additive only: everything is readable with motion off, and sustained animation has a pause control. */
:root {
  --bg: #f3f6f9;
  --bg-deep: #e6edf3;
  --surface: #ffffff;
  --surface-2: #edf2f6;
  --ink: #0a1a2b;
  --ink-2: #243749;
  --muted: #475a6d;
  --line: #d3dde6;
  --line-strong: #aebccb;
  --accent: #0a6c70;
  --accent-hover: #07555a;
  --accent-ink: #04201d;
  --accent-soft: #dcf2f1;
  --bad: #a8261a;
  --bad-soft: #fcebe8;
  --ok: #0a6a3b;
  --ok-soft: #e0f3e8;
  --warn: #7a5200;
  --warn-soft: #f8efd6;
  --focus: #0b3f6b;
  --navy-0: #040a17;
  --navy-1: #07142a;
  --navy-2: #0c1f3d;
  --teal: #5eead4;
  --cyan: #38bdf8;
  --grad: linear-gradient(135deg, #5eead4 0%, #2ac3d6 55%, #38bdf8 100%);
  --shadow: 0 1px 2px rgba(10, 26, 43, 0.06), 0 10px 30px rgba(10, 26, 43, 0.08);
  --shadow-lg: 0 2px 4px rgba(10, 26, 43, 0.08), 0 28px 70px rgba(10, 26, 43, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1200px;
  --prose: 68ch;
  --font: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: "Cascadia Code", "Cascadia Mono", ui-monospace, Consolas, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070f1d;
    --bg-deep: #050b16;
    --surface: #0d1a2e;
    --surface-2: #132238;
    --ink: #eaf2f8;
    --ink-2: #cfdce8;
    --muted: #a6b8c9;
    --line: #223650;
    --line-strong: #37506d;
    --accent: #5eead4;
    --accent-hover: #9af5e8;
    --accent-soft: #0f3331;
    --bad: #ff9d8f;
    --bad-soft: #3b1c19;
    --ok: #7be3a6;
    --ok-soft: #12301f;
    --warn: #f3c862;
    --warn-soft: #33290f;
    --focus: #bdeeff;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.55), 0 28px 70px rgba(0, 0, 0, 0.55);
    color-scheme: dark;
  }
}

/* The navy stage re-points the same tokens, so every component on it adapts without a second set of rules. */
.hero, .stage-dark, .site-header, .end-cta {
  --ink: #f2f8fc;
  --ink-2: #d2e1ec;
  --muted: #a9bdcf;
  --line: rgba(140, 205, 230, 0.22);
  --line-strong: rgba(140, 205, 230, 0.4);
  --surface: #0c1a30;
  --surface-2: #112340;
  --accent: #5eead4;
  --accent-hover: #a3f7ec;
  --accent-soft: rgba(45, 212, 200, 0.14);
  --bad: #ff9d8f;
  --bad-soft: rgba(255, 120, 100, 0.14);
  --ok: #7be3a6;
  --ok-soft: rgba(80, 220, 140, 0.14);
  --focus: #bdeeff;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 12px 34px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.6), 0 34px 80px rgba(0, 0, 0, 0.55);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; } /* the sticky header is about 64px tall (two lines on a phone), so jumps to #ids keep the heading visible */
body {
  container-type: inline-size; /* 100cqw = the width without the scrollbar, so the full-bleed bands never overflow */
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.62 var(--font);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { max-width: 100%; }

.skip {
  position: absolute; left: 12px; top: 0; transform: translateY(-130%);
  background: var(--grad); color: var(--accent-ink);
  padding: 10px 14px; z-index: 40; border-radius: 0 0 8px 8px; font-weight: 700;
}
.skip:focus { transform: none; }

a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
a:focus-visible, .button:focus-visible, summary:focus-visible, button:focus-visible, video:focus-visible, video:focus, video:focus-within, [tabindex="0"]:focus-visible,
.flow-pause-input:focus-visible ~ .flow-head .flow-pause {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}
main:focus, #demo:focus { outline: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px 96px; }

/* ---- header ------------------------------------------------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px;
  margin: 0 -28px; padding: 12px 28px;
}
.site-header::before {
  content: ""; position: absolute; z-index: -1; inset: 0 auto 0 50%; width: 100vw; width: 100cqw; transform: translateX(-50%);
  background: rgba(5, 12, 26, 0.97);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid rgba(140, 205, 230, 0.16);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  color: var(--ink); font-family: var(--font-display); font-weight: 720; font-size: 1.1rem; letter-spacing: -0.02em; text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img { display: block; border-radius: 7px; }
nav ul, footer ul { display: flex; flex-wrap: wrap; gap: 4px 22px; list-style: none; margin: 0; padding: 0; }
nav a { color: var(--ink-2); text-decoration: none; padding: 8px 2px; font-weight: 560; font-size: 0.97rem; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--ink); border-bottom-color: var(--line-strong); }
nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--teal); }
.header-cta { flex: 0 0 auto; min-height: 40px !important; padding: 7px 18px !important; font-size: 0.95rem; }

/* ---- type ---------------------------------------------------------------------------------------------------------------------- */
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.03; letter-spacing: -0.04em; font-weight: 760; margin: 0 0 20px; max-width: 17ch; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -0.034em; font-weight: 740; margin: 0 0 14px; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.015em; font-weight: 680; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.lede, .claim { max-width: 46ch; font-size: 1.1rem; line-height: 1.55; color: var(--ink-2); margin: 0 0 24px; }
.prose { max-width: var(--prose); }
.prose h1 { max-width: none; font-size: clamp(2.2rem, 4.4vw, 3.3rem); }
.prose h2 { margin-top: 44px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 40px 0 14px;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
code, .mono { font-family: var(--mono); font-size: 0.9em; }
.fine, .muted { color: var(--muted); font-size: 0.95rem; }
.small-h { font-size: 1rem; letter-spacing: 0; margin-bottom: 10px; }
.note { max-width: var(--prose); color: var(--muted); }
ul, ol { padding-left: 1.2em; }
li { margin: 6px 0; }
.after-steps { margin-top: 36px; }

/* ---- buttons ---------------------------------------------------------------------------------------------------------------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 10px 0 18px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; max-width: 100%; padding: 10px 22px;
  border-radius: 999px; border: 1px solid var(--accent);
  font-weight: 680; line-height: 1.25; text-align: center; text-decoration: none; white-space: normal;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.button.primary {
  background: var(--grad); color: var(--accent-ink); border-color: transparent;
  box-shadow: 0 8px 26px -8px rgba(42, 195, 214, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.button.primary:hover { color: var(--accent-ink); filter: brightness(1.06) saturate(1.05); transform: translateY(-1px); box-shadow: 0 12px 30px -8px rgba(42, 195, 214, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.button.secondary { background: transparent; color: var(--accent); }
.button.secondary:hover { background: var(--accent-soft); }
.button.large { min-height: 56px; padding: 12px 30px; font-size: 1.06rem; }
.button:active { transform: translateY(1px); }
.button svg { width: 19px; height: 19px; flex: 0 0 auto; }
.quiet-link { display: inline-flex; align-items: center; min-height: 46px; color: var(--ink-2); font-weight: 620; text-underline-offset: 4px; }
.quiet-link:hover { color: var(--accent); }

/* ---- the navy stage: hero and walkthrough ---------------------------------------------------------------------------- */
.hero, .stage-dark { position: relative; isolation: isolate; }
.hero::before, .stage-dark::before {
  content: ""; position: absolute; z-index: -1; inset: 0 auto 0 50%; width: 100vw; width: 100cqw; transform: translateX(-50%);
}
.hero::before {
  background:
    radial-gradient(52% 46% at 82% 8%, rgba(56, 189, 248, 0.2), transparent 70%),
    radial-gradient(46% 40% at 8% 0%, rgba(94, 234, 212, 0.13), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 55px, rgba(140, 205, 230, 0.05) 55px 56px),
    repeating-linear-gradient(90deg, transparent 0 55px, rgba(140, 205, 230, 0.04) 55px 56px),
    linear-gradient(180deg, var(--navy-1), var(--navy-0));
}
.stage-dark::before {
  background:
    radial-gradient(60% 55% at 50% 118%, rgba(45, 212, 200, 0.34), transparent 72%),
    linear-gradient(180deg, var(--navy-0), var(--navy-1) 55%, #082033);
  border-bottom: 1px solid rgba(94, 234, 212, 0.3);
}
.hero {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px 44px; align-items: center;
  grid-template-areas: "copy proof" "points points" "flow flow";
  margin-top: 0; padding: 20px 0 52px;
}
.hero-copy { grid-area: copy; }
.hero-proof { grid-area: proof; min-width: 0; }
.hero-points { grid-area: points; }
.hero-flow { grid-area: flow; min-width: 0; margin-top: 18px; }
.hero h1 { max-width: 14ch; font-size: clamp(2.3rem, 3.9vw, 3.35rem); }
.hero .eyebrow { margin-top: 28px; }
.nowrap { white-space: nowrap; }
.hero-points { list-style: none; padding: 18px 0 0; margin: 6px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; color: var(--ink-2); font-size: 0.9rem; border-top: 1px solid var(--line); }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.hero-points svg { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 3px; color: var(--accent); }
.section.stage-dark { margin-top: 0; padding: 72px 0 96px; }
.section-head.on-dark { max-width: 64ch; }
.section-head.on-dark .eyebrow { margin-top: 0; }

/* ---- product window + hero capture + video ------------------------------------------------------------------------------ */
.window {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.window-glow { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), var(--shadow-lg), 0 0 90px -10px rgba(45, 212, 200, 0.28); }
.window-bar {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 0.86rem; color: var(--muted);
}
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); display: block; }
.window-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 0.8rem; }
.demo-tag {
  flex: 0 0 auto; padding: 3px 11px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent);
  font-size: 0.78rem; font-weight: 650; background: var(--accent-soft);
}
.window video, .window > img { display: block; width: 100%; height: auto; background: #050b16; }
.window video { max-height: 82vh; }
figure { margin: 0; }
.stage figcaption { padding: 12px 4px 0; color: var(--muted); font-size: 0.9rem; }
.stage figcaption a { color: var(--accent); }
.narrow-hint { display: none; }
.crop-scroll { overflow-x: auto; background: #0b1220; }
.crop { overflow: hidden; background: #0b1220; }
.crop img { display: block; max-width: none; height: auto; }
video::cue { font-family: var(--font); font-size: 15px; line-height: 1.3; color: #fff; background: rgba(8, 12, 17, 0.82); }
.demo-video { max-width: 1000px; margin-inline: auto; }
.demo-video figcaption { padding: 16px 4px 0; color: var(--muted); font-size: 0.95rem; }
.demo-video figcaption p { margin: 0 0 8px; }
.shortened { color: var(--ink-2); }
details.transcript { margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
details.transcript summary { padding: 12px 16px; cursor: pointer; font-weight: 640; color: var(--ink-2); }
details.transcript .transcript-body { padding: 0 18px 14px; max-height: 320px; overflow: auto; font-size: 0.95rem; }
details.transcript .transcript-body p { margin: 0 0 10px; }
.stamp { font-family: var(--mono); color: var(--muted); margin-right: 8px; }

/* ---- the workflow illustration ----------------------------------------------------------------------------------------- */
.flow {
  position: relative; padding: 18px 18px 14px; border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 33, 60, 0.7), rgba(8, 18, 36, 0.7)); box-shadow: var(--shadow);
}
.flow-pause-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.flow-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.flow-title { margin: 0; font-weight: 650; color: var(--ink); font-size: 0.98rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.flow-badge {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
  color: #cfeeff; background: rgba(56, 189, 248, 0.16); border: 1px solid rgba(56, 189, 248, 0.5);
}
.flow-pause {
  display: inline-flex; align-items: center; min-height: 36px; padding: 6px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); color: var(--ink-2); font-size: 0.88rem; font-weight: 620; background: transparent;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.flow-pause:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--ink); }
.flow-paused { display: none; margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line-strong); color: var(--accent); }
.flow-pause-input:checked ~ .flow-head .flow-pause { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.flow-pause-input:checked ~ .flow-head .flow-paused { display: inline; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.flow-step {
  position: relative; margin: 0; padding: 14px 14px 16px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(7, 20, 42, 0.78); display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.flow-h { display: block; font-family: var(--font-display); font-weight: 680; color: var(--ink); font-size: 1rem; line-height: 1.3; margin: 6px 0 2px; letter-spacing: -0.01em; }
.flow-step p { margin: 0 0 10px; font-size: 0.86rem; line-height: 1.45; color: var(--muted); }
.flow-step .chip { align-self: flex-start; margin-top: auto; white-space: normal; text-align: left; font-size: 0.76rem; }
.flow-n { position: absolute; top: 12px; right: 14px; font-family: var(--mono); font-size: 0.74rem; color: var(--muted); letter-spacing: 0.08em; }
.flow-art { width: 96px; height: 64px; color: var(--ink-2); overflow: visible; }
.flow-art .a-frame { stroke: var(--line-strong); stroke-width: 1.6; fill: rgba(16, 35, 64, 0.8); }
.flow-art .a-line { stroke: var(--line-strong); stroke-width: 1.6; stroke-linecap: round; }
.flow-art .a-bad { fill: var(--bad-soft); stroke: var(--bad); stroke-width: 1.4; }
.flow-art .a-bad-line { stroke: var(--bad); stroke-width: 1.8; stroke-linecap: round; }
.flow-art .a-code { fill: var(--ink-2); font: 700 8px var(--mono); }
.flow-art .a-bad ~ .a-code { fill: var(--bad); }
.flow-art .a-stroke { stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.flow-art .a-slash { stroke: var(--cyan); }
.flow-art .a-ok { stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.flow-art .a-beam { fill: rgba(94, 234, 212, 0.55); }
.flow-art .a-back { opacity: 0.55; }
.flow-art .a-mid { opacity: 0.8; }
.flow-note { margin: 14px 2px 2px; font-size: 0.86rem; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  @keyframes flowStep {
    0% { border-color: var(--line); box-shadow: none; transform: none; }
    3%, 19% { border-color: var(--teal); box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.4), 0 14px 40px -12px rgba(45, 212, 200, 0.55); transform: translateY(-4px); }
    23%, 100% { border-color: var(--line); box-shadow: none; transform: none; }
  }
  @keyframes flowBeam { 0% { transform: translateY(0); opacity: 0.9; } 60% { transform: translateY(32px); opacity: 0.9; } 100% { transform: translateY(32px); opacity: 0; } }
  @keyframes flowDraw { 0% { stroke-dashoffset: 40; } 8%, 100% { stroke-dashoffset: 0; } }
  @keyframes flowPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
  .flow-step { animation: flowStep 20s linear infinite; animation-delay: calc(var(--i) * 4s - 20s); }
  .flow-art .a-beam { animation: flowBeam 3.2s ease-in-out infinite; }
  .flow-art .a-ok { stroke-dasharray: 40; animation: flowDraw 20s linear infinite; animation-delay: calc(4 * 4s - 20s); }
  .flow-art .a-bad { animation: flowPulse 2.4s ease-in-out infinite; }
  .flow-pause-input:checked ~ .flow-steps *, .flow-pause-input:checked ~ .flow-steps *::before, .flow-pause-input:checked ~ .flow-steps *::after { animation-play-state: paused !important; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-pause-input, .flow-pause { display: none; }
  .flow-art .a-beam { transform: translateY(14px); }
}

/* ---- sections -------------------------------------------------------------------------------------------------------------- */
.section { margin-top: 100px; }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }
.section > p, .narrow { max-width: var(--prose); }
.stage-dark + .section { margin-top: 100px; }

/* ---- the four steps ----------------------------------------------------------------------------------------------------- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step, .doc, .plan, .card, .benefit, .availability, .finding, .preview {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.step { position: relative; box-shadow: var(--shadow); }
.step::after { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; border-radius: 0 0 2px 2px; background: var(--grad); opacity: 0.8; }
.step-icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px;
  border-radius: 12px; background: var(--accent-soft); color: var(--accent);
}
.step-icon svg { width: 24px; height: 24px; }
.step-num { position: absolute; top: 22px; right: 22px; font-family: var(--mono); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.08em; }
.doc-kind { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 0.84rem; color: var(--accent); overflow-wrap: anywhere; }
.step p:last-child, .doc p:last-child, .benefit p:last-child, .plan p:last-child { margin-bottom: 0; }

/* ---- before / after difference view ---------------------------------------------------------------------------------- */
.diff { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); gap: 0; align-items: stretch; }
.diff-pane { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.diff-pane header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.diff-pane header strong { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); }
.diff-pane img { display: block; width: 100%; height: auto; }
.diff-pane p { padding: 12px 16px 16px; margin: 0; color: var(--muted); font-size: 0.95rem; }
.diff-arrow { display: grid; place-items: center; color: var(--accent); }
.diff-arrow svg { width: 30px; height: 30px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font-size: 0.8rem; font-weight: 680; border: 1px solid transparent; white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.chip.bad { color: var(--bad); background: var(--bad-soft); border-color: color-mix(in srgb, var(--bad) 40%, transparent); }
.chip.ok { color: var(--ok); background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.chip.warn { color: var(--warn); background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 40%, transparent); }
.chip.neutral { color: var(--ink-2); background: var(--surface-2); border-color: var(--line); }

/* ---- a finding explained ------------------------------------------------------------------------------------------------ */
.explain { display: grid; gap: 22px; }
.capture { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.capture-scroll { overflow-x: auto; background: #0b1220; }
.capture-scroll img { display: block; width: 100%; min-width: 760px; height: auto; max-width: none; }
.capture figcaption { padding: 12px 18px; color: var(--muted); font-size: 0.93rem; border-top: 1px solid var(--line); }
.notes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.notes li { display: flex; gap: 10px; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); align-items: flex-start; }
.note-n { flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: var(--accent-ink); font: 700 0.8rem var(--mono); }
.notes strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.notes p { margin: 0; font-size: 0.88rem; line-height: 1.45; color: var(--muted); }

/* ---- report + pack preview --------------------------------------------------------------------------------------------- */
.pack { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 32px; align-items: start; }
.paper { background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; }
.paper img { display: block; width: 100%; height: auto; }
.paper-label { display: flex; justify-content: space-between; gap: 10px; padding: 9px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.pack-side { display: grid; gap: 16px; }
.filelist { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: var(--shadow); }
.filelist li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin: 0; padding: 14px 18px; border-top: 1px solid var(--line); }
.filelist li:first-child { border-top: 0; }
.filelist code { color: var(--accent); font-weight: 600; overflow-wrap: anywhere; }
.filelist span { color: var(--muted); font-size: 0.95rem; }
pre.excerpt {
  margin: 0; padding: 14px 16px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--ink-2); font: 0.8rem/1.55 var(--mono); max-width: 100%;
}
.sample-link { margin: 0; }

/* ---- visual comparison ------------------------------------------------------------------------------------------------- */
.visual { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.visual figure { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.visual figcaption { padding: 12px 16px 16px; color: var(--muted); font-size: 0.93rem; }
.visual figcaption strong { color: var(--ink); display: block; font-size: 1rem; margin-bottom: 2px; }
.visual img { display: block; width: 100%; height: auto; background: var(--surface-2); }

/* ---- limits / callouts ------------------------------------------------------------------------------------------------- */
.limits { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px 56px; padding: 36px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.limits ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.limits li { display: flex; gap: 12px; margin: 0; align-items: flex-start; }
.limits li svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px; color: var(--warn); }
.status {
  margin: 0; padding: 12px 16px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink);
}
.status-stack { display: grid; gap: 8px; margin: 10px 0 0; }
.smartscreen { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--warn-soft); color: var(--warn); }

/* ---- provenance disclosure -------------------------------------------------------------------------------------------- */
details.provenance { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
details.provenance > summary { padding: 16px 20px; cursor: pointer; font-weight: 650; display: flex; justify-content: space-between; gap: 12px; align-items: center; list-style: none; }
details.provenance > summary::-webkit-details-marker { display: none; }
details.provenance > summary::after { content: "+"; font-family: var(--mono); font-size: 1.3rem; color: var(--accent); line-height: 1; }
details.provenance[open] > summary::after { content: "\2212"; }
.provenance-body { padding: 0 20px 20px; }
.provenance-body dl { display: grid; grid-template-columns: minmax(140px, 0.32fr) minmax(0, 1fr); gap: 8px 20px; margin: 0 0 12px; }
.provenance-body dt { color: var(--muted); font-size: 0.92rem; }
.provenance-body dd { margin: 0; font-family: var(--mono); font-size: 0.86rem; overflow-wrap: anywhere; }

/* ---- who / faq / pricing / cta ------------------------------------------------------------------------------------------- */
.trust { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px 56px; align-items: start; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 28px 56px; align-items: start; }
.support-line { display: flex; gap: 10px; align-items: center; margin-top: 18px; font-weight: 620; }
.support-line svg { width: 22px; height: 22px; color: var(--accent); flex: 0 0 auto; }
.faq { display: grid; gap: 10px; max-width: 76ch; }
.faq details, .faq > div { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); padding: 0; }
.faq details > summary { padding: 14px 18px; cursor: pointer; font-weight: 640; }
.faq details > p { padding: 0 18px 14px; margin: 0; color: var(--ink-2); }
.faq > div { padding: 14px 18px; }
.faq h3 { font-size: 1.05rem; margin-bottom: 4px; }
.plan { box-shadow: var(--shadow); }
.plan header { display: block; padding: 0 0 8px; }
.plan .who { color: var(--ink); font-size: 1.05rem; font-weight: 650; }
.plan ul { margin: 8px 0 0; padding-left: 1.15em; }
.availability { max-width: 46rem; margin-top: 30px; }
.availability.availability-wide { max-width: none; }
.license-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 8px 48px; align-items: start; }
.license-aside h3 { margin-top: 0; }
.price-line { font-family: var(--font-display); font-size: 1.45rem; font-weight: 720; letter-spacing: -0.02em; margin: 0 0 12px; }
.page-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 12px 48px; align-items: end; margin-top: 12px; }
.page-intro h1 { max-width: 12ch; }
.intro-note { margin: 0 0 18px; color: var(--muted); font-size: 1.1rem; line-height: 1.45; }
.end-cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  margin-top: 112px; padding: 44px 48px; border-radius: 24px;
  border: 1px solid rgba(94, 234, 212, 0.3);
  background: radial-gradient(70% 140% at 100% 0%, rgba(56, 189, 248, 0.26), transparent 70%), radial-gradient(60% 120% at 0% 100%, rgba(45, 212, 200, 0.22), transparent 70%), linear-gradient(180deg, var(--navy-2), var(--navy-1));
  box-shadow: 0 24px 50px -28px rgba(4, 10, 23, 0.7);
}
.end-cta h2 { margin-bottom: 6px; }
.end-cta p { margin: 0; color: var(--ink-2); }
.end-cta .actions { margin: 0; }
.closed { margin-top: 64px; padding: 22px; border: 1px dashed var(--line-strong); border-radius: var(--radius); }

footer { margin-top: 88px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }

/* ---- hover motion: additive only, off for reduced motion ----------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .hero-copy > * { animation: rise 640ms cubic-bezier(.2,.7,.2,1) backwards; }
  .hero-copy > *:nth-child(2) { animation-delay: 70ms; }
  .hero-copy > *:nth-child(3) { animation-delay: 140ms; }
  .hero-copy > *:nth-child(4) { animation-delay: 210ms; }
  .hero-copy > *:nth-child(5) { animation-delay: 280ms; }
  .hero-proof { animation: rise 800ms 160ms cubic-bezier(.2,.7,.2,1) backwards; }
  .step, .doc, .plan, .visual figure, .diff-pane, .notes li { transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
  .step:hover, .doc:hover, .plan:hover, .visual figure:hover { transform: translateY(-3px); border-color: var(--line-strong); }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button:active, .button.primary:hover { transform: none; }
}

/* ---- responsive --------------------------------------------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .flow-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .notes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .hero, .page-intro, .trust, .license-grid, .pack, .limits, .faq-wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero { grid-template-areas: "copy" "proof" "points" "flow"; padding-top: 8px; }
  .hero-points { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .visual { grid-template-columns: 1fr; }
  .diff { grid-template-columns: 1fr; gap: 10px; }
  .diff-arrow { transform: rotate(90deg); height: 36px; }
  h1, .hero h1 { max-width: none; }
  .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 124px; }
  .crop-scroll .crop { min-width: 600px; }
  .narrow-hint { display: inline; }
  body { font-size: 16.5px; }
  .wrap { padding: 0 18px 72px; }
  .site-header { margin: 0 -18px; padding: 10px 18px; gap: 4px 14px; }
  .section, .stage-dark + .section { margin-top: 76px; }
  .section.stage-dark { margin-top: 0; padding: 52px 0 64px; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .limits { padding: 22px; }
  .end-cta { padding: 30px 22px; margin-top: 76px; }
  .provenance-body dl { grid-template-columns: 1fr; gap: 2px; }
  .provenance-body dt { margin-top: 8px; }
  .window-title { display: none; }
  .header-cta { display: none; }
  nav ul { gap: 2px 14px; }
  .flow-steps { grid-template-columns: 1fr; }
  .flow-step { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .flow-step .flow-art { grid-row: 1 / span 3; margin-top: 4px; }
  .flow-h, .flow-step p, .flow-step .chip { grid-column: 2; }
  .flow-step .chip { margin-top: 0; }
  .notes { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  h1 { font-size: 2.1rem; }
}
@media (max-width: 340px) {
  .flow-step { grid-template-columns: 1fr; }
  .flow-step .flow-art, .flow-h, .flow-step p, .flow-step .chip { grid-column: 1; grid-row: auto; }
}

/* the audit capture starts with a clipped strip of the application; cut it from view (the file is unmodified) */
.trim-top { overflow: hidden; background: #0b1220; }
.trim-top img { display: block; margin-top: -2.2%; }
