/* ARRILERT website — the only stylesheet. Colours are the app's Theme.swift "Night Rail" tokens (light and dark),
   taken from the app icon: night navy, signal blue, rail cyan and the confirm green of its check mark. */
:root {
  --bg: #F2F5FC;
  --surface: #FFFFFF;
  --ink: #0A1633;
  --muted: #4D5B7C;
  --hairline: #DDE5F3;
  --accent: #1F5FE0;
  --accent-soft: #E3EBFC;
  --prepare: #A64B07;
  --ready: #047857;
  --warning: #C81E4A;
  --uncertain: #5146D9;
  --rehearsal: #8B2FD6;
  --rehearsal-soft: #F1E6FC;
  --band: #0B2266;
  --band-2: #0F3A9E;
  --band-ink: #FFFFFF;
  --band-muted: #D5DEF6;
  --band-accent: #38D5F0;
  --amber: #FBBF24;
  --radius: 22px;
  --wrap: 1080px;
  --gutter: 16px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #050B1F;
    --surface: #0D1735;
    --ink: #EAF0FF;
    --muted: #A3B1D6;
    --hairline: #22305C;
    --accent: #5B9BFF;
    --accent-soft: #13244F;
    --prepare: #FBBF24;
    --ready: #34D399;
    --warning: #FF7A90;
    --uncertain: #A5A0FF;
    --rehearsal: #D3A4FF;
    --rehearsal-soft: #241A40;
    --band: #0B2266;
    --band-2: #0F3A9E;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: 0.35em; }
code, kbd { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 600px) { :root { --gutter: 24px; } }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px;
  background: var(--surface); color: var(--ink); border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* Header */
.site-header { background: var(--band); color: var(--band-ink); }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; min-height: 64px; padding-top: 10px; padding-bottom: 10px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none;
  font-weight: 800; letter-spacing: 0.06em; font-size: 1.05rem;
}
.brand img { border-radius: 9px; }
.site-header .brand { color: var(--band-ink); }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav a { color: var(--band-ink); text-decoration: none; font-weight: 600; font-size: 0.98rem; padding: 6px 0; display: inline-block; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--band-accent); text-decoration-thickness: 2px; }
.site-header :focus-visible { outline-color: var(--band-accent); }
.lang-switch { white-space: nowrap; }

/* Home hero */
.hero {
  background: linear-gradient(160deg, var(--band) 0%, var(--band-2) 100%);
  color: var(--band-ink);
  padding: 40px 0 56px;
}
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 820px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; }
}
.eyebrow {
  color: var(--band-accent); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px;
}
.hero h1 { color: var(--band-ink); margin-bottom: 18px; }
.hero .lead { color: var(--band-ink); font-size: clamp(1.1rem, 2.4vw, 1.3rem); line-height: 1.55; max-width: 36em; }
.availability { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 26px 0 0; }
.soon, .button {
  display: inline-block; padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.3;
}
.soon { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.28); color: var(--band-ink); }
.button { background: var(--band-accent); color: #05090F; text-decoration: none; }
.requirements { color: var(--band-muted); font-size: 0.95rem; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--band-ink); font-size: 0.92rem; }
.facts li::before { content: "✓ "; content: "✓ " / ""; color: var(--band-accent); font-weight: 700; }

/* Phone screenshots */
.phone { margin: 0 auto; width: min(270px, 72vw); }
.phone img {
  width: 100%; border-radius: 34px; border: 7px solid #0B1320;
  box-shadow: 0 18px 50px rgba(5, 9, 15, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
  background: #0B1320;
}
.phone figcaption { margin-top: 12px; font-size: 0.86rem; color: var(--muted); text-align: center; }
.hero .phone figcaption { color: var(--band-muted); }

/* Home sections */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--hairline); }
.section-intro { max-width: 46em; margin-bottom: 32px; }
.section-intro p { color: var(--muted); font-size: 1.08rem; }
.note-rehearsal {
  display: flex; gap: 10px; align-items: flex-start; max-width: 46em;
  background: var(--rehearsal-soft); color: var(--ink); border-radius: 14px; padding: 12px 16px; font-size: 0.95rem; margin: 0;
}
.note-rehearsal strong { color: var(--rehearsal); }

.feature { display: grid; gap: 28px; align-items: center; padding: 36px 0; }
.feature + .feature { border-top: 1px dashed var(--hairline); }
@media (min-width: 820px) {
  .feature { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; padding: 48px 0; }
  .feature.flip { grid-template-columns: 300px minmax(0, 1fr); }
  .feature.flip .phone { order: -1; }
}
.feature-text { max-width: 36em; }
.feature-text h3 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin-bottom: 0.6em; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px;
}
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.k-route { color: var(--warning); }
.k-exit { color: var(--prepare); }
.k-recovery { color: var(--accent); }
.k-ledger { color: var(--uncertain); }
.k-lab { color: var(--rehearsal); }
.feature-text ul { margin: 0; }

.scenarios { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: sc; }
@media (min-width: 640px) { .scenarios { grid-template-columns: 1fr 1fr; } }
.scenarios li {
  margin: 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; padding: 14px 16px 14px 52px;
  position: relative; counter-increment: sc;
}
.scenarios li::before {
  content: counter(sc); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--rehearsal-soft); color: var(--rehearsal); font-weight: 800; font-size: 0.88rem;
  display: grid; place-items: center;
}
.scenarios strong { display: block; }
.scenarios span { color: var(--muted); font-size: 0.95rem; }
.lab-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .lab-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } }

.cards { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { margin: 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 20px; }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); }

.limits { display: grid; gap: 16px; }
@media (min-width: 760px) { .limits { grid-template-columns: 1fr 1fr; } }
.limits ul { list-style: none; padding: 0; margin: 0; }
.limits li { position: relative; padding-left: 30px; margin: 0 0 10px; }
.limits li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.limits .does li::before { content: "✓"; content: "✓" / ""; color: var(--ready); }
.limits .does-not li::before { content: "✕"; content: "✕" / ""; color: var(--warning); }
.callout {
  border-left: 4px solid var(--prepare); background: var(--surface); border-radius: 0 14px 14px 0; padding: 14px 18px; margin: 24px 0 0;
}
.callout p:last-child { margin: 0; }

.privacy-band { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 28px; }
.privacy-band h2 { margin-bottom: 10px; }
.privacy-band p:last-child { margin-bottom: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 8px; }

/* Long-form pages */
.page-head { padding: 44px 0 8px; }
.page-head .lead { color: var(--muted); font-size: 1.15rem; max-width: 40em; }
.prose { max-width: 46rem; padding-bottom: 64px; }
.prose h2 { margin-top: 2.2em; padding-top: 1em; border-top: 1px solid var(--hairline); scroll-margin-top: 16px; }
.prose h3 { margin-top: 1.6em; scroll-margin-top: 16px; }
.prose ol > li, .prose ul > li { padding-left: 0.2em; }
.updated { color: var(--muted); font-size: 0.95rem; }
.toc { background: var(--surface); border: 1px solid var(--hairline); border-radius: 14px; padding: 16px 20px; margin: 24px 0 8px; }
.toc h2 { font-size: 1rem; margin: 0 0 8px; padding: 0; border: 0; }
.toc ol { margin: 0; columns: 2 14rem; column-gap: 32px; }
.toc li { break-inside: avoid; }
.notice { background: var(--accent-soft); border-radius: 12px; padding: 12px 16px; }
.contact-card {
  font-style: normal; display: flex; flex-direction: column; gap: 2px; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: 14px; padding: 16px 20px; margin: 0 0 1em;
}
.contact-name { font-weight: 700; }
.contact-label { color: var(--muted); }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--hairline); border-radius: 14px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--hairline); }
tr:last-child td { border-bottom: 0; }
th { font-weight: 700; background: var(--bg); }
@media (max-width: 599px) {
  .stack-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack-table tr { display: block; padding: 10px 14px; border-bottom: 1px solid var(--hairline); }
  .stack-table tr:last-child { border-bottom: 0; }
  .stack-table td { display: block; padding: 2px 0; border: 0; }
  .stack-table td::before { content: attr(data-label); display: block; font-size: 0.8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 6px; }
  .stack-table td:first-child::before { margin-top: 0; }
}
.ui { font-weight: 650; white-space: nowrap; }
.path { font-weight: 600; }
.faq h3 { margin-top: 1.4em; }

/* ---------- Videos (ported from trailbivvy.com): promo, loops, Videos page ---------- */
.icon { display: block; }

/* The promo opens the home page on the navy band: 16:9 from 700 px, 9:16 below (one <video> each, the other hidden,
   so it never loads). static/site.js plays it muted while it is on screen, with a pause button; with reduced
   motion, Save-Data or no JavaScript it shows its poster and a play link to the MP4. */
.hero-promo { background: var(--band); color: var(--band-ink); padding: clamp(14px, 2.5vw, 28px) 0 clamp(18px, 3vw, 32px); }
.hero-promo + .hero { padding-top: clamp(28px, 5vw, 56px); }
.promo { margin: 0; }
.promo-frame {
  position: relative; margin-inline: auto; overflow: hidden; border-radius: var(--radius); background: #030817;
  width: min(100%, calc((100vh - 9rem) * 16 / 9)); width: min(100%, calc((100svh - 9rem) * 16 / 9));
  box-shadow: 0 24px 60px -20px rgba(3, 8, 23, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
@media (min-width: 700px) { .promo-tall { display: none !important; } }
@media (max-width: 699px) {
  .promo-wide { display: none !important; }
  .promo-frame { width: min(100%, 22rem, calc((100vh - 10rem) * 9 / 16)); width: min(100%, 22rem, calc((100svh - 10rem) * 9 / 16)); }
}
.promo-variant { position: relative; }
.promo-video { display: block; width: 100%; height: auto; background: #030817; }
.promo-start { position: absolute; inset: 0; display: block; color: #FFFFFF; text-decoration: none; }
.promo.is-live .promo-start { display: none; }
.promo-play {
  position: absolute; inset-inline-start: 6.9%; bottom: clamp(0.6rem, 2.5%, 1.25rem);
  display: inline-flex; align-items: center; gap: 0.65rem; padding: 0.4rem 1.1rem 0.4rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px; background: rgba(3, 8, 23, 0.82);
  color: #FFFFFF; font-weight: 700; line-height: 1.2; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}
.promo-play-icon { display: inline-grid; flex: none; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #1F5FE0; color: #FFFFFF; }
.promo-play-icon .icon { width: 1.2rem; height: 1.2rem; margin-inline-start: 0.12rem; }
.promo-start:hover .promo-play { background: rgba(3, 8, 23, 0.95); }
.promo-start:focus-visible { outline-offset: -4px; }
@media (max-width: 699px) { .promo-play { inset-inline-start: 50%; transform: translateX(-50%); white-space: nowrap; } }
.promo-caption {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1rem; margin-top: 1rem;
  color: var(--muted); font-size: 0.9375rem; text-align: center;
}
.hero-promo .promo-caption, .hero-promo .transcript-body > p, .hero-promo .transcript-shows, .hero-promo .transcript-time,
.hero-promo .transcript-edits { color: var(--band-muted); }
.promo-facts { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 650; color: var(--ink); }
.hero-promo .promo-facts { color: var(--band-ink); }
.promo-facts .icon { width: 1.2rem; height: 1.2rem; }
.promo-note { flex-basis: 100%; }
.hero-promo .transcript { max-width: 48rem; margin-inline: auto; margin-top: 1rem; border-color: rgba(255, 255, 255, 0.16); }
.hero-promo .transcript summary { color: var(--band-accent); }
.hero-promo a:not(.chip) { color: var(--band-accent); }

.video-toggle {
  display: inline-grid; flex: none; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
  border: 1px solid var(--hairline); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer;
}
.video-toggle[hidden] { display: none; }
.video-toggle .icon { width: 1.05rem; height: 1.05rem; }
.video-toggle .icon-play, .video-toggle.is-paused .icon-pause { display: none; }
.video-toggle.is-paused .icon-play { display: block; }
.hero-promo .video-toggle { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.28); color: #FFFFFF; }

.transcript { margin-top: 1.5rem; border-block: 1px solid var(--hairline); }
.transcript summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem;
  padding: 0.6rem 0.25rem 0.6rem 0; color: var(--accent); font-weight: 650; cursor: pointer; list-style: none;
}
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::after { content: "+"; content: "+" / ""; flex: none; font-size: 1.4rem; font-weight: 500; line-height: 1; }
.transcript[open] summary::after { content: "\2212"; content: "\2212" / ""; }
.transcript-body { max-width: 46rem; padding-bottom: 1rem; }
.transcript-body > p { color: var(--muted); }
.transcript-body h3 { font-size: 1rem; }
.transcript-lines { padding: 0; list-style: none; }
.transcript-lines li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.75rem; }
.transcript-lines li + li { margin-top: 0.6rem; }
.transcript-time { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 650; }
.transcript-quote { font-weight: 600; }
.transcript-shows { color: var(--muted); }
.transcript-edits { color: var(--muted); }

/* Chips: the home strip under the promo and the index at the top of the Videos page */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.chips li { margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; padding: 0.4rem 0.95rem;
  border: 1px solid var(--hairline); border-radius: 999px; background: var(--surface); color: var(--ink);
  font-size: 0.9375rem; font-weight: 600; line-height: 1.25; text-decoration: none;
}
.chip:hover { border-color: var(--accent); background: var(--accent-soft); }
.chip-all { color: var(--accent); }
.video-strip { max-width: 52rem; margin: 1.25rem auto 0; }
.video-strip .chip { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); color: var(--band-ink); }
.video-strip .chip:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--band-accent); }
.video-strip .chip-all { color: var(--band-accent); }
.video-strip-title { display: flex; align-items: center; justify-content: center; gap: 0.45rem; margin-bottom: 0.6rem; font-weight: 700; }
.video-strip-title .icon { width: 1.2rem; height: 1.2rem; }
.video-strip .chips { justify-content: center; }
@media (max-width: 699px) {
  .video-strip .chips {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; margin-inline: -0.4rem; padding: 0.4rem 0.4rem 0.6rem; scrollbar-width: thin;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 2.5rem), transparent);
  }
  .video-strip .chips li { flex: none; scroll-snap-align: start; }
  .video-strip .chips::after { content: ""; flex: none; width: 2rem; }
}

/* Feature loops: the screen recording in the phone frame, with its pause button and the film link */
.phone-video video, .phone-video noscript img {
  display: block; width: 100%; height: auto; border-radius: 34px; border: 7px solid #0B1320; background: #0B1320;
  box-shadow: 0 18px 50px rgba(5, 9, 15, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone-video:has(noscript img) > video { display: none; }
.phone figcaption.video-caption { display: flex; align-items: flex-start; justify-content: center; gap: 0.65rem; text-align: start; }
.video-caption-text { display: grid; gap: 0.15rem; min-width: 0; }
.watch-link { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.75rem; font-weight: 650; }
.watch-link .icon { width: 1.15rem; height: 1.15rem; flex: none; }

/* Videos page */
.videos { padding-bottom: 64px; }
.video-index { margin-top: 1.25rem; }
.film { padding-top: clamp(2rem, 5vw, 3.5rem); scroll-margin-top: 16px; }
.film + .film { margin-top: clamp(1.5rem, 4vw, 2.5rem); border-top: 1px solid var(--hairline); }
.film-facts { display: flex; align-items: center; gap: 0.45rem; color: var(--muted); font-weight: 650; }
.film-facts .icon { width: 1.2rem; height: 1.2rem; }
.film-summary, .videos-disclosure { max-width: 46rem; }
.videos-disclosure { color: var(--muted); }
.film-player { margin: 1rem 0 0; }
.film-player .promo-start { position: relative; }
.film-player video, .film-player picture img { display: block; width: 100%; height: auto; }
.film-downloads { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin: 0.5rem 0 0; }
.film-downloads a { display: inline-flex; align-items: center; min-height: 2.75rem; }
@media (max-width: 699px) { .film-player .promo-frame { width: min(100%, 22rem); } }
.promo-play { max-width: calc(100% - 1rem); }
@media (min-width: 700px) {
  .film-player .promo-frame { max-width: 56rem; margin-inline: 0; }
  .film-player .promo-caption { justify-content: flex-start; text-align: start; }
}

/* Slogans */
.h1-accent { color: var(--band-accent); }
.hero-slogan { color: var(--band-accent); font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.3rem); margin: -6px 0 14px; }
.slogan {
  font-weight: 700; font-size: 1.08rem; color: var(--ink); border-inline-start: 3px solid var(--accent);
  padding-inline-start: 12px; margin: 0 0 1em;
}
.section-intro .slogan { font-size: 1.15rem; }
.k-arrival { color: var(--ready); }
.slogan-wall { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .slogan-wall { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) {
  .slogan-wall { grid-template-columns: 1fr 1fr 1fr; }
  .slogan-wall li:last-child:nth-child(3n+1) { grid-column: 1 / -1; text-align: center; }
}
.slogan-wall li {
  margin: 0; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--hairline);
  font-weight: 700; font-size: 1.05rem; line-height: 1.4; position: relative; overflow: hidden;
}
.slogan-wall li::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: linear-gradient(180deg, var(--ready), var(--band-accent), var(--accent));
}
.signature {
  margin: 28px 0 0; padding: 22px 24px; border-radius: var(--radius); text-align: center;
  background: linear-gradient(160deg, var(--band) 0%, var(--band-2) 100%); color: var(--band-ink);
  font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 800; letter-spacing: -0.01em;
}
.signature-name { color: var(--band-accent); }

/* 404 */
.not-found { padding: 72px 0 96px; }

/* Footer */
.site-footer { border-top: 1px solid var(--hairline); padding: 36px 0 44px; color: var(--muted); font-size: 0.95rem; margin-top: 24px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 10px; }
.brand-small { color: var(--ink); font-size: 0.95rem; }
.brand-small img { border-radius: 7px; }
.footer-tagline { margin: 0; }
.footer-honesty { max-width: 46em; }
.footer-links { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links li { margin: 0; }
.footer-fine { font-size: 0.82rem; margin: 0; }

@media print {
  .site-header, .site-footer, .toc, .skip-link { display: none; }
  body { background: #fff; color: #000; }
}
