/* PinPeek design system — tokens from BRIEF.md. Zero deps. */

/* Metric-matched fallback so the Inter swap causes ~0 layout shift. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 107.12%; ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%;
}

@property --c { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  --bg: #0a0b0d; --bg-2: #121418; --bg-3: #1a1d23;
  --ink: #f5f5f7; --ink-2: #a1a1a6; --ink-3: #86868b;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --pin: #3d7bff; --pin-glow: #6c9bff; --pin-strong: #2f6bf0;
  --amber: #ffb547;
  --paper: #f5f5f7; --paper-ink: #1d1d1f; --paper-ink-2: #515154; --paper-line: rgba(0,0,0,.1);
  --ok: #34c759; --warn: #ffb547; --bad: #ff6961;
  --ease: cubic-bezier(.2,.7,.1,1);
  --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --radius: 22px; --radius-sm: 12px;
  --nav-h: 56px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--font); letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--pin-glow); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--pin-glow); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0 0 .4em; font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* Fine film grain, static (rasterised once). */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: calc(820px + 2 * var(--gutter)); }
.section { padding-block: clamp(80px, 14vw, 180px); position: relative; }
.section-tight { padding-block: clamp(48px, 8vw, 96px); }
.grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.grid > * { min-width: 0; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid { gap: 20px; } }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.stack > * + * { margin-top: 16px; }

/* ---------- Type ---------- */
.display { font-size: clamp(48px, 10vw, 120px); font-weight: 700; letter-spacing: -0.035em; line-height: .98; }
.h2 { font-size: clamp(36px, 6.4vw, 80px); font-weight: 700; letter-spacing: -0.032em; line-height: 1.02; }
.h3 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--pin-glow); margin-bottom: 14px; text-transform: none; }
.eyebrow.amber { color: var(--amber); }
.lede { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.4; color: var(--ink-2); max-width: 40ch; letter-spacing: -0.016em; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.tiny { font-size: 12px; color: var(--ink-3); }
.grad { background: linear-gradient(180deg, #fff 30%, #9fb6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dim { color: var(--ink-3); }
.mono { font-variant-numeric: tabular-nums; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(10,11,13,.72); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  transition: opacity .4s var(--ease);
}
.nav.scrolled::before, .nav.solid::before { opacity: 1; }
.nav-in { display: flex; align-items: center; gap: 20px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 22px; height: 22px; }
.nav-links { display: none; gap: 26px; margin-left: auto; font-size: 14px; }
.nav-links a { color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-links + .nav-cta { margin-left: 8px; }
.nav-cta .signin { font-size: 14px; color: var(--ink-2); }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s var(--ease); }
.menu summary span::before, .menu summary span::after { content: ""; position: absolute; left: 0; }
.menu summary span::before { top: -6px; } .menu summary span::after { top: 6px; }
.menu[open] summary span { background: transparent; }
.menu[open] summary span::before { transform: translateY(6px) rotate(45deg); }
.menu[open] summary span::after { transform: translateY(-6px) rotate(-45deg); }
.menu-panel { position: fixed; left: 0; right: 0; top: var(--nav-h); padding: 8px var(--gutter) 24px; display: grid; background: rgba(10,11,13,.94); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.menu-panel a { color: var(--ink); font-size: 22px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); letter-spacing: -0.02em; }
@media (min-width: 900px) { .nav-links { display: flex; } .menu { display: none; } }
@media (max-width: 420px) { .nav-cta .signin { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 11px 22px; border-radius: 999px; border: 1px solid transparent; font-size: 16px; font-weight: 600;
  cursor: pointer; white-space: nowrap; text-decoration: none !important;
  transition: transform .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease), opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.btn-primary { background: var(--pin-strong); color: #fff; box-shadow: 0 0 0 0 rgba(61,123,255,0), 0 8px 30px -10px rgba(61,123,255,.7); }
.btn-primary:hover { background: #2a61dc; box-shadow: 0 0 0 4px rgba(61,123,255,.18), 0 10px 40px -10px rgba(108,155,255,.9); }
.btn-ghost { color: var(--ink); border-color: var(--line-2); background: rgba(255,255,255,.04); }
.btn-ghost:hover { background: rgba(255,255,255,.09); }
.btn-light { background: var(--ink); color: var(--bg); }
.btn-light:hover { background: #fff; }
.btn-sm { min-height: 36px; padding: 7px 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 15px 30px; font-size: 18px; }
.link-arrow::after { content: " \203A"; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .cta-row { justify-content: center; }

/* ---------- Surfaces ---------- */
.glass {
  background: rgba(22,25,31,.86); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass { background: rgba(28,32,40,.55); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); }
}
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); position: relative; }
.card h3 { font-size: 21px; }
a.card { color: inherit; display: block; transition: border-color .3s var(--ease), transform .4s var(--ease), background-color .3s; }
a.card:hover { text-decoration: none; border-color: var(--line-2); background: var(--bg-3); transform: translateY(-2px); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.07); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.chip.pin { color: #cfdcff; background: rgba(61,123,255,.16); border-color: rgba(61,123,255,.35); }
.chip.amber { color: #1d1d1f; background: var(--amber); border-color: transparent; }
.chip.ok { color: #c9f5d4; background: rgba(52,199,89,.15); border-color: rgba(52,199,89,.35); }
.chip.bad { color: #ffd2cf; background: rgba(255,105,97,.14); border-color: rgba(255,105,97,.35); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pin); box-shadow: 0 0 12px var(--pin-glow); display: inline-block; }
.hr { height: 1px; background: var(--line); border: 0; margin: 32px 0; }

/* ---------- Stat tiles ---------- */
.stat { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: linear-gradient(180deg, var(--bg-2), rgba(18,20,24,.4)); border: 1px solid var(--line); min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.stat-num { font-size: clamp(40px, 5.6vw, 68px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--ink-2); font-size: 15px; line-height: 1.35; margin: 0; }
.stat.feature { background: radial-gradient(120% 120% at 0% 0%, rgba(61,123,255,.28), transparent 60%), var(--bg-2); border-color: rgba(61,123,255,.3); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: rgba(255,255,255,.025); position: sticky; top: 0; white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: rgba(255,255,255,.02); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table th button { all: unset; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.table th button:focus-visible { outline: 2px solid var(--pin-glow); outline-offset: 2px; border-radius: 4px; }
.table th[aria-sort="ascending"] button::after { content: "\2191"; }
.table th[aria-sort="descending"] button::after { content: "\2193"; }

/* ---------- Forms ---------- */
.field { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 5px 5px 18px; max-width: 520px; transition: border-color .3s, box-shadow .3s; }
.field:focus-within { border-color: rgba(108,155,255,.7); box-shadow: 0 0 0 4px rgba(61,123,255,.18); }
.field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 16px; padding: 8px 0; }
.field input::placeholder { color: var(--ink-3); }
.field svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.input { width: 100%; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 11px 14px; font-size: 16px; }
.input:focus { outline: 0; border-color: rgba(108,155,255,.7); box-shadow: 0 0 0 4px rgba(61,123,255,.18); }
select.input { appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: right 16px top 50%, right 11px top 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--bg-2); }
.alert.bad { border-color: rgba(255,105,97,.4); background: rgba(255,105,97,.08); }
.alert.ok { border-color: rgba(52,199,89,.4); background: rgba(52,199,89,.08); }
.alert.amber { border-color: rgba(255,181,71,.45); background: rgba(255,181,71,.08); }

/* ---------- Light (paper) sections ---------- */
.paper { background: var(--paper); color: var(--paper-ink); color-scheme: light; }
.paper .lede, .paper .muted { color: var(--paper-ink-2); }
.paper .eyebrow { color: #1f5ae0; }
.paper a:not(.btn) { color: #1f5ae0; }
.paper .card { background: #fff; border-color: var(--paper-line); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 20px 50px -30px rgba(0,0,0,.25); }
.paper .tiny { color: #6e6e73; }
.paper .btn-ghost { color: var(--paper-ink); border-color: rgba(0,0,0,.16); background: rgba(0,0,0,.03); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; color: var(--ink-2); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer h4 { font-size: 13px; color: var(--ink); font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--ink); }
.footer .brand-col { grid-column: 1 / -1; }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer .brand-col { grid-column: auto; } }

/* ---------- Breadcrumbs / SSR pages ---------- */
.crumbs { font-size: 13px; color: var(--ink-3); margin: 0 0 24px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.page-hero { padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(32px, 5vw, 64px); position: relative; }
.page-hero::before { content: ""; position: absolute; inset: -56px 0 0; z-index: -1; background: radial-gradient(60% 80% at 20% 0%, rgba(61,123,255,.18), transparent 70%); pointer-events: none; }
.page-hero h1 { font-size: clamp(38px, 6.6vw, 76px); font-weight: 700; letter-spacing: -0.034em; line-height: 1.02; max-width: 18ch; }
.code-badge { font-variant-numeric: tabular-nums; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; justify-content: space-between; align-items: baseline; }
.list-plain li:last-child { border-bottom: 0; }
.list-plain .amt { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; white-space: nowrap; }
.bar { height: 6px; background: rgba(255,255,255,.07); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--pin), var(--pin-glow)); border-radius: inherit; transform-origin: left; }
.empty { text-align: center; padding: 40px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--ink-2); }
.empty svg { width: 36px; height: 36px; margin: 0 auto 12px; color: var(--ink-3); }
.source { font-size: 13px; color: var(--ink-3); margin-top: 28px; }
.cta-band { border-radius: calc(var(--radius) + 6px); padding: clamp(32px, 6vw, 72px); background: radial-gradient(90% 140% at 100% 0%, rgba(61,123,255,.35), transparent 60%), radial-gradient(70% 100% at 0% 100%, rgba(255,181,71,.12), transparent 60%), var(--bg-2); border: 1px solid var(--line-2); overflow: hidden; }
.cta-band h2 { font-size: clamp(30px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.03em; }
.opp { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.opp:last-child { border-bottom: 0; }
.opp-title { font-weight: 600; color: var(--ink); font-size: 17px; }
.opp-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-2); }
.prose { font-size: 18px; line-height: 1.7; color: #d2d2d7; }
.prose h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 2em 0 .6em; color: var(--ink); }
.prose h3 { font-size: 21px; margin: 1.6em 0 .5em; color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose code { background: var(--bg-3); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; }
.sector { margin-top: 40px; }
.sector h2 { font-size: 22px; letter-spacing: -0.02em; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.code-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px 24px; }
@media (min-width: 720px) { .code-list { grid-template-columns: 1fr 1fr; } }
.code-list a { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.code-list a:hover { color: var(--ink); text-decoration: none; }
.code-list b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; min-width: 4.2em; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; font-size: 15px; }
.kv dt { color: var(--ink-3); } .kv dd { margin: 0; color: var(--ink); }

/* ================= HOMEPAGE ================= */
.home .nav { position: fixed; left: 0; right: 0; }

/* Hero */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: clip; display: grid; align-items: end; view-timeline: --hero block; }
.hero-media, .hero-fallback { position: absolute; inset: 0; }
.hero-fallback {
  background:
    radial-gradient(50% 40% at 62% 46%, rgba(61,123,255,.30), transparent 70%),
    radial-gradient(30% 24% at 30% 60%, rgba(108,155,255,.14), transparent 70%),
    radial-gradient(20% 18% at 80% 30%, rgba(255,181,71,.08), transparent 70%),
    radial-gradient(120% 90% at 50% 120%, #0f1520, var(--bg) 70%);
}
.hero-fallback::before { /* faint dot-matrix "map" so the hero holds up with no video */
  content: ""; position: absolute; inset: 10% 6% 20%; opacity: .5;
  background-image: radial-gradient(rgba(161,161,166,.35) 1px, transparent 1.2px); background-size: 14px 14px;
  -webkit-mask-image: radial-gradient(60% 55% at 55% 50%, #000 30%, transparent 75%); mask-image: radial-gradient(60% 55% at 55% 50%, #000 30%, transparent 75%);
}
.hero video, .film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,13,.6), rgba(10,11,13,0) 65%), linear-gradient(180deg, rgba(10,11,13,.55) 0%, rgba(10,11,13,0) 26%, rgba(10,11,13,0) 46%, rgba(10,11,13,.82) 82%, var(--bg) 100%); }
.hero-copy { position: relative; z-index: 2; padding-bottom: clamp(48px, 9vh, 110px); }
.hero h1 { max-width: 11ch; margin-bottom: 20px; }
.hero h1 span { display: block; }
.hero .lede { margin-bottom: 28px; color: #c7c7cc; }
.hero-search { margin-top: 26px; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; z-index: 2; width: 22px; height: 34px; margin-left: -11px; border: 1.5px solid var(--line-2); border-radius: 12px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ink-2); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 719px) { .scroll-cue { display: none; } }

/* Film (anamorphic 2.39 letterbox) */
.film { position: relative; aspect-ratio: 2.39 / 1; border-radius: var(--radius); overflow: hidden; background: radial-gradient(80% 120% at 30% 80%, rgba(255,181,71,.16), transparent 60%), radial-gradient(90% 120% at 80% 0%, rgba(40,70,90,.5), transparent 60%), #0d1014; border: 1px solid var(--line); }
.film::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 120px 30px rgba(0,0,0,.65); pointer-events: none; }
.problem-copy { margin-top: clamp(40px, 7vw, 90px); }
.statement { font-size: clamp(38px, 7.2vw, 96px); font-weight: 700; letter-spacing: -0.036em; line-height: 1.02; max-width: 14ch; }
.statement .w { display: inline-block; }
.statement .lit { color: var(--ink); }
.problem-facts { margin-top: clamp(40px, 6vw, 72px); }
.problem-facts .card p { color: var(--ink-2); margin: 0; }
.problem-facts .k { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; color: var(--ink); }

/* Pin — layered map */
.pin-scene { position: relative; margin-top: clamp(40px, 6vw, 80px); height: clamp(460px, 62vw, 760px); border-radius: calc(var(--radius) + 6px); overflow: hidden; background: radial-gradient(60% 60% at 50% 50%, #121a2a, var(--bg) 75%); border: 1px solid var(--line); isolation: isolate; }
.pin-scene .layer { position: absolute; inset: -12% -4%; will-change: transform; }
.layer-video video { width: 100%; height: 100%; object-fit: cover; }
.layer-map { background: url("/media/layers/map-base.webp") center / contain no-repeat; }
.layer-pins { background: url("/media/layers/pins-glow.webp") center / contain no-repeat; }
.layer-glow { background: radial-gradient(30% 30% at 55% 50%, rgba(61,123,255,.28), transparent 70%); mix-blend-mode: screen; }
.css-pins { position: absolute; inset: 0; }
.css-pins i { position: absolute; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--pin); box-shadow: 0 0 0 4px rgba(61,123,255,.18), 0 0 24px 6px rgba(108,155,255,.55); animation: ping 3.2s var(--ease) infinite; animation-delay: calc(var(--d, 0) * 1s); }
.css-pins i.hot { background: var(--amber); box-shadow: 0 0 0 4px rgba(255,181,71,.2), 0 0 24px 6px rgba(255,181,71,.5); }
@keyframes ping { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .7; } }
.feed-mock { position: absolute; z-index: 3; right: clamp(12px, 4vw, 48px); bottom: clamp(12px, 4vw, 48px); width: min(400px, calc(100% - 24px)); padding: 16px; }
.feed-mock header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; color: var(--ink-2); }
.feed-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 4px; border-top: 1px solid var(--line); font-size: 14px; }
.feed-row b { font-weight: 600; color: var(--ink); grid-column: 1; line-height: 1.3; }
.feed-row span { color: var(--ink-2); font-size: 12.5px; grid-column: 1; }
.feed-row .chip { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.naics-mock { position: absolute; z-index: 3; left: clamp(12px, 4vw, 48px); top: clamp(12px, 4vw, 48px); padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 6px; max-width: 300px; }
@media (max-width: 559px) { .naics-mock { display: none; } }
.features { margin-top: clamp(40px, 6vw, 72px); }
.features .card p { color: var(--ink-2); margin: 0; font-size: 16px; }
.features .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(61,123,255,.14); color: var(--pin-glow); margin-bottom: 16px; }
.features .ico svg { width: 20px; height: 20px; }

/* Peek — sticky scrollytelling, document splits into layers */
.peek { position: relative; height: 420vh; view-timeline: --peek block; }
.peek-stage { position: sticky; top: 0; height: 100svh; overflow: clip; display: grid; grid-template-rows: auto 1fr; gap: 12px; padding-top: calc(var(--nav-h) + 14px); padding-bottom: 20px; }
.peek-head { position: relative; min-height: 6.6em; }
.peek-head .eyebrow { margin-bottom: 6px; }
.peek-steps { position: relative; list-style: none; padding: 0; margin: 0; }
.peek-steps li { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.peek-steps h3 { font-size: clamp(24px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 6px; max-width: 18ch; }
.peek-steps p { color: var(--paper-ink-2); font-size: clamp(15px, 1.5vw, 19px); max-width: 38ch; margin: 0; }
.peek[data-step="0"] [data-s="0"], .peek[data-step="1"] [data-s="1"], .peek[data-step="2"] [data-s="2"], .peek[data-step="3"] [data-s="3"], .peek[data-step="4"] [data-s="4"] { opacity: 1; transform: none; }
.peek-sentinels { position: absolute; inset: 0; pointer-events: none; }
.peek-sentinels i { position: absolute; left: 0; width: 1px; height: 1px; top: calc(var(--s) * 11% + 8%); }
.stack-wrap { position: relative; perspective: 1800px; min-height: 0; }
.stack { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(sin(var(--c) * 180deg) * 14deg)) rotateZ(calc(sin(var(--c) * 180deg) * -3deg)); }
.sheet { position: absolute; border-radius: 16px; background: #fff; border: 1px solid var(--paper-line); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 30px 60px -30px rgba(10,20,40,.45); overflow: hidden; color: var(--paper-ink); }
.sheet.pdf {
  left: 50%; top: 0; height: 100%; aspect-ratio: 8.5 / 11; max-width: 92%; translate: -50% 0; padding: 7% 8%;
  transform: translate3d(0, 0, calc(var(--c) * -520px)) scale(calc(1 - var(--c) * .08));
  opacity: calc(1 - var(--c) * .75); z-index: 5;
}
.pdf .ln { height: 6px; border-radius: 3px; background: #e3e3e8; margin: 0 0 9px; }
.pdf .ln.h { height: 12px; width: 60%; background: #cfcfd6; margin-bottom: 18px; }
.pdf .ln.s { width: 72%; } .pdf .ln.m { width: 88%; }
.pdf .ln.mark { background: rgba(61,123,255,.35); }
.pdf .ln.amber { background: rgba(255,181,71,.6); }
.pdf .stamp { position: absolute; right: 8%; bottom: 6%; font-size: 11px; font-weight: 700; color: #86868b; letter-spacing: .08em; }
.sheet.dec {
  --k: clamp(0, (var(--c) - var(--s)) * 3.2, 1);
  left: 26%; top: 26%; width: 48%; height: 48%; padding: clamp(12px, 1.8vw, 22px); z-index: 4;
  transform: translate3d(calc(var(--k) * var(--tx)), calc(var(--k) * var(--ty)), calc(var(--k) * 40px - 60px));
  opacity: calc(var(--k) * 1.4);
  display: flex; flex-direction: column; gap: 8px; font-size: clamp(11px, 1.15vw, 14px); line-height: 1.4;
}
.dec.d1 { --s: .12; --tx: -54%; --ty: -54%; }
.dec.d2 { --s: .30; --tx: 54%;  --ty: -54%; }
.dec.d3 { --s: .48; --tx: -54%; --ty: 54%; }
.dec.d4 { --s: .66; --tx: 54%;  --ty: 54%; }
.dec h4 { font-size: clamp(10px, 1vw, 12px); font-weight: 600; letter-spacing: .04em; color: #6e6e73; margin: 0; text-transform: uppercase; }
.dec p { margin: 0; color: var(--paper-ink); }
.dec .big { font-size: clamp(26px, 3.6vw, 48px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.mini-ring { --v: 78; width: clamp(54px, 7vw, 92px); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#1f9d4c calc(var(--v) * 1%), #e8e8ed 0); display: grid; place-items: center; }
.mini-ring::before { content: ""; grid-area: 1 / 1; width: 78%; aspect-ratio: 1; border-radius: 50%; background: #fff; }
.mini-ring b { grid-area: 1 / 1; z-index: 1; font-size: clamp(14px, 1.8vw, 24px); letter-spacing: -0.03em; }
.mini-row { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 16px); }
.mini-dates { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.mini-dates li { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid #ececf0; padding-bottom: 5px; }
.mini-dates .due { color: #b25e00; font-weight: 700; }
.mini-matrix { width: 100%; border-collapse: collapse; font-size: .92em; }
.mini-matrix td { border-bottom: 1px solid #ececf0; padding: 4px 4px 4px 0; vertical-align: top; }
.mini-matrix td:first-child { color: #6e6e73; white-space: nowrap; }
.mini-matrix .t { font-weight: 700; color: #1f5ae0; }
.illus { position: absolute; right: var(--gutter); bottom: 8px; font-size: 11px; color: #6e6e73; z-index: 6; }
@media (max-width: 719px) {
  .peek { height: 380vh; }
  .peek-head { min-height: 8.4em; }
  .sheet.dec { left: 25.5%; top: 25.5%; width: 49%; height: 49%; padding: 10px; gap: 5px; }
  .dec.d1, .dec.d3 { --tx: -51%; } .dec.d2, .dec.d4 { --tx: 51%; }
  .dec.d1, .dec.d2 { --ty: -51%; } .dec.d3, .dec.d4 { --ty: 51%; }
  .dec .hide-sm { display: none; }
}
/* Phones: fan the decoded layers into a vertical stack so every card is readable. */
@media (max-width: 479px) {
  .sheet.dec { left: 4%; width: 92%; top: 42%; height: 16%; min-height: 0; padding: 10px 12px; flex-direction: row; align-items: center; gap: 12px; }
  .sheet.dec h4 { flex: none; width: 6.6em; line-height: 1.25; }
  .sheet.dec > :not(h4) { flex: 1; min-width: 0; }
  .dec.d1 { --tx: -1.5%; --ty: -186%; } .dec.d2 { --tx: 1.5%; --ty: -62%; }
  .dec.d3 { --tx: -1.5%; --ty: 62%; }  .dec.d4 { --tx: 1.5%; --ty: 186%; z-index: 5; }
  .dec .mini-ring { width: 48px; }
  .dec .mini-dates li { padding-bottom: 3px; }
}
@media (min-width: 1024px) {
  .peek-stage { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 1fr; align-items: center; gap: 40px; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 32px; }
  .peek-head { min-height: 0; }
  .peek-steps { min-height: 12em; }
  .stack-wrap { height: min(76svh, 720px); }
}

/* Proof / live data */
.data-section { background: radial-gradient(70% 50% at 50% 0%, rgba(61,123,255,.12), transparent 70%); }
.stat-num[data-state="empty"] { color: var(--ink-3); }

/* Pricing */
.price-grid { margin-top: clamp(40px, 6vw, 72px); align-items: stretch; }
.price { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3.6vw, 44px); }
.price.hero-plan { border-color: rgba(61,123,255,.45); background: radial-gradient(120% 80% at 100% 0%, rgba(61,123,255,.22), transparent 60%), var(--bg-2); }
.price h3 { font-size: 28px; margin: 0; letter-spacing: -0.02em; }
.price .amt { font-size: clamp(48px, 6vw, 68px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.price .amt small { font-size: 18px; color: var(--ink-2); font-weight: 500; letter-spacing: -0.01em; }
.price ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: #d2d2d7; font-size: 16px; }
.price li { display: flex; gap: 10px; }
.price li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgba(61,123,255,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%236c9bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.price .btn { margin-top: auto; align-self: flex-start; }
.price-note { min-height: 1.4em; margin: 0; font-size: 14px; }

/* Final CTA */
.final { text-align: center; overflow: clip; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 100%, rgba(61,123,255,.3), transparent 70%), radial-gradient(30% 30% at 50% 100%, rgba(255,181,71,.12), transparent 70%); }
.final .field { margin: 32px auto 0; }


/* ================= APP ================= */
.app-main { padding-top: clamp(28px, 5vw, 56px); padding-bottom: 80px; min-height: calc(100svh - var(--nav-h) - 80px); }
.app .nav { background: rgba(10,11,13,.8); }
.skel { height: 20px; border-radius: 12px; margin-bottom: 14px; background: linear-gradient(90deg, var(--bg-2), var(--bg-3), var(--bg-2)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.signin-view { display: grid; place-items: center; padding-block: clamp(20px, 6vw, 72px); }
.signin-card { width: 100%; max-width: 460px; padding: clamp(24px, 5vw, 40px); }
.signin-card::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 40% at 50% 30%, rgba(61,123,255,.18), transparent 70%); }
.sent-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(61,123,255,.16); color: var(--pin-glow); margin-bottom: 16px; }
.sent-ico svg { width: 26px; height: 26px; }
.app-head { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.app-head h1 { margin: 0; }
.app-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 24px; }
.tabs button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: background-color .3s var(--ease), color .3s; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
@media (max-width: 420px) { .tabs button { padding: 8px 12px; font-size: 14px; } }
.dropzone { display: grid; justify-items: center; text-align: center; gap: 8px; padding: clamp(40px, 8vw, 80px) 20px; border: 1.5px dashed rgba(108,155,255,.45); border-radius: var(--radius); background: radial-gradient(70% 90% at 50% 0%, rgba(61,123,255,.12), transparent 70%), var(--bg-2); cursor: pointer; transition: border-color .3s, background-color .3s, transform .4s var(--ease); }
.dropzone:hover, .dropzone.over { border-color: var(--pin-glow); background-color: #141a26; }
.dropzone.over { transform: scale(1.01); }
.dropzone:focus-within { outline: 2px solid var(--pin-glow); outline-offset: 3px; }
.dz-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: rgba(61,123,255,.16); color: var(--pin-glow); margin-bottom: 6px; }
.dz-ico svg { width: 30px; height: 30px; }
.dz-title { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -0.02em; }
.progress-panel { padding: clamp(24px, 4vw, 40px); }
.pp-top { display: flex; align-items: center; gap: 12px; }
.pp-top strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--pin); box-shadow: 0 0 0 0 rgba(61,123,255,.6); animation: pulse 1.6s var(--ease) infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(61,123,255,0); } 100% { box-shadow: 0 0 0 0 rgba(61,123,255,0); } }
.pp-stage { font-size: clamp(24px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin: 24px 0 20px; min-height: 2.2em; }
.pp-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.pp-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--pin), var(--pin-glow)); transform: scaleX(.04); transform-origin: left; transition: transform .5s linear; box-shadow: 0 0 16px var(--pin-glow); }
.report { display: grid; gap: 16px; margin-top: 8px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.report-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 24px; }
.report-head h2 { margin: 0; }
.report-top, .report-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .report-top { grid-template-columns: 5fr 7fr; } .report-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.score-card { display: grid; gap: 20px; align-content: start; }
@media (min-width: 560px) { .score-card { grid-template-columns: auto 1fr; } }
.ring { width: 132px; height: 132px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: rgba(255,255,255,.08); }
.ring-fg { stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--ease); }
.ring.ok .ring-fg { stroke: var(--ok); } .ring.amber .ring-fg { stroke: var(--amber); } .ring.bad .ring-fg { stroke: var(--bad); }
.ring text { transform: rotate(90deg); transform-origin: 60px 60px; fill: var(--ink); font-size: 34px; font-weight: 700; letter-spacing: -0.04em; }
.reasons { margin: 14px 0 0; padding-left: 1.1em; display: grid; gap: 6px; color: #d2d2d7; font-size: 15px; }
.brief { font-size: 18px; line-height: 1.6; color: #e5e5ea; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.timeline li { display: flex; gap: 14px; padding: 6px 0 12px; position: relative; }
.timeline li div { display: grid; gap: 2px; min-width: 0; }
.tl-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--pin-glow); margin-top: 5px; flex: none; z-index: 1; }
.timeline .due .tl-dot { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 12px rgba(255,181,71,.6); }
.timeline .due strong { color: var(--amber); }
.timeline .past { opacity: .5; }
.criteria { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.crit-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.criteria p { margin: 4px 0 0; }
.flags ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.flags li { padding-left: 26px; position: relative; color: #e5e5ea; }
.flags li::before { content: "!"; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%; background: var(--amber); color: #1d1d1f; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.matrix-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; margin-bottom: 16px; }
.matrix-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.matrix-tools .input { width: auto; min-width: 0; padding-block: 8px; }
.matrix-tools input { flex: 1 1 200px; }
.req-table td:nth-child(2) { min-width: 260px; }
.req-table td:last-child { min-width: 180px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chip-x { border: 0; background: none; color: inherit; cursor: pointer; font-size: 16px; line-height: 1; padding: 0 0 0 4px; }
.code-form { display: flex; flex-wrap: wrap; gap: 8px; }
.code-form .input { flex: 1 1 200px; width: auto; }

/* ================= MOTION ================= */
/* Reveals: hidden only when JS is on, so no-JS users always see content. */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--rd, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.scene { view-timeline: --scene block; }

/* Fallback engine (JS writes --v, --x, --c). */
.no-sda [data-depth] { transform: translate3d(0, calc(var(--depth) * (1 - 2 * var(--v, .5)) * 140px), 0); }
.no-sda .hero-media { transform: scale(calc(1 + var(--x, 0) * .14)); opacity: calc(1 - var(--x, 0) * .85); }
.no-sda .scroll-cue { opacity: calc(1 - var(--x, 0) * 8); }
.no-sda .hero-copy { transform: translate3d(0, calc(var(--x, 0) * -90px), 0); opacity: calc(1 - var(--x, 0) * 1.6); }
.no-sda .statement .w.fade { --k: clamp(0, (var(--v, 0) - .28 - var(--w) * .022) * 14, 1); opacity: var(--k); transform: translate3d(0, calc((1 - var(--k)) * .35em), 0); }

@supports (animation-timeline: view()) {
  .js .reveal { opacity: 1; transform: none; transition: none; animation: rise linear both; animation-timeline: view(); animation-range: entry 5% cover 28%; }
  @keyframes rise { from { opacity: 0; transform: translate3d(0, 48px, 0) scale(.985); } to { opacity: 1; transform: none; } }

  .nav::before { transition: none; animation: navfade linear both; animation-timeline: scroll(root block); animation-range: 0 80px; }
  @keyframes navfade { from { opacity: 0; } to { opacity: 1; } }
  .nav.solid::before { animation: none; }

  .hero-media { animation: heroMedia linear both; animation-timeline: --hero; animation-range: exit 0% exit 100%; }
  @keyframes heroMedia { to { transform: scale(1.14); opacity: .15; } }
  .hero-copy { animation: heroCopy linear both; animation-timeline: --hero; animation-range: exit 0% exit 60%; }
  @keyframes heroCopy { to { transform: translate3d(0, -90px, 0); opacity: 0; } }
  .scroll-cue { animation: fadeOut linear both; animation-timeline: --hero; animation-range: exit 0% exit 15%; }
  @keyframes fadeOut { to { opacity: 0; } }

  [data-depth] { animation: depth linear both; animation-timeline: --scene; animation-range: cover 0% cover 100%; }
  @keyframes depth { from { transform: translate3d(0, calc(var(--depth) * 140px), 0); } to { transform: translate3d(0, calc(var(--depth) * -140px), 0); } }

  .statement .w.fade { animation: lit linear both; animation-timeline: --scene; animation-range: cover calc(30% + var(--w) * 2.2%) cover calc(37% + var(--w) * 2.2%); }
  @keyframes lit { from { opacity: 0; transform: translate3d(0, .35em, 0); } to { opacity: 1; transform: none; } }

  .peek-stage { animation: peekc linear both; animation-timeline: --peek; animation-range: contain 0% contain 92%; }
  @keyframes peekc { from { --c: 0; } to { --c: 1; } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal, .no-sda [data-depth], [data-depth], .no-sda .hero-media, .no-sda .hero-copy { opacity: 1 !important; transform: none !important; }
  .statement .w.fade { opacity: 1 !important; }
  .peek { height: auto; }
  .peek-stage { position: relative; height: auto; --c: 1 !important; display: block; padding-block: 80px; }
  .peek-steps li { position: static; opacity: 1; transform: none; margin-bottom: 20px; }
  .stack-wrap { height: 640px; margin-top: 24px; }
  .stack { transform: none; }
  .sheet.pdf { display: none; }
  .scroll-cue { display: none; }
}
