/* Safety Island Self-Assessment V2 (2026-10-19).
   Every value comes from design/laserglow-signal-system.html (Reference: Tokens; Controls; Loading
   Screen), the one visual authority. The shell (top bar, crumbs, bottom bar, buttons, the form card,
   the loader) is the PULSE Project Builder V2's, rule for rule, so the two tools read as one journey;
   where V2 and the Signal System differ, this file follows the Signal System (DESIGN.md D1 to D6).
   Two themes since round 2 (Gui): dark, the default, and light, both on the Signal System's semantic
   sets under :root[data-theme]. Components name only semantic tokens and the tool's surface roles
   (--sa-*), so nothing is themed twice. The photographic sections (intro, result hero) keep the dark
   set in both themes: type over a photograph stays white on its scrim. The form card is always light
   (--lc-*). Tool components carry an sa- prefix. */

/* ═══════════ LAYER 1 · PRIMITIVES ═══════════ */
:root {
  --red-mark: #ed1c24; --red-500: #ff3a42; --red-600: #e02a32; --red-400: #ff6169;
  --d1: #3d8bff; --d3: #9b7bff; --d6: #35c76a;
  --r-xs: 6px; --r-sm: 9px; --r-md: 12px; --r-lg: 16px; --r-xl: 22px; --r-full: 999px;
  --field-h: 46px; --field-px: 16px; --field-h-c: 34px; --field-px-c: 12px;
  --field-border: 1.5px; --field-ring: 3px;
  --sp-eyebrow-title: 26px; --sp-title-text: 22px; --sp-text-action: 36px; --sp-field: 22px;
  --sp-block: clamp(52px, 7vw, 84px);
  --display: "Wix Madefor Display", system-ui, sans-serif;
  --text-f: "Wix Madefor Text", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .6, .2, 1); --ease-cine: cubic-bezier(.65, 0, .25, 1);
  --bar-h: 64px; --nav-h: 76px; --gutter: clamp(16px, 4vw, 40px); --maxw: 1240px;
  /* white on --red-500 is 3.54:1; on --red-600 4.62:1 (DESIGN D2, the builder's --accent-fill) */
  --accent-fill: var(--red-600);
}

/* ═══════════ LAYER 2 · SEMANTIC SURFACES ═══════════ */
/* Dark (Signal System Reference, :root[data-theme="dark"]): the default, and the set the photographic
   sections keep in both themes */
:root, :root[data-theme="dark"], .sa-intro, .sa-hero {
  color-scheme: dark;
  --s-0: #16171c; --s-50: #0d0e12; --s-100: #1d1f25; --s-200: #292c34;
  --border: #262931; --border-soft: #20222a;
  --c-hi: #f2f3f6; --c-mid: #9aa0ad; --c-lo: #6a7080;
  --accent: var(--red-500); --accent-hov: var(--red-400);
  --accent-wash: rgba(255, 58, 66, .15); --track: #262931;
  --t-1: #576174; --t-2: #96a0b4; --t-3: #dde2ea;
  --accent-ink: var(--red-400); --ok-ink: var(--d6); --mark-6: var(--d6);
  --rule: #616877;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 38px -18px rgba(0, 0, 0, .72);
  --on-media: #ffffff; --on-media-soft: rgba(255, 255, 255, .84);
  --lc-s-0: #ffffff; --lc-s-50: #f6f7f8; --lc-s-100: #eff0f2; --lc-s-200: #e3e5e8;
  --lc-border: #e3e5e8; --lc-c-hi: #0c0d0f; --lc-c-mid: #5f636d;
  --lc-accent-ink: #cc2d34; --lc-accent-wash: rgba(255, 58, 66, .09); --lc-rule: #858fa0;
  /* the tool's surface roles: the page, a card on it, a card's edge, a seam between bars and the page,
     an inset inside a card, a line or control edge inside a card, a hover fill, the bottom bar's glass,
     a meter segment that is on, a ladder rung already passed */
  --sa-page: var(--s-50); --sa-card: var(--s-0); --sa-edge: var(--border); --sa-seam: var(--border);
  --sa-inset: var(--s-50); --sa-line: var(--rule); --sa-hover: var(--s-100); --sa-bar: rgba(22, 23, 28, .96);
  --sa-meter-on: var(--t-3); --sa-meter-off: var(--track); --sa-bar-past: var(--t-2); --sa-ctrl-edge: var(--rule);
  --sa-card-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --sa-mark-red: var(--accent); --sa-done-edge: var(--rule);
}
/* Light (Signal System Reference, :root[data-theme="light"]). Cards are off-white (--s-100) on the white
   page, edged in --rule (3.26:1 against the page; CLAUDE.md 29). Inside an off-white card a line or a
   control edge takes --c-mid (5.27:1), because --rule there is only 2.86:1. Meters and passed rungs take
   --t-1 (8.9:1); --t-2 would be 2.78:1. */
:root[data-theme="light"] {
  color-scheme: light;
  --s-0: #ffffff; --s-50: #f6f7f8; --s-100: #eff0f2; --s-200: #e3e5e8;
  --border: #e3e5e8; --border-soft: #ecedef;
  --c-hi: #0c0d0f; --c-mid: #5f636d; --c-lo: #8f939d;
  --accent: var(--red-500); --accent-hov: var(--red-600);
  --accent-wash: rgba(255, 58, 66, .09); --track: #e7e9ec;
  --t-1: #3c4657; --t-2: #8891a3; --t-3: #c6ccd7;
  --accent-ink: #cc2d34; --ok-ink: #1a6b3c; --mark-6: #24a355;
  --rule: #858fa0;
  --shadow: 0 1px 2px rgba(12, 13, 15, .06), 0 16px 38px -18px rgba(12, 13, 15, .22);
  --sa-page: var(--s-0); --sa-card: var(--s-100); --sa-edge: var(--rule); --sa-seam: var(--rule);
  --sa-inset: var(--s-0); --sa-line: var(--c-mid); --sa-hover: var(--s-50); --sa-bar: rgba(255, 255, 255, .96);
  --sa-meter-on: var(--t-1); --sa-meter-off: var(--t-3); --sa-bar-past: var(--t-1); --sa-ctrl-edge: var(--rule);
  --sa-card-shadow: 0 24px 60px -32px rgba(12, 13, 15, .28);
  /* a red mark takes the ink red (4.61:1 on --s-100; --red-500 is 3.10:1 there and 2.19:1 on a meter track) */
  --sa-mark-red: var(--accent-ink); --sa-done-edge: var(--rule);
}
/* inside an off-white card, a control or a line takes the card's line token */
.sa-card, .sa-row, .sa-choice label { --sa-ctrl-edge: var(--sa-line); }

/* the theme-switch guard (Signal System): a transitioned property fed by a token keeps the previous
   theme's value, so transitions are off for the one frame of the switch */
html.theme-switching *, html.theme-switching *::before, html.theme-switching *::after { transition: none !important; }

/* Fonts by file path, static weights (DESIGN D3; visual skill 29, 30) */
@font-face { font-family: "Wix Madefor Display"; font-weight: 800; font-display: swap; src: url("../fonts/WixMadeforDisplay-ExtraBold-latin.ttf") format("truetype"); }
@font-face { font-family: "Wix Madefor Display"; font-weight: 700; font-display: swap; src: url("../fonts/WixMadeforDisplay-Bold-latin.ttf") format("truetype"); }
@font-face { font-family: "Wix Madefor Text"; font-weight: 400; font-display: swap; src: url("../fonts/WixMadeforText-Regular-latin.ttf") format("truetype"); }
@font-face { font-family: "Wix Madefor Text"; font-weight: 600; font-display: swap; src: url("../fonts/WixMadeforText-SemiBold-latin.ttf") format("truetype"); }

/* ═══════════ BASE ═══════════ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { margin: 0; background: var(--sa-page); color: var(--c-hi); font-family: var(--text-f); font-size: 1rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow: hidden; text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; color: var(--c-hi); }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
b, strong { font-weight: 600; }
.eyebrow { display: inline-block; font-family: var(--display); font-weight: 800; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-mid); }
.signal { display: inline-block; background: var(--accent-fill); color: #ffffff; font-family: var(--display); font-weight: 800; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; padding: 8px 15px 7px; line-height: 1; border-radius: var(--r-full); }

/* ═══════════ LAYER 3 · CONTROLS (the contract) ═══════════ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: var(--field-h); padding: 0 21px; border-radius: var(--r-md);
  border: var(--field-border) solid transparent; background: transparent; color: var(--c-hi); font-family: var(--display); font-weight: 700; font-size: .95rem;
  white-space: nowrap; text-decoration: none; transition: background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--accent-fill); color: #ffffff; }
.btn-primary:hover { background: #cc2d34; }
.btn-line { background: var(--s-0); border-color: var(--rule); color: var(--c-hi); }
.btn-line:hover { background: var(--s-100); }
.btn-sm { height: var(--field-h-c); padding: 0 var(--field-px-c); font-size: .85rem; border-radius: var(--r-sm); }
.btn-block { width: 100%; }
.btn:focus-visible { outline: 0; box-shadow: 0 0 0 var(--field-ring) var(--accent-wash), 0 0 0 1px var(--accent); }
.lnk { background: none; border: 0; padding: 0; font-family: var(--display); font-weight: 700; color: var(--c-hi); text-decoration: underline; text-decoration-color: var(--rule);
  text-underline-offset: 4px; text-decoration-thickness: 2px; }
.lnk:hover { text-decoration-color: var(--accent); }

/* ═══════════ LOADING SCREEN (Signal System Loading Screen, as V2) ═══════════ */
.sa-loader { position: fixed; inset: 0; z-index: 300; overflow: hidden; background: var(--sa-page); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; padding: 28px; text-align: center; transition: opacity .55s var(--ease), visibility 0s linear .55s; }
.sa-loader.out { opacity: 0; visibility: hidden; }
.load-msg { font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: -.02em; color: var(--c-hi); }
.load-glow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.load-glow .g { position: absolute; inset: -30px; will-change: filter; }
.load-glow .g-far { filter: blur(17px); opacity: .9; } .load-glow .g-near { filter: blur(8px); opacity: 1; }
.load-glow .b { position: absolute; inset: 0; overflow: hidden; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.load-glow .g-far .b { padding: 40px; } .load-glow .g-near .b { padding: 30px; }
.load-glow i { position: absolute; left: 50%; top: 50%; width: 150vmax; height: 150vmax; margin: -75vmax 0 0 -75vmax; display: block; transform-origin: 50% 50%;
  background: conic-gradient(from 0deg, transparent 0 2%, color-mix(in srgb, var(--red-500) 45%, transparent) 8%, var(--red-400) 15%, color-mix(in srgb, #fff 55%, var(--red-400)) 20%, var(--d3) 28%, var(--d1) 36%, color-mix(in srgb, var(--d1) 45%, transparent) 44%, transparent 54%, color-mix(in srgb, var(--red-500) 30%, transparent) 64%, color-mix(in srgb, var(--d3) 45%, transparent) 74%, color-mix(in srgb, var(--d1) 32%, transparent) 82%, transparent 92% 100%); }
.load-glow .g-far i { animation: load-glow-spin 8s linear infinite; } .load-glow .g-near i { animation: load-glow-spin-r 5s linear infinite; }
@keyframes load-glow-spin { to { transform: rotate(360deg); } } @keyframes load-glow-spin-r { to { transform: rotate(-360deg); } }
.load-logo { width: min(300px, 58%); height: auto; display: block; overflow: visible; }
.load-logo .mark path { fill: #ed1c24; opacity: 0; transform-box: fill-box; transform-origin: 12% 88%; animation: load-ray 3.6s cubic-bezier(.2, .7, .2, 1) infinite; }
.load-logo .mark path:nth-child(2) { animation-delay: .07s; } .load-logo .mark path:nth-child(3) { animation-delay: .14s; }
.load-logo .mark path:nth-child(4) { animation-delay: .21s; } .load-logo .mark path:nth-child(5) { animation-delay: .28s; }
.load-logo .word path { fill: var(--c-hi); opacity: 0; transform-box: fill-box; transform-origin: 50% 65%; animation: load-let 3.6s cubic-bezier(.2, .7, .2, 1) infinite; }
.load-logo .word path:nth-child(1) { animation-delay: .5s; } .load-logo .word path:nth-child(2) { animation-delay: .56s; } .load-logo .word path:nth-child(3) { animation-delay: .62s; }
.load-logo .word path:nth-child(4) { animation-delay: .68s; } .load-logo .word path:nth-child(5) { animation-delay: .74s; } .load-logo .word path:nth-child(6) { animation-delay: .8s; }
.load-logo .word path:nth-child(7) { animation-delay: .86s; } .load-logo .word path:nth-child(8) { animation-delay: .92s; } .load-logo .word path:nth-child(9) { animation-delay: .98s; }
@keyframes load-ray { 0% { opacity: 0; transform: scale(.35); } 9% { opacity: 1; transform: scale(1); } 70% { opacity: 1; transform: scale(1); } 83%, 100% { opacity: 0; transform: scale(.35); } }
@keyframes load-let { 0% { opacity: 0; transform: scale(.72); } 11% { opacity: 1; transform: scale(1); } 70% { opacity: 1; transform: scale(1); } 83%, 100% { opacity: 0; transform: scale(.72); } }

/* ═══════════ APP SHELL ═══════════ */
#app { position: fixed; inset: 0; display: grid; grid-template-rows: var(--bar-h) 1fr; }
.topbar { position: relative; z-index: 40; display: flex; align-items: center; gap: 20px; padding: 0 var(--gutter); background: var(--s-0); border-bottom: 1px solid var(--sa-seam); }
.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand img { height: 26px; width: auto; }
/* the official logo file for the surface: the white wordmark on dark, the dark one on light */
:root[data-theme="light"] .brand .logo-on-dark, :root:not([data-theme="light"]) .brand .logo-on-light { display: none; }
/* the theme toggle: an icon button on the control contract; the icon shows the theme a press switches to */
.sa-theme { width: var(--field-h-c); padding: 0; }
.sa-theme svg { width: 18px; height: 18px; }
:root[data-theme="light"] .sa-theme .i-sun, :root:not([data-theme="light"]) .sa-theme .i-moon { display: none; }
.crumbs { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; }
.crumb { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px; border: 0; background: none; border-radius: var(--r-sm); color: var(--c-mid);
  font-family: var(--display); font-weight: 700; font-size: .84rem; white-space: nowrap; }
button.crumb:hover { color: var(--c-hi); background: var(--sa-hover); }
.crumb .dot { width: 24px; height: 24px; border-radius: var(--r-full); display: grid; place-items: center; border: var(--field-border) solid var(--rule);
  font-family: var(--display); font-weight: 800; font-size: .74rem; font-variant-numeric: tabular-nums; color: var(--c-hi); flex: none; }
.crumb.done .dot { background: var(--s-200); border-color: var(--sa-done-edge); }
.crumb.done .dot svg { width: 12px; height: 12px; }
.crumb.active { color: var(--c-hi); }
.crumb.active .dot { background: var(--accent-fill); border-color: var(--accent-fill); color: #ffffff; }
.crumb[aria-disabled="true"] { cursor: default; }
.crumb-line { width: 18px; height: 1.5px; background: var(--rule); flex: none; }
.sa-toolname { font-family: var(--display); font-weight: 700; font-size: .9rem; color: var(--c-mid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-acts { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.exit-short { display: none; }
.sa-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--track); }
.sa-progress i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .6s var(--ease); }
.main { position: relative; overflow: hidden; }
.view { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
.view.has-nav { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }

.stepnav { position: absolute; z-index: 20; left: 0; right: 0; bottom: 0; height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding: 0 var(--gutter) env(safe-area-inset-bottom);
  display: flex; align-items: center; gap: 16px; background: var(--sa-bar); border-top: 1px solid var(--sa-seam);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform .3s var(--ease); }
.stepnav.away { transform: translateY(100%); }
.stepnav .hint { flex: 1 1 auto; min-width: 0; color: var(--c-mid); font-size: .9rem; }
.stepnav .hint.flag { color: var(--accent-ink); animation: shake .5s var(--ease); }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

/* ═══════════ SHARED PIECES ═══════════ */
.sa-q { padding-top: clamp(28px, 4vw, 52px); padding-bottom: 48px; }
.sa-qhead h1 { margin-top: 14px; font-size: clamp(2rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.sa-lead { margin-top: 16px; font-size: 1.06rem; line-height: 1.6; color: var(--c-mid); }
.sa-help { margin-top: 10px; font-size: .95rem; color: var(--c-mid); }
.sa-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 40px; align-items: start; }
.sa-card { background: var(--sa-card); border: 1px solid var(--sa-edge); border-radius: var(--r-lg); }
.sa-fam { margin: 28px 0 12px; font-family: var(--display); font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-mid); }
.sa-fam:first-child { margin-top: 0; }

/* meters: three segments, the Maturity Path per Risk Unit */
.sa-meter { display: inline-flex; gap: 3px; flex: none; }
.sa-meter i { width: 16px; height: 4px; border-radius: var(--r-full); background: var(--sa-meter-off); }
.sa-meter i.on { background: var(--sa-meter-on); }

/* radio tiles (V2 .tile/.tile-b, on dark tokens) */
.sa-tiles { display: grid; gap: 10px; }
.sa-tiles.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sa-tiles.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sa-tiles.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sa-tile { position: relative; display: block; min-width: 0; cursor: pointer; }
.sa-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sa-tile-b { display: flex; align-items: center; gap: 12px; height: 100%; min-height: var(--field-h); padding: 11px 14px; border-radius: var(--r-md); border: var(--field-border) solid var(--sa-ctrl-edge);
  background: var(--s-0); transition: border-color .16s var(--ease), background .16s var(--ease); }
.sa-tile-b .rd { width: 18px; height: 18px; flex: none; border-radius: var(--r-full); border: var(--field-border) solid var(--sa-ctrl-edge); display: grid; place-items: center; }
.sa-tile-b .rd::after { content: ""; width: 8px; height: 8px; border-radius: var(--r-full); background: transparent; }
.sa-tile-b .tx { min-width: 0; }
.sa-tile-b .o-main { display: block; font-family: var(--display); font-weight: 700; font-size: .92rem; line-height: 1.3; color: var(--c-hi); }
.sa-tile-b .o-sub { display: block; margin-top: 2px; font-size: .8rem; line-height: 1.4; color: var(--c-mid); }
.sa-tile:hover .sa-tile-b { background: var(--sa-hover); }
.sa-tile input:checked + .sa-tile-b { border-color: var(--c-hi); box-shadow: 0 0 0 1px var(--c-hi); }
.sa-tile input:checked + .sa-tile-b .rd { border-color: var(--accent-fill); }
.sa-tile input:checked + .sa-tile-b .rd::after { background: var(--accent-fill); }
.sa-tile input:focus-visible + .sa-tile-b { box-shadow: 0 0 0 var(--field-ring) var(--accent-wash), 0 0 0 1px var(--accent); }
.sa-group { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.sa-group legend { padding: 0; margin-bottom: 12px; font-family: var(--display); font-weight: 700; font-size: 1.02rem; line-height: 1.35; color: var(--c-hi); }
.sa-group.missing legend { color: var(--accent-ink); }

/* selects on dark */
.sa-field { display: grid; gap: 8px; min-width: 0; }
.sa-field label { font-family: var(--display); font-weight: 700; font-size: .92rem; }
.sa-select { width: 100%; height: var(--field-h); padding: 0 42px 0 var(--field-px); font-family: var(--text-f); font-size: 1rem; color: var(--c-hi); background-color: var(--s-0);
  border: var(--field-border) solid var(--rule); border-radius: var(--r-md); appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--c-mid) 50%), linear-gradient(135deg, var(--c-mid) 50%, transparent 50%);
  background-position: calc(100% - 22px) 20px, calc(100% - 16px) 20px; background-size: 6px 6px; background-repeat: no-repeat; }
.sa-select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 var(--field-ring) var(--accent-wash); }
.sa-select.missing { border-color: var(--accent-ink); }
.sa-select:disabled { opacity: 1; cursor: default; color: var(--c-hi); }

/* stills */
.sa-still { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #050608; }
.sa-still img { width: 100%; height: 100%; object-fit: cover; }

/* ═══════════ INTRO ═══════════ */
.sa-intro { position: relative; min-height: 100%; display: flex; align-items: center; overflow: hidden; background: #050608; }
.sa-intro .media { position: absolute; inset: 0; }
.sa-intro .media video, .sa-intro .media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 62%; }
.sa-intro .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 6, 8, .92) 0%, rgba(5, 6, 8, .86) 46%, rgba(5, 6, 8, .35) 100%); }
.sa-intro .copy { position: relative; padding-top: 48px; padding-bottom: 64px; }
.sa-intro .col { width: min(100%, 58%); }
.sa-intro h1 { margin-top: var(--sp-eyebrow-title); font-size: clamp(2.3rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.03; color: var(--on-media); }
.sa-intro .sub { margin-top: var(--sp-title-text); font-size: 1.15rem; line-height: 1.6; color: var(--on-media-soft); }
.sa-intro .btn { margin-top: var(--sp-text-action); }
.sa-intro .meta { margin-top: 18px; font-size: .92rem; line-height: 1.55; color: var(--on-media-soft); }

/* ═══════════ Q1 ═══════════ */
.sa-q1 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 40px; align-items: start; }
.sa-q1 .left { position: sticky; top: 24px; }
.sa-stage-wrap { margin-top: 26px; }
.sa-stage-name { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.015em; }
.sa-stage-cap { margin-top: 6px; color: var(--c-mid); font-size: .95rem; }
.sa-stage { position: relative; margin-top: 14px; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #050608; border: 1px solid var(--sa-edge); }
.sa-stage > img, .sa-stage > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sa-stage > img { object-fit: cover; }
.sa-stage > iframe { pointer-events: none; opacity: 0; transition: opacity .35s var(--ease); }
.sa-stage > iframe.live { opacity: 1; }
.sa-stage-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; min-height: var(--field-h-c); }
.sa-stage-fb { font-size: .86rem; color: var(--c-mid); }
/* the governance line under every stage (PULSE skill rule 28): small, in the stage's own column */
.sa-gov { margin-top: 10px; font-size: .78rem; line-height: 1.5; color: var(--c-mid); }
.sa-tally { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--sa-card); border: 1px solid var(--sa-edge);
  font-family: var(--display); font-weight: 700; font-size: .98rem; }
.sa-tally .n { min-width: 44px; height: 44px; padding: 0 8px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--accent-fill); color: #ffffff;
  font-weight: 800; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.sa-tally .n.bump { animation: bump .5s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.22); } 100% { transform: scale(1); } }
.sa-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.sa-choice { position: relative; }
.sa-choice label { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); background: var(--sa-card); border: var(--field-border) solid var(--sa-ctrl-edge); overflow: hidden; cursor: pointer;
  transition: border-color .16s var(--ease); }
/* a Q1 card is a control, so its resting edge clears 3:1 in both themes (--rule); hover steps up to --c-mid (PM, round 2) */
.sa-choice label:hover { border-color: var(--c-mid); }
.sa-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sa-choice .body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 10px; padding: 12px 12px 14px; }
.sa-choice .tx { grid-column: 1; font-size: .8rem; line-height: 1.45; color: var(--c-mid); }
.sa-choice .nm { display: block; margin-bottom: 3px; font-family: var(--display); font-weight: 700; font-size: .92rem; line-height: 1.25; color: var(--c-hi); }
.sa-choice .gl { display: block; }
.sa-box { position: absolute; z-index: 2; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: var(--r-xs); border: var(--field-border) solid var(--sa-ctrl-edge); display: grid; place-items: center; background: var(--s-0); }
.sa-box svg { width: 14px; height: 14px; opacity: 0; }
.sa-choice input:checked + label { border-color: var(--c-hi); box-shadow: 0 0 0 1px var(--c-hi); }
.sa-choice input:checked + label .sa-box { background: var(--accent-fill); border-color: var(--c-hi); }
.sa-choice input:checked + label .sa-box svg { opacity: 1; }
.sa-choice input:focus-visible + label { box-shadow: 0 0 0 var(--field-ring) var(--accent-wash), 0 0 0 1px var(--accent); }
.sa-choice .play { position: absolute; z-index: 2; right: 8px; top: 8px; display: none; }
.sa-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--r-full); border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(13, 14, 18, .88); color: #ffffff; font-family: var(--display); font-weight: 700; font-size: .78rem; }
.sa-chip svg { width: 11px; height: 11px; fill: currentColor; }

/* ═══════════ Q2 ═══════════ */
.sa-legend { margin-top: 26px; padding: 18px 20px; }
.sa-legend h2 { font-size: .98rem; font-weight: 700; letter-spacing: -.01em; }
.sa-legend ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 18px; margin-top: 14px; }
.sa-legend li b { display: block; margin-top: 8px; font-family: var(--display); font-weight: 700; font-size: .9rem; }
.sa-legend li .hn { display: block; margin-top: 3px; font-size: .82rem; line-height: 1.45; color: var(--c-mid); }
.sa-rows { display: grid; gap: 12px; margin-top: 22px; }
.sa-row { display: grid; grid-template-columns: 96px minmax(150px, 1fr) minmax(0, 2.6fr); align-items: center; gap: 16px; padding: 12px; border-radius: var(--r-lg); background: var(--sa-card); border: 1px solid var(--sa-edge); }
.sa-row .sa-still { border-radius: var(--r-sm); }
.sa-row .nm { font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1.25; }
.sa-row .fm { display: block; margin-top: 3px; font-size: .8rem; color: var(--c-mid); }
.sa-row fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sa-row .sa-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.sa-row .sa-tile-b { flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; padding: 9px 11px; }
.sa-row .sa-tile-b .o-main { font-size: .84rem; }

/* ═══════════ "Your floor" mini map (Q3 to Q6) ═══════════ */
.sa-mini { position: sticky; top: 24px; padding: 18px; }
.sa-mini h2 { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c-mid); }
.sa-mini .sa-fam { margin: 16px 0 8px; }
.sa-mini ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.sa-mini .sa-st { font-size: .68rem; white-space: nowrap; }
.sa-mini .sa-st.st-isolated { padding: 2px 7px 2px 5px; }
.sa-mini li { min-height: 56px; padding: 8px 9px; border-radius: var(--r-sm); background: var(--sa-inset); border: 1px solid var(--sa-line); display: flex; flex-direction: column; justify-content: space-between; gap: 4px; }
.sa-mini li .nm { font-family: var(--display); font-weight: 700; font-size: .74rem; line-height: 1.2; }
.sa-mini li.st-exposed { border-style: dashed; }
.sa-mini li.st-isolated { border: 1.5px solid var(--c-hi); }
.sa-mini li.st-absent { border-color: var(--border); }
.sa-mini li.st-absent .nm { color: var(--c-mid); }

/* status words with their mark (result tiles, mini map, route cards) */
.sa-st { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700; font-size: .74rem; line-height: 1.2; color: var(--c-hi); }
.sa-st::before { content: ""; width: 8px; height: 8px; border-radius: var(--r-full); flex: none; background: var(--ok-ink); }
/* the wash sits on --s-0, as the Signal System lays it: --accent-ink keeps 4.66:1 in light (4.12:1 on --s-100) */
.sa-st.st-isolated { padding: 3px 8px 3px 6px; border-radius: var(--r-full); background: linear-gradient(var(--accent-wash), var(--accent-wash)), var(--s-0); color: var(--accent-ink); }
.sa-st.st-isolated::before { background: var(--sa-mark-red); }
.sa-st.st-exposed::before { background: transparent; border: 1.5px solid var(--c-mid); width: 7px; height: 7px; }
.sa-st.st-absent { color: var(--c-mid); font-weight: 600; }
.sa-st.st-absent::before { display: none; }

/* ═══════════ Q5 route pair ═══════════ */
.sa-route-sel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.sa-pair { display: flex; align-items: center; gap: 0; margin-top: 22px; }
.sa-pair figure { margin: 0; width: 180px; flex: none; }
.sa-pair .sa-still { border-radius: var(--r-md); border: 1px solid var(--border); }
.sa-pair figcaption { margin-top: 8px; font-family: var(--display); font-weight: 700; font-size: .84rem; }
.sa-pair .ln { flex: 1 1 auto; min-width: 24px; height: 2px; background: var(--c-hi); margin: 0 10px 28px; }
.sa-note { margin-top: 18px; padding: 14px 16px; font-size: .95rem; color: var(--c-mid); }

/* ═══════════ RESULT ═══════════ */
.sa-hero { position: relative; overflow: hidden; background: #050608; }
.sa-hero .media { position: absolute; inset: 0; }
.sa-hero .media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 62%; }
.sa-hero .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 6, 8, .92) 0%, rgba(5, 6, 8, .86) 46%, rgba(5, 6, 8, .35) 100%); }
.sa-hero .wrap { position: relative; padding-top: clamp(32px, 4.5vw, 64px); padding-bottom: clamp(36px, 5vw, 64px); }
.sa-hero .col { width: min(100%, 60%); }
.sa-hero h1 { margin-top: var(--sp-eyebrow-title); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; color: var(--on-media); }
.sa-hero .eyebrow { margin-top: 28px; color: var(--on-media-soft); }
.sa-finding { margin-top: 10px; font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 2.3vw, 1.85rem); letter-spacing: -.025em; line-height: 1.15; color: var(--on-media); text-wrap: balance; }
.sa-finding b { font-weight: 800; color: var(--on-media); }
.sa-hero .sub { margin-top: 14px; font-size: 1.04rem; line-height: 1.6; color: var(--on-media-soft); }
.sa-chain { margin-top: 26px; display: block; width: 100%; height: auto; overflow: visible; }
.sa-chain .ln { stroke: #ffffff; stroke-width: 2.5; }
.sa-chain .ln.dot { stroke-dasharray: 2 5; stroke-linecap: round; }
.sa-chain .nd { fill: #ffffff; }
.sa-chain .ring { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.sa-chain .ex { fill: none; stroke: #ffffff; stroke-width: 1.5; stroke-dasharray: 3 3; }
/* keyframes declare the start only; the final state is the element's own, so anything that stops the
   animation (reduced motion, a throttled frame) still shows the finished drawing */
.sa-chain.go .ln:not(.dot) { stroke-dasharray: var(--len); animation: draw 1.5s var(--ease) both; }
.sa-chain.go .ring { animation: fadein .6s var(--ease) .6s both; }
@keyframes draw { from { stroke-dashoffset: var(--len); } }
@keyframes fadein { from { opacity: 0; } }
.sa-chainkey { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-family: var(--display); font-weight: 700; font-size: .8rem; color: var(--on-media-soft); }
.sa-chainkey span { display: inline-flex; align-items: center; gap: 7px; }
.sa-chainkey i { width: 11px; height: 11px; border-radius: var(--r-full); background: #ffffff; flex: none; }
.sa-chainkey .k-iso { background: #ffffff; box-shadow: 0 0 0 2px #050608, 0 0 0 4px var(--accent); }
.sa-chainkey .k-ex { background: transparent; border: 1.5px dashed #ffffff; }
.sa-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 26px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule); background: rgba(13, 14, 18, .9); }
.sa-kpis.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sa-kpi { padding: 16px 18px; border-left: 1px solid var(--rule); }
.sa-kpi:first-child { border-left: 0; }
.sa-kpi .n { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--on-media); }
.sa-kpi .k { display: block; margin-top: 6px; font-family: var(--display); font-weight: 700; font-size: .86rem; line-height: 1.3; color: var(--on-media); }
.sa-kpi .tp { display: block; margin-top: 4px; font-size: .78rem; line-height: 1.4; color: var(--on-media-soft); }
/* short labels balance their lines: a two-line label never ends on one word */
.sa-kpi .k, .sa-kpi .tp, .sa-stagec p, .sa-choice .tx, .sa-legend li .hn, .sa-tile-b .o-main, .sa-ru .nm, .sa-stage-cap, .sa-routec .nm { text-wrap: balance; }

.sa-sec { padding-top: var(--sp-block); }
.sa-sec h2 { margin-top: 14px; font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; }
.sa-sec .sa-lead { margin-top: 14px; }
.sa-two { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.sa-tag { display: inline-block; padding: 6px 12px 5px; border-radius: var(--r-full); border: 1px solid var(--rule); font-family: var(--display); font-weight: 800; font-size: .7rem;
  letter-spacing: .07em; text-transform: uppercase; color: var(--c-hi); }

/* the ladder */
.sa-ladder { padding: 24px 22px 20px; }
.sa-ladder .bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: end; height: 210px; border-bottom: 1.5px solid var(--sa-line); }
.sa-ladder .bar { position: relative; border-radius: var(--r-sm) var(--r-sm) 0 0; }
.sa-ladder .bar.past { background: var(--sa-bar-past); }
.sa-ladder .bar.now { background: var(--sa-mark-red); transform-origin: 50% 100%; }
.sa-ladder .bar.next { border: 1.5px solid var(--sa-line); border-bottom: 0; }
.sa-ladder .bar.horizon { border: 1.5px dashed var(--sa-line); border-bottom: 0; }
.sa-ladder .here { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); text-align: center; font-family: var(--display); font-weight: 800; font-size: .66rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-ink); white-space: nowrap; }
.sa-ladder.go .bar.now { animation: grow .85s var(--ease) both; }
@keyframes grow { from { transform: scaleY(0); } }
.sa-ladder .lbls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.sa-ladder .lbls span { font-family: var(--display); font-weight: 700; font-size: .84rem; line-height: 1.3; color: var(--c-mid); }
.sa-ladder .lbls span.now { color: var(--c-hi); }
.sa-ladder .summit { margin-top: 14px; font-size: .86rem; color: var(--c-mid); }
.sa-cross { margin-top: 22px; padding: 18px 20px; }
.sa-cross h3 { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.sa-cross p { margin-top: 8px; font-size: .95rem; color: var(--c-mid); }

/* the floor map */
.sa-map-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.sa-map-key { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.sa-map-key span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: .8rem; color: var(--c-hi); }
.sa-map-key i { width: 16px; height: 11px; border-radius: 3px; border: 1px solid var(--rule); }
.sa-map-key .k-iso { border: 1.5px solid var(--c-hi); }
.sa-map-key .k-ex { border-style: dashed; }
.sa-map-key .k-ab { border-color: var(--border); background: var(--s-50); }
.sa-map { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.sa-map .fam1 { grid-column: 1 / span 5; } .sa-map .routec { grid-column: 6; }
.sa-map .fam2 { grid-column: 1 / span 3; } .sa-map .fam3 { grid-column: 4 / span 3; }
.sa-map .grp ul { display: grid; gap: 12px; }
.sa-map .fam1 ul { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sa-map .fam2 ul, .sa-map .fam3 ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sa-map .grp .sa-fam { margin: 0 0 10px; }
.sa-ru { position: relative; height: 100%; border-radius: var(--r-lg); background: var(--sa-card); border: 1px solid var(--rule); overflow: hidden; display: flex; flex-direction: column; }
.sa-ru .sa-still { flex: none; }
.sa-ru .tags { position: absolute; z-index: 2; left: 8px; top: 8px; display: grid; gap: 5px; justify-items: start; }
.sa-pill { display: inline-block; padding: 4px 8px 3px; border-radius: var(--r-full); font-family: var(--display); font-weight: 800; font-size: .62rem; letter-spacing: .07em; text-transform: uppercase;
  color: #ffffff; background: rgba(13, 14, 18, .88); white-space: nowrap; }
.sa-pill.start { background: var(--accent-fill); }
.sa-ru .bd { display: grid; gap: 8px; padding: 12px 11px 14px; align-content: start; }
.sa-ru .nm { font-family: var(--display); font-weight: 700; font-size: .86rem; line-height: 1.25; }
.sa-ru .mt { display: flex; align-items: center; gap: 8px; font-size: .76rem; color: var(--c-mid); }
.sa-ru.st-isolated { border: 1.5px solid var(--c-hi); }
.sa-ru.st-exposed { border: 1.5px dashed var(--rule); }
.sa-ru.st-absent { border-color: var(--border); background: var(--s-50); }
.sa-ru.st-absent .sa-still img { filter: grayscale(1) brightness(.45); }
.sa-ru.st-absent .nm { color: var(--c-mid); }
.sa-routec { height: 100%; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.sa-routec .pics { display: flex; align-items: center; }
.sa-routec .pics .sa-still { flex: 1 1 0; min-width: 0; border-radius: var(--r-sm); border: 1px solid var(--border); }
.sa-routec .pics .cn { flex: 0 0 10px; height: 2px; background: var(--c-hi); }
.sa-routec .ends { display: grid; gap: 10px; }
.sa-routec .ends li { display: grid; gap: 5px; justify-items: start; }
.sa-routec .nm { font-family: var(--display); font-weight: 700; font-size: .84rem; line-height: 1.25; }
.sa-meter-note { margin-top: 10px; font-size: .9rem; color: var(--c-mid); }
.sa-meter.go i.on { animation: fill 1.1s var(--ease) both; transform-origin: 0 50%; }
@keyframes fill { from { transform: scaleX(0); } }

/* the kind of control */
.sa-kind { margin-top: 14px; font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.35; letter-spacing: -.015em; }
.sa-kind b { font-weight: 800; }
.sa-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.sa-stagec { padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.sa-stagec .n { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.sa-stagec .lb { font-family: var(--display); font-weight: 800; font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; color: var(--c-mid); }
.sa-stagec h3 { font-size: 1.05rem; font-weight: 700; }
.sa-stagec p { font-size: .84rem; line-height: 1.45; color: var(--c-mid); }
.sa-stagec .br { margin-top: auto; padding-top: 10px; }
.sa-stagec .br i { display: block; height: 6px; border-radius: var(--r-full); background: var(--sa-meter-off); overflow: hidden; }
.sa-stagec .br b { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--sa-meter-on); transform-origin: 0 50%; }
.sa-stagec.top { border-color: var(--c-hi); }
.sa-stagec.top .br b { background: var(--sa-mark-red); }
.sa-stages.go .br b { animation: fill 1.1s var(--ease) both; }
.sa-upkeep { margin-top: 14px; padding: 16px 18px; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.sa-upkeep .iw { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--sa-inset); border: 1px solid var(--sa-line); display: grid; place-items: center; color: var(--c-hi); }
.sa-upkeep .iw svg { width: 18px; height: 18px; fill: currentColor; }
.sa-upkeep h3 { font-size: 1rem; font-weight: 700; }
.sa-upkeep p { margin-top: 6px; font-size: .92rem; color: var(--c-mid); }

/* start here */
.sa-start { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.sa-start .sa-pill { font-size: .7rem; padding: 6px 12px 5px; }
.sa-start-tag { margin-top: 14px; }
.sa-start h2 { margin-top: 14px; }
.sa-start .txt { margin-top: 14px; font-size: 1.04rem; line-height: 1.6; color: var(--c-mid); }
.sa-start .txt b { color: var(--c-hi); }
.sa-start .sa-pair figure { width: 150px; }
.sa-next { margin-top: var(--sp-block); padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; }
.sa-next h2 { margin-top: 0; }
.sa-next .lead { margin-top: 12px; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.sa-next p.b { margin-top: 10px; color: var(--c-mid); }
.sa-next .acts { display: grid; gap: 14px; justify-items: start; }

/* the scorecard offer (round 2, Gui: "looks weird"): one panel, the offer and its booklet on the left, the
   form card on the right. The photograph now lives on the booklet's cover, so the panel is a plain
   surface in both themes */
.sa-offer { margin-top: var(--sp-block); }
/* round 3 (beta S3): the heading spans the panel; under it the booklet and the form card stand side by side, tops
   aligned, the booklet as wide as its column allows (its image carries no empty margin) */
.sa-offer-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); grid-template-areas: "pitch pitch" "book form";
  column-gap: clamp(28px, 3.4vw, 40px); align-items: start;
  padding: clamp(28px, 4vw, 52px); border-radius: var(--r-xl); background: var(--sa-card); border: 1px solid var(--sa-edge); }
.sa-offer h2 { margin-top: 14px; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; }
.sa-offer .sub { margin-top: 16px; font-size: 1.06rem; line-height: 1.6; color: var(--c-mid); }
.sa-offer .pitch { grid-area: pitch; }
/* the booklet's highest corner sits about 13 px inside its image: 15 px here puts it level with the card's top edge */
.sa-booklet { grid-area: book; margin: 15px 0 0; min-width: 0; }
.sa-booklet img { display: block; width: 100%; max-width: 620px; height: auto; margin: 0 auto; }
.ct-card-wrap { grid-area: form; min-width: 0; margin-top: 28px; }
.ct-card { background: var(--lc-s-0); color: var(--lc-c-hi); border-radius: var(--r-lg); border: 1px solid var(--sa-line); padding: 28px 26px 26px; box-shadow: var(--sa-card-shadow); color-scheme: light; }
.ct-card h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.12; color: var(--lc-c-hi); }
.ct-card .lgform { margin-top: 20px; }
.lgform { display: grid; gap: 18px; }
.lgform__row { display: flex; flex-wrap: wrap; gap: 18px 14px; }
.lgform__row > * { flex: 1 1 170px; }
.lgfield { display: grid; gap: 8px; min-width: 0; border: 0; margin: 0; padding: 0; }
.lgfield__label { font-family: var(--display); font-weight: 700; font-size: .9rem; color: var(--lc-c-hi); padding: 0; }
.lgfield__hint { font-size: .85rem; line-height: 1.45; color: var(--lc-c-mid); margin: -2px 0 2px; }
.lgfield__input, .lgfield__select { width: 100%; height: var(--field-h); padding: 0 var(--field-px); font-family: var(--text-f); font-size: 1rem; color: var(--lc-c-hi);
  background: var(--lc-s-0); border: var(--field-border) solid var(--lc-rule); border-radius: var(--r-md); transition: border-color .16s, box-shadow .16s; appearance: none; }
.lgfield__select { padding-right: 42px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--lc-c-mid) 50%), linear-gradient(135deg, var(--lc-c-mid) 50%, transparent 50%);
  background-position: calc(100% - 22px) 20px, calc(100% - 16px) 20px; background-size: 6px 6px; background-repeat: no-repeat; }
.lgfield__input::placeholder { color: var(--lc-c-mid); }
.lgfield__input:focus, .lgfield__select:focus { outline: 0; border-color: var(--accent-fill); box-shadow: 0 0 0 var(--field-ring) var(--lc-accent-wash); }
.lgfield--bad .lgfield__input, .lgfield--bad .lgfield__select { border-color: var(--accent-fill); }
.lgfield__msg { margin: 0; font-family: var(--display); font-weight: 600; font-size: .84rem; line-height: 1.4; color: var(--lc-accent-ink); }
.lgfield__hint .lgfield__hintbtn { background: none; border: 0; padding: 0; font-family: var(--display); font-weight: 700; color: var(--lc-accent-ink); text-decoration: underline; cursor: pointer; }
.lgconsent { display: grid; grid-template-columns: 22px 1fr; gap: 4px 12px; align-items: start; }
.lgconsent__box { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent-fill); }
.lgconsent__text { font-size: .9rem; line-height: 1.45; color: var(--lc-c-hi); cursor: pointer; }
.lgconsent .lgfield__msg { grid-column: 2; }
.lgform__fine { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--lc-c-mid); }
.lgform__fine a { color: var(--lc-c-hi); text-decoration: underline; }
.lgform__check:empty { display: none; }
.lgform__note { margin: 0; padding: 11px 14px; border-radius: var(--r-md); background: var(--lc-s-100); font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--lc-c-hi); }
.lgform__note--warn { background: var(--lc-s-100); color: var(--lc-accent-ink); }
.lgform__note a { color: inherit; }
.lgpot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-card .btn-primary[disabled] { opacity: .6; cursor: progress; }
.ct-card .btn-line { background: var(--lc-s-0); border-color: var(--lc-rule); color: var(--lc-c-hi); }
.ct-card .btn-line:hover { background: var(--lc-s-100); }
.ct-card .btn:focus-visible { box-shadow: 0 0 0 var(--field-ring) var(--lc-accent-wash), 0 0 0 1px var(--accent-fill); }
.sa-done { display: grid; gap: 14px; justify-items: start; }
.sa-done .ok { width: 56px; height: 56px; border-radius: var(--r-full); background: var(--accent-fill); color: #ffffff; display: grid; place-items: center; }
.sa-done .ok svg { width: 26px; height: 26px; }
.sa-done p { color: var(--lc-c-mid); }
.sa-done .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.sa-foot { padding-top: 40px; padding-bottom: 56px; font-size: .86rem; line-height: 1.55; color: var(--c-mid); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1240px) {
  .crumb .lbl { display: none; }
  .crumb.active .lbl { display: inline; }
}
@media (max-width: 1240px) {
  .sa-map { grid-template-columns: minmax(0, 1fr); }
  .sa-map .fam1, .sa-map .fam2, .sa-map .fam3, .sa-map .routec { grid-column: 1; }
  .sa-map .fam1 ul, .sa-map .fam2 ul, .sa-map .fam3 ul { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
  .sa-map .routec { order: 4; }
  .sa-routec { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
  .sa-routec .eyebrow { flex: 0 0 100%; }
  .sa-routec .pics { flex: 0 1 340px; }
  .sa-routec.n1 .pics { flex-basis: 190px; }
  .sa-routec .ends { flex: 1 1 200px; }
}
@media (max-width: 1180px) {
  .sa-row .sa-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* the offer stacks below 1180: beside a 420 px form the booklet's column is too narrow to hold it large.
     Heading, booklet, form, one left edge */
  .sa-offer-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pitch" "book" "form"; }
  /* the form card rises over the booklet's shadow tail (transparent, about 13 % of the image's height), so no
     band of empty panel opens between the booklet and the form; both centred under the heading */
  .sa-offer .ct-card-wrap { position: relative; margin: -36px auto 0; width: 100%; max-width: 600px; }
  .sa-booklet { margin: 20px 0 0; }
  .sa-booklet img { width: min(100%, 440px); margin: 0 auto; }
}
@media (max-width: 980px) {
  .sa-q1, .sa-cols, .sa-two, .sa-start { grid-template-columns: minmax(0, 1fr); }
  .sa-q1 .left { position: static; }
  .sa-q1 .right { margin-top: 32px; }
  .sa-mini { display: none; }
  .sa-intro .col, .sa-hero .col { width: 100%; }
  .sa-intro .scrim, .sa-hero .scrim { background: rgba(5, 6, 8, .84); }
  .sa-ladder-wrap { margin-top: 28px; }
  .sa-next { grid-template-columns: minmax(0, 1fr); }
  .sa-start .right { order: -1; }
}
@media (max-width: 980px) and (min-width: 761px) {
  .sa-q1 .left { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); column-gap: 28px; align-items: start; }
  .sa-q1 .left .sa-qhead { grid-column: 1; grid-row: 1; }
  .sa-q1 .left .sa-stage-wrap { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .sa-q1 .left .sa-tally { grid-column: 1; grid-row: 2; align-self: start; }
  .sa-stage-name { font-size: 1.02rem; }
  .sa-stage-cap { font-size: .88rem; }
}
@media (max-width: 900px) {
  .exit-long { display: none; }
  .exit-short { display: inline; }
  .crumbs { gap: 4px; }
  .crumb-line { width: 10px; }
}
@media (max-width: 860px) {
  .sa-legend ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sa-row { grid-template-columns: 96px minmax(0, 1fr); }
  .sa-row fieldset { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --bar-h: 58px; --nav-h: 70px; }
  .brand img { height: 22px; }
  /* a phone shows the active step alone; the progress bar under the header carries the rest */
  .crumb:not(.active), .crumb-line { display: none; }
  .crumb .dot { width: 22px; height: 22px; font-size: .7rem; }
  .sa-units { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .sa-choice label { flex-direction: row; align-items: stretch; }
  .sa-choice label .sa-still { width: 116px; flex: none; aspect-ratio: 16 / 9; align-self: center; margin: 8px 0 8px 8px; border-radius: var(--r-sm); }
  .sa-choice .body { flex: 1 1 auto; padding: 10px 12px; align-content: center; grid-template-columns: minmax(0, 1fr) 22px; }
  .sa-box { position: static; grid-column: 2; grid-row: 1; }
  .sa-choice .play { display: inline-flex; left: 14px; right: auto; top: auto; bottom: 14px; height: 24px; padding: 0 8px; font-size: .7rem; }
  .sa-tiles.c4, .sa-tiles.c3 { grid-template-columns: minmax(0, 1fr); }
  .sa-row .sa-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sa-route-sel { grid-template-columns: minmax(0, 1fr); }
  .sa-pair { flex-direction: column; align-items: flex-start; }
  .sa-pair figure, .sa-start .sa-pair figure { width: 150px; }
  .sa-pair .ln { flex: 0 0 auto; width: 2px; min-width: 0; height: 18px; margin: 8px 0 8px 24px; }
  .sa-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sa-kpi:nth-child(3) { border-left: 0; }
  .sa-kpi:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .sa-kpis.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sa-kpis.c3 .sa-kpi { padding: 14px 12px; }
  .sa-kpis.c3 .sa-kpi:nth-child(3) { border-left: 1px solid var(--rule); }
  .sa-kpis.c3 .sa-kpi:nth-child(n + 3) { border-top: 0; }
  .sa-map .fam1 ul, .sa-map .fam2 ul, .sa-map .fam3 ul { grid-template-columns: minmax(0, 1fr); }
  .sa-ru { flex-direction: row; }
  .sa-ru .sa-still { width: 120px; align-self: stretch; aspect-ratio: auto; min-height: 68px; }
  .sa-ru .tags { left: 6px; top: 6px; }
  .sa-ru .tags .sa-pill { font-size: .56rem; padding: 3px 6px 2px; }
  .sa-stages { grid-template-columns: minmax(0, 1fr); }
  .sa-ladder .lbls span { font-size: .74rem; }
  .sa-sec h2 { font-size: 1.45rem; }
  .sa-next .acts .btn { width: 100%; }
  .stepnav .btn { padding: 0 16px; }
}
@media (max-width: 520px) {
  .sa-tiles.c2 { grid-template-columns: minmax(0, 1fr); }
  /* the offer on a phone: the panel and the card give the fields their width back */
  .sa-offer-in { padding: 22px 14px 14px; border-radius: var(--r-lg); }
  .sa-offer .pitch { padding: 0 6px; }
  .sa-offer .ct-card { padding: 22px 16px 18px; }
  .sa-choice label .sa-still { width: 96px; }
  .sa-toolname { display: none; }
}
@media (max-width: 420px) {
  .crumb.active .lbl { display: none; }
  .stepnav .hint { display: none; }
  .stepnav { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .load-logo .mark path, .load-logo .word path { opacity: 1; animation: none; }
  .load-glow i { animation: none; }
}
