/* ThreatStrike — site styles
   Plain CSS, no build step. Tokens first, then base, layout, components, sections, pages. */

/* ---------- Fonts (self-hosted, OFL — see /static/fonts/LICENSE-*) ---------- */
@font-face {
  font-family: "Chakra Petch";
  src: url("/static/fonts/chakra-petch-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("/static/fonts/chakra-petch-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/static/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  --bg: #0a0b0d;
  --bg-2: #0e1013;
  --surface: #14171b;
  --surface-2: #1a1e23;
  --line: #23282e;
  --line-2: #323941;

  --text: #eceef1;
  --text-2: #a7aeb8;
  --text-3: #727b86;

  --red: #e11d48;          /* strike red: actions, accents */
  --red-hi: #ff4d6d;       /* red text on dark */
  --red-deep: #7f0920;     /* heritage red: gradients, depth */
  --red-glow: rgba(225, 29, 72, 0.18);
  --green: #3ddc97;        /* "proven" / pass states */
  --amber: #f5b13d;

  --font-display: "Chakra Petch", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --maxw: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 10px;
  --radius-lg: 16px;
  --section-y: clamp(72px, 10vw, 128px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--red-hi); }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
code, kbd, pre, .mono { font-family: var(--font-mono); font-size: 0.9em; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--red); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-hi);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 18px; color: var(--text-2); font-size: 1.125rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-2); line-height: 1.55; }
.accent { color: var(--red); }

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font: 600 0.98rem/1 var(--font-body);
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 0 0 0 var(--red-glow); }
.btn--primary:hover { background: #f0244f; box-shadow: 0 8px 28px -6px rgba(225, 29, 72, .55); }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text-3); background: var(--surface); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 0.9rem; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field .label { font-size: 0.9rem; font-weight: 500; color: var(--text-2); }
.field .optional { color: var(--text-3); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  font: 400 1rem/1.4 var(--font-body); color: var(--text);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 140px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-glow);
}
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }

/* Honeypot: hidden from people, visible to naive bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }


.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.check {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  cursor: pointer; font-size: 0.95rem; color: var(--text-2);
}
.check:hover { border-color: var(--text-3); }
.check input { accent-color: var(--red); width: 16px; height: 16px; margin: 0; }
.check:has(input:checked) { border-color: var(--red); color: var(--text); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(10, 11, 13, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 26px; height: auto; }
.brand img.brand__wordmark { width: auto; height: 15px; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.12em; text-transform: uppercase; }
.brand__name span { color: var(--red); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-size: 0.95rem; font-weight: 500; color: var(--text-2); text-decoration: none; transition: color .15s ease; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }

.nav-mobile { display: none; position: relative; }
.nav-mobile summary {
  list-style: none; cursor: pointer; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2);
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile .bars, .nav-mobile .bars::before, .nav-mobile .bars::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: transform .2s ease, background-color .2s ease;
}
.nav-mobile .bars::before { position: absolute; top: -6px; }
.nav-mobile .bars::after { position: absolute; top: 6px; }
.nav-mobile[open] .bars { background: transparent; }
.nav-mobile[open] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-mobile[open] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile__panel {
  position: absolute; right: 0; top: calc(100% + 12px); width: min(320px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 12px; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .6);
}
.nav-mobile__panel ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile__panel li a { display: block; padding: 12px 14px; border-radius: 8px; text-decoration: none; color: var(--text-2); font-weight: 500; }
.nav-mobile__panel li a:hover { background: var(--surface-2); color: var(--text); }
.nav-mobile__panel .btn { width: 100%; margin-top: 8px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-mobile { display: block; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 120px) clamp(72px, 10vw, 128px); isolation: isolate; }
.hero::before { /* grid */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.hero__trace { /* animated tracers drawn by site.js; same footprint and mask as the grid */
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.hero::after { /* glow */
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; right: -260px; top: -320px;
  background: radial-gradient(circle, rgba(225,29,72,.22) 0%, rgba(127,9,32,.12) 35%, transparent 65%);
  pointer-events: none;
}
.hero__wolf {
  position: absolute; z-index: -1; right: -60px; bottom: -80px; width: 520px; opacity: .045; pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { margin-top: 22px; }
.hero h1 .accent { color: var(--red); }
.hero .lede { margin-top: 24px; max-width: 34ch; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 0.88rem; color: var(--text-3); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(225, 29, 72, .08); border: 1px solid rgba(225, 29, 72, .35);
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: #ffb3c1;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(225,29,72,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(225,29,72,.6); } 70% { box-shadow: 0 0 0 9px rgba(225,29,72,0); } 100% { box-shadow: 0 0 0 0 rgba(225,29,72,0); } }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero .lede { max-width: 46ch; }
}

/* ---------- Agent run console ---------- */
.console {
  position: relative;
  background: linear-gradient(180deg, #121519 0%, #0d0f12 100%);
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset, 0 0 80px -20px rgba(225,29,72,.25);
  overflow: hidden;
  font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.7;
}
.console__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015);
  color: var(--text-3); font-size: 0.74rem;
}
.console__lights { display: flex; gap: 6px; }
.console__lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.console__title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console__tag { padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.66rem; letter-spacing: .08em; text-transform: uppercase; }
.console__body { padding: 18px 18px 20px; overflow-x: auto; }
.console ol { list-style: none; margin: 0; padding: 0; min-width: 0; }
.console li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 3px 0; color: var(--text-2); }
.console .stage { color: var(--text-3); }
.console .stage--recon  { color: #7aa7ff; }
.console .stage--read   { color: #c39bff; }
.console .stage--hypo   { color: var(--amber); }
.console .stage--attack { color: var(--red-hi); }
.console .stage--oob    { color: #5fd4e8; }
.console .stage--proof  { color: var(--green); }
.console .stage--fix    { color: var(--text); }
.console .hl { color: var(--text); }
.console .ok { color: var(--green); }
.console .crit { color: #fff; background: var(--red); padding: 0 6px; border-radius: 4px; font-weight: 600; }
.console .cursor { display: inline-block; width: 8px; height: 1.05em; vertical-align: -2px; background: var(--red-hi); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* staged reveal, CSS-only (no inline styles: CSP-friendly) */
.console li { opacity: 0; transform: translateY(4px); animation: line-in .35s ease forwards; }
.console li:nth-child(1) { animation-delay: .3s; }
.console li:nth-child(2) { animation-delay: .9s; }
.console li:nth-child(3) { animation-delay: 1.5s; }
.console li:nth-child(4) { animation-delay: 2.1s; }
.console li:nth-child(5) { animation-delay: 2.7s; }
.console li:nth-child(6) { animation-delay: 3.3s; }
.console li:nth-child(7) { animation-delay: 3.9s; }
.console li:nth-child(8) { animation-delay: 4.5s; }
.console li:nth-child(9) { animation-delay: 5.1s; }
.console li:nth-child(10) { animation-delay: 5.7s; }
@keyframes line-in { to { opacity: 1; transform: none; } }

@media (max-width: 520px) {
  .console { font-size: 0.72rem; }
  .console li { grid-template-columns: 1fr; gap: 0; padding: 5px 0; }
}

/* ---------- Gap / problem ---------- */
.gap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.gap h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); margin-top: 16px; }
.gap h2 .muted { color: var(--text-3); }
.gap__body { display: grid; gap: 20px; color: var(--text-2); font-size: 1.08rem; padding-top: 8px; }
.gap__body strong { color: var(--text); font-weight: 600; }
.timeline {
  margin-top: 56px; grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.timeline__row { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; }
.timeline__label { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.timeline__label b { color: var(--text-2); font-weight: 500; }
.ticks { display: grid; grid-template-columns: repeat(52, 1fr); gap: 3px; margin-top: 16px; height: 34px; }
.ticks i { border-radius: 2px; background: var(--line); }
.ticks--annual i:nth-child(52n+14) { background: var(--text-2); }
.ticks--ts i { background: var(--red); opacity: .85; }
.ticks--ts i:nth-child(4n) { opacity: .55; }
.ticks--ts i:nth-child(13n), .ticks--ts i:nth-child(13n+6) { opacity: 1; }
@media (max-width: 860px) {
  .gap { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; margin-top: 24px; }
}

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; position: relative; }
.step {
  position: relative; padding: 28px 24px 30px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color .2s ease, transform .2s ease;
}
.step:hover { border-color: var(--line-2); transform: translateY(-2px); }
.step__num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--red-hi); letter-spacing: .1em; }
.step h3 { margin-top: 18px; font-size: 1.35rem; }
.step p { margin-top: 12px; color: var(--text-2); font-size: 0.97rem; }
.step__icon { width: 40px; height: 40px; margin-top: 22px; color: var(--text-3); }
.step::after { /* connector */
  content: ""; position: absolute; top: 40px; right: -17px; width: 18px; height: 1px; background: var(--line-2);
}
.step:last-child::after { display: none; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Coverage ---------- */
.coverage { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cov {
  position: relative;
  padding: 26px 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.cov__icon { width: 36px; height: 36px; color: var(--red-hi); }
.tag { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-3); white-space: nowrap; }
.tag--core { color: #ffb3c1; border-color: rgba(225,29,72,.45); background: rgba(225,29,72,.08); }
.cov { display: flex; flex-direction: column; transition: border-color .2s ease, transform .2s ease; }
.cov:hover { border-color: rgba(225, 29, 72, .4); transform: translateY(-2px); }
.cov h3 { margin-top: 20px; font-size: 1.15rem; }
.cov p { margin-top: 10px; color: var(--text-2); font-size: 0.93rem; }
.cov ul { margin: auto 0 0; padding: 18px 0 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.cov li { font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-2); padding: 4px 10px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); }
.cov li.soon { color: var(--amber); border-color: rgba(245,177,61,.3); background: rgba(245,177,61,.06); }
/* Live attack surface: site.js runs a tracer through the gutters (canvas behind the cards) from card to
   card; the card it reaches gets scanned, and its example checks light up in turn. Hover re-routes it. */
.coverage { position: relative; isolation: isolate; }
.coverage__trace { position: absolute; top: -8px; left: -8px; width: calc(100% + 16px); height: calc(100% + 16px); z-index: -1; pointer-events: none; }
.cov { overflow: hidden; }
.cov::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 45%; pointer-events: none; opacity: 0;
  background: linear-gradient(to bottom, transparent, rgba(225,29,72,.07)); box-shadow: inset 0 -1px 0 rgba(255,77,109,.55); }
.cov.is-scan { border-color: rgba(225, 29, 72, .4); }
.cov.is-scan::after { animation: cov-scan 1.5s cubic-bezier(.4,0,.3,1); }
.cov.is-scan .cov__icon { animation: cov-icon 2.2s ease-out; }
.cov.is-scan li:not(.soon) { animation: cov-probe 1.1s ease-out both; }
.cov.is-scan li:nth-child(2) { animation-delay: .25s; }
.cov.is-scan li:nth-child(3) { animation-delay: .5s; }
.cov.is-scan li:nth-child(4) { animation-delay: .75s; }
@keyframes cov-scan { 0% { opacity: 0; transform: translateY(-100%); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(225%); } }
@keyframes cov-icon { 0%, 100% { filter: none; } 25% { filter: drop-shadow(0 0 6px rgba(255,77,109,.8)); color: #ff8aa0; } }
@keyframes cov-probe { 0%, 100% { border-color: var(--line); color: var(--text-2); background: var(--bg-2); }
  30% { border-color: rgba(255,77,109,.6); color: var(--text); background: rgba(225,29,72,.1); } }
@media (max-width: 1080px) { .coverage { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .coverage { grid-template-columns: 1fr; } }

/* ---------- Finding (example output) ---------- */
.finding-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.finding-points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.finding-points li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.finding-points svg { width: 22px; height: 22px; color: var(--red-hi); margin-top: 2px; }
.finding-points h3 { font-size: 1.08rem; }
.finding-points p { margin-top: 4px; color: var(--text-2); font-size: 0.97rem; }

.finding {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
}
.finding__head { padding: 22px 24px; border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.finding__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-3); }
.sev { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 5px; }
.sev--crit { background: var(--red); color: #fff; }
.sev--high { background: rgba(245,177,61,.14); color: var(--amber); border: 1px solid rgba(245,177,61,.35); }
.sev--med  { background: rgba(122,167,255,.12); color: #9dbcff; border: 1px solid rgba(122,167,255,.3); }
.sev--low  { background: rgba(255,255,255,.05); color: var(--text-2); border: 1px solid var(--line-2); }
.sev--ok   { background: rgba(61,220,151,.12); color: var(--green); border: 1px solid rgba(61,220,151,.35); }
.finding__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.25; }

.chain { padding: 22px 24px; border-bottom: 1px solid var(--line); }
.chain__label, .finding__label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.chain ol { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0; }
.chain li { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start; padding: 10px 0; }
.chain li::before { content: ""; position: absolute; left: 10px; top: 30px; bottom: -10px; width: 1px; background: var(--line-2); }
.chain li:last-child::before { display: none; }
.chain .node { width: 21px; height: 21px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-3); position: relative; z-index: 1; }
.chain li:last-child .node { border-color: var(--red); color: #fff; background: var(--red); }
.chain .what { font-size: 0.93rem; color: var(--text); }
.chain .what small { display: block; color: var(--text-3); font-size: 0.82rem; margin-top: 2px; }

.finding__grid { display: grid; grid-template-columns: 1fr; }
.finding__cell { padding: 20px 24px; min-width: 0; }
.finding__cell + .finding__cell { border-top: 1px solid var(--line); }
.finding pre {
  margin: 12px 0 0; padding: 12px 14px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line);
  font-size: 0.72rem; line-height: 1.65; color: var(--text-2); overflow-x: auto; white-space: pre;
}
.finding pre .add { color: var(--green); }
.finding pre .del { color: var(--red-hi); }
.finding pre .dim { color: var(--text-3); }
.finding__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; border-top: 1px solid var(--line); background: rgba(255,255,255,.015); font-size: 0.82rem; color: var(--text-3); }
.finding__foot .ok { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-family: var(--font-mono); font-size: 0.75rem; }
.illustrative { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
@media (max-width: 960px) { .finding-wrap { grid-template-columns: 1fr; } }

/* Example finding, live. site.js adds .is-armed (JS + motion allowed), then .is-play once the card is in
   view: the chain lights step by step, the proof types out, the fix diff lands, the retest passes. */
.finding pre .ln { display: block; width: max-content; }
.chain ol { position: relative; }
.chain li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 30px; bottom: -10px; width: 1px; background: var(--red); transform-origin: top; opacity: .7; }
.chain li { transition: opacity .45s ease; }
.chain .sev { transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.finding.is-armed:not(.is-play) .chain li { opacity: .28; }
.finding.is-armed:not(.is-play) .chain li::after { transform: scaleY(0); }
.finding.is-armed:not(.is-play) .chain .sev { transform: scale(.6); }
.finding.is-play .chain li::after { transition: transform .45s ease; }
.finding.is-play .chain li:nth-child(1) { transition-delay: .2s; }
.finding.is-play .chain li:nth-child(1)::after, .finding.is-play .chain li:nth-child(1) .sev { transition-delay: .5s; }
.finding.is-play .chain li:nth-child(2), .finding.is-play .chain li:nth-child(2) .sev { transition-delay: .95s; }
.finding.is-play .chain li:nth-child(2)::after { transition-delay: 1.25s; }
.finding.is-play .chain li:nth-child(3), .finding.is-play .chain li:nth-child(3) .sev { transition-delay: 1.7s; }
.finding.is-play .chain li:nth-child(3) .node { animation: node-ping 1s ease-out 1.8s; }
.finding.is-play .finding__meta .sev--crit { animation: node-ping 1s ease-out 1.9s; }
@keyframes node-ping { 0% { box-shadow: 0 0 0 0 rgba(225,29,72,.7); } 100% { box-shadow: 0 0 0 10px rgba(225,29,72,0); } }

.finding.is-armed .type .ln { clip-path: inset(0 100% 0 0); }
.finding.is-play .type .ln { animation: type .5s steps(26, end) forwards; }
.finding.is-play .type .ln:nth-child(1) { animation-delay: 2.1s; animation-duration: .7s; }
.finding.is-play .type .ln:nth-child(2) { animation-delay: 2.85s; }
.finding.is-play .type .ln:nth-child(3) { animation-delay: 3.4s; }
.finding.is-play .type .ln--out { animation: type .01s 4.1s forwards; }
.finding.is-play .type .ln--out:last-child { animation-delay: 4.3s; }
@keyframes type { to { clip-path: inset(0 0 0 0); } }

.finding.is-armed .diff .del, .finding.is-armed .diff .add { opacity: 0; transform: translateX(-6px); }
.finding.is-play .diff .del, .finding.is-play .diff .add { opacity: 1; transform: none; transition: opacity .35s ease, transform .35s ease; }
.finding.is-play .diff .del { transition-delay: 4.8s; }
.finding.is-play .diff .add { transition-delay: 5.25s; animation: added 1.4s ease-out 5.25s; }
@keyframes added { 0% { background: rgba(61,220,151,.18); } 100% { background: transparent; } }

.finding.is-armed .finding__foot .ok { opacity: 0; }
.finding.is-armed .finding__foot .ok path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.finding.is-play .finding__foot .ok { opacity: 1; transition: opacity .3s ease 5.9s; }
.finding.is-play .finding__foot .ok path { stroke-dashoffset: 0; transition: stroke-dashoffset .45s ease 6s; }

/* Afterwards, an occasional pulse runs down the chain (paused while the visitor is hovering the section). */
.finding.is-play .chain ol::after { content: ""; position: absolute; left: 8px; top: 18px; width: 5px; height: 5px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: #ff7a93; box-shadow: 0 0 8px 2px rgba(225,29,72,.8); animation: chain-pulse 7s linear 7s infinite; }
@keyframes chain-pulse { 0% { top: 18px; opacity: 0; } 3% { opacity: 1; } 22% { opacity: 1; } 25% { top: calc(100% - 34px); opacity: 0; } 100% { top: calc(100% - 34px); opacity: 0; } }
.finding-wrap:hover .finding .chain ol::after { animation-play-state: paused; visibility: hidden; }

/* Evidence links: hovering a chain step or a point on the left highlights what backs it up. */
.finding-wrap [data-ev] { transition: color .2s ease; }
.chain li[data-ev], .finding-points li[data-ev] { cursor: default; }
.chain li.is-src .node { border-color: var(--red); color: #fff; box-shadow: 0 0 0 3px rgba(225,29,72,.25); }
.finding-points li.is-src svg { filter: drop-shadow(0 0 6px rgba(255,77,109,.7)); }
.finding-points li.is-src h3 { color: #fff; }
/* The hovered point gets the same tint and red edge as the evidence it lights up on the right. The negative
   margin gives the highlight some breathing room without shifting the text. */
.finding-points li { padding: 12px 14px; margin: -12px -14px; border-radius: 0 10px 10px 0; transition: background-color .25s ease, box-shadow .25s ease; }
.finding-points li.is-src { background-color: rgba(225,29,72,.05); box-shadow: inset 2px 0 0 var(--red); }
.ev { border-radius: 3px; transition: background-color .2s ease, box-shadow .2s ease, color .2s ease; }
.ev.is-lit { background: rgba(225,29,72,.2); box-shadow: 0 0 0 2px rgba(225,29,72,.2); color: #fff; }
.ev.is-lit .dim { color: #ffc2cf; }
.chain .what small.ev { width: fit-content; padding: 0 3px; margin-left: -3px; }
.ev-box { transition: background-color .25s ease, box-shadow .25s ease; }
.ev-box.is-lit { background-color: rgba(225,29,72,.05); box-shadow: inset 2px 0 0 var(--red); }

/* ---------- Guardrails ---------- */
.guards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.guard { background: var(--bg-2); padding: 30px 26px; }
.guard svg { width: 28px; height: 28px; color: var(--red-hi); }
.guard h3 { margin-top: 20px; font-size: 1.15rem; }
.guard p { margin-top: 10px; color: var(--text-2); font-size: 0.95rem; }
/* Live guardrail panels (built by site.js): a scope log, a rate cap, an audit trail and a stoppable run. */
.guard { display: flex; flex-direction: column; }
.gv { margin-top: auto; position: relative; height: 104px; padding: 10px 12px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.66rem; line-height: 1.5; color: var(--text-3); overflow: hidden; }
.guard > p { margin-bottom: 22px; } /* the panel's margin-top: auto then bottom-aligns all four */
.gv ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.gv li { display: flex; justify-content: space-between; gap: 10px; white-space: nowrap; min-width: 0; } /* grid items won't shrink below their content without min-width: 0 */
.gv li > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; } /* long URLs truncate… */
.gv li > span:last-child { flex: none; } /* …so the ✓ / BLOCKED badge always fits */
.gv--log li > span:first-child { flex: 0 1 auto; } /* in narrow panels the reason truncates first, then the request */
.gv--log li > span.why { flex: 0 1000 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.gv li.is-new { animation: gv-in .45s ease-out; }
@keyframes gv-in { from { opacity: 0; transform: translateY(6px); } }
.gv .ok { color: var(--green); }
.gv .no { color: #fff; background: var(--red); padding: 0 5px; border-radius: 3px; letter-spacing: .06em; }
.gv li.is-blocked > span:first-child { color: #ffb3c1; text-decoration: line-through; text-decoration-color: rgba(255,77,109,.6); }
.gv .t { color: var(--text-3); }
.gv .m { color: var(--text-2); }
.gv .why { color: #8f98a3; }
.gv__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.gv__pill { padding: 1px 7px; border-radius: 999px; border: 1px solid rgba(61,220,151,.35); color: var(--green); background: rgba(61,220,151,.07); }
.gv__bars { position: absolute; left: 12px; right: 12px; bottom: 10px; height: 56px; display: flex; align-items: flex-end; gap: 2px; }
.gv__bars i { flex: 1; min-width: 0; background: #2a3038; border-radius: 1px; transition: height .45s ease; }
.gv__bars i.is-cap { background: #3a3036; box-shadow: inset 0 2px 0 var(--red); }
.gv__cap { position: absolute; left: 12px; right: 12px; bottom: calc(10px + 56px * .72); border-top: 1px dashed rgba(255,77,109,.6); }
.gv__cap span { position: absolute; right: 0; top: -15px; color: #ff8aa0; }
.gv__bar { margin: 12px 0 10px; height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.gv__bar i { display: block; height: 100%; width: 0; border-radius: 3px; transition: width .6s linear;
  background: repeating-linear-gradient(-45deg, var(--red) 0 6px, #ff4d6d 6px 12px); background-size: 17px 17px; animation: gv-stripes .8s linear infinite; }
@keyframes gv-stripes { to { background-position: 17px 0; } }
.gv__stop { font: inherit; font-size: 0.66rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; padding: 3px 9px; border-radius: 5px;
  color: #fff; background: rgba(225,29,72,.16); border: 1px solid rgba(225,29,72,.55); transition: background-color .2s ease; }
.gv__stop:hover { background: rgba(225,29,72,.32); }
.gv__stop:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 2px; }
/* Narrow cards (the 4-column layout around 1000-1240px): keep every line on one row. */
.guard { container-type: inline-size; }
@container (max-width: 270px) { .gv--log .t { display: none; } }
.gv--run .gv__row > .live, .gv--run > div:last-child { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gv__stop { flex: none; white-space: nowrap; }
.gv--run .live::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; background: var(--green); animation: pulse 2.2s infinite; vertical-align: 1px; }
.gv--run.is-stopped .gv__bar i { animation: none; background: var(--line-2); }
.gv--run.is-stopped .live::before { background: var(--text-3); animation: none; }
.gv--run.is-stopped .gv__stop { background: rgba(61,220,151,.1); border-color: rgba(61,220,151,.45); }
.guards.is-halted .gv:not(.gv--run) { opacity: .45; transition: opacity .3s ease; }
@media (max-width: 1000px) { .guards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .guards { grid-template-columns: 1fr; } }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.aud { min-width: 0; container-type: inline-size; padding: 30px 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.aud__kicker { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red-hi); }
.aud h3 { font-size: 1.35rem; }
.aud p { color: var(--text-2); font-size: 0.97rem; }
/* Proof strips: the outcome each audience cares about. They play once when the section scrolls in;
   only the commit stream keeps moving (site.js), and it pauses on hover. */
.aud__proof { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); min-height: 46px; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-3); white-space: nowrap; } /* no clipping here: the stamp and the dot's ring overhang */
.aud p + .aud__proof { margin-top: auto; }
.aud > p { margin-bottom: 6px; }
.aud__proof svg { width: 16px; height: 16px; flex: none; color: var(--text-2); }
.aud__proof b { color: var(--text-2); font-weight: 500; }
.aud__txt, .aud__old, .aud__fresh > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.aud__stamp, .aud__branch { flex: none; }
.aud__old { flex: 0 1000 auto; } /* the stale file name gives way before "Retested…" does */
.cm-track { flex: 1; min-width: 0; display: flex; justify-content: flex-end; gap: 8px; overflow: hidden; /* oldest commits slide off the left */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22px); mask-image: linear-gradient(90deg, transparent, #000 22px); }
@container (max-width: 300px) { .aud__proof { font-size: 0.64rem; gap: 8px; } }
.aud__stamp { margin-left: auto; padding: 2px 8px; border: 1.5px solid rgba(61,220,151,.75); border-radius: 4px; color: var(--green); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; transform: rotate(-6deg); }
.aud__old { color: var(--text-3); background: linear-gradient(var(--red-hi), var(--red-hi)) no-repeat 0 55% / 100% 1px; }
.aud__fresh { color: var(--green); display: inline-flex; align-items: center; gap: 7px; min-width: 0; padding-left: 2px; }
.aud__fresh::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61,220,151,.6); animation: fresh-pulse 2.4s infinite; }
@keyframes fresh-pulse { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.55); } 70% { box-shadow: 0 0 0 7px rgba(61,220,151,0); } 100% { box-shadow: none; } }
.aud__branch { flex: none; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); }
.aud__commits { gap: 8px; }
.cm { flex: none; padding: 2px 7px; border-radius: 5px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text-2); }
.cm b { color: var(--green); font-weight: 600; }
.cm.is-testing b { color: var(--amber); font-weight: 400; }
.cm.is-new { animation: cm-in .45s ease-out; }
.cm.is-out { animation: cm-out .4s ease-in forwards; }
@keyframes cm-in { from { opacity: 0; transform: translateX(10px); } }
@keyframes cm-out { to { opacity: 0; transform: translateX(-10px); } }
.audience.is-in .aud__stamp { animation: stamp .55s cubic-bezier(.2,1.5,.4,1) .7s backwards; }
@keyframes stamp { from { opacity: 0; transform: scale(1.9) rotate(-16deg); } }
.audience.is-in .aud__old { animation: strike .5s ease .85s backwards; }
@keyframes strike { from { background-size: 0 1px; color: var(--text-2); } }
.audience.is-in .aud__fresh { animation: fresh-in .45s ease 1.35s backwards; }
@keyframes fresh-in { from { opacity: 0; transform: translateX(-4px); } }
@media (max-width: 900px) { .audience { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Research ---------- */
.research { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.research__body { display: grid; gap: 18px; color: var(--text-2); font-size: 1.06rem; }
.research__body h2 { color: var(--text); margin-top: 6px; }
.research__body .btn { justify-self: start; margin-top: 10px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 26px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.stat--wide { grid-column: 1 / -1; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1; color: var(--text); }
.stat__num .accent { color: var(--red); }
.stat__label { margin-top: 10px; color: var(--text-2); font-size: 0.93rem; }
/* Selected CVEs: each row links to its write-up. Rows fade in one by one when the stats reveal. */
.stat__num[data-count] { font-variant-numeric: tabular-nums; }
.cves { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
/* Ticker: site.js wraps the list in a window four rows tall and steps it up one row at a time. Without JS
   (or with reduced motion) only the first four show. */
.cves li:nth-child(n+5) { display: none; }
.cves-win { position: relative; overflow: hidden; margin-top: 16px; border-top: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 82%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 82%, transparent); }
.cves-win .cves { margin: 0; border-top: 0; will-change: transform; }
.cves-win.is-ticking .cves li { display: block; }
.cves li { border-bottom: 1px solid var(--line); }
.cves a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 8px; margin: 0 -8px;
  border-radius: 6px; text-decoration: none; color: var(--text-2); font-size: 0.88rem; transition: background-color .2s ease; }
.cves a:hover { background: rgba(255,255,255,.03); }
.cves a:hover .cve__id { color: var(--red-hi); }
.cve__id { font-family: var(--font-mono); font-size: 0.74rem; line-height: 18px; color: var(--text); white-space: nowrap; transition: color .2s ease; }
.cve__what { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 22px; }
.cve__what b { color: var(--text); font-weight: 500; }
.cvss { font-family: var(--font-mono); font-size: 0.7rem; line-height: 18px; font-weight: 600; padding: 2px 7px; border-radius: 5px; border: 1px solid transparent; }
.cvss--crit { background: var(--red); border-color: var(--red); color: #fff; }
.cvss--high { background: rgba(245,177,61,.14); color: var(--amber); border: 1px solid rgba(245,177,61,.35); }
.cves__more { display: inline-block; margin-top: 12px; font-size: 0.85rem; color: var(--text-3); text-decoration: none; }
.cves__more:hover { color: var(--text); }
.js .stats .cves li { opacity: 0; transform: translateY(6px); transition: opacity .45s ease, transform .45s ease; }
.js .stats.is-in .cves li { opacity: 1; transform: none; }
.js .stats.is-in .cves li:nth-child(2) { transition-delay: .12s; }
.js .stats.is-in .cves li:nth-child(3) { transition-delay: .24s; }
.js .stats.is-in .cves li:nth-child(4) { transition-delay: .36s; }
/* In a narrow box, stack each row (ID and score, then the description) instead of truncating. */
.stat--wide { container-type: inline-size; }
@container (max-width: 470px) {
  .cves a { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id score" "what what"; gap: 4px 12px; }
  .cve__id { grid-area: id; } .cvss { grid-area: score; } .cve__what { grid-area: what; } /* one line each, so every row is the same height */
}
@media (max-width: 900px) { .research { grid-template-columns: 1fr; } }

/* ---------- Closing CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 6vw, 80px);
  border-radius: 24px; border: 1px solid rgba(225, 29, 72, .35);
  background:
    radial-gradient(80% 120% at 0% 100%, rgba(127,9,32,.55), transparent 60%),
    radial-gradient(60% 100% at 100% 0%, rgba(225,29,72,.22), transparent 60%),
    var(--surface);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center;
}
.cta__wolf { position: absolute; z-index: -1; right: -40px; top: 50%; transform: translateY(-50%); width: 340px; opacity: .06; pointer-events: none; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
.cta p { margin-top: 16px; color: var(--text-2); font-size: 1.08rem; max-width: 40ch; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 64px calc(40px + env(safe-area-inset-bottom, 0px)); margin-top: var(--section-y); color: var(--text-2); font-size: 0.93rem; }
.site-footer--flush { margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__about p { margin-top: 16px; max-width: 34ch; color: var(--text-3); }
.footer__col h2 { font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.footer__col ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.footer__col a { text-decoration: none; color: var(--text-2); }
.footer__col a:hover { color: var(--text); }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--text-2); transition: color .15s ease, border-color .15s ease; }
.footer__social a:hover { color: var(--text); border-color: var(--text-3); }
.footer__social svg { width: 17px; height: 17px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.85rem; }
.footer__legal a { color: var(--text-3); }
.footer__legal a:hover { color: var(--text-2); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }

/* ---------- Inner pages ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(32px, 5vw, 56px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::after {
  content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -220px; top: -380px;
  background: radial-gradient(circle, rgba(225,29,72,.18) 0%, transparent 62%);
}
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); margin-top: 18px; }
.page-hero .lede { margin-top: 20px; max-width: 60ch; }

.prose { max-width: 760px; color: var(--text-2); font-size: 1.02rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { color: var(--text); font-size: 1.6rem; margin-top: 2.2em; }
.prose h3 { color: var(--text); font-size: 1.15rem; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
.prose strong { color: var(--text); }
.prose a { color: var(--text); text-decoration-color: var(--red); }
.prose .updated { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-3); }
.prose address { font-style: normal; }

.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.card { padding: 30px 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.card h2 { font-size: 1.4rem; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--text-2); }
.card > * + * { margin-top: 14px; }
.card dl { margin: 20px 0 0; display: grid; gap: 18px; }
.card dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.card dd { margin: 4px 0 0; color: var(--text); }
.card dd a { text-decoration: none; }
.card dd a:hover { color: var(--red-hi); }

.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form__fine { font-size: 0.85rem; color: var(--text-3); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.status { text-align: center; max-width: 640px; margin-inline: auto; }
.status__icon { width: 64px; height: 64px; margin: 0 auto 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(225,29,72,.4); background: rgba(225,29,72,.08); color: var(--red-hi); }
.status__icon--ok { border-color: rgba(61,220,151,.4); background: rgba(61,220,151,.08); color: var(--green); }
.status__icon svg { width: 28px; height: 28px; }
.status h1 { font-size: clamp(2.4rem, 6vw, 3.75rem); }
.status p { margin-top: 18px; color: var(--text-2); font-size: 1.1rem; }
.status .btn { margin-top: 32px; }

.founder { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (max-width: 900px) { .founder { max-width: 540px; } }
.founder__photo { margin: -30px -28px 4px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.founder__photo img { display: block; width: 100%; height: auto; }
.founder__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.founder__list li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; color: var(--text-2); }
.founder__list li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }

/* ---------- Reveal on scroll (progressive: content visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Motion preferences ---------- */
/* Page-hero entrance (inner pages): eyebrow, title, lede and actions rise in on load */
.js .page-hero .wrap > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.js .page-hero .wrap > :nth-child(2) { animation-delay: .08s; }
.js .page-hero .wrap > :nth-child(3) { animation-delay: .16s; }
.js .page-hero .wrap > :nth-child(4) { animation-delay: .24s; }
.js .page-hero .wrap > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js .reveal--late { transition-delay: .15s; }

/* Staggered children once their block is revealed */
.js .reveal .founder__list li,
.js .reveal .next__list li,
.js .reveal .choice__opt { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-in .founder__list li,
.js .reveal.is-in .next__list li,
.js .reveal.is-in .choice__opt { opacity: 1; transform: none; }
.js .reveal.is-in :is(.founder__list, .next__list) li:nth-child(1), .js .reveal.is-in .choice__opt:nth-child(1) { transition-delay: .2s; }
.js .reveal.is-in :is(.founder__list, .next__list) li:nth-child(2), .js .reveal.is-in .choice__opt:nth-child(2) { transition-delay: .28s; }
.js .reveal.is-in :is(.founder__list, .next__list) li:nth-child(3), .js .reveal.is-in .choice__opt:nth-child(3) { transition-delay: .36s; }
.js .reveal.is-in :is(.founder__list, .next__list) li:nth-child(4) { transition-delay: .44s; }
.js .reveal.is-in .founder__list li:nth-child(5) { transition-delay: .52s; }
.js .reveal.is-in .founder__list li:nth-child(6) { transition-delay: .6s; }
/* Founder photo settles from a slight zoom */
.js .founder.reveal .founder__photo img { transform: scale(1.06); transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.js .founder.reveal.is-in .founder__photo img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .console li { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal :is(.founder__list li, .next__list li, .choice__opt), .js .founder .founder__photo img { opacity: 1; transform: none; }
  .js .stats .cves li { opacity: 1; transform: none; }
}

/* ---------- Step-2 details form (/scope) ---------- */
.details { max-width: 720px; margin: 56px auto 0; }
.details h2 .optional { font-family: var(--font-body); font-size: 0.95rem; font-weight: 400; color: var(--text-3); }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset legend { margin-bottom: 10px; padding: 0; }

/* ---------- Spacing fixes ---------- */
.page-hero + .section { padding-top: clamp(16px, 3vw, 32px); }
.prose > :first-child { margin-top: 0; }
.details > div:first-of-type p { margin-top: 8px; }

.nowrap { white-space: nowrap; }

/* ---------- Header actions ---------- */
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__demo { font-size: 0.95rem; font-weight: 500; color: var(--text-2); text-decoration: none; white-space: nowrap; }
.nav__demo:hover { color: var(--text); }
.nav-mobile__panel .btn + .btn { margin-top: 8px; }

/* ---------- Hero (offer-led) ---------- */
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1.02rem; }
.hero__sub { margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.15; color: var(--text); text-wrap: balance; }
.hero__sub + .lede { margin-top: 18px; }
.hero .lede { max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__note { margin-top: 14px; font-size: 0.88rem; color: var(--text-3); }
@media (max-width: 480px) { .hero__actions .btn { flex: 1 1 100%; } }

/* ---------- Engagement race (problem section) ---------- */
.race { grid-column: 1 / -1; margin-top: 56px; padding: 26px 28px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); display: grid; gap: 18px; }
.race__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; align-items: center; }
.race__label { display: grid; gap: 2px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.race__label b { color: var(--text-2); font-weight: 500; }
.race__row--ts .race__label b { color: var(--text); }
.race__track { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; align-items: center; }
.seg { display: flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 6px; font-size: 0.78rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg--w1 { grid-column: span 1; } .seg--w2 { grid-column: span 2; } .seg--w3 { grid-column: span 3; }
.seg--sched { background: var(--surface-2); color: var(--text-3); border: 1px dashed var(--line-2); }
.seg--test { background: #20252b; color: var(--text-2); }
.seg--report { background: #262c33; color: var(--text-2); }
.seg--ts { background: var(--red); color: #fff; box-shadow: 0 0 24px -4px rgba(225,29,72,.6); padding: 0 8px; justify-content: center; }
.race__done { grid-column: span 7; padding-left: 12px; font-size: 0.85rem; color: var(--green); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.race__axis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; margin-left: 220px; font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 8px; }
.race__axis span:last-child { text-align: right; }
.js .race .seg { transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.2,.7,.2,1), opacity .35s ease; }
.js .race.is-in .seg, .js .reveal.is-in .race .seg { transform: none; }
.js .reveal.is-in .race .seg--test { transition-delay: .25s; }
.js .reveal.is-in .race .seg--report { transition-delay: .5s; }
@media (max-width: 760px) {
  .race { padding: 20px 18px 16px; }
  .race__row { grid-template-columns: 1fr; gap: 10px; }
  .race__axis { margin-left: 0; }
  .seg { font-size: 0.68rem; padding: 0 6px; }
  .race__done { white-space: normal; font-size: 0.78rem; }
}

/* Homepage problem chart: releases vs a snapshot pentest vs ThreatStrike */
.race__track--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.race__track--24 { grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; }
.seg--w5 { grid-column: span 5; }
.seg--stale { background: repeating-linear-gradient(135deg, rgba(225,29,72,.16) 0 6px, transparent 6px 12px); border: 1px solid rgba(225,29,72,.45); color: #ffb3c1; }
.rel { height: 26px; border-radius: 3px; background: var(--line-2); }
.rel--ts { background: var(--red); opacity: .85; }
.rel--ts:nth-of-type(3n) { opacity: .6; }
.js .reveal.is-in .race .seg--stale { transition-delay: .75s; }
/* Live timeline: site.js sweeps a playhead across the weeks (hover/drag scrubs it). Items ahead of it dim;
   releases flash as they ship, ThreatStrike ticks pulse as they're tested, the stale bar counts up. */
.race--life { position: relative; }
.race--life.is-armed .race__row { cursor: ew-resize; touch-action: pan-y; }
.race--life .rel { transition: opacity .35s ease; }
.race--life.is-playing .rel:not(.is-past), .race--life.is-playing .seg:not(.is-past) { opacity: .28; }
.race--life .rel.is-flash { animation: ship .6s ease-out; }
.race--life .rel--ts.is-flash { animation: tested .8s ease-out; }
.race--life .seg--stale.is-flash { animation: stale-bump .6s ease-out; }
.race--life .seg--ts.is-live { background-image: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); background-size: 250% 100%; animation: sheen 1.1s linear infinite; }
@keyframes ship { 0% { background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.5); } 100% { background: var(--line-2); box-shadow: none; } }
@keyframes tested { 0% { opacity: 1; transform: scaleY(1.45); box-shadow: 0 0 14px 2px rgba(225,29,72,.9); background: #ff7a93; } 100% { transform: none; box-shadow: none; } }
@keyframes stale-bump { 0% { border-color: #ff4d6d; box-shadow: inset 0 0 14px rgba(225,29,72,.35); } 100% { border-color: rgba(225,29,72,.45); box-shadow: none; } }
@keyframes sheen { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.race__scan {
  position: absolute; top: 0; left: 0; width: 1px; pointer-events: none; opacity: 0; transition: opacity .4s ease;
  background: linear-gradient(to bottom, transparent, rgba(255,77,109,.9) 14%, rgba(255,77,109,.9) 86%, transparent);
  box-shadow: 0 0 10px 1px rgba(225,29,72,.45);
}
.race__scan.is-on { opacity: 1; }
.race__scan b {
  position: absolute; bottom: 100%; left: 0; transform: translate(-50%, -2px);
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: #fff; background: var(--red); padding: 2px 6px; border-radius: 4px;
}
@media (max-width: 760px) { .race__scan b { bottom: auto; top: 100%; transform: translate(-50%, 0); } }
@media (max-width: 760px) {
  .race__track--24 { gap: 2px; }
  .rel { height: 20px; }
}

/* ---------- Offerings ---------- */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.offer { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3.4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s ease; }
/* Spotlight that follows the pointer (site.js sets --mx/--my). */
.offer::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(225,29,72,.09), transparent 65%); }
.offer:hover { border-color: #3a2a30; }
.offer:hover::before { opacity: 1; }
.offer--primary { background: radial-gradient(120% 90% at 100% 0%, rgba(225,29,72,.14), transparent 55%), var(--surface); border-color: rgba(225,29,72,.4); }
.offer__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 26px; }
.offer__kicker { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-hi); }
.offer h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.12; }
.offer > p { color: var(--text-2); font-size: 1.02rem; }
.offer__spec { margin: 8px 0 10px; display: grid; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.offer__spec div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
.offer__spec dt { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.offer__spec dd { margin: 0; color: var(--text-2); font-size: 0.95rem; }
.offer__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.offer__more { font-weight: 500; color: var(--text-2); text-decoration: none; white-space: nowrap; }
.offer__more:hover { color: var(--text); }
.offer__more .arrow { transition: transform .15s ease; display: inline-block; }
.offer__more:hover .arrow { transform: translateX(3px); }
/* Mini comparison bars inside the product cards */
.mini { display: grid; gap: 10px; margin: 4px 0; padding: 16px 18px; border-radius: var(--radius); background: var(--bg, #0a0b0d); border: 1px solid var(--line); }
.mini__row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; }
.mini__label { display: grid; gap: 1px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.mini__label span { color: var(--text-3); }
.mini__row--ts .mini__label { color: var(--text); }
.mini .seg { height: 24px; font-size: 0.68rem; padding: 0 8px; }
.mini .seg--ts { padding: 0 4px; }
.mini .ticks { margin-top: 0; height: 24px; gap: 2px; }
.js .mini .seg { transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in .mini .seg { transform: none; }
.js .reveal.is-in .mini .seg--test { transition-delay: .25s; }
.js .reveal.is-in .mini .seg--report { transition-delay: .5s; }
@media (max-width: 480px) {
  .mini { padding: 14px; }
  .mini__row { grid-template-columns: 1fr; gap: 6px; }
  .mini__label { grid-template-columns: auto auto; justify-content: space-between; }
  .mini .seg { font-size: 0.62rem; padding: 0 5px; }
}
/* Pentest mini: a looping race. site.js sets --f (0-1) on each bar; the fill sits under the label text. */
.mini--race .seg { position: relative; isolation: isolate; }
.mini--race .seg::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(var(--f, 0)); transform-origin: left;
  background: linear-gradient(90deg, rgba(255,255,255,.07), rgba(255,255,255,.17)); box-shadow: inset -2px 0 0 rgba(255,255,255,.55); }
.mini--race .seg--ts::after { background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.3)); box-shadow: none; }
.mini--race.is-reset .seg::after { transition: transform .4s ease; }
.mini--race .seg--ts.is-done { animation: done-ping 1.1s ease-out; }
@keyframes done-ping { 0% { box-shadow: 0 0 0 0 rgba(61,220,151,.55), 0 0 24px -4px rgba(225,29,72,.6); } 100% { box-shadow: 0 0 0 10px rgba(61,220,151,0), 0 0 24px -4px rgba(225,29,72,.6); } }
.mini--race .seg--ts.is-done::before { content: "\2713\00a0"; color: #b9ffe0; }
/* "Done" is wider than a few days' worth of bar: let the pill grow past its cell instead of clipping. */
.mini--race .seg--ts.is-done { justify-self: start; width: max-content; min-width: 100%; padding: 0 10px; }
.mini__label span.is-counting { color: var(--text-2); font-variant-numeric: tabular-nums; }

/* Pipeline mini: releases stream in from the right and get tested at the "now" line. site.js doubles the
   ticks and wraps them so the strip can scroll seamlessly. */
.ticks-win { position: relative; overflow: hidden; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%); mask-image: linear-gradient(90deg, transparent, #000 8%); }
.mini .ticks.is-live { grid-template-columns: repeat(104, minmax(0, 1fr)); width: calc(200% + 2px); animation: stream 26s linear infinite; }
@keyframes stream { to { transform: translateX(calc(-50% - 1px)); } }
/* Releases to the right of the "now" line are queued (dimmed); they light up as they cross it. */
.mini__row--ts .ticks-win::before { content: ""; position: absolute; inset: 0 0 0 auto; width: 16%; z-index: 1; pointer-events: none; background: rgba(10,11,13,.68); }
.mini__row--ts .ticks-win::after { content: ""; position: absolute; top: 0; bottom: 0; right: 16%; width: 18px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,140,160,.4)); box-shadow: inset -2px 0 0 #ff7a93; }
.mini:not(.is-visible) .ticks.is-live { animation-play-state: paused; }

@media (max-width: 900px) { .offers { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .offer__spec div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Steps (5-up) ---------- */
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps--5 .step { padding: 26px 22px 28px; }
.steps--5 .step h3 { font-size: 1.25rem; }
.steps--5 .step p { font-size: 0.93rem; }
.steps__note { margin-top: 24px; color: var(--text-3); font-size: 0.95rem; }
@media (max-width: 1080px) { .steps--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .steps--5 .step::after { display: none; } }
@media (max-width: 760px) { .steps--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps--5 { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; }
.faq-wrap .section-head a { color: var(--text); text-decoration-color: var(--red); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--font-mono); font-size: 1.3rem; font-weight: 400; color: var(--red-hi); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: #fff; }
.faq details p { padding: 0 40px 24px 0; color: var(--text-2); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- Closing CTA actions ---------- */
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 900px) { .cta__actions { justify-content: flex-start; } }

/* ---------- Intake (/get-started) ---------- */
.choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice__opt { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer; }
.choice__opt:hover { border-color: var(--text-3); }
.choice__opt input { accent-color: var(--red); width: 16px; height: 16px; margin: 3px 0 0; flex: none; }
.choice__opt b { display: block; color: var(--text); font-weight: 600; }
.choice__opt small { display: block; margin-top: 2px; color: var(--text-3); font-size: 0.85rem; }
.choice__opt:has(input:checked) { border-color: var(--red); background: rgba(225,29,72,.06); box-shadow: 0 0 0 1px var(--red) inset; }
@media (max-width: 720px) { .choice { grid-template-columns: 1fr; } }
.intake .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 340px) { .intake .checks { grid-template-columns: 1fr; } }
.next h2 { font-size: 1.3rem; }
.next__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: next; }
.next__list li { counter-increment: next; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; color: var(--text-2); font-size: 0.95rem; }
.next__list li::before { content: counter(next, decimal-leading-zero); grid-row: span 2; font-family: var(--font-mono); font-size: 0.78rem; color: var(--red-hi); padding-top: 2px; }
.next__list b { color: var(--text); font-weight: 600; }
.next__alt { padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.92rem; }
.next__alt a { color: var(--text); }
.textarea--sm { min-height: 88px; }
