/* Parachute house style, as in the pilot deck: navy bands frame the page, cream carries the reading,
   orange marks what matters. Square corners everywhere except the phone.
   Layout: a navy hero with the round diagram beside the pitch, then cream sections in one
   72rem column, stacking to one column on phones. One committed look, so no dark variant. */
:root {
  --navy: #083047; --navy-2: #12405B; --slate: #46596A; --cream: #FDECD0; --card: #FEF5E6;
  --line: #E3D3B8; --tan: #F3DDB8; --orange: #EB5B00; --orange-ink: #B84300; --orange-lift: #FF8A3D;
  --yellow: #FBB200; --muted: #C8C0B0; --green: #2F7D4F;
  --font: Manrope, "Helvetica Neue", Arial, sans-serif;
  --t-hero: clamp(2.3rem, 1.4rem + 3.6vw, 4.1rem); --t-h2: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem);
  --t-h3: 1.2rem; --t-body: 1.0625rem; --t-small: .875rem;
  --wrap: 72rem; --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--navy); font-family: var(--font); font-weight: 500; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--orange-ink); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--yellow); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(56px, 8vw, 104px); }
.band + .band { border-top: 1px solid var(--line); }
.dark { background-color: var(--navy); color: var(--cream); }
.tan { background: var(--tan); }

.h2 { font-size: var(--t-h2); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; max-width: 22ch; }
.h3 { font-size: var(--t-h3); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.lead { font-size: 1.1875rem; line-height: 1.5; color: var(--slate); max-width: 56ch; }
.dark .lead { color: var(--muted); }
.text { color: var(--slate); max-width: 60ch; }
.dark .text { color: var(--muted); }
.note { font-size: var(--t-small); color: var(--slate); }
.dark .note { color: var(--muted); }
.head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; font: inherit; font-weight: 800; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-ink); }
.btn-quiet { border-color: currentColor; background: transparent; color: inherit; }
.btn-quiet:hover { background: rgba(253, 236, 208, .1); }

/* ---------- Header ---------- */
.top { background: var(--navy); color: var(--cream); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 128px; height: auto; display: block; }
.brand span { font-weight: 800; font-size: 1.125rem; letter-spacing: -.01em; padding-left: 12px; border-left: 1px solid var(--navy-2); line-height: 1.6; }
.top nav { display: flex; align-items: center; gap: 24px; font-weight: 700; font-size: .9375rem; }
.top nav > a:not(.btn) { text-decoration: none; color: var(--muted); }
.top nav > a:not(.btn):hover { color: var(--cream); }
.top nav .btn { min-height: 40px; padding: 8px 16px; }
@media (max-width: 1100px) { .top nav > a:not(.btn) { display: none; } }
@media (max-width: 420px) { .brand span { display: none; } }

/* ---------- Hero ---------- */
.hero { background-image: url(/control/assets/pattern-a.png); background-size: cover; background-position: center; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px); }
.hero h1 { font-size: var(--t-hero); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Live round console: map, driver's phone and office board, run from one clock ---------- */
.hero-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 72px); align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.hero-head > * { min-width: 0; }
.hero-side { display: grid; gap: 20px; }
@media (max-width: 900px) { .hero-head { grid-template-columns: minmax(0, 1fr); } }

.console { --m-land: #0B2C41; --m-park: #0E3A3C; --m-water: #134E6B; --m-path: #1D4660; --m-minor: #24506B; --m-major: #33698A; --m-high: #4F8BAA;
  --ok: #3FA66A; --bad: #E0533F; background: #071F2F; border: 1px solid var(--navy-2); color: var(--cream); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.console-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 12px 16px; border-bottom: 1px solid var(--navy-2); }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 800; color: var(--orange-lift); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(235, 91, 0, .7); animation: beat 1.6s infinite; }
.console.paused .live::before { animation: none; background: var(--muted); }
@keyframes beat { 70% { box-shadow: 0 0 0 8px rgba(235, 91, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(235, 91, 0, 0); } }
.console-title { font-weight: 800; font-size: .9375rem; }
.console-title span { color: var(--muted); font-weight: 600; }
.clock { margin-left: auto; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ctl { display: flex; gap: 8px; }
.ctl button { font: inherit; font-size: .8125rem; font-weight: 800; color: var(--cream); background: transparent; border: 2px solid var(--navy-2); padding: 6px 12px; cursor: pointer; min-height: 36px; }
.ctl button:hover { border-color: var(--muted); }
.ctl button[aria-pressed="true"] { background: var(--cream); color: var(--navy); border-color: var(--cream); }

.console-main { display: grid; grid-template-columns: minmax(0, 1fr) 290px; }
.console-main > * { min-width: 0; }
@media (max-width: 980px) { .console-main { grid-template-columns: minmax(0, 1fr); } }
.map { position: relative; border-right: 1px solid var(--navy-2); background: var(--m-land); }
@media (max-width: 980px) { .map { border-right: 0; border-bottom: 1px solid var(--navy-2); } }
.map svg { display: block; width: 100%; height: auto; }
.m-park { fill: var(--m-park); }
.m-water { fill: var(--m-water); }
.m-path { fill: none; stroke: var(--m-path); stroke-width: .7; stroke-dasharray: 2 2; }
.m-minor { fill: none; stroke: var(--m-minor); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.m-major { fill: none; stroke: var(--m-major); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.m-high { fill: none; stroke: var(--m-high); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.r-sheet { fill: none; stroke: var(--cream); stroke-width: 2.4; stroke-dasharray: 6 6; opacity: .85; }
.r-ahead { fill: none; stroke: var(--orange); stroke-opacity: .32; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.r-done { fill: none; stroke: var(--orange); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 4px rgba(255, 138, 61, .75)); }
.s circle { fill: var(--navy); stroke: var(--cream); stroke-width: 2; transition: fill .3s; }
.s text { fill: var(--cream); font: 800 10.5px var(--font); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.s.ok circle { fill: var(--ok); stroke: #D9F2E2; }
.s.bad circle { fill: var(--bad); stroke: #FFD9D2; }
.s.here circle { stroke: var(--orange-lift); stroke-width: 3; }
.ring { fill: none; stroke: var(--orange-lift); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 1.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.k rect { fill: var(--orange); stroke: var(--cream); stroke-width: 2; }
.k text { fill: var(--cream); font: 800 12px var(--font); paint-order: stroke; stroke: #071F2F; stroke-width: 4px; }
.van circle:first-child { fill: rgba(255, 138, 61, .25); }
.van circle:last-child { fill: var(--cream); stroke: var(--orange); stroke-width: 4; }
.map-key { position: absolute; left: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 8px 10px; background: rgba(7, 31, 47, .82); font-size: .75rem; font-weight: 700; color: var(--muted); max-width: calc(100% - 24px); }
.map-key span { display: inline-flex; align-items: center; gap: 6px; }
.map-key i { width: 18px; height: 0; border-top: 4px solid var(--orange); }
.map-key i.sheet { border-top: 2px dashed var(--cream); }
.map-key b { color: var(--cream); font-variant-numeric: tabular-nums; }
.map-key .sheet-only[hidden] { display: none; }

.side { display: grid; place-items: center; padding: 20px 16px; background: radial-gradient(circle at 50% 30%, #0E3550, #071F2F 70%); }
.side .phone { width: min(258px, 100%); }
.side .scr-top { padding-top: 18px; }
.side .scr-body { min-height: 196px; align-content: start; }
.scr-actions span { transition: transform .15s, box-shadow .15s, background .2s; }
.scr-actions span.pressed { transform: scale(.94); box-shadow: 0 0 0 4px rgba(63, 166, 106, .35); }
.scr-actions .no.pressed { background: var(--bad); border-color: var(--bad); color: #fff; box-shadow: 0 0 0 4px rgba(224, 83, 63, .3); }
.scr-actions .dim { opacity: .35; }
.scr-eta { font-size: .8rem; font-weight: 800; color: var(--orange-ink); }
.chip.key { background: #DCE8F2; color: var(--navy); }

.board { border-top: 1px solid var(--navy-2); }
.board-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 12px 16px; font-size: .8125rem; font-weight: 700; color: var(--muted); }
.board-head b { color: var(--cream); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.board-head .who { margin-right: auto; color: var(--cream); font-weight: 800; }
.alert { margin: 0 16px 12px; padding: 10px 12px; background: rgba(224, 83, 63, .16); border-left: 4px solid var(--bad); font-size: .875rem; font-weight: 700; }
.cells { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--navy-2); border-top: 1px solid var(--navy-2); }
@media (max-width: 980px) { .cells { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cell { background: #071F2F; padding: 9px 10px; display: grid; gap: 2px; font-size: .75rem; min-width: 0; transition: background .3s; }
.cell .n { display: flex; justify-content: space-between; gap: 6px; font-weight: 800; color: var(--muted); }
.cell .nm { font-weight: 800; font-size: .8125rem; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell .st { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.cell.next { background: #0F3A55; }
.cell.next .st { color: var(--orange-lift); }
.cell.ok .st { color: #7FD3A0; }
.cell.bad { background: #3A1C1F; }
.cell.bad .st { color: #FF9B8A; }
.console-note { padding: 10px 16px 12px; font-size: .75rem; color: var(--muted); border-top: 1px solid var(--navy-2); }

/* ---------- Rounds AI ---------- */
.ai { background: var(--navy); color: var(--cream); background-image: radial-gradient(1200px 500px at 85% 0%, rgba(235, 91, 0, .16), transparent 60%); }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.ai-grid > * { min-width: 0; }
@media (max-width: 920px) { .ai-grid { grid-template-columns: minmax(0, 1fr); } }
.paper { position: sticky; top: 24px; background: #FFFDF8; color: #1F2A44; padding: 22px 24px 26px; transform: rotate(-1.2deg); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); overflow: hidden; }
.paper h3 { font-size: .8125rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #5B6577; border-bottom: 2px solid #1F2A44; padding-bottom: 6px; margin-bottom: 12px; }
.paper dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 14px; align-items: baseline; }
.paper dt { font-size: .75rem; font-weight: 800; color: #5B6577; }
.paper dd { font-family: Caveat, "Segoe Print", "Bradley Hand", cursive; font-size: 1.6rem; line-height: 1.05; color: #22306B; }
.paper mark { background: transparent; color: inherit; transition: background .2s, box-shadow .2s; border-radius: 3px; }
.paper mark.lit { background: rgba(251, 178, 0, .45); box-shadow: 0 0 0 3px rgba(251, 178, 0, .45); }
.scan { position: absolute; inset: 0 0 auto; height: 90px; background: linear-gradient(180deg, transparent, rgba(235, 91, 0, .22) 70%, rgba(235, 91, 0, .9) 98%, transparent); transform: translateY(-100px); pointer-events: none; }
.ai.scanning .scan { animation: sweep 2.2s var(--ease) 1 forwards; }
@keyframes sweep { to { transform: translateY(520px); } }
.read { display: grid; gap: 8px; margin-top: 28px; }
.read-head { font-size: .8125rem; font-weight: 800; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.field { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; text-align: left; font: inherit; color: var(--cream); background: #0B3A55; border: 1px solid var(--navy-2); padding: 10px 12px; cursor: pointer; }
.field:hover, .field:focus-visible, .field.lit { border-color: var(--yellow); background: #0E4462; }
.field .k { font-size: .75rem; font-weight: 800; color: var(--muted); }
.field .v { font-weight: 700; min-width: 0; }
.conf { font-size: .6875rem; font-weight: 800; padding: 3px 7px; white-space: nowrap; }
.conf.high { background: rgba(63, 166, 106, .2); color: #8EDBAE; }
.conf.check { background: rgba(251, 178, 0, .2); color: var(--yellow); }
.field .why { grid-column: 2 / -1; font-size: .8125rem; color: var(--yellow); font-weight: 600; }
.ai.scanning .field { animation: fieldin .5s var(--ease) both; }
@keyframes fieldin { from { opacity: .2; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--navy-2); }
.caps > div { padding: 22px 22px 0 0; display: grid; gap: 8px; align-content: start; min-width: 0; }
.caps > div + div { padding-left: 22px; border-left: 1px solid var(--navy-2); }
.caps p { color: var(--muted); }
@media (max-width: 860px) { .caps { grid-template-columns: minmax(0, 1fr); } .caps > div, .caps > div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--navy-2); } }
.next-ai { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 24px; padding: 24px; border: 1px dashed rgba(255, 138, 61, .6); }
.next-ai > * { min-width: 0; }
.next-ai ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.next-ai li { display: grid; gap: 6px; }
.next-ai li b { font-weight: 800; }
.next-ai li span { color: var(--muted); font-size: .9375rem; }
@media (max-width: 860px) { .next-ai, .next-ai ul { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .live::before, .ring, .ai.scanning .scan, .ai.scanning .field { animation: none; } }

/* ---------- Proof strip ---------- */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--card); }
.proof > div { padding: 24px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.proof > div + div { border-left: 1px solid var(--line); }
.proof .num { font-size: 2.25rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.proof .num small { font-size: 1rem; letter-spacing: 0; color: var(--slate); }
.proof p { font-size: .9375rem; color: var(--slate); }
.proof-note { margin-top: 14px; }
@media (max-width: 860px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof > div:nth-child(3) { border-left: 0; } .proof > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 460px) { .proof { grid-template-columns: minmax(0, 1fr); } .proof > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; padding: 0 24px 0 0; min-width: 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step); font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.steps p { color: var(--slate); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } .steps li:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li, .steps li + li { padding: 0; border-left: 0; } }

/* ---------- Two-up: driver app ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.ticks { display: grid; gap: 14px; margin-top: 8px; }
.ticks li { position: relative; padding-left: 1.3em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; border-left: .55em solid var(--orange); border-block: .32em solid transparent; }
.ticks b { font-weight: 800; }
.dark .ticks li { color: var(--muted); }
.dark .ticks b { color: var(--cream); }

.phone-stage { display: flex; justify-content: center; position: relative; }
.phone-stage::before { content: ""; position: absolute; inset: 6% 0 auto auto; width: 70%; aspect-ratio: 1 / 1; max-width: 100%; background: url(/control/assets/hello-art.png) center / contain no-repeat; opacity: .14; pointer-events: none; }
.phone { position: relative; width: min(300px, 100%); background: #0B2233; border-radius: 36px; padding: 12px; box-shadow: 0 24px 48px rgba(8, 48, 71, .28); }
.screen { background: #F7F3EC; color: var(--navy); border-radius: 26px; overflow: hidden; display: grid; }
.scr-top { background: var(--navy); color: var(--cream); padding: 22px 18px 14px; display: grid; gap: 4px; }
.scr-top small { color: var(--muted); font-weight: 700; font-size: .75rem; }
.scr-top b { font-size: 1.05rem; }
.scr-progress { height: 6px; background: var(--navy-2); margin-top: 8px; }
.scr-progress i { display: block; width: 33%; height: 100%; background: var(--orange); }
.scr-body { padding: 16px 18px; display: grid; gap: 12px; }
.scr-body .who { font-weight: 800; font-size: 1.15rem; line-height: 1.2; }
.scr-body .addr { color: var(--slate); font-size: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .75rem; font-weight: 800; padding: 4px 8px; background: var(--tan); }
.chip.warn { background: #FFE3B3; color: #7A3E00; }
.scr-note { font-size: .82rem; background: #fff; border: 1px solid var(--line); padding: 10px; color: var(--slate); }
.scr-note b { color: var(--navy); }
.scr-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 18px 20px; }
.scr-actions span { text-align: center; font-weight: 800; font-size: .85rem; padding: 12px 6px; border-radius: 10px; }
.scr-actions .yes { background: var(--green); color: #fff; }
.scr-actions .no { background: #fff; border: 2px solid var(--navy); }

/* ---------- Audiences ---------- */
.aud { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
.aud > article { padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; align-content: start; min-width: 0; }
.aud .council { background: var(--navy); color: var(--cream); }
.aud .charity { background: var(--card); border: 1px solid var(--line); }
.tag { justify-self: start; font-size: .8125rem; font-weight: 800; padding: 4px 10px; background: var(--orange); color: #fff; }
.tag.soon { background: transparent; color: var(--orange-ink); border: 2px solid var(--orange-ink); }
.aud .btn { justify-self: start; margin-top: 8px; }
@media (max-width: 860px) { .aud { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Data and security ---------- */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.trust > div { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 3px solid var(--navy); min-width: 0; }
.trust p { color: var(--slate); }
@media (max-width: 860px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Questions ---------- */
.faq { display: grid; max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 800; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange-ink); font-size: 1.4rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; color: var(--slate); max-width: 62ch; }

/* ---------- Demo form ---------- */
.demo .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .demo .wrap { grid-template-columns: minmax(0, 1fr); } }
.demo .wrap > * { min-width: 0; }
form { display: grid; gap: 16px; background: var(--card); color: var(--navy); padding: clamp(20px, 4vw, 32px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-weight: 800; font-size: .9375rem; }
label small { font-weight: 600; color: var(--slate); }
input, select, textarea { font: inherit; font-weight: 500; color: var(--navy); background: #fff; border: 2px solid var(--line); border-radius: 0; padding: 10px 12px; width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); }
textarea { min-height: 96px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
legend { font-weight: 800; font-size: .9375rem; margin-bottom: 6px; padding: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { display: flex; align-items: center; gap: 8px; font-weight: 700; background: #fff; border: 2px solid var(--line); padding: 8px 12px; cursor: pointer; }
.choice input { width: auto; accent-color: var(--orange); }
.form-msg { padding: 12px 14px; font-weight: 700; background: var(--tan); }
.form-msg.err { background: #FFE0D1; color: #8A2A00; }

/* ---------- Footer ---------- */
.foot { padding-block: 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot img { width: 120px; height: auto; display: block; }
.foot p { color: var(--muted); font-size: var(--t-small); }

/* ---------- Menu on narrow screens ---------- */
.menu { position: relative; display: none; }
.menu summary { list-style: none; cursor: pointer; font-weight: 800; padding: 8px 14px; border: 2px solid var(--navy-2); min-height: 40px; display: flex; align-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.menu ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 230px; background: var(--navy); border: 1px solid var(--navy-2); padding: 8px 0; box-shadow: 0 18px 36px rgba(0, 0, 0, .3); }
.menu li a { display: block; padding: 10px 18px; text-decoration: none; font-weight: 700; color: var(--cream); }
.menu li a:hover { background: var(--navy-2); }
@media (max-width: 1100px) { .menu { display: block; } }
.top nav a[aria-current="page"] { color: var(--cream); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 8px; }

/* ---------- Inner pages ---------- */
.page-hero { background-image: url(/control/assets/pattern-a.png); background-size: cover; background-position: center; padding-block: clamp(36px, 6vw, 80px) clamp(44px, 7vw, 88px); }
.page-hero .wrap { display: grid; gap: 18px; }
.page-hero h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.5rem); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; max-width: 20ch; }
.page-hero .lead { font-size: 1.1875rem; max-width: 60ch; }
.page-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; font-weight: 700; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--navy-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cream); }
.meta-line { font-size: .875rem; color: var(--muted); font-weight: 600; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: clamp(32px, 6vw, 80px); align-items: start; }
.layout > * { min-width: 0; }
@media (max-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 42rem; display: grid; gap: 18px; font-size: 1.0625rem; line-height: 1.65; }
.prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin-top: 22px; text-wrap: balance; }
.prose h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.25; margin-top: 8px; }
.prose p, .prose li { color: #2B4153; }
.prose ul, .prose ol { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 1.3em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; border-left: .55em solid var(--orange); border-block: .32em solid transparent; }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; position: relative; padding-left: 2.2em; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: 0; font-weight: 800; color: var(--orange-ink); font-variant-numeric: tabular-nums; }
.prose a { color: var(--orange-ink); text-underline-offset: 3px; }
.prose strong { color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 800; background: var(--tan); }
.table-scroll { overflow-x: auto; }
.callout { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--orange); padding: 16px 18px; display: grid; gap: 8px; }
.callout p { color: var(--slate); }
.callout b { color: var(--navy); }
.sources { font-size: .875rem; color: var(--slate); border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 8px; }
.sources li { padding-left: 0; }
.sources li::before { display: none; }

.aside { position: sticky; top: 24px; display: grid; gap: 16px; }
.aside .box { background: var(--navy); color: var(--cream); padding: 22px; display: grid; gap: 12px; }
.aside .box p { color: var(--muted); font-size: .9375rem; }
.aside .box .btn { justify-self: start; }
.aside nav { display: grid; gap: 4px; background: var(--card); border: 1px solid var(--line); padding: 16px 18px; }
.aside nav b { font-size: .8125rem; color: var(--slate); margin-bottom: 4px; }
.aside nav a { font-weight: 700; text-decoration: none; padding: 4px 0; }
.aside nav a:hover { color: var(--orange-ink); }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--navy); }
.feature-grid > div { padding: 22px 22px 0 0; display: grid; gap: 8px; align-content: start; min-width: 0; }
.feature-grid > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.feature-grid p { color: var(--slate); }
@media (max-width: 860px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } .feature-grid > div, .feature-grid > div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 20px; }
.card-link { display: grid; gap: 10px; align-content: start; padding: 24px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s; }
.card-link:hover { border-color: var(--navy); }
.card-link .kicker { font-size: .8125rem; font-weight: 800; color: var(--orange-ink); }
.card-link h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.25; }
.card-link p { color: var(--slate); font-size: .9375rem; }
.card-link .more { font-weight: 800; font-size: .9375rem; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }

.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { max-width: 24ch; }

/* ---------- Footer ---------- */
.site-foot { padding-block: 56px 40px; }
.site-foot .cols { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-foot .cols > * { min-width: 0; }
@media (max-width: 860px) { .site-foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .site-foot .cols { grid-template-columns: minmax(0, 1fr); } }
.site-foot img { width: 128px; height: auto; display: block; margin-bottom: 14px; }
.site-foot p { color: var(--muted); font-size: .875rem; max-width: 32ch; }
.site-foot h2 { font-size: .875rem; font-weight: 800; margin-bottom: 12px; }
.site-foot ul { display: grid; gap: 8px; }
.site-foot a { color: var(--muted); text-decoration: none; font-size: .9375rem; font-weight: 600; }
.site-foot a:hover { color: var(--cream); }
.site-foot .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--navy-2); font-size: .8125rem; color: var(--muted); }
.more-link { margin-top: 28px; font-weight: 800; }
.more-link a { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.dark .more-link a { color: var(--cream); }

/* ---------- Control: the Parachute house style with a cyan accent in place of orange ---------- */
:root { --orange: #3FD3E0; --orange-ink: #0B6A75; --orange-lift: #7BE3EC; --volt: #3FD3E0; --volt-deep: #23B9C7; --mark: #1A9FB0; --good: #3FA66A; --bad: #E0533F; }
.btn-primary { background: var(--volt); color: var(--navy); }
.btn-primary:hover { background: var(--volt-deep); }
.tag { color: var(--navy); }
.dark :focus-visible { outline-color: var(--volt); }
.brand span::before { content: ""; display: inline-block; width: .7em; height: .75em; margin-right: .4em; vertical-align: -.05em; background: linear-gradient(to top, var(--volt) 50%, transparent 50%) 0 100% / 24% 100% no-repeat, linear-gradient(to top, var(--volt) 78%, transparent 78%) 50% 100% / 24% 100% no-repeat, linear-gradient(var(--volt), var(--volt)) 100% 100% / 24% 100% no-repeat; }

/* ---------- Product home: modules, ticketing cards and proof ---------- */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--navy); }
.modules a { display: grid; gap: 8px; align-content: start; padding: 24px 24px 28px 0; text-decoration: none; min-width: 0; border-bottom: 1px solid var(--line); }
.modules a:nth-child(3n+2), .modules a:nth-child(3n) { padding-left: 24px; border-left: 1px solid var(--line); }
.modules a:hover h3 { text-decoration: underline; text-decoration-color: var(--volt-deep); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.modules p { color: var(--slate); }
.modules .k { font-size: .8125rem; font-weight: 800; color: var(--orange-ink); }
@media (max-width: 860px) { .modules { grid-template-columns: minmax(0, 1fr); } .modules a, .modules a:nth-child(3n+2), .modules a:nth-child(3n) { padding: 20px 0; border-left: 0; } }
.ticketing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ticketing a { display: grid; gap: 10px; padding: 26px; background: #0B3A55; border: 1px solid var(--navy-2); text-decoration: none; color: var(--cream); }
.ticketing a:hover { border-color: var(--volt); }
.ticketing h3 { font-size: 1.4rem; font-weight: 800; }
.ticketing p { color: var(--muted); }
.ticketing .more { font-weight: 800; color: var(--volt); }
@media (max-width: 700px) { .ticketing { grid-template-columns: minmax(0, 1fr); } }
.proof-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.proof-row article { display: grid; gap: 10px; padding: 26px; background: var(--card); border: 1px solid var(--line); align-content: start; }
.proof-row .who { font-size: .8125rem; font-weight: 800; color: var(--orange-ink); }
.proof-row p { color: var(--slate); }
.proof-row a { font-weight: 800; }
@media (max-width: 760px) { .proof-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- The Control dashboard demo ---------- */
.dash { --surface: #071F2F; --panel: #0A2A3F; --gridline: #17405A; --ink-2: #A9BCCB; background: var(--surface); border: 1px solid var(--navy-2); color: var(--cream); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.dash-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 16px; border-bottom: 1px solid var(--navy-2); }
.dash-bar .org { font-weight: 800; font-size: .9375rem; margin-right: auto; }
.dash-bar .org span { color: var(--ink-2); font-weight: 600; }
.seg { display: inline-flex; flex-wrap: wrap; border: 2px solid var(--navy-2); }
.seg button { font: inherit; font-size: .8125rem; font-weight: 800; color: var(--cream); background: transparent; border: 0; padding: 6px 11px; min-height: 34px; cursor: pointer; }
.seg button + button { border-left: 2px solid var(--navy-2); }
.seg button[aria-pressed="true"] { background: var(--volt); color: var(--navy); }
.dash-body { display: grid; gap: 1px; background: var(--navy-2); }
.dash-body > * { background: var(--surface); min-width: 0; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--navy-2); }
.tile { background: var(--surface); padding: 14px 16px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.tile .k { font-size: .75rem; font-weight: 800; color: var(--ink-2); }
.tile .v { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tile .d { font-size: .75rem; font-weight: 700; color: var(--ink-2); }
.tile .d b { margin-right: 4px; }
.tile .d b { font-variant-numeric: tabular-nums; }
.tile .d.good b { color: #7FD3A0; }
.tile .d.bad b { color: #FF9B8A; }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.panels { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1px; background: var(--navy-2); }
.panels.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panels > * { background: var(--surface); min-width: 0; padding: 16px; display: grid; gap: 10px; align-content: start; position: relative; }
@media (max-width: 860px) { .panels, .panels.two { grid-template-columns: minmax(0, 1fr); } }
.panel-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.panel-h h3 { font-size: .9375rem; font-weight: 800; }
.panel-h span { font-size: .75rem; color: var(--ink-2); font-weight: 600; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: var(--gridline); stroke-width: 1; }
.chart .tick { fill: var(--ink-2); font: 600 11px var(--font); }
.chart .lbl { fill: var(--cream); font: 800 11px var(--font); }
.chart .cat { fill: var(--cream); font: 700 12px var(--font); }
.chart .bar { fill: var(--mark); transition: opacity .15s; }
.chart .bar.dim { opacity: .45; }
.chart .hit { fill: transparent; cursor: crosshair; }
.tip { position: absolute; pointer-events: none; background: var(--cream); color: var(--navy); padding: 8px 10px; font-size: .8125rem; font-weight: 700; box-shadow: 0 8px 20px rgba(0, 0, 0, .35); white-space: nowrap; z-index: 5; }
.tip b { display: block; font-size: .75rem; color: var(--slate); font-weight: 700; }
.alerts { display: grid; gap: 10px; }
.alerts li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; font-size: .8125rem; line-height: 1.4; padding: 10px; background: var(--panel); border-left: 3px solid var(--ink-2); }
.alerts li.good { border-left-color: var(--good); }
.alerts li.bad { border-left-color: var(--bad); }
.alerts .ic { font-weight: 800; font-size: .6875rem; padding: 2px 6px; background: var(--navy-2); white-space: nowrap; }
.alerts li.good .ic { background: rgba(63, 166, 106, .25); color: #9BE3B9; }
.alerts li.bad .ic { background: rgba(224, 83, 63, .22); color: #FFB3A6; }
.dash-sources { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 12px 16px; font-size: .75rem; font-weight: 700; color: var(--ink-2); }
.dash-sources span { display: inline-flex; align-items: center; gap: 6px; }
.dash-sources span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.dash-sources .first::before { display: none; }
.dash details { padding: 0 16px 12px; font-size: .8125rem; color: var(--ink-2); }
.dash details summary { cursor: pointer; font-weight: 800; padding: 8px 0; }
.dash table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.dash th, .dash td { text-align: left; padding: 5px 8px; border-bottom: 1px solid var(--gridline); }
.dash td:not(:first-child), .dash th:not(:first-child) { text-align: right; }
.dash-note { padding: 10px 16px 12px; font-size: .75rem; color: var(--ink-2); border-top: 1px solid var(--navy-2); }
