/* Agent Relay — "Intelligence Designed To Evolve" design system.
   A black canvas, floating white pills, a pixel display face and a quiet sans.
   One stylesheet, six pages: every reference is relative so the site works
   under the /agent-relay/ subpath and from any local server. */

/* ---- fonts -------------------------------------------------------------------------------- */
/* Bubbledot by OnlineWebFonts.com, licensed CC BY 4.0; the credit is in the footer.
   Geist Pixel Circle is the local fallback, so the headline keeps its pixel shape either way. */
@font-face {
  font-family: "Bubbledot";
  src: url("assets/fonts/BubbledotICG-FinePos.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Pixel Circle";
  src: url("assets/fonts/GeistPixel-Circle.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---- tokens -------------------------------------------------------------------------------- */
:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-soft: #08080a;
  --panel: #0c0c0e;
  --panel-2: #131316;
  --strip: #101013;
  --pill: #28282a;
  --pill-hi: #323234;
  --ink: #ffffff;
  --ink-soft: #c8c8c8;
  --muted: #8e8e8e;
  --dim: #616161;
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .22);
  --nav-text: #2e2e2e;
  --live: #4fe3a2; --live-ink: #86f1c3; --live-bg: rgba(79, 227, 162, .13);
  --amber: #ffb240; --amber-ink: #ffc266; --amber-bg: rgba(255, 178, 64, .13);
  --alert: #ff6a58; --alert-ink: #ff9a8c; --alert-bg: rgba(255, 106, 88, .13);
  --cyan: #5cc8ff; --cyan-ink: #8fd9ff; --cyan-bg: rgba(92, 200, 255, .13);
  --term: #08080a;
  --term-ink: #e9e9ec;
  --term-dim: #7e7e86;
  --term-acc: #ffb240;
  --term-ok: #4fe3a2;
  --shadow: 0 18px 40px -26px rgba(0, 0, 0, .95);
  --shadow-soft: 0 10px 30px -18px rgba(0, 0, 0, .9);
  --glow: 0 0 0 1px rgba(255, 255, 255, .16), 0 0 24px rgba(255, 255, 255, .30), 0 0 56px rgba(255, 255, 255, .10);
  --glow-hover: 0 0 0 1px rgba(255, 255, 255, .24), 0 0 32px rgba(255, 255, 255, .46), 0 0 68px rgba(255, 255, 255, .18);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bubbledot", "Geist Pixel Circle", ui-monospace, "SFMono-Regular", monospace;
  --font-mono: ui-monospace, "SFMono-Regular", "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --bar-h: 80px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1180px;
}

/* ---- reset --------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 24px); }
body {
  min-height: 100vh;
  color: var(--ink);
  font: 17px/1.65 var(--font-sans);
  background: var(--bg);
  overflow-wrap: break-word;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
code, kbd, samp, pre { font-family: var(--font-mono); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(255, 255, 255, .22); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 18px; border-radius: 999px; background: #fff; color: #000; font: 600 13px var(--font-sans); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 520px) { .wrap { padding: 0 18px; } body { font-size: 16px; } }

/* ---- background ----------------------------------------------------------------------------- */
/* The hero film: one screen tall, it scrolls away with the hero and fades into the page. */
.hero-media { position: absolute; top: 0; left: 0; right: 0; height: 100vh; height: 100svh; min-height: 560px; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--bg) url("assets/hero-poster.jpg") center / cover no-repeat; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .38) 38%, rgba(0, 0, 0, .30) 62%, var(--bg) 100%),
    radial-gradient(70% 55% at 50% 42%, rgba(0, 0, 0, .28), transparent 70%);
}
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--bg); pointer-events: none; }
.bg-aurora {
  position: absolute; inset: -30% -10% auto -10%; height: 120%;
  background:
    radial-gradient(46% 40% at 18% 8%, rgba(92, 200, 255, .10), transparent 70%),
    radial-gradient(40% 36% at 82% 4%, rgba(255, 178, 64, .08), transparent 72%),
    radial-gradient(60% 50% at 50% 100%, rgba(79, 227, 162, .07), transparent 74%);
  filter: blur(18px);
  animation: drift 26s ease-in-out infinite alternate;
}
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 10%, transparent 78%);
}
.bg-sweep {
  position: absolute; left: 50%; top: -60vh; width: 190vh; height: 190vh; margin-left: -95vh;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 255, 255, 0) 0deg, rgba(255, 255, 255, 0) 296deg, rgba(255, 255, 255, .055) 352deg, rgba(255, 255, 255, .11) 360deg);
  animation: spin 22s linear infinite;
  mask-image: radial-gradient(circle, transparent 58%, #000 60%, #000 99%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle, transparent 58%, #000 60%, #000 99%, transparent 100%);
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.08); } }

.page { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; }

/* ---- header --------------------------------------------------------------------------------- */
.site-header { flex: 0 0 auto; width: 100%; display: flex; justify-content: center; padding: clamp(16px, 2.4vh, 28px) clamp(14px, 3vw, 32px); animation: slideDown .7s var(--ease) both; }
.header-row { width: 100%; max-width: 880px; display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 22px); }
.logo-button {
  flex: 0 0 auto; width: clamp(42px, 4.6vw, 48px); height: clamp(42px, 4.6vw, 48px);
  border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .45); transition: transform .28s var(--ease);
}
.logo-button:hover { transform: scale(1.05); }
.logo-button img { width: 74%; height: 74%; object-fit: contain; }
.nav-pill {
  flex: 1 1 auto; max-width: 520px; height: clamp(44px, 5.2vw, 48px); padding: 4px 8px;
  border-radius: 999px; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
  display: flex; align-items: stretch; justify-content: space-between;
}
.nav-link {
  position: relative; flex: 1 1 auto; display: grid; place-items: center; min-width: 0; padding: 0 8px;
  color: var(--nav-text); font-size: clamp(12.5px, 1.4vw, 14.5px); font-weight: 500; letter-spacing: -.01em;
  white-space: nowrap; opacity: .58; transition: opacity .2s ease;
}
.nav-link:hover { opacity: .85; }
.nav-link[aria-current="page"] { opacity: 1; }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 5px; width: 3px; height: 3px; border-radius: 50%;
  background: #000; transform: translateX(-50%); box-shadow: -5px 0 0 #000, 5px 0 0 #000;
}
.pill-btn {
  flex: 0 0 auto; height: clamp(44px, 5.2vw, 48px); padding: 0 clamp(18px, 2vw, 22px);
  border-radius: 999px; background: var(--pill); color: var(--ink-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: clamp(13px, 1.4vw, 14.5px); font-weight: 500; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.pill-btn:hover { background: var(--pill-hi); color: #fff; transform: translateY(-1px); }
.burger { display: none; }

/* ---- mobile menu ---------------------------------------------------------------------------- */
.mobile-overlay { position: fixed; inset: 0; z-index: 20; background: rgba(0, 0, 0, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: overlayIn .28s ease both; }
.mobile-menu-sheet {
  position: absolute; top: clamp(84px, 12vh, 100px); left: 50%; width: min(380px, calc(100% - 28px));
  padding: 22px 18px 20px; border-radius: 26px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
  transform-origin: top center; animation: menuIn .38s var(--ease) both;
}
.mobile-nav { display: grid; gap: 5px; }
.mobile-link, .mobile-sign-in { opacity: 0; transform: translateY(10px); animation: linkIn .38s var(--ease) forwards; animation-delay: calc(.07s + var(--i) * .045s); }
.mobile-link {
  position: relative; min-height: 50px; padding: 0 16px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  color: var(--nav-text); font-size: 15px; font-weight: 500;
}
.mobile-link:hover { background: #f4f4f4; }
.mobile-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 8px; width: 3px; height: 3px; border-radius: 50%;
  background: #000; transform: translateX(-50%); box-shadow: -5px 0 0 #000, 5px 0 0 #000;
}
.mobile-sign-in {
  min-height: 50px; margin-top: 8px; border-radius: 999px; background: var(--pill); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600;
}

/* ---- hero ----------------------------------------------------------------------------------- */
.hero { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; padding: clamp(30px, 7vh, 90px) clamp(14px, 3vw, 32px) clamp(40px, 8vh, 96px); }
.hero-inner { width: 100%; max-width: 920px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.trust-row { --trust-size: clamp(36px, 4.5vw, 42px); display: inline-flex; align-items: center; justify-content: center; margin-bottom: clamp(16px, 2.5vh, 26px); }
.avatar-ring {
  position: relative; z-index: 1; width: var(--trust-size); height: var(--trust-size); flex: 0 0 var(--trust-size);
  padding: 4px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: var(--pill);
  display: grid; place-items: center; transition: transform .35s var(--ease);
}
.avatar-ring + .avatar-ring { margin-left: calc(var(--trust-size) * -.2); }
.avatar-ring.a1 { z-index: 1; } .avatar-ring.a2 { z-index: 2; } .avatar-ring.a3 { z-index: 4; }
.avatar-inner {
  width: 100%; height: 100%; border-radius: 50%; background: #fff; color: #111;
  display: grid; place-items: center; overflow: hidden;
  font: 600 10px/1 var(--font-mono); letter-spacing: .04em;
}
.avatar-ring.a1:hover { transform: translateY(-2px); }
.avatar-ring.a2:hover { transform: translateY(-4px); }
.avatar-ring.a3:hover { transform: translateY(-2px); }
.trust-pill {
  position: relative; z-index: 3; height: var(--trust-size); margin-left: calc(var(--trust-size) * -.2);
  padding: 0 calc(var(--trust-size) * .2) 0 calc(var(--trust-size) * .38);
  border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; background: var(--pill); color: #c4c2c3;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: clamp(12px, 1.4vw, 13.5px); font-weight: 500; white-space: nowrap;
}
.headline {
  width: 100%; margin: 0; color: #fff; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 6.6vw, 76px); line-height: 1.16; letter-spacing: -.045em; text-align: center;
}
.headline-line { display: block; width: 100%; color: #fff; white-space: nowrap; overflow: hidden; opacity: 0; transform: translateY(14px); animation: headlineFade .85s var(--ease) forwards; }
.headline-line.line-1 { animation-delay: .12s; }
.headline-line.line-2 { animation-delay: .3s; }
.subhead {
  max-width: min(560px, 94%); margin: clamp(18px, 2.6vh, 26px) 0 0; color: #d0d0d0;
  font-size: clamp(15px, 1.6vw, 17.5px); font-weight: 400; line-height: 1.6;
}
.subhead em { color: #fff; font-style: normal; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: clamp(22px, 3vh, 32px); }
.cta {
  display: inline-flex; align-items: center; gap: 9px; padding: clamp(12px, 1.6vh, 14px) clamp(24px, 3vw, 30px);
  border-radius: 999px; background: #fff; color: #000; font-size: clamp(14px, 1.5vw, 15px); font-weight: 600;
  box-shadow: var(--glow); transition: transform .24s ease, box-shadow .24s ease;
}
.cta:hover { transform: translateY(-2px) scale(1.02); box-shadow: var(--glow-hover); }
.cta.ghost { background: transparent; color: var(--ink); box-shadow: 0 0 0 1px var(--line-strong); }
.cta.ghost:hover { background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); }
.cta svg { width: 16px; height: 16px; flex: none; }

/* ---- stats ---------------------------------------------------------------------------------- */
.stats { flex: 0 0 auto; width: 100%; max-width: 960px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: clamp(12px, 2vw, 28px); }
.stat { min-width: 0; display: grid; justify-items: center; text-align: center; row-gap: clamp(3px, .5vh, 6px); }
.stat-icon { color: #fff; font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); font-weight: 400; line-height: 1; }
.stat-value { color: #fff; font-size: clamp(19px, 2.2vw, 26px); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-size: clamp(11px, 1.2vw, 12.5px); font-weight: 400; line-height: 1.3; }
.stats-band { width: 100%; display: flex; justify-content: center; padding: 0 clamp(14px, 3vw, 32px) clamp(40px, 8vh, 90px); }

/* ---- sections ------------------------------------------------------------------------------- */
section { position: relative; }
.sec { padding: clamp(56px, 9vh, 104px) 0 0; }
.sec-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 28px; margin-bottom: 40px; align-items: end; }
.sec-no {
  grid-row: 1 / span 2; font-family: var(--font-display); font-size: clamp(56px, 9vw, 108px); line-height: .9;
  color: rgba(255, 255, 255, .18);
}
.sec-head h2 { font-size: clamp(28px, 4.4vw, 52px); line-height: 1.04; font-weight: 600; letter-spacing: -.04em; }
.sec-head p { margin: 14px 0 0; max-width: 64ch; color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--amber); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; flex: none; }
@media (max-width: 640px) { .sec-head { grid-template-columns: 1fr; } .sec-no { grid-row: auto; font-size: 48px; } }

/* ---- cards ---------------------------------------------------------------------------------- */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.case { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; transition: transform .25s var(--ease), border-color .25s ease, background .25s ease; }
.case:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--panel-2); }
.case header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; color: var(--dim); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.case h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.case p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.case .fix { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.case .fix b { display: block; color: var(--live-ink); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 5px; }
.tag { display: inline-block; padding: 4px 9px; border: 1px solid currentColor; border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.tag.live { color: var(--live-ink); background: var(--live-bg); border-color: var(--live); }
.tag.warn { color: var(--amber-ink); background: var(--amber-bg); border-color: var(--amber); }
.tag.alert { color: var(--alert-ink); background: var(--alert-bg); border-color: var(--alert); }
.tag.ghost { color: var(--muted); border-style: dashed; }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; } }

/* capability grid */
.caps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 16px; }
.cap {
  position: relative; display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px;
  transition: transform .25s var(--ease), border-color .25s ease, background .25s ease;
}
.cap:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--panel-2); }
.cap .s-id { display: inline-flex; align-items: center; gap: 10px; color: var(--amber); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.cap .s-id i { font-style: normal; width: 24px; height: 24px; border-radius: 8px; background: var(--pill); color: #fff; display: grid; place-items: center; font-size: 11px; letter-spacing: 0; }
.cap h3 { margin: 14px 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.cap p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.cap .go { margin-top: 16px; color: var(--ink-soft); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.cap .go::after { content: "→"; transition: transform .2s var(--ease); }
.cap:hover .go::after { transform: translateX(4px); }

/* ---- panels, terminals, tables -------------------------------------------------------------- */
.panel { position: relative; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.panel h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.panel p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.sector { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(48px, 7vh, 88px); }
.sector.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.sector.flip .copy-col { order: 2; }
.copy-col { position: sticky; top: calc(var(--bar-h) + 24px); }
.sector h3 { font-size: clamp(24px, 3.2vw, 38px); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 16px; }
.sector .s-id { display: inline-flex; align-items: center; gap: 10px; color: var(--amber); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.sector .s-id i { font-style: normal; width: 26px; height: 26px; border-radius: 9px; background: var(--pill); color: #fff; display: grid; place-items: center; font-size: 12px; letter-spacing: 0; }
.ticks { list-style: none; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--amber); transform: rotate(45deg); }
code { font-size: .88em; padding: 2px 7px; border-radius: 7px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); }
@media (max-width: 900px) { .sector, .sector.flip { grid-template-columns: 1fr; gap: 26px; } .sector.flip .copy-col { order: 0; } .copy-col { position: static; } }

.term { background: var(--term); border: 1px solid var(--line-strong); border-radius: 16px; min-width: 0; overflow: hidden; }
.term-bar { display: flex; gap: 6px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--term-dim); font-size: 11px; letter-spacing: .08em; }
.term-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2f2f33; }
.term-bar span { margin-left: 6px; }
.term pre { margin: 0; padding: 16px 18px 18px; overflow-x: auto; font-size: 13px; line-height: 1.75; color: var(--term-ink); }
.term .c { color: var(--term-dim); } .term .a { color: var(--term-acc); } .term .g { color: var(--term-ok); } .term .r { color: var(--alert-ink); }
.term .p { color: var(--term-acc); user-select: none; }
.stack { display: grid; gap: 14px; min-width: 0; }

.msg { display: grid; grid-template-columns: auto 1fr; gap: 0 14px; background: var(--strip); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 12px; padding: 12px 14px; }
.msg .who { font-family: var(--font-mono); font-size: 12.5px; color: var(--amber-ink); white-space: nowrap; }
.msg .t { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-align: right; }
.msg p { grid-column: 1 / -1; margin: 6px 0 0; font-size: 15.5px; line-height: 1.45; }
.ladder { list-style: none; display: grid; gap: 0; margin: 18px 0 0; counter-reset: l; }
.ladder li { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 0 0 18px; }
.ladder li::before { content: ""; position: absolute; left: 18px; top: 32px; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--line-strong) 0 5px, transparent 5px 9px); }
.ladder li:last-child { padding-bottom: 0; } .ladder li:last-child::before { display: none; }
.ladder .dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--panel); color: var(--muted); font-family: var(--font-mono); font-size: 15px; }
.ladder b { display: block; font-size: 15px; font-weight: 600; }
.ladder small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-family: var(--font-mono); }
.ladder .st { color: var(--muted); font-size: 11px; font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding-top: 12px; }
.rv.in .ladder .dot, .no-js .ladder .dot { background: var(--live-bg); color: var(--live-ink); border-color: var(--live); }
.ladder li.last .dot { border-style: dashed; }
.rv.in .ladder li.last .dot, .no-js .ladder li.last .dot { background: var(--amber-bg); color: var(--amber-ink); border-color: var(--amber); }
.recp { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px; font-family: var(--font-mono); }
.recp b { color: var(--ink); }

.claimlist { list-style: none; display: grid; border: 1px solid var(--line); background: var(--strip); border-radius: 12px; overflow: hidden; }
.claimlist li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 12.5px; }
.claimlist li:last-child { border-bottom: 0; }
.claimlist .res { color: var(--amber-ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.claimlist .holder { color: var(--muted); }
.handoff { display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr); gap: 10px; align-items: center; }
.hx { background: var(--strip); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.hx b { display: block; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 4px; }
.hx code { font-size: 12px; color: var(--amber-ink); }
.hx small { display: block; color: var(--muted); font-size: 11.5px; font-family: var(--font-mono); line-height: 1.5; margin-top: 4px; }
.arrow { width: 36px; height: 20px; color: var(--amber); }
@media (max-width: 560px) { .handoff { grid-template-columns: 1fr; } .arrow { transform: rotate(90deg); margin: 0 auto; } }

.rwys { display: grid; gap: 12px; }
.rw { position: relative; background: var(--strip); border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 14px; overflow: hidden; }
.rw::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 22px, transparent 22px 40px); }
.rw.alert::before { background: repeating-linear-gradient(90deg, var(--alert) 0 22px, transparent 22px 40px); }
.rw.warn::before { background: repeating-linear-gradient(90deg, var(--amber) 0 22px, transparent 22px 40px); }
.rw.ok::before { background: repeating-linear-gradient(90deg, var(--live) 0 22px, transparent 22px 40px); }
.rw-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; }
.rw h4 { font-family: var(--font-mono); font-size: 15px; font-weight: 600; word-break: break-all; }
.rw .meta { grid-column: 1; color: var(--muted); font-size: 11.5px; font-family: var(--font-mono); line-height: 1.6; }
.rw .meta b { color: var(--amber-ink); }
.rw .tag { grid-column: 2; grid-row: 1; align-self: start; }

.tree { list-style: none; display: grid; font-family: var(--font-mono); font-size: 12.5px; }
.tree ul { list-style: none; margin-left: 18px; padding-left: 14px; border-left: 1px dashed var(--line-strong); }
.tree li { padding: 4px 0; }
.node { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 10px; background: var(--strip); border: 1px solid var(--line); border-radius: 10px; }
.node .k { font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 4px 7px; border: 1px solid var(--line-strong); color: var(--muted); border-radius: 6px; }
.node .k.rm { background: var(--amber); border-color: var(--amber); color: #000; }
.node .k.ph { color: var(--amber-ink); border-color: var(--amber); }
.node .k.ep { color: var(--cyan-ink); border-color: var(--cyan); }
.node .tt { font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
.node .pc { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.bar-mini { width: 74px; height: 6px; background: rgba(255, 255, 255, .1); border-radius: 999px; position: relative; overflow: hidden; }
.bar-mini i { position: absolute; inset: 0 auto 0 0; background: var(--live); width: var(--w, 0%); border-radius: 999px; transform-origin: left; }
.rv .bar-mini i { transform: scaleX(0); transition: transform 1.1s var(--ease) .3s; }
.rv.in .bar-mini i, .no-js .bar-mini i { transform: none; }
.st-done { color: var(--live-ink); } .st-prog { color: var(--cyan-ink); } .st-block { color: var(--alert-ink); } .st-rev { color: var(--amber-ink); }

.reg-big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 46px; font-weight: 600; letter-spacing: -.04em; }
.reg-big small { color: var(--muted); font-size: 12.5px; font-family: var(--font-mono); font-weight: 400; letter-spacing: 0; }
.reg-bar { display: flex; height: 20px; margin: 16px 0 10px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.reg-bar i { display: block; height: 100%; }
.reg-bar .live { background: var(--live); width: 3%; }
.reg-bar .dorm { background: repeating-linear-gradient(135deg, var(--dim) 0 5px, transparent 5px 9px); width: 78%; }
.reg-bar .eph { background: var(--cyan); width: 2%; }
.reg-bar .ret { background: var(--line-strong); width: 17%; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 12px; font-family: var(--font-mono); list-style: none; }
.legend li::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 7px; border-radius: 3px; background: var(--c); }
.aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.aud div { border: 1px solid var(--line); background: var(--strip); border-radius: 12px; padding: 12px 14px; }
.aud code { display: block; font-size: 15px; font-weight: 600; color: var(--amber-ink); background: none; border: 0; padding: 0; }
.aud span { display: block; color: var(--muted); font-size: 12px; font-family: var(--font-mono); line-height: 1.45; margin-top: 4px; }
@media (max-width: 560px) { .aud { grid-template-columns: 1fr; } .reg-big { font-size: 38px; } }

/* ---- install / code blocks -------------------------------------------------------------------- */
.install { margin: 0; max-width: 640px; background: var(--term); color: var(--term-ink); border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; }
.install-top { display: flex; align-items: stretch; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line); padding-right: 8px; }
.runner-tabs { display: flex; flex-wrap: wrap; }
.runner-tabs button { appearance: none; background: transparent; border: 0; border-bottom: 2px solid transparent; color: var(--term-dim); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 12px 14px 10px; cursor: pointer; }
.runner-tabs button:hover { color: var(--term-ink); }
.runner-tabs button[aria-pressed="true"] { color: var(--term-acc); border-bottom-color: var(--term-acc); }
.copy { appearance: none; align-self: center; display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 1px solid rgba(255, 255, 255, .22); color: var(--term-ink); border-radius: 999px; font-size: 12px; font-weight: 500; padding: 7px 13px; cursor: pointer; }
.copy:hover { background: rgba(255, 255, 255, .1); }
.copy svg { width: 15px; height: 15px; }
.copy[data-state="done"] { color: var(--term-ok); border-color: var(--term-ok); }
.install pre { margin: 0; padding: 18px; overflow-x: auto; font-size: 14px; line-height: 1.7; white-space: pre-wrap; word-break: break-all; }
.install pre code { display: contents; }
.install .cmd { display: block; }
.js .install .cmd:not(.on) { display: none; }
.install-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; font-family: var(--font-mono); line-height: 1.6; }

/* ---- diagram ---------------------------------------------------------------------------------- */
.diagram { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.diagram svg { display: block; width: 100%; height: auto; }
.d-tall { display: none !important; }
@media (max-width: 760px) { .d-wide { display: none !important; } .d-tall { display: block !important; } .diagram { padding: 14px 8px; } }
.d-box { fill: var(--strip); stroke: var(--line-strong); stroke-width: 1.5; }
.d-box.hot { fill: var(--term); stroke: var(--amber); stroke-width: 2.5; }
.d-t { font-family: var(--font-sans); font-size: 22px; font-weight: 600; letter-spacing: -.01em; fill: var(--ink); }
.d-t.inv { fill: var(--amber); }
.d-s { font-family: var(--font-mono); font-size: 12.5px; fill: var(--muted); }
.d-s.inv { fill: #a3a3ab; }
.d-k { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; fill: var(--amber-ink); }
.d-line { stroke: var(--amber); stroke-width: 2.5; fill: none; stroke-dasharray: 8 7; animation: dash 1.2s linear infinite; }
.d-line.ro { stroke: var(--live); }
.d-head { fill: var(--amber); } .d-head.ro { fill: var(--live); }
.d-note { font-family: var(--font-mono); font-size: 11.5px; fill: var(--muted); }
.legend-d { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 4px 0; color: var(--muted); font-size: 12px; font-family: var(--font-mono); }
.legend-d span::before { content: ""; display: inline-block; width: 26px; border-top: 3px dashed var(--amber); margin-right: 8px; vertical-align: middle; }
.legend-d span.ro::before { border-top-color: var(--live); }

/* ---- tables ------------------------------------------------------------------------------------ */
.tablewrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; line-height: 1.5; }
caption { text-align: left; padding: 18px 20px 8px; color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
th, td { text-align: left; padding: 13px 20px; border-top: 1px solid var(--line); vertical-align: top; }
th { color: var(--amber-ink); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
td:last-child { color: var(--muted); font-size: 14px; }
@media (max-width: 700px) {
  table { min-width: 0; } table, tbody, tr, th, td, caption { display: block; } thead { display: none; }
  tr { padding: 16px 18px 6px; border-top: 1px solid var(--line); } th, td { border: 0; padding: 0 0 10px; }
  th[scope=row] { font-size: 18px; }
  td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 3px; }
}

/* ---- steps ------------------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: step; list-style: none; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 46px; line-height: .9; color: rgba(255, 255, 255, .26); }
.steps h3 { font-size: 19px; font-weight: 600; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---- dashboard preview --------------------------------------------------------------------------- */
.views { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.views button { appearance: none; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; background: var(--panel); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.views button:hover { color: var(--ink); background: var(--panel-2); }
.views button[aria-selected="true"] { color: #000; background: #fff; border-color: #fff; }
.views .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .1); font-family: var(--font-mono); font-size: 11px; }
.views button[aria-selected="true"] .n { background: rgba(0, 0, 0, .12); }
.frame { border: 1px solid var(--line-strong); border-radius: 18px; background: var(--term); box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 11px 16px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-family: var(--font-mono); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2f2f33; }
.frame-bar span { margin-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vpanel { margin: 0; }
.no-js .vpanel[hidden] { display: block; }
.no-js .views, .no-js .copy, .no-js .runner-tabs { display: none; }
.no-js .vpanel + .vpanel { margin-top: 20px; }
.vpanel figcaption { padding: 16px 20px 18px; font-size: 15.5px; background: var(--panel); border-top: 1px solid var(--line); color: var(--muted); }
.vpanel figcaption b { color: var(--ink); font-weight: 600; margin-right: 8px; }
.shot-light { display: block; } .shot-dark { display: none; }
.keys { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; list-style: none; color: var(--muted); font-size: 12.5px; font-family: var(--font-mono); }
kbd { padding: 2px 7px; border-radius: 6px; background: var(--panel); border: 1px solid var(--line-strong); color: var(--ink); font-size: 11.5px; }

/* ---- callouts ------------------------------------------------------------------------------------- */
.sec-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sc { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 24px 22px; }
.sc::before { content: attr(data-n); position: absolute; left: 22px; top: 22px; color: var(--amber); font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; }
.sc h3 { margin: 26px 0 10px; font-size: 18px; font-weight: 600; }
.sc p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.honest { margin-top: 22px; padding: 20px 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--amber); color: var(--ink-soft); font-size: 16px; max-width: 86ch; }
.honest strong { color: var(--ink); font-weight: 600; }
@media (max-width: 1000px) { .sec-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sec-cards { grid-template-columns: 1fr; } }

/* ---- final cta + footer --------------------------------------------------------------------------- */
.final { margin-top: clamp(64px, 10vh, 120px); position: relative; overflow: hidden; border-top: 1px solid var(--line); background: var(--bg-soft); }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 50% 120%, rgba(255, 255, 255, .07), transparent 70%); pointer-events: none; }
.final .wrap { position: relative; padding-top: clamp(56px, 8vh, 90px); padding-bottom: clamp(56px, 8vh, 90px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.final h2 { font-size: clamp(30px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.04em; font-weight: 600; }
.final p { margin: 14px 0 0; color: var(--muted); max-width: 54ch; }
@media (max-width: 800px) { .final .wrap { grid-template-columns: 1fr; } }

footer { padding: clamp(44px, 6vh, 64px) 0 clamp(40px, 5vh, 60px); border-top: 1px solid var(--line); margin-top: 0; }
.foot { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot h2 { color: var(--muted); font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
.foot ul { list-style: none; display: grid; gap: 8px; font-size: 13.5px; }
.foot ul a { color: var(--ink-soft); transition: color .2s ease; }
.foot ul a:hover { color: #fff; }
.foot p { color: var(--muted); font-size: 13.5px; line-height: 1.7; max-width: 46ch; }
.foot .brand-lock { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot .brand-lock img { width: 34px; height: 34px; border-radius: 10px; }
.foot .brand-lock b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.legal { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--dim); font-size: 12px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }

/* ---- page hero (interior pages) ------------------------------------------------------------------- */
.page-hero { padding: clamp(30px, 6vh, 70px) 0 clamp(26px, 4vh, 44px); text-align: center; }
.page-hero .headline { font-size: clamp(28px, 5.4vw, 60px); }
.page-hero .subhead { margin-left: auto; margin-right: auto; }
.crumbs { display: flex; justify-content: center; gap: 8px; color: var(--dim); font-size: 12.5px; font-family: var(--font-mono); margin-bottom: 18px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: #fff; }
.crumbs span { opacity: .5; }

/* ---- motion ---------------------------------------------------------------------------------------- */
.anim { opacity: 0; transform: translateY(22px) scale(.98); filter: blur(6px); animation: reveal .85s var(--ease) forwards; animation-delay: var(--d, 0s); }
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@keyframes reveal { from { opacity: 0; transform: translateY(22px) scale(.98); filter: blur(6px); } to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes headlineFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes menuIn { from { opacity: 0; transform: translate(-50%, -10px) scale(.97); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes linkIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dash { to { stroke-dashoffset: -30; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); } 70%, 100% { box-shadow: 0 0 0 14px transparent; } }

/* ---- responsive ------------------------------------------------------------------------------------ */
@media (max-width: 720px) {
  .page { padding-left: 0; padding-right: 0; }
  .header-row { max-width: none; justify-content: space-between; gap: 12px; }
  .desktop-nav, .desktop-sign-in { display: none; }
  .logo-button, .burger { width: 48px; height: 48px; }
  .burger {
    position: relative; z-index: 30; flex: 0 0 auto; border: 0; border-radius: 50%; padding: 0;
    background: var(--pill); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .45); cursor: pointer; transition: background .28s ease, transform .28s ease;
  }
  .burger span { display: block; width: 18px; height: 1.5px; border-radius: 2px; background: #fff; transition: transform .34s cubic-bezier(.76, 0, .24, 1), opacity .22s ease, background .28s ease; }
  .burger[aria-expanded="true"] { background: #fff; }
  .burger[aria-expanded="true"] span { background: #000; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .headline { font-size: clamp(28px, 9.4vw, 52px); letter-spacing: -.06em; line-height: 1.1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vh, 18px) 16px; }
  .stats-band { padding-bottom: clamp(34px, 6vh, 60px); }
}
@media (max-width: 420px) {
  .trust-row { --trust-size: 34px; max-width: 100%; }
  .trust-pill { font-size: 11.5px; padding-right: calc(var(--trust-size) * .35); min-width: 0; height: auto; min-height: var(--trust-size); padding-block: 5px; white-space: normal; line-height: 1.3; text-align: center; }
  .headline { font-size: clamp(26px, 9.6vw, 42px); letter-spacing: -.07em; }
  .mobile-menu-sheet { width: calc(100% - 24px); }
}
@media (max-height: 700px) {
  .hero { padding-top: 24px; padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .anim, .site-header, .headline-line { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .bg-sweep { transform: rotate(40deg); }
  .hero-video { display: none; }
  .hero-media { background: var(--bg) url("assets/hero-poster.jpg") center / cover no-repeat; }
}
@media print {
  .bg, .hero-media, .site-header, .final { display: none; }
  body { background: #fff; color: #000; }
}
