/* trustedanchor.io — one stylesheet, no framework. Tokens first; components below. */

@font-face { font-family: "Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/IBMPlexSans-var.woff2) format("woff2"); }
@font-face { font-family: "Source Serif"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(/assets/fonts/SourceSerif4-var.woff2) format("woff2"); }
@font-face { font-family: "Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/IBMPlexMono-400.woff2) format("woff2"); }
@font-face { font-family: "Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/IBMPlexMono-500.woff2) format("woff2"); }

:root {
  --paper: #f7f5f0;
  --surface: #ffffff;
  --sunk: #efece5;
  --ink: #111c2b;
  --ink-2: #364254;
  --muted: #5b6575;
  --rule: #d8d5cc;
  --rule-strong: #b9b5aa;
  --brand: #14365f;
  --brand-ink: #f4f1ea;
  --link: #1a4d8f;
  --link-hover: #0f3566;
  --focus: #c98a00;
  --ok: #17663f;
  --ok-bg: #e6f2eb;
  --fail: #9e2a2a;
  --fail-bg: #f7e7e5;
  --warn: #7a5200;
  --warn-bg: #f7eedb;
  --info-bg: #e8eef6;

  --serif: "Source Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 72rem;
  --gutter: 1rem;
  --radius: 4px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
img, svg { max-width: 100%; }
main { display: block; outline: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 48rem) { :root { --gutter: 2rem; } }

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--ink); margin: 0 0 0.6em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 2.2em; }
h3 { font-size: 1.25rem; margin-top: 1.6em; }
h4 { font: 600 1rem/1.4 var(--sans); margin: 1.4em 0 0.4em; }
p, ul, ol, dl, table { margin: 0 0 1rem; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 44rem; }
.prose { max-width: 46rem; }
.prose li { margin-bottom: 0.35rem; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
code, .mono { font-family: var(--mono); font-size: 0.88em; }
code { background: var(--sunk); padding: 0.1em 0.35em; border-radius: 3px; overflow-wrap: anywhere; }
pre { font: 0.85rem/1.55 var(--mono); background: var(--sunk); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem; overflow-x: auto; margin: 0 0 1rem; }
pre code { background: none; padding: 0; }
ul.plain { list-style: none; padding: 0; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 0.6rem 1rem; z-index: 10; }
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ---- header ---- */
.operator-band { background: #060d18; color: var(--brand-ink); font-size: 0.82rem; line-height: 1.5; padding: 0.45rem 0; }
.operator-band a { display: inline-block; padding: 0.2rem 0; }
.operator-band a { color: inherit; }
.preview-banner { background: var(--warn-bg); color: var(--warn); border-bottom: 1px solid var(--rule); font-size: 0.88rem; padding: 0.5rem var(--gutter); text-align: center; }
.site-header { background: #0a1424; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.site-header .brand, .site-header .site-nav a, .site-header .nav-menu summary { color: #f3f1ec; }
.site-header .nav-menu summary { border-color: rgb(255 255 255 / 0.35); }
.site-header .site-nav a:hover { border-bottom-color: #e3a23b; }
.site-header .site-nav a[aria-current="page"] { border-bottom-color: #e3a23b; color: #fff; }
.site-header .brand-mark rect { fill: #f3f1ec; }
.site-header .brand-mark g { stroke: #0a1424; }
.site-header .nav-menu[open] ul { background: #0a1424; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 2rem; height: 2rem; flex: none; }
.brand-name { font: 600 1.3rem/1 var(--serif); letter-spacing: 0.005em; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.nav-inline { display: none; }
.nav-inline, .nav-menu ul { gap: 0.25rem; }
.site-nav a { display: block; padding: 0.5rem 0.65rem; color: var(--ink-2); text-decoration: none; font-size: 0.95rem; border-bottom: 3px solid transparent; }
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--rule-strong); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand); font-weight: 500; }
.nav-menu summary { cursor: pointer; list-style: none; padding: 0.5rem 0.8rem; border: 1px solid var(--rule-strong); border-radius: var(--radius); font-size: 0.95rem; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu[open] ul { position: absolute; left: 0; right: 0; border-bottom: 1px solid rgb(255 255 255 / 0.1); padding: 0.5rem var(--gutter) 1rem; z-index: 5; }
.site-header { position: relative; }
@media (min-width: 64rem) {
  .nav-menu { display: none; }
  .nav-inline { display: flex; }
}

/* ---- page frame ---- */
.page-head { position: relative; padding: 3rem 0 4.5rem; background: radial-gradient(120% 140% at 85% 0%, #1b3357 0%, var(--night) 60%); color: var(--on-night); overflow: hidden; }
.page-head h1 { color: #fff; }
.page-head .lede, .page-head p { color: var(--on-night-2); }
.page-head .eyebrow { color: var(--signal); }
.page-head a { color: #fff; }
.page-head .doc-meta { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.18); color: var(--on-night); }
.page-head .doc-meta dt { color: var(--on-night-2); }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3rem; background: var(--paper); clip-path: ellipse(75% 100% at 50% 100%); }
.page-head h1 { margin-bottom: 0.4rem; }
.eyebrow { font: 500 0.8rem/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.section { padding: 2.5rem 0 3rem; }
.section + .section { border-top: 1px solid var(--rule); }
.section h2:first-child { margin-top: 0; }

/* ---- home ---- */
.hero { background: var(--surface); border-bottom: 1px solid var(--rule); padding: 3rem 0 3.25rem; }
.hero-grid { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.15fr 1fr; align-items: center; } }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 18ch; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.15rem; border-radius: var(--radius); font: 500 1rem/1.2 var(--sans); text-decoration: none; border: 1px solid var(--brand); cursor: pointer; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { color: var(--brand-ink); filter: brightness(1.12); }
.btn-secondary { background: transparent; color: var(--brand); }
.btn-secondary:hover { background: var(--sunk); color: var(--brand); }
.btn-quiet { border-color: var(--rule-strong); color: var(--ink-2); background: var(--surface); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.record-card { background: var(--paper); border: 1px solid var(--rule-strong); border-radius: 6px; padding: 1.25rem 1.25rem 1rem; font-size: 0.92rem; box-shadow: 0 1px 0 var(--rule); }
.record-card h2 { font: 600 0.8rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.9rem; }
.record-card dl { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0.45rem 1rem; margin: 0; }
.record-card dt { color: var(--muted); }
.record-card dd { margin: 0; overflow-wrap: anywhere; }
.record-card .checks { margin: 1rem 0 0; padding: 0.9rem 0 0; border-top: 1px dashed var(--rule-strong); list-style: none; display: grid; gap: 0.35rem; }

.grid-3 { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.25rem 1.35rem; }
.panel h3 { margin-top: 0; font-size: 1.15rem; }
.panel p:last-child { margin-bottom: 0; }
.step-no { font: 500 0.8rem/1 var(--mono); color: var(--muted); display: block; margin-bottom: 0.6rem; }

.flow { margin: 1.5rem 0 0; }
.flow svg { width: 100%; height: auto; display: block; }
.flow text { font-family: var(--sans); fill: var(--ink); }
.flow .t-mono { font-family: var(--mono); fill: var(--muted); }
.flow .box { fill: var(--surface); stroke: var(--rule-strong); }
.flow .box-strong { fill: var(--surface); stroke: var(--brand); stroke-width: 1.5; }
.flow .arrow { stroke: var(--ink-2); fill: none; stroke-width: 1.5; }
.flow .arrowhead { fill: var(--ink-2); }

/* ---- status & tables ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); margin-bottom: 1.25rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--rule); }
thead th { font-weight: 600; background: var(--sunk); font-size: 0.85rem; letter-spacing: 0.02em; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 500; }
td.nowrap, th.nowrap { white-space: nowrap; }

.tag { display: inline-block; font: 500 0.78rem/1.2 var(--sans); padding: 0.2rem 0.5rem; border-radius: 3px; border: 1px solid currentColor; white-space: nowrap; }
.tag-live { color: var(--ok); background: var(--ok-bg); }
.tag-dev { color: var(--warn); background: var(--warn-bg); }
.tag-plan { color: var(--muted); background: var(--sunk); }
.tag-na { color: var(--muted); background: transparent; border-style: dashed; }

.notice { border-left: 4px solid var(--brand); background: var(--info-bg); padding: 1rem 1.15rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 1.25rem; }
.notice-warn { border-left-color: var(--warn); background: var(--warn-bg); }
.notice p:last-child { margin-bottom: 0; }
.pending-value { color: var(--warn); font-style: italic; }

/* ---- document (practice statement) ---- */
.doc-meta { display: grid; grid-template-columns: max-content 1fr; gap: 0.3rem 1.25rem; font-size: 0.92rem; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem 1.15rem; margin: 1.25rem 0 0; max-width: 34rem; }
.doc-meta dt { color: var(--muted); }
.doc-meta dd { margin: 0; }
.doc-layout { display: grid; gap: 2.5rem; }
@media (min-width: 64rem) { .doc-layout { grid-template-columns: 15rem 1fr; } }
.toc { font-size: 0.92rem; }
@media (min-width: 64rem) { .toc { position: sticky; top: 1rem; align-self: start; } }
.toc ol { padding-left: 1.2rem; }
.toc li { margin-bottom: 0.3rem; }
.doc h2 { font-size: 1.45rem; padding-top: 0.5rem; }
.doc h2 .num, .doc h3 .num { font-family: var(--mono); font-size: 0.8em; color: var(--muted); margin-right: 0.4rem; }
.placeholder { background: var(--warn-bg); color: var(--warn); border: 1px dashed currentColor; padding: 0.75rem 1rem; border-radius: var(--radius); }

/* ---- verify tool ---- */
.tool { display: grid; gap: 1.5rem; }
@media (min-width: 64rem) { .tool { grid-template-columns: 1fr 1fr; align-items: start; } }
.field-label { display: block; font-weight: 500; margin-bottom: 0.4rem; }
.hint { color: var(--muted); font-size: 0.9rem; margin: -0.2rem 0 0.6rem; }
textarea, input[type="text"] { width: 100%; font: 0.86rem/1.5 var(--mono); color: var(--ink); background: var(--surface); border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: 0.75rem; }
textarea { min-height: 18rem; resize: vertical; }
input[type="text"] { font-size: 0.95rem; }
.dropzone { border: 1px dashed var(--rule-strong); border-radius: var(--radius); padding: 0.75rem 1rem; color: var(--muted); font-size: 0.9rem; margin-top: 0.6rem; }
.dropzone.is-over { border-color: var(--brand); background: var(--info-bg); }
.checkbox { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; margin: 1rem 0; }
.checkbox input { margin-top: 0.3rem; width: 1.05rem; height: 1.05rem; flex: none; }
.samples { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.btn-small { padding: 0.4rem 0.7rem; font-size: 0.88rem; }

.result { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); }
.result-empty { padding: 2rem 1.35rem; color: var(--muted); }
.verdict { padding: 1.1rem 1.35rem; border-bottom: 1px solid var(--rule); display: flex; gap: 0.85rem; align-items: flex-start; }
.verdict h2 { font: 600 1.2rem/1.3 var(--serif); margin: 0 0 0.2rem; }
.verdict p { margin: 0; color: var(--ink-2); }
.verdict-ok { background: var(--ok-bg); }
.verdict-ok h2 { color: var(--ok); }
.verdict-fail { background: var(--fail-bg); }
.verdict-fail h2 { color: var(--fail); }
.verdict-warn { background: var(--warn-bg); }
.verdict-warn h2 { color: var(--warn); }
.verdict svg { width: 1.6rem; height: 1.6rem; flex: none; margin-top: 0.1rem; }
.check-group { padding: 1rem 1.35rem; }
.check-group + .check-group { border-top: 1px solid var(--rule); }
.check-group h3 { font: 600 0.8rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.75rem; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.check { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.5rem; font-size: 0.95rem; }
.check .icon { width: 1.25rem; height: 1.25rem; border-radius: 50%; display: inline-grid; place-items: center; font: 600 0.75rem/1 var(--sans); margin-top: 0.15rem; }
.check-pass .icon { background: var(--ok); color: var(--surface); }
.check-fail .icon { background: var(--fail); color: var(--surface); }
.check-warn .icon { background: var(--warn); color: var(--surface); }
.check-skip .icon { border: 1px solid var(--rule-strong); color: var(--muted); }
.check .detail { display: block; color: var(--muted); font-size: 0.86rem; overflow-wrap: anywhere; }
.facts { display: grid; grid-template-columns: minmax(8rem, max-content) 1fr; gap: 0.4rem 1rem; font-size: 0.92rem; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }

/* ---- footer ---- */
.site-footer { margin-top: 3rem; background: var(--surface); border-top: 1px solid var(--rule); padding: 2.25rem 0 1.5rem; font-size: 0.92rem; color: var(--ink-2); }
.footer-grid { display: grid; gap: 1.75rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-title { font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.footer-grid li { margin-bottom: 0.3rem; }
.mono-list a { font-family: var(--mono); font-size: 0.85rem; }
.footer-base { border-top: 1px solid var(--rule); margin-top: 1.5rem; padding-top: 1.25rem; color: var(--muted); font-size: 0.85rem; }
.footer-base p { margin-bottom: 0.4rem; max-width: 60rem; }

@media print {
  .operator-band, .site-nav, .preview-banner, .site-footer .footer-grid div:nth-child(3), .toc { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* =====================================================================
   Home — footage-led (the Boer landing language, tuned for trust):
   full-bleed video, serif display, curved section edges, one accent.
   ===================================================================== */
:root { --night: #0a1424; --night-2: #102038; --signal: #e3a23b; --signal-ink: #1a1204; --on-night: #f3f1ec; --on-night-2: #c4cbd8; }
.display { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.12; max-width: 24ch; margin-top: 0; }
.kicker { font: 500 0.82rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); margin: 0 0 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

body:has(.hero-video) .site-header { position: absolute; left: 0; right: 0; z-index: 4; background: transparent; border-bottom: 1px solid rgb(255 255 255 / 0.12); }

.bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { position: relative; min-height: min(100svh, 56rem); display: flex; align-items: center; color: var(--on-night); background: var(--night); overflow: hidden; padding: 7.5rem 0 6rem; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgb(8 16 30 / 0.92) 0%, rgb(8 16 30 / 0.72) 45%, rgb(8 16 30 / 0.35) 100%), linear-gradient(0deg, rgb(8 16 30 / 0.7), transparent 40%); }
.hero-inner { position: relative; z-index: 2; display: grid; gap: 2.5rem; width: 100%; }
@media (min-width: 64rem) { .hero-inner { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 4rem; } }
.hero-video h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 1.06; max-width: 17ch; margin-bottom: 1.25rem; letter-spacing: -0.012em; }
.hero-video h1::after { content: ""; display: block; width: 5.5rem; height: 3px; background: var(--signal); margin-top: 1.4rem; border-radius: 2px; }
.hero-lede { font-size: 1.15rem; color: var(--on-night-2); max-width: 38rem; }
.btn-signal { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); font-weight: 600; }
.btn-signal:hover { color: var(--signal-ink); filter: brightness(1.08); }
.btn-ghost { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.45); color: #fff; }
.btn-ghost:hover { color: #fff; background: rgb(255 255 255 / 0.14); }
.motion-toggle { position: absolute; z-index: 3; right: var(--gutter); bottom: 4.5rem; background: rgb(8 16 30 / 0.55); color: var(--on-night-2); border: 1px solid rgb(255 255 255 / 0.25); border-radius: 999px; padding: 0.35rem 0.8rem; font: 0.8rem var(--sans); cursor: pointer; }

.sign-card { background: rgb(10 20 36 / 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgb(255 255 255 / 0.16); border-radius: 10px; padding: 1.15rem 1.25rem 1rem; box-shadow: 0 30px 60px rgb(0 0 0 / 0.35); }
.sign-card-head { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; color: #fff; margin-bottom: 0.9rem; }
.sign-card-head .dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px rgb(227 162 59 / 0.2); }
.sign-card-tag { margin-left: auto; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-night-2); border: 1px solid rgb(255 255 255 / 0.2); border-radius: 999px; padding: 0.15rem 0.55rem; }
.sign-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.sign-steps li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.75rem; padding: 0.55rem 0; border-top: 1px solid rgb(255 255 255 / 0.08); opacity: 0.45; transition: opacity 0.4s ease; }
.sign-steps li.is-done { opacity: 1; }
.sign-label { font-size: 0.82rem; color: var(--on-night-2); }
.sign-value { font-size: 0.82rem; color: #fff; overflow-wrap: anywhere; min-height: 1.3em; }
.sign-result .sign-value { font: 600 0.92rem/1.3 var(--sans); }
.sign-result.is-ok .sign-value { color: #7fe0a8; }
.sign-result.is-fail .sign-value { color: #ff9b8f; }
.sign-foot { font-size: 0.78rem; color: var(--on-night-2); margin: 0.75rem 0 0; }
.sign-foot a { color: #fff; }

.curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 3.25rem; z-index: 2; fill: var(--paper); }
.curve-top { top: -1px; bottom: auto; }

.facts-band { background: var(--paper); padding: 1.5rem 0 2.5rem; }
.facts-grid { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .facts-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.facts-grid > div { border-top: 2px solid var(--ink); padding-top: 1rem; }
.fact-figure { font: 600 1.6rem/1.15 var(--serif); margin: 0 0 0.5rem; }
.facts-grid p:last-child { color: var(--ink-2); margin: 0; }

.journey { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 2rem; position: relative; }
@media (min-width: 48rem) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) {
  .journey { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .journey::before { content: ""; position: absolute; left: 4%; right: 4%; top: calc(11.5rem + 1rem + 1.1rem); border-top: 2px dashed var(--signal); z-index: 0; }
}
.journey li { position: relative; z-index: 1; }
.journey figure { margin: 0 0 1rem; width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--sunk); }
@media (min-width: 72rem) { .journey figure { height: 11.5rem; aspect-ratio: auto; } }
.journey li { min-width: 0; }
.journey img, .journey video { width: 100%; height: 100%; object-fit: cover; display: block; }
.journey-no { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--signal); color: var(--signal-ink); font: 600 0.8rem/1 var(--mono); margin-bottom: 0.6rem; }
.journey h3 { margin: 0 0 0.35rem; font-size: 1.3rem; }
.journey p { color: var(--ink-2); font-size: 0.98rem; }

.band-video, .cta-video { position: relative; color: var(--on-night); background: var(--night); overflow: hidden; padding: 7rem 0; }
.band-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(8 16 30 / 0.94) 0%, rgb(8 16 30 / 0.8) 50%, rgb(8 16 30 / 0.45) 100%); }
.band-shade-strong { background: rgb(8 16 30 / 0.78); }
.band-inner, .cta-inner { position: relative; z-index: 2; }
.band-inner > div { max-width: 40rem; }
.band-video h2, .cta-video h2 { color: #fff; }
.band-video p, .cta-video p { color: var(--on-night-2); font-size: 1.08rem; }
.did-sample { background: rgb(0 0 0 / 0.35); border-color: rgb(255 255 255 / 0.18); color: #e8eef8; margin: 1.25rem 0 1.5rem; }
.cta-inner { text-align: center; display: grid; justify-items: center; }
.cta-inner h2 { max-width: 22ch; }

.sec-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 48rem) { .sec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .sec-grid { grid-template-columns: repeat(3, 1fr); } }
.sec-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 1.4rem 1.4rem 1.2rem; }
.sec-card svg { width: 2.2rem; height: 2.2rem; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 0.75rem; }
.sec-card h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.sec-card p { color: var(--ink-2); font-size: 0.97rem; margin: 0; }

.section-paper { background: var(--sunk); }
.who-grid { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 64rem) { .who-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.who-photo { margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; }
@media (min-width: 64rem) { .who-photo { aspect-ratio: auto; height: 100%; max-height: 30rem; } .who-grid { align-items: stretch; } .who-list { align-content: start; } }
.who-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.who-list { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .who-list { grid-template-columns: 1fr 1fr; } }
.who-list > div { background: var(--surface); border-radius: 10px; padding: 1.3rem 1.35rem; border: 1px solid var(--rule); }
.who-list h3 { margin: 0 0 0.45rem; font-size: 1.18rem; }
.who-list p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }

.repo-grid { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 48rem) { .repo-grid { grid-template-columns: repeat(4, 1fr); } }
.repo-card { display: grid; gap: 0.35rem; background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--brand); border-radius: 8px; padding: 1.15rem 1.2rem; text-decoration: none; color: var(--ink); }
.repo-card:hover { border-top-color: var(--signal); color: var(--ink); }
.repo-kind { font: 500 0.78rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.repo-card strong { font: 600 1.15rem/1.25 var(--serif); }
.repo-card span:last-child { font-size: 0.88rem; color: var(--ink-2); }

body:has(.hero-video) .site-footer { margin-top: 0; }

/* verify page extras */
.explain { margin-top: 1rem; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 0.85rem 1.15rem; }
.explain summary { cursor: pointer; font-weight: 500; }
.explain ol { margin: 0.75rem 0; padding-left: 1.2rem; }
.explain li { margin-bottom: 0.45rem; }
.dropzone input[type="file"] { font: 0.88rem var(--sans); max-width: 100%; min-height: 2.75rem; }
.checkbox { cursor: pointer; }
.dropzone label { font-weight: 500; color: var(--ink); margin-right: 0.5rem; }
.result { overflow: hidden; }
.tool .btn-primary { background: var(--brand); border-color: var(--brand); }
.result:focus { outline: none; }
@media (max-width: 30rem) {
  .sign-steps li { grid-template-columns: 1fr; gap: 0.15rem; }
  .hero-video { padding-top: 6.5rem; }
  .motion-toggle { bottom: 3.75rem; }
  .facts, .record-card dl { grid-template-columns: 1fr; }
}
.tool > * { min-width: 0; }
.dropzone input[type="file"] { width: 100%; }
.checkbox input { width: 1.4rem; height: 1.4rem; margin-top: 0.1rem; }

/* use cases — one trust layer, many records */
.use-grid { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 48rem) { .use-grid { grid-template-columns: repeat(2, 1fr); } }
.use-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.use-card figure { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sunk); }
@media (min-width: 64rem) { .use-card { flex-direction: row; } .use-card figure { flex: 0 0 44%; aspect-ratio: auto; min-height: 15rem; } .use-body { align-self: center; } }
.use-card img, .use-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.use-body { padding: 1.15rem 1.25rem 1.3rem; }
.use-body h3 { margin: 0.65rem 0 0.4rem; font-size: 1.25rem; }
.use-body p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }

/* utilities — the CSP (style-src 'self') blocks inline style attributes, so spacing tweaks live here */
.mt-0 { margin-top: 0 !important; }
.m-0 { margin: 0 !important; }
.anywhere { overflow-wrap: anywhere; }
.note-after { margin: 0.9rem 0 0; }
