/* Policyforge inspection chamber: paper, ink, signal orange and real simulation.
   Shared component tokens; all status colors also carry a written verdict. */
:root {
  --bg: #f8f9f6; --ink: #17201c; --ink-2: #3e4943; --mute: #69726c; --line: #d8ded8; --soft: #eef1eb; --soft-2: #e1e7df;
  --dark: #141414; --dark-2: #232323; --dark-3: #2e2e2e; --on-dark: #f2f2f0; --on-dark-2: #a3a3a0; --black: #050505;
  --green-deep: #13302a; --orange: #ff5a1f; --orange-ink: #c2410c; --orange-soft: #fff1ea;
  --pass: #17803d; --pass-bg: #e6f4ea; --fail: #c4291c; --fail-bg: #fde8e6; --warn: #9a5b00; --warn-bg: #fff3dc;
  --fly: #ff5a1f; --bump: #2f7fa8; --gap-ok: #e3f2e7; --gap-bad: #fbe3df;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-lg: 20px; --r-md: 8px; --r-sm: 6px; --wrap: 1280px; --gut: 40px;
  --serif: "Instrument Serif", Georgia, serif; --duration: 220ms; --ease: cubic-bezier(.2,.7,.2,1);
  --border-control: #7b857c; --glass: rgba(245,248,242,.94); --shadow-glass: 0 14px 64px #001b2c30;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -0.025em; line-height: 1.08; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 12px; }
.muted { color: var(--mute); font-size: 14px; }
.two-tone .g { color: var(--mute); }
.two-tone.dark { color: #5c5c5c; }
.two-tone.dark .w { color: var(--on-dark); }

/* Buttons, pills, status */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 500 16px/1 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2b2b2b; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-orange { background: var(--orange); color: #160700; }
.btn-orange:hover { background: #ff7440; }
.btn:disabled { opacity: .6; cursor: progress; }
.lnk { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lnk:hover { text-decoration-color: var(--ink); }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--orange-soft);
  border: 1px solid #ffd9c7; font: 400 14px/1.2 var(--mono); color: #4a2a1a; text-decoration: none; }
a.tag:hover { border-color: var(--orange); }
.tag-new { background: var(--orange); color: #160700; font: 500 11px/1 var(--mono); letter-spacing: .04em; padding: 5px 8px; border-radius: 999px; }
.pill-dark { display: inline-block; font: 400 13px/1 var(--mono); color: #ff9a6e; background: #3a2416; padding: 6px 10px; border-radius: 6px; }
.st { display: inline-block; white-space: nowrap; font: 500 11px/1 var(--mono); letter-spacing: .05em; padding: 5px 8px; border-radius: 6px; vertical-align: 2px; }
.st.pass { color: var(--pass); background: var(--pass-bg); }
.st.fail { color: var(--fail); background: var(--fail-bg); }
.st.wip { color: var(--warn); background: var(--warn-bg); }
.st.ref { color: var(--ink-2); background: var(--soft-2); }

/* Intro split */
.intro { max-width: 1360px; margin: 0 auto; padding: 120px var(--gut); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.intro-media { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); aspect-ratio: 16 / 10; }
.intro-media video { width: 100%; height: 100%; object-fit: cover; }
.intro-copy h2 { font-size: 64px; }
.intro-copy p { margin: 22px 0 0; color: var(--ink-2); font-size: 18px; max-width: 46ch; }

/* Dark mosaic */
.mosaic-wrap { background: var(--dark); padding: 80px var(--gut); }
.mosaic { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.tile { position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden; min-height: 320px; background: var(--dark-2); }
.tile-card { grid-column: span 4; padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 16px; background: var(--dark-3); }
.tile-card h2 { color: var(--on-dark); font-size: clamp(28px, 2.6vw, 38px); font-weight: 300; line-height: 1.12; }
.tile-card em { font-style: italic; }
.tile-wide { grid-column: span 8; }
.tile-media { grid-column: span 6; }
.tile-media.tile-wide { grid-column: span 8; }
.tile-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.tile-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.72) 100%); }
.tile-media figcaption { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; max-width: 34ch; color: var(--on-dark); font-size: 17px; line-height: 1.35; }

/* Sections */
.sec { padding: 128px 0; }
.sec-head { max-width: 760px; margin: 0 auto 56px; }
.sec-head.center { text-align: center; }
.sec-head h2 { font-size: 64px; }
.sec-head .tag { margin-bottom: 22px; }
.sec-head p { margin: 20px auto 0; color: var(--ink-2); max-width: 62ch; }

/* Course strip (strip.js draws the SVG) */
.strip { margin: 0; border-radius: var(--r-lg); background: var(--soft); overflow: hidden; }
.strip-tabs { display: flex; gap: 6px; padding: 10px; }
.strip-tabs button { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 8px 16px; border: 0;
  border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 15px/1.25 var(--sans); cursor: pointer; }
.strip-tabs button:hover { background: var(--soft-2); }
.strip-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 0 0 1px var(--line); }
.strip-panel { margin: 0 10px; background: #fff; border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line); }
.strip-plot { padding: 34px 34px 16px; border-bottom: 1px solid var(--line); }
#strip-svg { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 260; overflow: visible; }
.strip-axis { display: flex; justify-content: space-between; margin: 10px 0 0; font: 400 12px/1 var(--mono); color: var(--mute); }
#strip-svg .ground { stroke: #b9b9b6; stroke-width: 1; }
#strip-svg .wall { fill: #d9d9d5; stroke: #8f8f8f; stroke-width: 1; vector-effect: non-scaling-stroke; }
#strip-svg .bump { fill: var(--bump); }
#strip-svg .goal { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 5 4; }
#strip-svg .gap { fill: transparent; transition: fill .3s; }
#strip-svg .gap-ok { fill: var(--gap-ok); }
#strip-svg .gap-bad { fill: var(--gap-bad); }
#strip-svg .tr-drive, #strip-svg .tr-fly { fill: none; stroke-linecap: round; stroke-linejoin: round; }
#strip-svg .tr-drive { stroke: var(--ink); stroke-width: 2.5; }
#strip-svg .tr-fly { stroke: var(--fly); stroke-width: 3.5; }
#strip-svg .touch { fill: var(--ink); }
.strip-read { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-rows: auto auto 1fr; gap: 10px 56px; padding: 28px 34px 32px; }
.strip-title { grid-column: 1; margin: 0; font-size: 22px; letter-spacing: -.015em; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.strip-text { grid-column: 1; margin: 0; color: var(--ink-2); font-size: 16px; }
.strip-stats { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
.strip-stats div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.strip-stats div:first-child { padding-top: 0; }
.strip-stats dt { color: var(--mute); }
.strip-stats dd { margin: 0; font-variant-numeric: tabular-nums; }
.strip-stats .gate-line { border-bottom: 0; }
.strip-stats .gate-line dd { font-weight: 500; }
.strip figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 16px 30px 20px; font-size: 13px; color: var(--ink-2); }
.cap-note { flex-basis: 100%; color: var(--mute); }
.key { display: inline-flex; align-items: center; gap: 8px; }
.key i { display: inline-block; width: 20px; height: 0; border-top: 3px solid; }
.key .k-drive { border-color: var(--ink); }
.key .k-fly { border-color: var(--fly); border-top-width: 4px; }
.key .k-touch { width: 0; border: 6px solid transparent; border-bottom: 10px solid var(--ink); border-top: 0; }
.key .k-wall { width: 11px; height: 13px; border: 1px solid var(--mute); background: #d9d9d5; }
.key .k-bump { width: 13px; height: 6px; border: 0; background: var(--bump); }
.key .k-gap { width: 22px; height: 12px; border: 0; background: linear-gradient(90deg, var(--gap-ok) 50%, var(--gap-bad) 50%); }

.fixes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin: 72px 0 0; }
.fix-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--orange); color: var(--orange-ink); font: 500 13px/1 var(--mono); }
.fix h3 { margin: 18px 0 8px; font-size: 24px; }
.fix p { margin: 0; color: var(--ink-2); font-size: 16px; }
.status-line { margin: 64px auto 0; max-width: 780px; text-align: center; color: var(--ink-2); font-size: 16px; }
.status-line .st { margin-right: 6px; }

/* Robot rows */
.robots { padding-top: 40px; }
.row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; align-items: center; padding: 56px 0; }
.row + .row { border-top: 1px solid var(--line); }
.row-flip .row-copy { order: 2; }
.ring { display: block; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--orange); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 11px var(--orange-soft); margin-bottom: 18px; }
.row h3 { font-size: clamp(30px, 3vw, 42px); }
.row-sub { margin: 10px 0 0; font: 400 14px/1.6 var(--mono); color: var(--mute); }
.row-copy > p:not(.row-sub):not(.row-warn) { margin: 18px 0 0; color: var(--ink-2); max-width: 48ch; }
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0 0; }
.nums div { padding-top: 12px; border-top: 1px solid var(--ink); }
.nums dt { font-size: 13px; color: var(--mute); }
.nums dd { margin: 4px 0 0; font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.row-warn { margin: 20px 0 0; padding-left: 12px; border-left: 2px solid var(--orange); color: var(--ink-2); font-size: 14px; max-width: 52ch; }
.row .lnk { display: inline-block; margin-top: 22px; }
.row-media { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); aspect-ratio: 16 / 10; }
.row-media video { width: 100%; height: 100%; object-fit: cover; }

/* In action carousel */
.action { background: var(--black); color: var(--on-dark); padding: 120px 0 110px; text-align: center; overflow: hidden; }
.action h2 { font-size: clamp(34px, 4vw, 54px); margin-bottom: 44px; }
.car { position: relative; max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }
.car-stage { display: grid; grid-template-columns: 1fr minmax(0, 860px) 1fr; gap: 36px; align-items: center; }
.car-main { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.car-main video { width: 100%; height: 100%; object-fit: cover; }
.car-peek { height: 62%; border-radius: var(--r-md); background: #111 center / cover no-repeat; opacity: .35; }
.car-peek-l { mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.car-peek-r { mask-image: linear-gradient(270deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(270deg, transparent, #000 60%); }
.car-btn { position: absolute; top: calc(50% - 70px); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3a3a3a; background: rgba(10,10,10,.8);
  display: grid; place-items: center; cursor: pointer; }
.car-btn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.car-btn:hover { border-color: #fff; }
.car-prev { left: calc(50% - 430px - 64px); }
.car-next { right: calc(50% - 430px - 64px); }
.car-cap { max-width: 760px; margin: 30px auto 0; min-height: 104px; }
.car-cap h3 { font-size: 30px; color: #fff; }
.car-cap p { margin: 10px 0 0; color: var(--on-dark-2); font-size: 16px; }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.car-dots button { width: 40px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: #3c3c3c; cursor: pointer; }
.car-dots button[aria-current="true"] { background: var(--orange); box-shadow: 0 0 10px rgba(255,90,31,.6); }
.car-dots button:focus-visible { outline-offset: 4px; }

/* Process */
.stations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.stations li { padding: 18px 0 0; border-top: 1px solid var(--ink); }
.stations span { font: 400 13px/1 var(--mono); color: var(--orange-ink); }
.stations h3 { margin: 12px 0 8px; font-size: 21px; }
.stations p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 88px; }
.rule { background: var(--soft); border-radius: var(--r-md); padding: 30px 32px; }
.rule span { font: 400 13px/1 var(--mono); color: var(--orange-ink); }
.rule h3 { margin: 14px 0 8px; font-size: 24px; }
.rule p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* Ledger (deep green) */
.ledger { background: var(--dark); color: #eef3f1; padding: 110px var(--gut); }
.ledger-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.ledger h2 { font-size: clamp(34px, 3.6vw, 50px); color: #fff; }
.ledger-copy p { margin: 18px 0 0; color: var(--on-dark-2); max-width: 40ch; }
.ledger-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ledger-tiles li { background: #fff; color: var(--ink); border-radius: var(--r-md); padding: 22px 20px; display: flex; flex-direction: column; min-height: 168px; }
.ledger-tiles b { font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ledger-tiles span { margin-top: 6px; font-size: 15px; }
.ledger-tiles small { margin-top: auto; padding-top: 14px; color: var(--mute); font: 400 12px/1.4 var(--mono); }
.ledger-tiles li.bad b { color: var(--fail); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.plan { background: var(--soft); border-radius: var(--r-md); padding: 30px 30px 34px; }
.plan-hi { background: var(--ink); color: #fff; }
.plan-hi p:not(.price) { color: #c9c9c6; }
.plan h3 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.price { margin: 18px 0 14px; font-size: 54px; letter-spacing: -.04em; line-height: 1; }
.price small { font-size: 18px; letter-spacing: 0; color: var(--mute); }
.plan p:not(.price) { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.fine { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.fine h3 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.fine ul { margin: 14px 0 0; padding-left: 1.1em; color: var(--ink-2); font-size: 15.5px; }
.fine li + li { margin-top: 6px; }
.fine .muted { margin: 12px 0 0; }

/* Request */
.request { background: var(--soft); }
.req-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.req-side h2 { font-size: clamp(34px, 4vw, 54px); }
.send { margin: 30px 0 22px; padding-left: 1.2em; color: var(--ink-2); }
.send li + li { margin-top: 12px; }
.send strong { color: var(--ink); font-weight: 500; }
.send .lnk { display: inline-block; margin-top: 6px; }
.pay { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.pay p { margin: 0 0 12px; }
.form { background: #fff; border-radius: var(--r-lg); padding: 36px; box-shadow: 0 0 0 1px var(--line); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field > label, .field legend { display: block; font-weight: 500; font-size: 15px; margin-bottom: 8px; padding: 0; }
.opt { font-weight: 400; color: var(--mute); font-size: 13px; margin-left: 4px; }
input:not([type]), input[type="email"], input[type="url"], textarea {
  width: 100%; font: 400 16px/1.45 var(--sans); color: var(--ink); background: var(--soft); border: 1px solid var(--border-control); border-radius: 6px; padding: 12px 14px; }
textarea { resize: vertical; min-height: 92px; }
input::placeholder, textarea::placeholder { color: var(--mute); }
input:focus, textarea:focus { outline: none; background: #fff; border-color: var(--ink); }
.field.err input, .field.err textarea, .field.err .seg { border-color: var(--fail); box-shadow: 0 0 0 1px var(--fail); }
.field .msg { margin: 6px 0 0; font-size: 14px; color: var(--fail); }
.hint { margin: 6px 0 0; font-size: 13px; color: var(--mute); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--soft); border-radius: 8px; border: 1px solid var(--border-control); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 10px 6px; border-radius: 999px; font-size: 15px; color: var(--ink-2); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--orange-ink); outline-offset: 1px; }
.check label { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-weight: 400; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { margin: 0 0 16px; color: var(--fail); font-size: 15px; }
.done { margin-top: 20px; padding: 18px 20px; background: var(--pass-bg); border-radius: 12px; }
.done p { margin: 0; }
.done p + p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.done-ref strong { font-family: var(--mono); font-weight: 500; }

/* Footer */
.foot { background: var(--dark); color: var(--on-dark-2); padding: 80px var(--gut) 56px; }
.foot-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .6fr) minmax(0, 1.2fr); gap: 56px; }
.logo-light { color: #fff; }
.logo-light rect { fill: #2e2e2e; }
.foot-brand p { margin: 18px 0 22px; color: var(--on-dark-2); }
.foot-brand b { color: #fff; font-weight: 500; }
.foot-nav { display: flex; flex-direction: column; gap: 10px; }
.foot-nav p { margin: 0 0 4px; color: #6f6f6c; font-size: 13px; }
.foot-nav a { color: var(--on-dark); text-decoration: none; font-size: 15px; }
.foot-nav a:hover { color: var(--orange); }
.foot-note p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.55; }

/* Responsive */
@media (max-width: 1100px) {
  .stations { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 32px; }
  .ledger-in { grid-template-columns: 1fr; gap: 36px; }
  .car-prev { left: 12px; } .car-next { right: 12px; }
  .car-stage { grid-template-columns: minmax(0, 1fr); }
  .car-peek { display: none; }
}
@media (max-width: 900px) {
  :root { --gut: 24px; }
  .nav-pill { display: none; }
  .intro { grid-template-columns: 1fr; gap: 36px; padding: 88px var(--gut); }
  .tile-card, .tile-media, .tile-media.tile-wide { grid-column: span 12; }
  .tile { min-height: 260px; }
  .tile-card { min-height: 0; padding: 32px 26px; }
  .row, .row-flip { grid-template-columns: 1fr; gap: 28px; }
  .row-flip .row-copy { order: 0; }
  .row-media { order: -1; }
  .strip-read { grid-template-columns: 1fr; grid-template-rows: none; }
  .strip-stats { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .fixes { grid-template-columns: 1fr; gap: 36px; }
  .rules { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .fine { grid-template-columns: 1fr; gap: 32px; }
  .req-in { grid-template-columns: 1fr; gap: 40px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-note { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  :root { --gut: 16px; --r-lg: 16px; }
  body { font-size: 16px; }
  .nav-in { padding: 10px var(--gut); gap: 12px; }
  .logo { font-size: 17px; }

  .tag { font-size: 12.5px; }



  .frame-chip { left: 10px; bottom: 10px; max-width: calc(100% - 20px); font-size: 11px; }
  .mosaic-wrap { padding: 56px var(--gut); }
  .sec { padding: 88px 0; }
  .sec-head { margin-bottom: 36px; }
  .strip-tabs { flex-direction: column; gap: 4px; padding: 8px; }
  .strip-tabs button { justify-content: flex-start; }
  .strip-panel { margin: 0 8px; }
  .strip-plot { padding: 20px 14px 12px; }
  #strip-svg { aspect-ratio: 1000 / 440; }
  .strip-read { padding: 20px 18px 24px; }
  .strip-stats div { grid-template-columns: 1fr; gap: 2px; }
  .strip figcaption { padding: 14px 18px 18px; gap: 6px 14px; }
  .nums dd { font-size: 22px; }
  .action { padding: 88px 0 80px; }
  .car { padding: 0; }
  .car-main { border-radius: 0; }
  .car-btn { top: auto; bottom: -2px; }
  .car-cap { padding: 0 var(--gut); }
  .stations { grid-template-columns: 1fr 1fr; }
  .ledger { padding: 80px var(--gut); }
  .ledger-tiles { grid-template-columns: 1fr 1fr; }
  .ledger-tiles li { min-height: 140px; padding: 18px 16px; }
  .form { padding: 22px 18px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .foot-in { grid-template-columns: 1fr; gap: 36px; }
}
.intro-media img { width: 100%; height: 100%; object-fit: cover; }
/* QA round 2 */
.tile-card .pill-dark { align-self: flex-start; }
.plan.plan-hi p:not(.price) { color: #c9c9c6; }
.ledger-tiles b { font-size: clamp(26px, 2.2vw, 34px); overflow-wrap: anywhere; }

/* Design-critic fixes (2026-11-06) */
:root { --mute-text: #6b6b6b; --pass: #136c33; }
h1, h2, h3 { text-wrap: balance; }
.nav-pill { background: #5f5f5f; }
.nav-pill a:focus-visible { outline-color: #fff; outline-offset: -2px; }
.muted, .row-sub, .nums dt, .strip-stats dt, .strip-axis, .ledger-tiles small, .hint, .opt, .cap-note, .foot-nav p, .price small { color: var(--mute-text); }
.foot-nav p { color: #9a9a96; }



.tile-media video { opacity: 1; }
.tile-media::after { background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.82)); }
.car-prev { left: calc(var(--gut) + 10px); }
.car-next { right: calc(var(--gut) + 10px); }
@media (min-width: 1101px) { .car-prev { left: calc(50% - 430px - 64px); } .car-next { right: calc(50% - 430px - 64px); } }
.nums dd { white-space: nowrap; }
.ledger-img { position: relative; margin: 28px 0 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; }
.ledger-img img, .ledger-img video { width: 100%; height: 100%; object-fit: cover; }
.ledger-img { background: #1d2b3a; }
.ledger-img .frame-chip { font-size: 11.5px; left: 12px; bottom: 12px; }
@media (max-width: 900px) {
  .nav-pill { display: flex; }
}
@media (max-width: 700px) {
  .nav-in { flex-wrap: wrap; row-gap: 8px; }
  .nav-pill { order: 3; width: 100%; overflow-x: auto; white-space: nowrap; scrollbar-width: none; justify-content: space-between; }
  .nav-pill a { padding: 6px 12px; font-size: 14px; }
  html { scroll-padding-top: 120px; }
}
@media (max-width: 600px) {
  #strip-svg { aspect-ratio: 1000 / 560; }
}



/* Inspection chamber. Content is present before any animation initializes. */
img { height: auto; }
h2 em, .hero h1 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
:focus-visible { outline: 2px solid var(--orange-ink); outline-offset: 4px; }
.btn { border-radius: 6px; gap: 24px; min-height: 48px; transition: background-color var(--duration), color var(--duration); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #33453c; }
.btn-orange { color: #160700; }
.eyebrow { font: 400 11px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .09em; margin: 0 0 25px; }
.nav { position: sticky; top: 0; z-index: 30; background: rgba(248,249,246,.94); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.nav-in { height: 76px; max-width: 1600px; padding: 0 var(--gut); margin: auto; display: flex; align-items: center; gap: 48px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 20px; font-weight: 500; letter-spacing: -.05em; color: var(--ink); }
.logo svg { width: 30px; height: 30px; }
.logo rect { fill: var(--ink); }
.logo path { stroke: var(--orange); stroke-width: 3; stroke-linecap: round; fill: none; }
.nav-pill { display: flex; gap: 24px; padding: 0; background: none; }
.nav-pill a { font-size: 13px; color: var(--ink-2); text-decoration: none; padding: 12px 0; }
.nav-pill a:hover { color: var(--orange-ink); }
.nav-pill a:focus-visible { outline-color: var(--orange-ink); outline-offset: 4px; }
.nav-actions { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.nav-actions .btn { font-size: 13px; min-height: 42px; padding: 0 16px; }
.motion-toggle { border: 0; background: none; font: 400 11px/1.4 var(--mono); color: var(--ink-2); min-height: 44px; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 4px; }
.hero { padding: 0; max-width: 1600px; margin: auto; text-align: left; }
.hero-top { padding: 36px var(--gut) 32px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
.hero-top .eyebrow { display: flex; align-items: center; gap: 10px; }
.signal { width: 6px; height: 6px; background: var(--orange-ink); }
.edition { margin-left: 16px; color: var(--mute); }
.hero h1 { font-size: 116px; line-height: .86; margin: 0; font-weight: 400; letter-spacing: -.07em; text-wrap: nowrap; }
.hero h1 em { font-size: 132px; }
.hero-summary { max-width: 360px; padding-top: 10px; justify-self: end; }
.hero-summary > p:first-child { font-size: 24px; line-height: 1.28; letter-spacing: -.025em; margin: 0; }
.hero-summary > p:first-child span { color: var(--mute); }
.hero-summary .hero-detail { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 16px 0 22px; max-width: 35ch; }
.hero-report { display: block; margin-top: 16px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.reel-scroll { padding: 0 var(--gut); }
.chamber { position: relative; min-height: 580px; border-radius: 24px; isolation: isolate; overflow: hidden; background: #203c54; color: #fff; }
.chamber-media { position: absolute; inset: 0; margin: 0; }
.chamber-media video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.chamber-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,#04152245 0%,transparent 35%,#021827b0 100%); }
.chamber-top { position: absolute; top: 24px; left: 28px; right: 28px; display: flex; justify-content: space-between; gap: 16px; font: 400 11px/1.5 var(--mono); letter-spacing: .1em; color: #fff; z-index: 2; text-shadow: 0 1px 4px #081b29; }
.chamber-label { position: absolute; top: 53px; left: 28px; z-index: 2; display: flex; align-items: center; gap: 7px; font: 400 10px/1.5 var(--mono); color: #fff; padding: 5px 8px; background: #122c40; border-radius: 3px; }
.record-dot { width: 5px; height: 5px; background: #ffb18a; border-radius: 50%; }
.chamber-source { color: #c4d3df; padding-left: 10px; border-left: 1px solid #849aab; margin-left: 3px; }
.chamber-bottom { position: absolute; bottom: 30px; left: 32px; right: 32px; display: flex; align-items: end; justify-content: space-between; gap: 24px; pointer-events: none; }
.chamber-bottom a, .chamber-bottom button { pointer-events: auto; }
.chamber-caption { max-width: 60%; }
.chamber-caption .eyebrow { margin-bottom: 15px; font-size: 10px; }
.chamber-caption h2 { font-size: 48px; line-height: .98; letter-spacing: -.04em; text-shadow: 0 1px 16px #07172d80; }
.lens-toggle { border: 1px solid #afc2d3; padding: 10px 13px; min-height: 44px; background: #11283ce8; color: #fff; border-radius: 4px; font: 400 10px/1.2 var(--mono); cursor: pointer; margin-top: 22px; }
.lens-toggle:focus-visible { outline-color: #fff; }
.verdict a:focus-visible { outline-color: var(--ink); }
.verdict { position: relative; width: 310px; padding: 22px; border: 1px solid #ffffffc2; border-radius: 14px; background: var(--glass); backdrop-filter: blur(18px) saturate(1.1); box-shadow: inset 0 1px 0 #fff, var(--shadow-glass); color: var(--ink); pointer-events: auto; }
.v-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; font: 400 10px/1.4 var(--mono); text-transform: uppercase; }
.v-head .st { font-size: 10px; border-radius: 3px; }
.v-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0 0; }
.v-nums div { display: flex; flex-direction: column-reverse; padding-bottom: 14px; border-bottom: 1px solid #b0bcb1; }
.v-nums dd { margin: 0 0 6px; font-size: 42px; line-height: 1; font-weight: 400; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.v-nums dd span { font-size: 21px; color: var(--ink-2); letter-spacing: -.04em; }
.v-nums dt { font-size: 10px; line-height: 1.5; color: var(--ink-2); }
.v-foot { font-size: 11px; line-height: 1.6; margin: 14px 0; color: var(--ink-2); }
.v-link { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #b0bcb1; padding-top: 12px; font-size: 12px; font-weight: 500; text-decoration: none; }
.v-link:hover { color: var(--orange-ink); }
#inspection-lens { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.reel-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--orange); transform: scaleX(var(--reel-progress,0)); transform-origin: left; }
.hero-rail { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 26px var(--gut) 0; padding: 0 0 24px; border-bottom: 1px solid var(--line); font: 400 10px/1.4 var(--mono); letter-spacing: .04em; }
.hero-rail a { text-decoration: none; }
.hero-rail a:hover { color: var(--orange-ink); }
/* Native scrolling expands the recording into a wide inspection chamber. */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .motion-ready .reel-scroll { height: 900px; padding: 0; }
  .motion-ready .chamber { position: sticky; top: 88px; margin: 0 var(--gut); height: min(650px,calc(100svh - 112px)); min-height: 500px; transform: scale(var(--reel-scale,1)); transform-origin: center center; border-radius: var(--reel-radius,24px); }
}
/* A quieter system around the hero keeps the evidence useful. */
.intro { max-width: 1360px; gap: 80px; padding-top: 120px; padding-bottom: 120px; }
.intro-copy h2 { font-size: 58px; }
.intro-copy p { font-size: 16px; }
.intro-media { aspect-ratio: 1; border-radius: 8px; }
.frame-chip { position: absolute; left: 16px; bottom: 16px; padding: 8px 10px; border-radius: 4px; background: #0b1d2deb; color: #fff; font: 400 10px/1.4 var(--mono); max-width: calc(100% - 32px); }
.sec-head { max-width: 900px; }
.sec-head.center { text-align: left; margin-left: 0; }
.sec-head h2 { font-size: 66px; line-height: .98; letter-spacing: -.04em; }
.sec-head p:not(.eyebrow) { margin-left: 0; font-size: 16px; max-width: 66ch; }
.sec-head .eyebrow { color: var(--ink-2); margin: 0 0 22px; }
.sec-head .tag { border-radius: 4px; background: transparent; border-color: var(--line); margin-bottom: 20px; font-size: 11px; }
.tag-new { border-radius: 2px; font-size: 10px; }
.mosaic-wrap { padding: 64px var(--gut); }
.tile { border-radius: 6px; }
.tile-card { background: transparent; }
.tile-card h2 { font-size: 36px; }
.tile-card em { font-family: var(--serif); font-size: 1.2em; }
.tile-media figcaption { background: #0d0d0de8; padding: 12px; border-radius: 4px; font-size: 14px; line-height: 1.5; }
.strip { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.strip-tabs { border-bottom: 1px solid var(--line); }
.strip-tabs button { border-radius: 4px; font-size: 13px; }
.strip-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.strip-tabs button[aria-selected="true"]:focus-visible { outline-color: var(--orange-ink); }
.status-line { text-align: left; max-width: none; background: var(--soft); padding: 22px 28px; border-left: 2px solid var(--orange-ink); }
.row { gap: 70px; padding: 64px 0; }
.row h3 { font-size: 40px; letter-spacing: -.035em; }
.row-media { border-radius: 8px; }
.robots { padding-top: 40px; }
.action { padding: 90px 0; }
.action h2 { font-size: 54px; }
.car-main { border-radius: 8px; }
.car-dots { gap: 4px; }
.car-dots button { height: 44px; border-radius: 0; background: linear-gradient(#747474,#747474) center / 28px 3px no-repeat; }
.car-dots button[aria-current="true"] { background: linear-gradient(var(--orange),var(--orange)) center / 28px 3px no-repeat; box-shadow: none; }
.process .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 70px; align-items: start; }
.process .sec-head { position: sticky; top: 120px; margin: 0; }
.process .sec-head h2 { font-size: 58px; }
.stations { display: block; position: relative; }
.stations li { position: relative; display: grid; grid-template-columns: 40px 1fr; padding: 24px 0; border-top: 1px solid var(--line); gap: 0 18px; }
.stations li:last-child { border-bottom: 1px solid var(--line); }
.stations span { grid-row: span 2; padding-top: 4px; }
.stations h3 { margin: 0 0 8px; font-size: 24px; }
.stations p { font-size: 14px; }
.stations li::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 100%; background: var(--orange-ink); transform: scaleX(0); transform-origin: left; transition: transform 450ms var(--ease); }
.stations li.is-active::before { transform: scaleX(1); }
.rules { grid-column: 1 / -1; margin: 24px 0 0; gap: 0 48px; }
.rule { border-radius: 0; border-top: 1px solid var(--line); padding: 28px 0; background: transparent; }
.rule h3 { font-size: 23px; }
.ledger { background: #19231e; }
.ledger-tiles { gap: 0; border-top: 1px solid #718278; border-left: 1px solid #718278; }
.ledger-tiles li { min-height: 178px; border-radius: 0; background: transparent; color: #fff; border-right: 1px solid #718278; border-bottom: 1px solid #718278; }
.ledger-tiles small { color: #c4cec6; }
.ledger-tiles li.bad b { color: #ffb4a8; }
.ledger-img { border-radius: 6px; }
.ledger-copy p { color: #c4cec6; }
.plans { gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.plan { border-radius: 0; padding: 36px; background: transparent; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan-hi { background: var(--ink); }
.plan.plan-hi p:not(.price) { color: #d3ddd4; }
.price { font-size: 60px; }
.form { border-radius: 8px; }
.req-side { position: sticky; top: 120px; }
.req-side h2 { font-size: 58px; }
.seg span { border-radius: 4px; }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.foot { padding-top: 80px; }
.logo-light { color: #fff; }
.logo-light rect { fill: #35423a; }
.foot-brand .logo { font-size: 30px; }
.foot-brand p { max-width: 24ch; }
.motion-ready [data-reveal] { transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.motion-ready [data-reveal]:not(.revealed) { opacity: 0; transform: translateY(18px); }
.motion-paused [data-reveal] { opacity: 1 !important; transform: none !important; }
@media (min-width: 1440px) { .hero h1 { font-size: 142px; } .hero h1 em { font-size: 160px; } .hero-summary { padding-top: 55px; max-width: 400px; margin-right: 50px; } .hero-summary > p:first-child { font-size: 28px; } }
@media (max-width: 1100px) { .nav-in { gap: 28px; } .nav-pill { gap: 16px; } .nav-actions { gap: 12px; } .hero h1 { font-size: 100px; } .hero h1 em { font-size: 116px; } .hero-summary { padding-top: 40px; } .hero-top { grid-template-columns: 1.3fr 1fr; } .intro { gap: 44px; } .intro-copy h2 { font-size: 48px; } }
@media (max-width: 900px) {
  :root { --gut: 24px; }
  .nav-in { gap: 20px; } .nav-pill { gap: 15px; } .motion-toggle { font-size: 10px; } .nav-actions .btn { font-size: 12px; }
  .hero-top { gap: 24px; padding-top: 46px; } .hero h1 { font-size: 82px; } .hero h1 em { font-size: 94px; } .hero-summary { padding-top: 35px; } .hero-summary > p:first-child { font-size: 21px; }
  .hero-top .eyebrow { font-size: 9px; } .edition { display: none; }
  .chamber { min-height: 530px; } .chamber-caption h2 { font-size: 36px; } .chamber-bottom { left: 24px; right: 24px; } .verdict { width: 280px; padding: 18px; }
  .hero-rail { gap: 12px; font-size: 8px; } .hero-rail a { display: none; }
  .intro { grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 80px; padding-bottom: 80px; } .intro-copy h2 { font-size: 42px; }
  .sec-head h2 { font-size: 54px; } .process .wrap { grid-template-columns: 1fr; gap: 24px; } .process .sec-head { position: static; }
  .req-side { position: static; } .plans { display: block; } .plan + .plan { border-top: 1px solid var(--line); border-left: 0; }
}
@media (max-width: 700px) {
  .nav-in { height: auto; min-height: 68px; flex-wrap: wrap; gap: 0; padding-top: 12px; padding-bottom: 0; }
  .nav-pill { order: 3; width: 100%; justify-content: space-between; overflow: visible; border-top: 1px solid var(--line); margin-top: 12px; padding: 0; background: none; border-radius: 0; }
  .nav-pill a { font-size: 12px; padding: 10px 0; } .nav-actions { gap: 12px; } .nav-actions .btn { min-height: 40px; padding: 0 12px; gap: 10px; }
  .logo { font-size: 18px; } .logo svg { width: 26px; height: 26px; }
  .hero-top { grid-template-columns: 1fr; padding: 36px var(--gut) 32px; gap: 28px; } .hero-top .eyebrow { font-size: 9px; margin-bottom: 24px; }
  .hero h1 { font-size: 82px; } .hero h1 em { font-size: 94px; } .hero-summary { justify-self: start; padding-top: 0; max-width: none; }
  .hero-summary > p:first-child { font-size: 19px; line-height: 1.4; } .hero-summary > p:first-child br { display: none; } .hero-summary > p:first-child br::after { content: " "; }
  .hero-summary .hero-detail { max-width: 42ch; margin-top: 12px; } .hero-summary .btn { font-size: 14px; }
  .chamber { overflow: hidden; min-height: 0; border-radius: 12px; background: #1b3449; }
  .chamber-media { position: relative; aspect-ratio: 4 / 3; }
  .chamber-top { top: 16px; left: 16px; right: 16px; font-size: 9px; }
  .chamber-label { top: auto; bottom: 12px; left: 12px; font-size: 9px; } .chamber-source { display: none; }
  .chamber-bottom { position: relative; left: auto; right: auto; bottom: auto; display: block; padding: 20px; }
  .chamber-caption { max-width: none; margin-bottom: 22px; } .chamber-caption .eyebrow { font-size: 9px; margin-bottom: 12px; } .chamber-caption h2 { font-size: 36px; }
  .verdict { width: 100%; border-radius: 8px; padding: 20px; background: #f3f6ef; } .v-nums dd { font-size: 42px; }
  .lens-toggle, #inspection-lens { display: none !important; } .reel-progress { display: none; }
  .hero-rail { font-size: 8px; letter-spacing: 0; gap: 6px; margin-top: 20px; }
  .intro { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 72px; } .intro-copy { order: -1; } .intro-copy h2 { font-size: 48px; } .intro-media { aspect-ratio: 16/10; }
  .sec { padding: 72px 0; } .sec-head h2, .process .sec-head h2, .req-side h2 { font-size: 48px; }
  .sec-head p:not(.eyebrow) { font-size: 15px; } .sec-head .eyebrow { font-size: 10px; } .mosaic-wrap { padding: 40px var(--gut); }
  .tile-card { padding: 16px 0 26px; } .tile-card h2 { font-size: 32px; } .tile-media figcaption { left: 12px; bottom: 12px; right: 12px; max-width: none; font-size: 13px; }
  .row { padding: 40px 0; gap: 24px; } .row h3 { font-size: 34px; } .row-copy > p:not(.row-sub):not(.row-warn) { font-size: 15px; }
  .strip-tabs button { font-size: 12px; } .status-line { padding: 20px; font-size: 14px; } .fixes { margin-top: 40px; }
  .action h2 { font-size: 38px; } .car-cap h3 { font-size: 25px; } .car-cap p { font-size: 14px; }
  .ledger { padding: 64px var(--gut); } .ledger-tiles { grid-template-columns: 1fr 1fr; } .ledger-tiles li { padding: 18px; min-height: 156px; }
  .ledger-tiles b { font-size: 28px; } .ledger-tiles small { font-size: 10px; } .plan { padding: 28px; }
  .form { padding: 24px 20px; } .row2 { grid-template-columns: 1fr; gap: 0; } .seg span { font-size: 13px; }
  .foot-in { gap: 32px; } .foot-brand .logo { font-size: 24px; }
}
@media (max-width: 400px) { :root { --gut: 18px; } .hero h1 { font-size: 72px; } .hero h1 em { font-size: 84px; } .nav-actions { gap: 10px; } .motion-toggle { max-width: 40px; text-align: left; font-size: 9px; } .nav-actions .btn { font-size: 11px; } .logo { font-size: 16px; gap: 7px; } .hero-rail { font-size: 7px; } }
@media (prefers-reduced-motion: reduce) {
  .motion-ready [data-reveal] { opacity: 1 !important; transform: none !important; }
  #inspection-lens, .lens-toggle, .reel-progress { display: none !important; }
}
@media (forced-colors: active) { .verdict { border: 1px solid CanvasText; } .btn { border: 1px solid ButtonText; } }

html.motion-paused { scroll-behavior: auto; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation: none !important; transition: none !important; }
.chamber-bottom { z-index: 3; }

#main:focus { outline: none; }
