/* TargetZero site. One navy canvas, lit softly; product windows drawn at the app's own density.
   Sizes, spaces, radii and colours come from the tokens in :root. */
:root {
  /* Canvas */
  --navy: #07263d;
  --navy-deep: #051d30;
  --navy-raised: #0c3654;
  --panel-bg: radial-gradient(ellipse 70% 80% at 75% 10%, #24597f, #154166 55%, #10385a);
  --panel-quiet: linear-gradient(180deg, #11405f, #0c3452);
  --t1: #f3f6f9;
  --t2: #b4c2d1;
  --t3: #8296ab;
  --hair: rgba(255, 255, 255, 0.08);
  --hair-2: rgba(255, 255, 255, 0.14);
  --fill-1: rgba(255, 255, 255, 0.03);
  --fill-2: rgba(255, 255, 255, 0.06);
  --fill-3: rgba(255, 255, 255, 0.1);

  /* Meaning. Gold is the call to action, Zero, and the agency's own knowledge; nothing else. */
  --gold: #f5b82e;
  --gold-soft: rgba(245, 184, 46, 0.13);
  --gold-line: rgba(245, 184, 46, 0.45);
  --gold-ink: #f7d27f;
  --data: #7fa6ef;
  --review: #ef7d57;
  --review-soft: rgba(239, 125, 87, 0.14);
  --ok: #7ee2a8;
  --src-cad: #9dbcf5;
  --src-rms: #7fd8bd;
  --src-jail: #c9b3f0;

  /* Light pages: legal text and the form card */
  --white: #ffffff;
  --ink: #0b1b2a;
  --ink-2: #3f5064;
  --ink-3: #56677c;
  --line: #dde3ea;
  --blue: #1f5fe0;
  --flag-red: #d64545;

  /* Type: eight sizes. The site speaks in Inter; the product windows in the app's own IBM Plex Sans. */
  --fs-display: clamp(2.75rem, 5.4vw, 4.5rem);
  --fs-h2: clamp(2rem, 3.4vw, 3rem);
  --fs-title: 1.25rem;
  --fs-lead: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-ui: 0.8125rem;
  --fs-micro: 0.75rem;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-app: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Space: an 8px grid */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
  --section: clamp(64px, 6.5vw, 96px);

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-pill: 999px;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--t2); font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
figure { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; color: var(--t1); font-weight: 500; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--t1); outline-offset: 3px; border-radius: var(--r-sm); }
.ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono, .label { font-family: var(--mono); }

/* One label style: small mono capitals */
.label { display: inline-block; font-size: var(--fs-micro); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t3); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); padding: var(--s3) 20px; border-radius: var(--r-pill); font-size: var(--fs-small); font-weight: 500; text-decoration: none; border: 1px solid transparent; transition: background-color 0.15s ease, border-color 0.15s ease; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #ffc94d; }
.btn-ghost { border-color: var(--hair-2); color: var(--t1); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(7, 38, 61, 0.82); backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid var(--hair); color: var(--t1); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); height: 64px; }
.brand { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; font-weight: 600; font-size: var(--fs-body); letter-spacing: -0.01em; color: var(--t1); }
.brand img { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: var(--s6); }
.nav a:not(.btn) { text-decoration: none; font-size: var(--fs-small); color: var(--t2); }
.nav a:not(.btn):hover { color: var(--t1); }
.nav .btn { padding: 8px 16px; font-size: var(--fs-small); }

/* Sections on the canvas */
.sect { position: relative; padding-block: var(--section); }
.head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s5) var(--s9); align-items: end; margin-bottom: var(--s8); }
.head h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.03em; }
.head p { font-size: var(--fs-lead); color: var(--t2); max-width: 50ch; text-wrap: pretty; }
.lit::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 45% at 50% 40%, rgba(127, 166, 239, 0.08), transparent 70%); -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent); pointer-events: none; }

/* Hero */
.hero { position: relative; padding-top: var(--s9); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 55% at 62% 18%, rgba(127, 166, 239, 0.14), transparent 70%), radial-gradient(ellipse 50% 40% at 15% 0%, rgba(245, 184, 46, 0.05), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero h1 { margin-top: var(--s4); font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.035em; }
.hero-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s5) var(--s7); margin-top: var(--s5); }
.hero-row p { max-width: 54ch; font-size: var(--fs-lead); color: var(--t2); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.shot { position: relative; margin-top: var(--s8); }

/* Facts under the hero */
.facts { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.facts li { display: flex; align-items: center; gap: var(--s3); padding: var(--s5) var(--s4); font-size: var(--fs-small); line-height: 1.4; color: var(--t2); }
.facts li + li { border-left: 1px solid var(--hair); }
.facts .ic { width: 18px; height: 18px; color: var(--t1); }

/* Captions under every window */
.cap { display: block; font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: 0.02em; color: var(--t3); }
.cap a { color: inherit; }
.cap.tiny { font-size: 7px; letter-spacing: 0.02em; color: rgba(130, 150, 171, 0.55); }
.attr { position: absolute; right: 6px; bottom: 4px; font-family: var(--mono); font-size: 8px; color: rgba(255, 255, 255, 0.45); }
.attr a { color: inherit; }

/* Quote */
.quote blockquote { margin: 0; }
.quote-panel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--s7); align-items: center; padding: var(--s8); }
.qcard { padding: 4px 0; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; background: #061f33; box-shadow: 0 32px 64px -28px rgba(0, 0, 0, 0.7); font-family: var(--font-app); font-size: 13px; color: #e9eef4; }
.qhead { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 12px; color: #8a9db1; }
.qhead b { margin-left: auto; font-weight: 500; color: #e9eef4; }
.qrow { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 12px; padding: 12px 16px; }
.qrow + .qrow { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.qrow .dot { margin-top: 6px; }
.qrow small { display: block; margin-top: 2px; font-size: 12px; color: #8a9db1; }
.quote blockquote p { font-size: clamp(1.625rem, 2.6vw, 2.375rem); font-weight: 400; line-height: 1.3; letter-spacing: -0.02em; color: var(--t1); text-indent: -0.42em; text-wrap: pretty; }
.quote figcaption { display: flex; gap: var(--s3); align-items: center; margin-top: var(--s6); font-size: var(--fs-small); color: var(--t2); }
.quote figcaption b { font-weight: 500; color: var(--t1); }
.quote figcaption b::after { content: "·"; margin-left: var(--s3); color: var(--t3); }
.quote .label { margin-bottom: var(--s5); }

/* Statement: the claim in white, the reason in grey */
.statement { max-width: 22em; font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.03em; text-wrap: pretty; }
.statement span { color: var(--t3); }

/* Three figures */
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--s5); }
.figs > div { display: grid; align-content: start; gap: var(--s2); padding: 0 var(--s6); }
.figs > div:first-child { padding-left: var(--s7); }
.figs h3 { font-size: var(--fs-title); letter-spacing: -0.01em; }
.figs p { font-size: var(--fs-small); color: var(--t2); max-width: 36ch; text-wrap: pretty; }

/* The platform scene: six steps on the left, the record graph building on the right */
.scene { position: relative; height: 170vh; }
.scene-panel { padding: var(--s6); }
#platform { padding-bottom: var(--s6); }
.sect.quote { padding-top: var(--s7); }
.scene-stick { position: sticky; top: 64px; height: calc(100vh - 64px); display: grid; grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr); gap: var(--s7); align-items: center; }
.steps { list-style: none; margin: 0; padding: 0 0 0 var(--s5); position: relative; display: grid; gap: var(--s4); }
.steps::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--hair-2); }
.steps::after { content: ""; position: absolute; left: 0; top: 6px; width: 1px; height: calc((100% - 12px) * var(--progress, 0)); background: var(--t1); transition: height 0.2s linear; }
.steps li { opacity: 0.38; transition: opacity 0.35s ease; }
.steps button { display: grid; gap: 2px; width: 100%; text-align: left; }
.steps .st { font-size: var(--fs-title); font-weight: 500; letter-spacing: -0.01em; color: var(--t1); }
.steps .sd { font-size: var(--fs-small); color: var(--t2); text-wrap: pretty; }
.steps button:hover .st { text-decoration: underline; text-decoration-color: var(--hair-2); text-underline-offset: 4px; }
.steps li.on { opacity: 1; }
.steps li.now { position: relative; }
.steps li.now::before { content: ""; position: absolute; left: calc(-1 * var(--s5) - 3px); top: 30px; width: 7px; height: 7px; border-radius: 50%; background: var(--t1); box-shadow: 0 0 0 4px rgba(243, 246, 249, 0.12); }
.scene-art { width: 100%; height: auto; max-height: calc(100vh - 160px); font-family: var(--font-app); overflow: visible; }
.scene-art.phone { display: none; max-height: none; }
.scene-art text { fill: var(--t1); font-size: 12px; }
.scene-art .mono { font-family: var(--mono); }
.scene-art .lbl { fill: var(--t3); font-size: 11px; letter-spacing: 0.06em; }
.scene-art .rec { fill: var(--t2); font-size: 11px; }
.scene-art .rec.dim { fill: var(--t3); }
.scene-art .rowline { stroke: var(--hair); }
.scene-art .card { fill: #061f33; stroke: rgba(255, 255, 255, 0.14); }
.scene-art .kind { fill: var(--t3); font-size: 11px; letter-spacing: 0.04em; }
.scene-art .nlabel { font-size: 13px; }
.scene-art .strong { font-weight: 600; }
.scene-art .sc-flow path { fill: none; stroke: var(--data); stroke-opacity: 0.45; stroke-dasharray: 3 4; }
.scene-art .sc-edges line { stroke: var(--t1); stroke-opacity: 0.3; }
.scene-art .pill .under { fill: #061f33; stroke: none; }
.scene-art .pill rect { fill: var(--fill-2); stroke: var(--hair-2); }
.scene-art .pill text { font-size: 11px; }
.scene-art .pill.gold rect { fill: var(--gold-soft); stroke: var(--gold-line); }
.scene-art .pill.gold text { fill: var(--gold-ink); }
.scene-art .pill.ok rect { fill: var(--fill-3); stroke: rgba(243, 246, 249, 0.5); }
.scene-art .pill.ok text { fill: var(--t1); }
.scene-art .pill.review rect { fill: var(--review-soft); stroke: rgba(239, 125, 87, 0.5); }
.scene-art .pill.review text { fill: #f6a585; }
.scene-art .pill.lock text { fill: var(--t1); }
.scene-art .lockic { fill: none; stroke: var(--t1); stroke-width: 1.3; stroke-linejoin: round; }
.scene-art .audit { fill: var(--t3); font-size: 11px; letter-spacing: 0.02em; }
.scene-art .zero-card { fill: var(--navy-deep); stroke: var(--gold-line); }
.scene-art .spark-dot { fill: var(--gold); }
.scene-art .zname { font-weight: 600; }
.scene-art .ubub { fill: var(--fill-3); }
.scene-art .utext { font-size: 12px; }
.scene-art .atext { fill: var(--t1); font-size: 12px; }
.scene-art .srcchip rect { stroke: none; }
.scene-art .srcchip text { font-size: 11px; }
.scene-art .src-rms rect { fill: rgba(15, 138, 106, 0.25); } .scene-art .src-rms text { fill: var(--src-rms); }
.scene-art .src-cad rect { fill: rgba(47, 111, 223, 0.25); } .scene-art .src-cad text { fill: var(--src-cad); }
.scene-art .src-jail rect { fill: rgba(138, 79, 214, 0.25); } .scene-art .src-jail text { fill: var(--src-jail); }
.scene-art .answer-line { fill: none; stroke: var(--gold); stroke-opacity: 0.7; stroke-dasharray: 4 4; }
/* Stage choreography: each step adds a class, s1 to s6, and the scene builds */
.scene-art g { transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.scene-art .sc-know, .scene-art .sc-correct, .scene-art .sc-guard, .scene-art .sc-ready, .scene-art .sc-edges { opacity: 0; }
.scene-art .sc-nodes, .scene-art .sc-flow-n { opacity: 0; }
.scene-art .sc-people, .scene-art .sc-flow-p { opacity: 1; }
.scene-art .sc-nodes, .scene-art .sc-people { transform: translateX(-12px); }
.scene.s2 .sc-flow, .scene.s2 .sc-edges, .scene.s2 .sc-nodes, .scene.s2 .sc-people { opacity: 1; transform: none; }
.scene-art .sc-people { transform: none; }
.scene.s3 .sc-flow { opacity: 0.35; }
.scene.s3 .sc-know { opacity: 1; }
.scene.s4 .sc-correct { opacity: 1; }
.scene.s4 .person.p2, .scene.s4 .person.p3 { transform: translate(var(--dx), var(--dy)); opacity: 0; }
.scene-art .name-a { transition: opacity 0.3s ease; }
.scene-art .name-b { opacity: 0; transition: opacity 0.4s ease 0.25s; }
.scene.s4 .name-a { opacity: 0; }
.scene.s4 .name-b { opacity: 1; }
.scene.s5 .sc-guard { opacity: 1; }
.scene.s5 .sc-flow { opacity: 0; }
.scene.s6 .sc-src { opacity: 0; }
.scene.s6 .sc-ready { opacity: 1; }
.scene.s6 .audit-line { opacity: 0; }
/* Each stage brightens what it adds. What came before steps back by fading its text and outlines,
   never its fill, so lines never show through a card. The last stage is the fullest frame. */
.scene-art text { transition: fill-opacity 0.4s ease; }
.scene-art .card, .scene-art .pill rect { transition: stroke-opacity 0.4s ease; }
.scene-art .sc-edges line { transition: stroke-opacity 0.4s ease; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--draw, 1)); }
.scene[data-stage="3"] :is(.sc-nodes, .sc-people) text,
.scene[data-stage="4"] :is(.sc-nodes, .sc-know) text,
.scene[data-stage="5"] :is(.sc-nodes, .sc-know, .sc-correct, .sc-people) text { fill-opacity: 0.45; }
.scene[data-stage="3"] :is(.sc-nodes, .sc-people) .card,
.scene[data-stage="4"] .sc-nodes .card, .scene[data-stage="4"] .sc-know rect,
.scene[data-stage="5"] :is(.sc-nodes, .sc-people) .card, .scene[data-stage="5"] :is(.sc-know, .sc-correct) rect { stroke-opacity: 0.4; }
.scene:is([data-stage="3"], [data-stage="4"], [data-stage="5"]) .sc-edges line { stroke-opacity: 0.15; }
.scene-art .same { fill: var(--data); }
.scene-art .person-card { transition: stroke 0.3s ease; }
.scene.s4 .p1 .person-card { animation: merged 1.2s ease-out 0.4s both; }
@keyframes merged { 0% { stroke: var(--hair-2); } 35% { stroke: var(--t1); stroke-width: 2; } 100% { stroke: rgba(243, 246, 249, 0.6); stroke-width: 1.2; } }


/* Gold chips: the agency's own terms */
.kchips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.kchips span { padding: var(--s1) var(--s2); border-radius: var(--r-sm); background: var(--gold-soft); color: var(--gold-ink); font-size: var(--fs-micro); line-height: 1.5; }

/* Knowledge: the agency's terms as a product screen, with the answer they change */
.kdetail .kv { gap: var(--s3) var(--s5); font-size: var(--fs-ui); }
.kdetail .kv dd .kchips { margin-top: -2px; }
.kdetail { display: grid; gap: var(--s4); align-content: start; padding: var(--s5); }
.kdetail[hidden] { display: none; }
.khead h3 { margin-top: var(--s1); font-family: var(--font-app); font-size: var(--fs-title); font-weight: 500; }
.kdetail .kchips span { font-size: var(--fs-ui); }
.contrast { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); margin-top: var(--s2); }
.contrast > div { display: grid; gap: var(--s2); align-content: start; padding: var(--s3) var(--s4); border-radius: var(--r-md); border: 1px solid var(--hair); }
.contrast .with { border-color: var(--gold-line); background: rgba(245, 184, 46, 0.05); }
.contrast .without { background: var(--fill-1); }
.contrast .who { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--fs-micro); color: var(--t3); }
.contrast .with .who { color: var(--gold-ink); }
.contrast .who .spark { width: 10px; height: 10px; }
.contrast p { font-size: var(--fs-ui); color: var(--t1); }
.contrast .without p { color: var(--t2); }

/* Roles: one stage. Copy scrolls on the left; one window holds on the right and changes with it. */
.roles { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s8); }
.role { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.rolecopy { display: grid; gap: var(--s4); align-content: start; min-width: 0; scroll-margin-top: 160px; }
.rolecopy a.label { text-decoration: none; }
.rolecopy h3 { font-size: clamp(1.375rem, 1.9vw, 1.625rem); line-height: 1.15; letter-spacing: -0.02em; }
.rolecopy ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s3); }
.rolecopy li { position: relative; padding-left: 20px; color: var(--t2); text-wrap: pretty; }
.rolecopy li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 10px; height: 1px; background: var(--t3); }
.rolefig .cap { margin-top: var(--s3); }
@media (min-width: 1101px) {
  .roles { grid-template-columns: minmax(0, 0.5fr) minmax(0, 1.5fr); gap: 0 var(--s6); }
  .role { display: contents; }
  .roles { --top: calc(32px + (100vh - var(--fh, 560px)) / 2); }
  .rolecopy { grid-column: 1; min-height: 100vh; gap: 0; padding-top: 64px; align-content: center; opacity: 0.35; transition: opacity 0.4s ease; }
  .rolecopy > * { padding-left: var(--s5); padding-bottom: var(--s4); border-left: 1px solid var(--hair); transition: border-color 0.4s ease; }
  .rolecopy > :last-child { padding-bottom: 0; }
  .rolecopy .callouts.v { margin-top: 0; }
  .role.is-active .rolecopy { opacity: 1; }
  .role.is-active .rolecopy > * { border-left-color: var(--t1); }
  .rolefig { grid-column: 2; grid-row: 1 / span 3; align-self: start; position: sticky; top: var(--top); margin-top: var(--top); opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s linear 0.45s; }
  .role.is-active .rolefig { opacity: 1; visibility: visible; transition: opacity 0.45s ease, visibility 0s; }
}



/* Zero on watch: the shift briefing */
.brief { display: flex; flex-direction: column; min-width: 0; }
.brief-head { display: grid; gap: var(--s1); padding: var(--s5) var(--s5) var(--s3); }
.brief-head h3 { font-family: var(--font-app); font-size: var(--fs-title); font-weight: 500; letter-spacing: -0.01em; }
.brief-head span { font-size: var(--fs-micro); color: var(--t3); }
.flist { display: grid; gap: var(--s3); padding: var(--s2) var(--s5) var(--s4); }
.finding { --dot: var(--data); display: grid; gap: var(--s2); padding: var(--s3) var(--s4); border: 1px solid var(--hair); border-radius: var(--r-md); background: var(--fill-1); }
.finding.p { --dot: var(--review); }
.finding.r { --dot: var(--t1); }
.fk span:first-child::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: var(--s2); border-radius: 50%; background: var(--dot); vertical-align: 1px; }
.fk { display: flex; justify-content: space-between; gap: var(--s3); font-size: var(--fs-micro); color: var(--t3); }
.ft { font-size: var(--fs-small); font-weight: 500; color: var(--t1); }
.fd { font-size: var(--fs-micro); color: var(--t2); }
.fe { display: flex; flex-wrap: wrap; gap: var(--s1); }
.fe .chip { color: var(--t1); }
.fexp { justify-self: start; font-size: var(--fs-micro); color: var(--t2); text-decoration: underline; text-decoration-color: var(--hair-2); text-underline-offset: 3px; }
.fexp:hover { color: var(--t1); }
.fx { display: grid; gap: var(--s2); }
.passages { list-style: none; margin: 0; padding: 0; display: grid; border: 1px solid var(--hair); border-radius: var(--r-sm); }
.passages li { display: grid; gap: 2px; padding: var(--s2) var(--s3); font-size: var(--fs-micro); }
.passages li + li { border-top: 1px solid var(--hair); }
.passages .who { color: var(--t3); }
.passages .q { color: var(--t2); }
.passages mark { background: rgba(127, 166, 239, 0.25); color: var(--t1); padding: 0 2px; border-radius: 3px; }
.finding .note { font-size: var(--fs-micro); color: var(--t3); }
.decide { display: flex; gap: var(--s2); }
.decide .ok-btn { background: var(--t1); border-color: var(--t1); color: var(--navy); }
.await.done::before { background: var(--ok); }
.brief .composer { margin-top: auto; }

/* Trust: the promises beside the product keeping them */
.trust { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--s8); align-items: start; }
.trust-copy h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.03em; }
.plist { list-style: none; margin: var(--s7) 0 0; padding: 0; display: grid; gap: var(--s5); }
.plist li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--s4); }
.plist .ic { width: 20px; height: 20px; color: var(--t1); margin-top: 2px; }
.plist h3 { font-size: var(--fs-body); font-weight: 500; letter-spacing: -0.01em; }
.plist p { font-size: var(--fs-small); color: var(--t2); }
.audit { list-style: none; margin: 0; padding: 0; display: grid; border: 1px solid var(--hair); border-radius: var(--r-md); font-size: var(--fs-micro); }
.audit li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--s3); padding: var(--s2) var(--s3); color: var(--t2); }
.audit li + li { border-top: 1px solid var(--hair); }
.audit time { font-family: var(--mono); color: var(--t3); }

/* Closing */
.closing { text-align: center; }
.closing-panel { display: grid; justify-items: center; gap: var(--s5); padding: var(--s9) var(--s6); }
.closing-panel > :not(.plan) { position: relative; z-index: 1; }
.closing h2 { max-width: 16ch; font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.035em; }
.closing p { max-width: 52ch; font-size: var(--fs-lead); }

/* Footer */
.site-footer { border-top: 1px solid var(--hair); padding-block: var(--s6); font-size: var(--fs-small); color: var(--t3); background: var(--navy); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4) var(--s6); }
.site-footer .brand { font-size: var(--fs-body); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--t1); }
.foot-meta { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.credit { flex-basis: 100%; font-size: var(--fs-micro); color: var(--t3); }
.credit a { text-decoration: underline; text-underline-offset: 2px; }

/* ------------------------------------------------------------------
   Zero windows: one shell, in the app's typeface. 13px body, 12px meta.
   ------------------------------------------------------------------ */
.zmark { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; color: var(--t1); }
.spark { width: 14px; height: 14px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 35%, #ffe08a, var(--gold) 60%, #c98c00); box-shadow: 0 0 12px rgba(245, 184, 46, 0.55); }
.avatar { display: grid; place-items: center; width: 24px; height: 24px; margin-left: auto; border-radius: 50%; background: var(--fill-3); color: var(--t1); font-size: var(--fs-micro); font-weight: 600; flex: none; }
.thread { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.msgs { display: grid; gap: var(--s3); align-content: start; padding: var(--s4); flex: 1; min-height: 0; overflow: hidden; }
.u { justify-self: end; max-width: 86%; padding: var(--s2) var(--s3); border-radius: var(--r-md) var(--r-md) var(--s1) var(--r-md); background: var(--fill-3); color: var(--t1); }
.a { display: grid; gap: var(--s3); }
.ans { font-size: var(--fs-small); line-height: 1.55; color: var(--t1); }

/* "Worked for…" expands into the steps Zero took and where each came from */
.worked { display: inline-flex; align-items: center; gap: var(--s2); justify-self: start; color: var(--t3); font-size: var(--fs-micro); }
.worked:hover { color: var(--t2); }
.worked .ic { width: 13px; height: 13px; }
.worked .ok { color: var(--t2); }
.worked .chev { transition: transform 0.2s ease; }
.worked[aria-expanded="true"] .chev { transform: rotate(90deg); }
.trace { list-style: none; margin: 0; padding: 2px 0 2px var(--s3); display: grid; gap: var(--s2); border-left: 1px solid var(--hair-2); font-size: var(--fs-micro); color: var(--t2); }
.trace li { display: flex; align-items: center; gap: var(--s2); }

.knew { display: grid; gap: var(--s2); padding: var(--s3); border-radius: var(--r-md); border: 1px solid var(--hair); background: var(--fill-1); }
.knew-h { display: flex; align-items: center; gap: var(--s2); color: var(--gold-ink); font-size: var(--fs-micro); }
.knew-h .ic { width: 13px; height: 13px; }
.kline { display: grid; gap: var(--s2); }
.srcs { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: var(--r-pill); background: var(--fill-2); color: var(--t2); font-size: var(--fs-micro); line-height: 1.6; white-space: nowrap; }
.chip.cad { color: var(--src-cad); background: rgba(47, 111, 223, 0.18); }
.chip.rms { color: var(--src-rms); background: rgba(15, 138, 106, 0.2); }
.chip.jail { color: var(--src-jail); background: rgba(138, 79, 214, 0.2); }

/* A flag, and the narrative behind it */
.flag { border-radius: var(--r-md); background: var(--review-soft); }
.flag-row { display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s3); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--review); flex: none; }
.flag-row span:not(.dot) { flex: 1; }
.flag-row button { color: var(--t1); font-weight: 500; white-space: nowrap; }
.flag-row button:hover { color: #f6a585; }
.flag-detail { margin: 0 var(--s3) var(--s3); padding: var(--s3); border-radius: var(--r-sm); background: rgba(5, 29, 48, 0.6); font-size: var(--fs-micro); line-height: 1.6; color: var(--t2); }
.flag-detail .label { display: block; margin-bottom: 4px; }
.flag-detail mark { background: rgba(239, 125, 87, 0.3); color: var(--t1); padding: 0 2px; border-radius: 3px; }

/* Follow-ups: picking one puts it in the composer */
.follow { display: flex; flex-wrap: wrap; gap: var(--s2); }
.follow button { padding: var(--s1) var(--s3); border-radius: var(--r-pill); border: 1px solid var(--hair-2); color: var(--t2); font-size: var(--fs-micro); }
.follow button:hover { border-color: rgba(255, 255, 255, 0.3); color: var(--t1); }
.composer { display: flex; align-items: center; gap: var(--s3); margin: 0 var(--s4) var(--s4); padding: var(--s2) var(--s3); border-radius: var(--r-md); border: 1px solid var(--hair-2); background: var(--fill-2); color: var(--t3); text-decoration: none; flex: none; }
.composer:hover { border-color: var(--gold-line); }
.composer .q { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.composer.typed .q { color: var(--t1); }
.composer .go { display: none; color: var(--gold-ink); font-size: var(--fs-micro); white-space: nowrap; }
.composer.typed .go { display: inline; }
.composer .send { display: grid; place-items: center; width: 24px; height: 24px; border-radius: var(--r-sm); background: var(--t1); color: var(--navy); flex: none; }
.composer .send .ic { width: 13px; height: 13px; }

/* The open view beside the thread */
.tabs { display: flex; gap: var(--s5); padding: 0 var(--s4); border-bottom: 1px solid var(--hair); flex: none; }
.tabs button { padding: var(--s2) 0; font-size: var(--fs-micro); color: var(--t3); }
.tabs button:hover { color: var(--t2); }
.tabs button[aria-selected="true"] { color: var(--t1); box-shadow: inset 0 -1.5px 0 var(--t1); }

/* Map */
.mapwrap { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--navy-deep); }
.mapimg { width: 100%; height: auto; }
.zl { position: absolute; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.zl.z1 { left: 2%; top: 3%; } .zl.z2 { left: 35%; top: 3%; } .zl.z3 { left: 68%; top: 3%; }
.zl.z4 { left: 2%; top: 53%; } .zl.z5 { left: 35%; top: 53%; } .zl.z6 { left: 68%; top: 53%; }
.callout { position: absolute; right: 3%; top: 15%; display: grid; gap: 1px; padding: var(--s1) var(--s3); border-radius: var(--r-sm); background: var(--navy); border: 1px solid var(--hair-2); font-size: var(--fs-micro); line-height: 1.35; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.callout span { color: var(--t2); }

/* Tables */
.ztable { display: grid; border: 1px solid var(--hair); border-radius: var(--r-md); overflow: hidden; font-size: var(--fs-micro); }
.ztable .th, .ztable .tr { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) minmax(0, 0.9fr); gap: var(--s3); align-items: center; padding: var(--s2) var(--s3); }
.ztable .th { color: var(--t3); background: var(--fill-1); }
.ztable .tr { border-top: 1px solid var(--hair); color: var(--t2); }
.ztable .tr > span { min-width: 0; overflow-wrap: break-word; }
.ztable .mono { color: var(--t1); }
.ztable.agree .th, .ztable.agree .tr { grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 0.9fr)); }
.ztable.access .th, .ztable.access .tr { grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); }
.ztable .y { color: var(--t1); }
.ztable .n { color: var(--t3); }
.ztable .x { color: #f6a585; }
.ztable .r { display: inline-flex; align-items: center; gap: var(--s1); color: var(--t3); }
.ztable .r .ic { width: 12px; height: 12px; }
[role="tabpanel"] { display: grid; gap: var(--s3); }
[role="tabpanel"][hidden] { display: none; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: var(--s2) var(--s5); margin: 0; font-size: var(--fs-micro); }
.kv dt { color: var(--t3); }
.kv dd { margin: 0; color: var(--t1); }

/* Charts */
.zcard { padding: var(--s3); border-radius: var(--r-md); border: 1px solid var(--hair); background: var(--fill-1); }
.zcard-head { display: flex; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); font-size: var(--fs-micro); color: var(--t3); }
.zkpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.zk { display: grid; gap: 2px; padding: var(--s3); border-radius: var(--r-md); border: 1px solid var(--hair); background: var(--fill-1); min-width: 0; }
.zk span { font-size: var(--fs-micro); color: var(--t3); }
.zk b { font-size: var(--fs-title); font-weight: 500; letter-spacing: -0.01em; color: var(--t1); font-variant-numeric: tabular-nums; }
.zk i { font-style: normal; font-size: var(--fs-micro); }
.zk .up { color: #f6a585; }
.zk .down { color: var(--ok); }
.bars { display: grid; gap: var(--s2); }
.bars .row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 28px; align-items: center; gap: var(--s2); font-size: var(--fs-micro); color: var(--t2); font-variant-numeric: tabular-nums; }
.bars .row b { font-weight: 500; text-align: right; color: var(--t1); }
.track { display: block; height: 8px; border-radius: var(--r-pill); background: var(--fill-2); overflow: hidden; }
.fill { display: block; height: 100%; border-radius: var(--r-pill); background: var(--data); }
.fill.warn { background: var(--review); }
.fill.hi { background: #dfe8ff; }
.checks { display: grid; gap: var(--s3); }
.checks .row { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) 64px; gap: var(--s3); align-items: center; font-size: var(--fs-micro); color: var(--t2); }
.checks .row b { font-weight: 500; text-align: right; color: var(--t1); font-variant-numeric: tabular-nums; }

.await { justify-self: start; display: inline-flex; align-items: center; gap: var(--s2); padding: var(--s1) var(--s3); border-radius: var(--r-pill); border: 1px solid var(--hair-2); color: var(--t1); font-size: var(--fs-micro); }
.await::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--data); }

/* ------------------------------------------------------------------
   Product screens. Each is built at the app's real size (13px body, 12px meta,
   32px rows) in one app shell, then scaled to fit its frame, like a screenshot.
   ------------------------------------------------------------------ */
.frame, .surface { --bp: 50% 50%; position: relative; overflow: hidden; border-radius: 18px; background: url(/panel-map.svg) var(--bp) / 1600px auto no-repeat, var(--panel-bg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.has-plan { background: var(--panel-bg); }
.frame.plain, .surface.plain { background: var(--panel-quiet); }
.quote-panel { background: linear-gradient(90deg, rgba(7, 38, 61, 0.78), rgba(7, 38, 61, 0.35) 55%, rgba(7, 38, 61, 0) 80%), url(/panel-map.svg) var(--bp) / 1600px auto no-repeat, var(--panel-bg); }
.closing-panel::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 42% 62% at 50% 52%, rgba(7, 38, 61, 0.82), rgba(7, 38, 61, 0) 75%); pointer-events: none; }
.frame.f-center { padding: 64px 64px 0; }
.frame.f-side { padding: 32px 32px 0; }
.frame.f-full { padding: 32px; }
.frame.f-full .app { border-radius: 10px; }
.frame .app { z-index: 1; border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05); }
.frame.natural { padding: 12px; }
.frame.natural .plan { display: none; }
.frame.natural .app { border-radius: 10px; }

/* The signature: the agency's own line, drawn in gold on the city plan */
.plan { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.plan .agency { fill: rgba(245, 184, 46, 0.06); stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s cubic-bezier(0.3, 0.6, 0.2, 1), fill-opacity 0.6s ease 1s; }
.plan .agency-dot { fill: var(--gold); transition: opacity 0.4s ease 1.2s; }
.plan.prep .agency { stroke-dashoffset: 1; fill-opacity: 0; }
.plan.prep .agency-dot { opacity: 0; }
.plan.prep.drawn .agency { stroke-dashoffset: 0; fill-opacity: 1; }
.plan.prep.drawn .agency-dot { opacity: 1; }

/* Why now: three details from the agency's own data, on one panel */
.vigs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); margin-top: var(--s8); padding: var(--s7); }
.vcell { display: grid; place-items: center; }
.vig { width: 100%; max-width: 320px; padding: 14px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; background: #061f33; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6); font-family: var(--font-app); font-size: 12px; color: #e9eef4; }
.vh { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 11px; color: #8a9db1; }
.vh b { font-weight: 500; color: #a9b8c8; }
.vr { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.vr em { font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vr em.mono { font-family: var(--mono); font-size: 11px; }
.vr i { font-style: normal; font-size: 11px; color: #8a9db1; white-space: nowrap; }
.vr .chip { justify-self: start; }
.vone { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 8px 10px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.vone span { color: #a9b8c8; }
.vone b { font-weight: 500; }
.vt { margin: 10px 0 8px; font-size: 15px; font-weight: 500; }
.vig .kchips span { font-size: 11px; }
.panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; border-left: 1px solid var(--hair); background: rgba(5, 29, 48, 0.35); }
.panel-head { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--hair); flex: none; }
.panel-head .label { display: block; }
.panel-head b { display: block; margin-top: 2px; font-size: var(--fs-small); font-weight: 500; color: var(--t1); }
.panel-body { display: grid; gap: var(--s3); align-content: start; padding: var(--s4); flex: 1; min-height: 0; overflow: hidden; }
.panel-foot { padding: var(--s3) var(--s4); border-top: 1px solid var(--hair); font-size: var(--fs-micro); color: var(--t3); flex: none; }
.decide { display: flex; gap: var(--s2); }
.decide button { padding: var(--s1) var(--s3); border: 1px solid var(--hair-2); border-radius: var(--r-pill); font-size: var(--fs-micro); color: var(--t1); }
.decide button:hover { border-color: rgba(255, 255, 255, 0.35); }
.app { --t1: #e9eef4; --t2: #a9b8c8; --t3: #8a9db1; --hair: rgba(255, 255, 255, 0.07); --hair-2: rgba(255, 255, 255, 0.12); --fill-1: rgba(255, 255, 255, 0.025); --fill-2: rgba(255, 255, 255, 0.05); --fill-3: rgba(255, 255, 255, 0.085);
  position: relative; display: grid; grid-template-rows: 40px minmax(0, 1fr); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; background: #061f33; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.5); font-family: var(--font-app); font-size: 13px; line-height: 1.45; color: var(--t1); text-align: left; }
.app:not(.natural) { width: var(--w); height: var(--h); }
.app-top { display: flex; align-items: center; gap: 16px; padding: 0 12px; border-bottom: 1px solid var(--hair); background: #051a2b; font-size: 12px; color: var(--t3); }
.app-top .tz { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--t1); }
.app-top .tz img { width: 16px; height: 16px; }
.crumbs { margin-left: 24px; color: var(--t2); white-space: nowrap; }
.crumbs i { margin: 0 6px; font-style: normal; color: var(--t3); }
.search { display: inline-flex; align-items: center; gap: 8px; width: 300px; margin-left: auto; padding: 4px 10px; border: 1px solid var(--hair-2); border-radius: 6px; background: var(--fill-1); color: var(--t3); }
.search .ic { width: 13px; height: 13px; }
.search kbd { margin-left: auto; font-family: var(--mono); font-size: 11px; }
.app-top .avatar { margin-left: 0; }
.app-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 0; }
.app-body.has-zero { grid-template-columns: 200px minmax(0, 1fr) 300px; }
.app-body.slim { grid-template-columns: 52px minmax(0, 1fr); }
.app-body.slim.has-zero { grid-template-columns: 52px minmax(0, 1fr) 300px; }
.app-nav { display: flex; flex-direction: column; gap: 1px; padding: 10px 8px; border-right: 1px solid var(--hair); background: #051a2b; overflow: hidden; }
.ni { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px; color: var(--t2); white-space: nowrap; }
.ni .ic { width: 15px; height: 15px; color: var(--t3); }
.ni .spark { width: 13px; height: 13px; margin: 0 1px; }
.ni em { overflow: hidden; text-overflow: ellipsis; font-style: normal; }
.ni.on { background: var(--fill-3); color: var(--t1); }
.ni.on .ic { color: var(--t1); }
.ni.sub { padding-left: 33px; font-size: 12px; }
.ni.rec { font-size: 12px; color: var(--t3); }
.ng { padding: 16px 8px 4px; font-size: 11px; color: var(--t3); }
.nadmin { display: flex; flex-direction: column; gap: 1px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--hair); }
.rail .ni { justify-content: center; padding: 8px 0; }
.rail .ni em { display: none; }
.app-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.app-zero { display: flex; flex-direction: column; min-width: 0; min-height: 0; border-left: 1px solid var(--hair); background: #072339; }
.zhead { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--hair); }
.zhead .ic { width: 14px; height: 14px; color: var(--t3); }
.app-zero .msgs { gap: 12px; padding: 14px; }
.app-zero .composer { margin: 0 12px 12px; }
.app .note { font-size: 12px; color: var(--t3); }
.app .mono { font-family: var(--mono); font-size: 11px; color: var(--t1); }
.app .label { font-size: 11px; }
.split { display: grid; grid-template-columns: 440px minmax(0, 1fr); flex: 1; min-height: 0; }
.hero .split2 { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.hero .mapwrap { flex: none; }
.split.defs { grid-template-columns: minmax(0, 1fr) 460px; }
.split.brief-split { grid-template-columns: minmax(0, 1fr) 320px; }
.split2 { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; align-items: start; }
.ptools { position: absolute; top: 14px; right: 14px; display: flex; gap: 12px; color: var(--t3); }
.ptools .ic { width: 14px; height: 14px; }
.page { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 18px 20px; overflow: hidden; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.page-head h3, .rec-head h3 { font-family: var(--font-app); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.page-head p, .rec-head p { font-size: 12px; color: var(--t3); }
.pbtn { padding: 5px 12px; border: 1px solid var(--hair-2); border-radius: 6px; font-size: 12px; color: var(--t1); white-space: nowrap; }
.pbtn.solid { border-color: var(--t1); background: var(--t1); color: #061f33; }
.filters { display: flex; align-items: center; gap: 6px; }
.fc { padding: 3px 10px; border: 1px solid var(--hair-2); border-radius: var(--r-pill); font-size: 12px; color: var(--t2); }
.fc b { margin-left: 4px; font-weight: 500; color: var(--t3); }
.fc.on { background: var(--fill-3); color: var(--t1); }
.fsearch { display: inline-flex; align-items: center; gap: 6px; width: 220px; margin-left: auto; padding: 4px 10px; border: 1px solid var(--hair-2); border-radius: 6px; font-size: 12px; color: var(--t3); }
.fsearch .ic { width: 12px; height: 12px; }
.deflist { border: 1px solid var(--hair); border-radius: 8px; }
.dlrow.hd { border-radius: 8px 8px 0 0; }
.dlrow { display: grid; grid-template-columns: minmax(0, 1.2fr) 84px minmax(0, 1.4fr) 120px minmax(0, 1fr); gap: 12px; align-items: center; width: 100%; height: 32px; padding: 0 12px; border-top: 1px solid var(--hair); font-size: 12.5px; color: var(--t2); text-align: left; }
.dlrow > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dlrow.hd { height: 30px; border-top: 0; background: var(--fill-1); font-size: 12px; color: var(--t3); }
.dlrow .nm { color: var(--t1); }
button.dlrow:hover { background: var(--fill-1); }
button.dlrow[aria-selected="true"] { background: var(--fill-3); box-shadow: inset 2px 0 0 var(--t1); }
.kind { padding: 1px 7px; border-radius: var(--r-pill); background: var(--gold-soft); color: var(--gold-ink); font-size: 11px; font-style: normal; }
.kind.metric { background: rgba(127, 166, 239, 0.15); color: #cfdcfb; }
.detail { min-width: 0; overflow: hidden; border-left: 1px solid var(--hair); background: #072339; }
.watches { display: grid; align-content: start; gap: 2px; padding: 16px 14px; }
.watches .label { padding: 10px 6px 4px; }
.wrow { display: flex; justify-content: space-between; gap: 12px; padding: 6px; border-radius: 6px; font-size: 12.5px; color: var(--t2); }
.wrow em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; }
.wrow b { font-weight: 500; color: var(--t3); }
.watches .pbtn { justify-self: start; margin: 12px 6px 0; }
.rec-head { display: flex; align-items: center; gap: 12px; }
.rec-head .ph { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--fill-3); color: var(--t3); }
.rec-head .pbtn { margin-left: auto; }
.page .tabs { padding: 0; }
.thread.solo { flex: 1; width: 100%; max-width: 760px; min-height: 0; margin-inline: auto; }
.ztable.recs .th, .ztable.recs .tr { grid-template-columns: 46px 84px minmax(0, 1fr) 50px 62px; }
.ztable.recs .tr > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ztable.locs .th, .ztable.locs .tr { grid-template-columns: minmax(0, 1fr) 70px 44px 44px; }
.ztable.reps .th, .ztable.reps .tr { grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1fr) 90px; }
.app .more { margin-top: 6px; font-size: 12px; color: var(--t3); }
.actrow { display: flex; flex-wrap: wrap; gap: 8px; }
.app .msgs { grid-template-columns: minmax(0, 1fr); }
.zkpis.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; height: 132px; }
.cols span { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.cols i { display: block; width: 100%; height: calc(var(--v) * 1px); border-radius: 3px 3px 0 0; background: var(--data); opacity: 0.85; }
.cols em { font-size: 11px; font-style: normal; color: var(--t3); }
.sect-l { display: block; margin-top: 4px; }
.audit b { font-weight: 500; color: var(--t1); }

/* A screen too narrow to scale legibly lays out at full size and shows its main panel instead */
.app.natural { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
.app.natural .app-body > *, .app.natural .split > *, .app.natural .split2 > * { min-width: 0; }
.app.natural .app-top .search, .app.natural .app-top .crumbs { display: none; }
.app.natural .app-top .avatar { margin-left: auto; }
.app.natural .ztable .r .ic { display: none; }
.app.natural .app-body, .app.natural .app-body.has-zero, .app.natural .app-body.slim, .app.natural .app-body.slim.has-zero, .app.natural .split, .app.natural .split.defs, .app.natural .split.brief-split, .app.natural .split2 { grid-template-columns: minmax(0, 1fr); }
.app.natural .app-nav { display: none; }
.app.natural .app-zero, .app.natural .detail, .app.natural .panel { border-left: 0; border-top: 1px solid var(--hair); }
.hero .app.natural .panel-body .split2 .zcard { display: none; }
.app.natural .dlrow { grid-template-columns: minmax(0, 1fr) 76px; }
.app.natural .dlrow > span:nth-child(n + 3) { display: none; }
.app.natural .ztable.recs .th > span:nth-child(4), .app.natural .ztable.recs .tr > span:nth-child(4) { display: none; }
.app.natural .ztable.recs .th, .app.natural .ztable.recs .tr { grid-template-columns: 46px 88px minmax(0, 1fr) 64px; }
.app.natural .zkpis.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.app.natural .watches { display: none; }
.app.natural .filters .fsearch { display: none; }
.app.natural .page { padding: 14px; }

/* A numbered marker on a screen, and its callout beside it */
.rg { position: relative; border-radius: 10px; transition: box-shadow 0.2s ease; }
.rg.lit { box-shadow: 0 0 0 2px var(--t1), 0 0 0 8px rgba(233, 238, 244, 0.12); }
.mk { position: absolute; z-index: 2; top: -10px; right: -10px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--t1); color: #061f33; font-family: var(--font); font-size: 12px; font-weight: 600; box-shadow: 0 0 0 3px #061f33; }
.callouts { list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.callouts li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--s3); align-items: start; border-radius: var(--r-sm); }
.callouts .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--hair-2); border-radius: 50%; font-size: 12px; font-weight: 600; color: var(--t1); transition: background-color 0.2s ease, color 0.2s ease; }
.callouts li:hover .n, .callouts li:focus .n { background: var(--t1); color: var(--navy); }
.callouts b { display: block; font-size: var(--fs-small); font-weight: 500; color: var(--t1); }
.callouts p { font-size: var(--fs-small); color: var(--t2); text-wrap: pretty; }
.callouts.v { grid-template-columns: minmax(0, 1fr); gap: var(--s4); margin-top: var(--s2); }
.watchfig + .callouts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.hero .shot { margin-inline: calc((min(1320px, 100vw - 2 * var(--gutter)) - 100%) / -2); }
.kfig, .watchfig { margin-inline: calc((min(1320px, 100vw - 2 * var(--gutter)) - 100%) / -2); }
.shot .cap, .kfig .cap, .watchfig .cap, .rolefig .cap, .trustfig .cap { margin-top: var(--s3); }
.steps-col { display: grid; gap: var(--s5); align-content: center; }
.rolecopy .callouts li { padding-left: 0; }
.rolecopy .callouts li::before { content: none; }
.hero { padding-bottom: var(--s8); }

/* Play-in: a window plays its conversation once, the first time it is shown */
.app.prep .u, .app.prep .a > *, .app.prep .panel { opacity: 0; transform: translateY(6px); }
.app.play .u, .app.play .a > *, .app.play .panel { animation: rise 0.5s ease-out both; }
.app.play .a > :nth-child(1) { animation-delay: 0.25s; }
.app.play .a > :nth-child(2) { animation-delay: 0.45s; }
.app.play .panel { animation-delay: 0.6s; }
.app.play .a > :nth-child(3) { animation-delay: 0.75s; }
.app.play .a > :nth-child(4) { animation-delay: 0.9s; }
.app.play .a > :nth-child(n + 5) { animation-delay: 1.05s; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------
   Demo page (navy) and legal pages (white)
   ------------------------------------------------------------------ */
.demo { padding-block: clamp(56px, 8vw, 96px); }
.demo .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.demo h1 { margin-top: var(--s4); font-size: clamp(2.25rem, 4.4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.03em; }
.demo-copy { display: grid; gap: var(--s5); align-content: start; min-width: 0; }
.demo-copy p { color: var(--t2); font-size: var(--fs-lead); }
.see-list { margin: 0; padding: 0; list-style: none; display: grid; border-top: 1px solid var(--hair); }
.see-list li { padding: 14px 0; border-bottom: 1px solid var(--hair); color: var(--t1); }
.form-card { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); display: grid; gap: 20px; min-width: 0; }
.form-card form { display: grid; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.field { display: grid; gap: var(--s2); min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-small); font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); font: inherit; font-size: var(--fs-body); color: var(--ink); background: var(--white); color-scheme: light; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.form-card .btn { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.form-card :focus-visible { outline-color: var(--blue); }
.form-note { font-size: var(--fs-small); color: var(--ink-3); }
.form-status { font-size: 0.9375rem; }
.form-status.error { color: var(--flag-red); }
.form-done { display: grid; gap: var(--s3); }
.form-done h2 { font-size: 1.75rem; color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

body.light { background: var(--white); color: var(--ink); color-scheme: light; }
body.light .site-header { background: var(--navy); }
.legal { padding-block: clamp(48px, 7vw, 88px); }
.legal .wrap { max-width: 800px; }
.legal .label { color: var(--ink-3); }
.legal h1 { margin-top: var(--s4); font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.legal .effective { margin-top: var(--s3); font-size: 0.9375rem; color: var(--ink-3); }
.legal h2 { margin: 40px 0 12px; font-size: var(--fs-title); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: var(--s3); }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: var(--s3); }
.legal a { color: var(--blue); }
.legal :focus-visible { outline-color: var(--blue); }
.legal .table-scroll { overflow-x: auto; margin: var(--s4) 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 600; color: var(--ink); }
.legal td { color: var(--ink-2); }

/* ------------------------------------------------------------------
   Smaller screens
   ------------------------------------------------------------------ */
@media (max-height: 800px) and (min-width: 1101px) {
  .hero { padding-top: var(--s8); }
  .shot { margin-top: var(--s6); }
}
@media (max-width: 1100px) {
  .facts ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts li:nth-child(4) { border-left: 0; }
  .facts li:nth-child(n + 4) { border-top: 1px solid var(--hair); }
  .scene { height: auto; }
  .scene-stick { position: static; height: auto; grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .steps li { opacity: 1; }
  .steps::after { display: none; }
  .steps li.now::before { display: none; }
}
@media (max-width: 960px) {
  .head, .demo .wrap { grid-template-columns: minmax(0, 1fr); }
  .panel { border-left: 0; border-top: 1px solid var(--hair); }
  .figs, .vigs, .quote-panel { grid-template-columns: minmax(0, 1fr); }
  .vigs, .quote-panel { padding: var(--s5); }
  .figs > div, .figs > div:first-child { padding: 0; }
  .figs > div + div { margin-top: var(--s5); }
  .fig { height: auto; }
  .trust { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .nav .btn .arrow { display: none; }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { padding: var(--s4) var(--s3); }
  .facts li:nth-child(n) { border-left: 0; border-top: 1px solid var(--hair); }
  .facts li:nth-child(even) { border-left: 1px solid var(--hair); }
  .facts li:nth-child(-n + 2) { border-top: 0; }
  .facts li:last-child { grid-column: 1 / -1; border-left: 0; }
  .scene-art { display: none; }
  .scene-art.phone { display: block; }
  .actions { width: 100%; flex-direction: column; }
  .actions .btn { width: 100%; }
  .brief-head, .flist { padding-inline: var(--s3); }
  .contrast { grid-template-columns: minmax(0, 1fr); }
  .hero .follow { display: none; }
  .callouts { grid-template-columns: minmax(0, 1fr); }
  .watchfig + .callouts { grid-template-columns: minmax(0, 1fr); }
  .filters .fsearch { display: none; }
  .page { padding: 14px; }
  .callout { display: none; }
  .zl { font-size: 9px; }
  .checks .row { grid-template-columns: minmax(0, 1fr) 56px 60px; gap: var(--s2); }
  .zkpis { gap: var(--s2); }
  .zk { padding: var(--s2); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .app .u, .app .a > *, .app .panel { opacity: 1 !important; transform: none !important; animation: none !important; }
  .scene-art g, .rolefig, .rolecopy, .steps li, .btn, .btn .arrow { transition: none !important; }
}
