/* Probative — marketing site, v4 "Certificate Edition".
   Conviction: the security-printed certificate. Guilloché engraving is
   anti-tamper printing — which is the product. White ground, fine cobalt
   line fields, engraved figure art, pill nav + gradient-rim CTAs, pastel
   bento cards, dark-navy rounded billboard bands (Plaid structural DNA,
   our identity). Space Grotesk display at medium weight / tight tracking;
   Fraunces serif kept for numerals + the italic counter-voice; JetBrains
   Mono for exhibit labels. Motion stays stop-motion: steps() frames,
   three-depth parallax — never a glide. Double-guarded reduced-motion. */

:root {
  --ground: #ffffff;
  --ground-soft: #f3f5fb;
  --tint-cobalt: #eef1ff;
  --tint-orange: #fff1ea;
  --paper: #ffffff;
  --ink: #0c1022;
  --ink-soft: #343a4e;
  --ink-mute: #5a6076;
  --hair: #e2e6f2;
  --cobalt: #2b4bff;
  --cobalt-deep: #1830c8;
  --orange: #ff5a1f;
  --pass: #00a35d;
  --fail: #e02348;
  --vault: #0c1022;
  --vault-hair: rgba(255, 255, 255, 0.14);
  --on-vault: rgba(255, 255, 255, 0.78);
  --dim-vault: rgba(255, 255, 255, 0.46);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --grot: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --pad: clamp(1.25rem, 4.5vw, 5rem);
  --rule: 1px solid var(--hair);
  --r-card: 20px;
  --r-big: 28px;
  --shadow-card: 0 10px 34px rgba(12, 16, 34, 0.08);
  --rim: linear-gradient(100deg, var(--cobalt), #8a5bff 55%, var(--orange));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2 { font-family: var(--grot); font-weight: 500; line-height: 1.02; letter-spacing: -0.032em; margin: 0; }
h3 { font-family: var(--grot); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
/* second voice: italic serif — the counter-argument, certificate flourish */
.flip, .voice { font-family: var(--display); font-style: italic; color: var(--cobalt); font-weight: 560; letter-spacing: -0.01em; }
b, strong { font-weight: 700; }
p { margin: 0 0 1.1em; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.wrap { max-width: 76rem; margin: 0 auto; padding-inline: var(--pad); }
.mono-label {
  font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--cobalt); font-weight: 500;
  display: inline-block; margin-bottom: 1.5rem; transform-origin: left bottom;
  background: var(--tint-cobalt); border-radius: 999px; padding: 0.4rem 1rem;
}
.mono-label::before { content: "// "; color: var(--orange); }

/* ---- scroll progress (evidence tape running through the camera) ---- */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40;
  background: linear-gradient(90deg, var(--cobalt), var(--orange));
  transform-origin: left; transform: scaleX(0);
}

/* ---- nav: floating pill ---- */
.nav { position: sticky; top: 0.8rem; z-index: 30; pointer-events: none; }
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  pointer-events: auto; max-width: 72rem;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border: 1px solid var(--hair); border-radius: 999px;
  box-shadow: 0 8px 30px rgba(12, 16, 34, 0.08);
  padding: 0.55rem 0.6rem 0.55rem 1.4rem;
}
.brand { font-family: var(--grot); font-weight: 700; font-size: 1.25rem; text-decoration: none; letter-spacing: -0.01em; }
.brand .tick { color: var(--orange); }
.navlinks { display: flex; gap: clamp(0.4rem, 1.6vw, 0.8rem); align-items: center; }
.navlinks a {
  font-size: 0.92rem; font-weight: 600; text-decoration: none; color: var(--ink-soft);
  padding: 0.5rem 0.9rem; border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.navlinks a:hover { color: var(--ink); background: var(--tint-cobalt); }
.navlinks a.req {
  color: #fff; border: 2px solid transparent; border-radius: 999px;
  background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--rim) border-box;
  padding: 0.55rem 1.15rem;
}
.navlinks a.req:hover { background: linear-gradient(var(--cobalt-deep), var(--cobalt-deep)) padding-box, var(--rim) border-box; color: #fff; }
.rec-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange); margin-right: 0.45rem; vertical-align: 1px;
}

section { padding-block: clamp(3.5rem, 8vw, 7.5rem); }
.rule-top { border-top: var(--rule); }

/* ---- hero ---- */
.hero { padding-top: clamp(3rem, 7vw, 6.5rem); position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(2.9rem, 7.2vw, 6rem); max-width: 15ch; margin-bottom: 1.8rem; }
.hero h1 .flip {
  background: linear-gradient(95deg, var(--cobalt), #8a5bff 60%, var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .lede { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--ink-soft); max-width: 40rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.2rem; margin-top: 2.4rem; align-items: center; }
/* guilloché field: fine concentric security-print lines, fading out */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    repeating-radial-gradient(circle at 86% -14%, transparent 0 9px, rgba(43, 75, 255, 0.075) 9px 10px),
    repeating-radial-gradient(circle at -8% 110%, transparent 0 11px, rgba(43, 75, 255, 0.05) 11px 12px);
  mask-image: radial-gradient(130% 100% at 70% 0%, #000 30%, transparent 78%);
}
.hero-art {
  position: absolute; right: calc(var(--pad) * 0.7); top: 50%;
  width: clamp(17rem, 27vw, 25rem); transform: translateY(-50%);
  pointer-events: none; z-index: 0;
}

/* decorative floating chips — absolute, never in text flow */
.float-tag {
  position: absolute; pointer-events: none; user-select: none; z-index: 0;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: #fff; background: var(--ink);
  padding: 0.4rem 0.9rem; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(12, 16, 34, 0.18);
}
.float-tag.tag-orange { background: var(--orange); }
.float-tag.tag-cobalt { background: var(--cobalt); }
.float-stamp {
  position: absolute; pointer-events: none; user-select: none; z-index: 0;
  width: clamp(5.5rem, 10vw, 8.5rem); opacity: 0.55;
}

.btn {
  display: inline-block; font-family: var(--body); font-size: 0.97rem; font-weight: 600;
  text-decoration: none; padding: 0.95rem 1.7rem; border-radius: 999px;
  border: 2px solid transparent; color: var(--ink); background: var(--tint-cobalt);
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-primary {
  color: #fff;
  background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--rim) border-box;
}
.btn-primary:hover { background: linear-gradient(var(--cobalt-deep), var(--cobalt-deep)) padding-box, var(--rim) border-box; color: #fff; }
.textlink {
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--orange); padding-bottom: 2px; color: var(--ink-soft);
}
.textlink:hover { color: var(--orange); }

/* ---- marquee ribbons: probe classes forward, frameworks reverse ---- */
.marquee { padding: 1rem 0; overflow: hidden; background: var(--ground-soft); }
.marquee-track { display: flex; gap: 0.8rem; width: max-content; }
.marquee-track span {
  font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ink-soft); white-space: nowrap;
  background: #fff; border: 1px solid var(--hair); border-radius: 999px; padding: 0.42rem 1rem;
}
.marquee-track span::before { content: "▸ "; color: var(--orange); }
.marquee.rev { background: var(--vault); }
.marquee.rev .marquee-track span { color: rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.06); border-color: var(--vault-hair); }
.marquee.rev .marquee-track span::before { content: "◂ "; color: #7d92ff; }

/* ---- stats strip ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.stat { border-top: 3px solid var(--ink); padding-top: 1.1rem; }
.stat.hot { border-top-color: var(--orange); }
.stat .fig { font-family: var(--display); font-weight: 640; font-size: clamp(2.6rem, 5.5vw, 4.4rem); line-height: 1; transform-origin: left bottom; font-variation-settings: "opsz" 120; }
.stat.hot .fig { color: var(--cobalt); }
.stat .lab { color: var(--ink-mute); font-size: 0.9rem; margin-top: 0.45rem; }

/* ---- steps / battery grids ---- */
.h2 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); max-width: 22ch; margin-bottom: 1.2rem; }
.sub { color: var(--ink-mute); max-width: 42rem; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2rem); margin-top: 2.8rem; }
.step { border-radius: var(--r-card); padding: 1.7rem 1.6rem 1.9rem; background: var(--ground-soft); }
.step:nth-child(2) { background: var(--tint-cobalt); }
.step:nth-child(3) { background: var(--tint-orange); }
.step .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; color: var(--orange); text-transform: uppercase; }
.step h3 { font-size: 1.35rem; margin: 0.7rem 0 0.5rem; }
.step p { color: var(--ink-mute); font-size: 0.95rem; margin: 0; }

.battery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; margin-top: 2.8rem; }
.cell { background: var(--ground-soft); border-radius: 18px; padding: 1.4rem 1.5rem 1.6rem; position: relative; }
.cell .sig { font-family: var(--mono); font-size: 0.68rem; color: var(--ink-mute); letter-spacing: 0.1em; transition: color 0.15s steps(2, end); }
.cell h3 { font-size: 1.08rem; margin: 0.55rem 0 0.4rem; }
.cell p { color: var(--ink-mute); font-size: 0.88rem; margin: 0; line-height: 1.5; }
.cell:hover .sig { color: var(--orange); }
.cell.wide { grid-column: span 2; background: var(--ink); }
.cell.wide h3, .cell.wide .sig { color: #fff; }
.cell.wide p { color: rgba(255, 255, 255, 0.62); }

/* ---- framed exhibit art (generated imagery mounted like evidence) ---- */
.art-frame {
  display: block; background: #fff; border: 1px solid var(--hair);
  border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 0.7rem;
}
.art-frame img { display: block; width: 100%; height: auto; border-radius: calc(var(--r-card) - 8px); }
.art-frame .cap {
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); padding: 0.6rem 0.35rem 0.15rem; display: flex; justify-content: space-between;
}
.art-side { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.vault .art-frame { background: rgba(255, 255, 255, 0.04); border-color: var(--vault-hair); box-shadow: none; }
.vault .art-frame .cap { color: var(--dim-vault); }

/* ---- comparison table ---- */
.compare { width: 100%; border-collapse: collapse; background: var(--paper); }
.compare th, .compare td { border-bottom: 1px solid var(--hair); padding: 0.95rem 1.15rem; text-align: left; font-size: 0.92rem; }
.compare thead th { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; background: var(--ground-soft); }
.compare thead th.us { background: var(--ink); color: #fff; }
.compare td.no { color: var(--ink-mute); }
.compare td.no::before { content: "× "; color: var(--fail); font-weight: 700; }
.compare td.yes { font-weight: 600; }
.compare td.yes::before { content: "✓ "; color: var(--pass); font-weight: 700; }
.compare td:first-child { font-weight: 600; }
.compare-scroll { overflow-x: auto; margin-top: 2.8rem; border: 1px solid var(--hair); border-radius: 16px; box-shadow: var(--shadow-card); }
.compare-scroll .compare { margin-top: 0; }

/* ---- moat: numbered reasons with ghost serif numerals ---- */
.moat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.8rem; position: relative; z-index: 1; }
.moat > div { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--vault-hair); border-radius: 18px; padding: 1.6rem 1.5rem 1.8rem; position: relative; overflow: hidden; }
.moat .num {
  font-family: var(--display); font-weight: 640; font-style: italic; line-height: 1;
  font-size: clamp(4rem, 8vw, 6.5rem); color: rgba(125, 146, 255, 0.18); display: block; margin-bottom: 0.6rem;
}
.moat h3 { color: #fff; font-size: 1.12rem; margin-bottom: 0.5rem; }
.moat p { color: var(--dim-vault); font-size: 0.92rem; margin: 0; }

/* ---- timeline ---- */
.tl { margin-top: 2.8rem; border-left: 3px solid var(--ink); }
.tl-item { position: relative; padding: 1.6rem 0 1.6rem 2rem; }
.tl-item + .tl-item { border-top: var(--rule); }
.tl-item::before {
  content: ""; position: absolute; left: -8px; top: 2.05rem; width: 13px; height: 13px;
  border-radius: 50%; background: var(--ground); border: 3px solid var(--ink);
}
.tl-item.live::before { background: var(--orange); border-color: var(--orange); }
.tl-date { font-family: var(--display); font-weight: 640; font-size: clamp(1.4rem, 3vw, 2rem); display: inline-block; font-variation-settings: "opsz" 120; }
.tl-item.live .tl-date { color: var(--cobalt); }
.tl-tag {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; background: var(--orange); padding: 0.25rem 0.7rem; border-radius: 999px; margin-left: 0.7rem;
  position: relative; top: -0.35rem; display: inline-block;
}
.tl-item h3 { font-size: 1.15rem; margin: 0.4rem 0 0.4rem; }
.tl-item p { color: var(--ink-mute); font-size: 0.94rem; max-width: 46rem; margin: 0; }
.tl-bar { height: 6px; border-radius: 999px; background: var(--ground-soft); margin-top: 0.9rem; max-width: 30rem; overflow: hidden; }
.tl-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--cobalt), var(--orange)); }

/* ---- evidence vault: dark navy billboard bands, inset + rounded ---- */
.vault {
  background: var(--vault); color: var(--on-vault); position: relative; overflow: hidden;
  border-radius: var(--r-big); margin-inline: clamp(0.75rem, 2vw, 2rem);
}
.vault + .vault, section + .vault { margin-top: clamp(0.75rem, 2vw, 2rem); }
.vault .wrap { position: relative; }
.vault-ghost {
  position: absolute; right: -0.05em; top: -0.35em; z-index: 0; pointer-events: none;
  font-family: var(--display); font-weight: 640; line-height: 1;
  font-size: clamp(14rem, 34vw, 30rem); color: rgba(125, 146, 255, 0.07);
  user-select: none;
}
.vault .mono-label { color: #9dadff; background: rgba(125, 146, 255, 0.14); }
.vault .h2 { color: #fff; }
.vault .sub { color: var(--dim-vault); }
.chain { font-family: var(--mono); font-size: clamp(0.62rem, 1.5vw, 0.78rem); margin-top: 2.4rem; border: 1px solid var(--vault-hair); border-radius: 14px; overflow: hidden; position: relative; z-index: 1; }
.chain-row { display: flex; gap: 1rem; padding: 0.8rem 1.1rem; border-top: 1px solid var(--vault-hair); flex-wrap: wrap; align-items: baseline; }
.chain-row:first-child { border-top: 0; }
.chain-row .h { color: #7d92ff; overflow-wrap: anywhere; }
.chain-row .s { color: #2ee08a; }
.chain-row .lab2 { color: var(--dim-vault); min-width: 9ch; }
.vault-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.6rem; position: relative; z-index: 1; }
.vault-points h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.4rem; }
.vault-points p { color: var(--dim-vault); font-size: 0.92rem; margin: 0; }

/* ---- pricing ---- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.8rem; align-items: start; position: relative; z-index: 1; }
.tier { border: 1px solid var(--hair); border-radius: 24px; padding: 1.9rem 1.7rem 2rem; background: var(--paper); box-shadow: var(--shadow-card); }
.tier.feature {
  background: var(--vault); color: var(--on-vault);
  border: 2px solid transparent;
  background: linear-gradient(var(--vault), var(--vault)) padding-box, var(--rim) border-box;
}
.tier .name { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.tier .price { font-family: var(--display); font-weight: 640; font-size: 2.5rem; margin: 0.6rem 0 0.2rem; font-variation-settings: "opsz" 120; }
.tier .per { color: var(--ink-mute); font-size: 0.85rem; }
.tier ul { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.tier li { padding: 0.45rem 0 0.45rem 1.4rem; position: relative; font-size: 0.93rem; color: var(--ink-soft); border-top: 1px solid var(--ground-soft); }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--pass); font-weight: 700; }
.tier .btn { width: 100%; text-align: center; }
.tier.feature .name { color: #9dadff; }
.tier.feature .price { color: #fff; }
.tier.feature .per { color: var(--dim-vault); }
.tier.feature li { color: var(--on-vault); border-top-color: var(--vault-hair); }
.tier.feature li::before { color: #2ee08a; }

/* ---- dark-band variants ---- */
.vault .stat { border-top-color: #fff; }
.vault .stat.hot { border-top-color: var(--orange); }
.vault .fig { color: #fff; }
.vault .stat.hot .fig { color: #9dadff; }
.vault .lab { color: var(--dim-vault); }
.vault .btn { background: rgba(255, 255, 255, 0.1); color: #fff; }
.vault .btn:hover { background: #fff; color: var(--ink); }
.vault .btn-primary { background: linear-gradient(var(--cobalt), var(--cobalt)) padding-box, var(--rim) border-box; color: #fff; }
.vault .btn-primary:hover { background: linear-gradient(var(--cobalt-deep), var(--cobalt-deep)) padding-box, var(--rim) border-box; }
.vault .textlink { color: var(--on-vault); }

/* ---- honesty note ---- */
.note { background: var(--tint-cobalt); border-radius: 24px; padding: 1.8rem 2rem; max-width: 58rem; }
.note p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
.note strong { color: var(--ink); }

/* ---- closing ---- */
.closing { text-align: center; position: relative; overflow: hidden; }
.closing .h2 { margin-inline: auto; }
.closing .sub { margin: 0 auto 2.2rem; }
.closing .hero-actions { justify-content: center; }
.closing .wrap { position: relative; z-index: 1; }

footer { background: var(--vault); color: var(--on-vault); margin-top: clamp(2rem, 5vw, 4rem); padding-block: 2.8rem; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; align-items: baseline; }
footer .fnote { color: var(--dim-vault); font-size: 0.8rem; max-width: 42rem; }
footer .flinks { display: flex; gap: 1.5rem; }
footer .flinks a { font-size: 0.88rem; font-weight: 600; text-decoration: none; color: var(--on-vault); }
footer .flinks a:hover { color: #9dadff; }

/* ================= motion — stop-motion certificate press =================
   Double-guarded. Scroll-driven fade/stagger, THREE-depth parallax, steps()
   stop-motion snap + stamp + wipe + tilt, scroll progress, dual marquees,
   hover jitter. transform/opacity only. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .fx-fade { animation: fx-fade linear both; animation-timeline: view(); animation-range: entry 0% cover 16%; }
    .fx-stagger > * { animation: fx-fade linear both; animation-timeline: view(); animation-range: entry 0% cover 18%; }
    .fx-stagger > *:nth-child(2) { animation-range: entry 3% cover 21%; }
    .fx-stagger > *:nth-child(3) { animation-range: entry 6% cover 24%; }
    .fx-stagger > *:nth-child(4) { animation-range: entry 9% cover 27%; }
    @keyframes fx-fade { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

    /* three-depth parallax: text blocks shallow, decorative mid, ghost deep */
    .fx-parallax, .fx-parallax-mid, .fx-parallax-deep {
      animation: fx-parallax linear both; animation-timeline: view();
      animation-range: cover 0% cover 100%; --travel: 36px; will-change: transform;
    }
    .fx-parallax-mid { --travel: 64px; }
    .fx-parallax-deep { --travel: 100px; }
    @keyframes fx-parallax { from { transform: translateY(var(--travel)); } to { transform: translateY(calc(-1 * var(--travel))); } }

    /* stop-motion: steps() snaps children through discrete frames */
    .fx-snap > * { animation: fx-snap steps(4, end) both; animation-timeline: view(); animation-range: entry 0% cover 15%; }
    .fx-snap > *:nth-child(2) { animation-range: entry 2% cover 17%; }
    .fx-snap > *:nth-child(3) { animation-range: entry 4% cover 19%; }
    .fx-snap > *:nth-child(4) { animation-range: entry 6% cover 21%; }
    .fx-snap > *:nth-child(5) { animation-range: entry 8% cover 23%; }
    .fx-snap > *:nth-child(6) { animation-range: entry 10% cover 25%; }
    .fx-snap > *:nth-child(7) { animation-range: entry 12% cover 27%; }
    .fx-snap > *:nth-child(8) { animation-range: entry 14% cover 29%; }
    .fx-snap > *:nth-child(9) { animation-range: entry 16% cover 31%; }
    .fx-snap > *:nth-child(10) { animation-range: entry 18% cover 33%; }
    .fx-snap > *:nth-child(11) { animation-range: entry 20% cover 35%; }
    @keyframes fx-snap { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

    /* stamp: labels hit the page like a certifying stamp, in 3 frames */
    .fx-stamp { animation: fx-stamp steps(3, end) both; animation-timeline: view(); animation-range: entry 0% cover 12%; }
    @keyframes fx-stamp { from { opacity: 0; transform: scale(1.6) rotate(-6deg); } to { opacity: 1; transform: none; } }

    /* wipe: section headings develop like a print, clip stepping across */
    .fx-wipe { animation: fx-wipe steps(6, end) both; animation-timeline: view(); animation-range: entry 0% cover 14%; }
    @keyframes fx-wipe { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }

    /* tilt: cards land flat from a slight throw, in 3 frames */
    .fx-tilt > * { animation: fx-tilt steps(3, end) both; animation-timeline: view(); animation-range: entry 0% cover 16%; }
    .fx-tilt > *:nth-child(2) { animation-range: entry 4% cover 20%; }
    .fx-tilt > *:nth-child(3) { animation-range: entry 8% cover 24%; }
    @keyframes fx-tilt { from { opacity: 0; transform: translateY(34px) rotate(-1.6deg); } to { opacity: 1; transform: none; } }

    .fx-bar { transform-origin: left; animation: fx-bar steps(8, end) both; animation-timeline: view(); animation-range: entry 5% entry 45%; }
    @keyframes fx-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

    /* stat figures punch in at scale, 4 frames */
    .fx-snap .stat .fig { animation: fx-punch steps(4, end) both; animation-timeline: view(); animation-range: entry 0% cover 20%; }
    @keyframes fx-punch { from { transform: scale(0.6); } to { transform: none; } }
  }

  @supports (animation-timeline: scroll()) {
    .progress { animation: fx-progress linear both; animation-timeline: scroll(root); }
    @keyframes fx-progress { to { transform: scaleX(1); } }
  }

  /* hero: one-shot stop-motion entrance on load (scroll timelines are
     unreliable for the topmost section) */
  .fx-intro > * { animation: fx-snap-intro 0.3s steps(4, end) both; }
  .fx-intro > *:nth-child(2) { animation-delay: 0.06s; }
  .fx-intro > *:nth-child(3) { animation-delay: 0.12s; }
  .fx-intro > *:nth-child(4) { animation-delay: 0.18s; }
  @keyframes fx-snap-intro { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
  .hero-art { animation: fx-art-intro 0.45s steps(5, end) 0.12s both; }
  @keyframes fx-art-intro { from { opacity: 0; transform: translateY(-46%); } to { opacity: 1; transform: translateY(-50%); } }

  /* stop-motion ambients — steps() timing ticks, not glides */
  .tick-caret { animation: tick-caret 1.1s steps(1) infinite; }
  @keyframes tick-caret { 50% { opacity: 0; } }
  .tick-pulse { animation: tick-pulse 1.3s steps(2, jump-none) infinite; }
  @keyframes tick-pulse { 50% { opacity: 0.35; } }
  .rec-dot { animation: tick-caret 1.6s steps(1) infinite; }
  /* the ghost V flickers like a projector frame */
  .vault-ghost { animation: tick-flicker 2.2s steps(2, jump-none) infinite; }
  @keyframes tick-flicker { 50% { opacity: 0.55; } }
  .marquee-track { animation: ride 30s linear infinite; }
  @keyframes ride { to { transform: translateX(-50%); } }
  .marquee.rev .marquee-track { animation: ride-rev 34s linear infinite; }
  @keyframes ride-rev { from { transform: translateX(-50%); } to { transform: none; } }
  /* hover jitter: cells shudder one frame when inspected */
  .cell:hover h3 { animation: fx-jitter 0.18s steps(2, end) 1; }
  @keyframes fx-jitter { 50% { transform: translateX(2px); } }
}

/* ---- intake form (request.html) ---- */
.intake { max-width: 46rem; }
.intake .field { margin-bottom: 1.4rem; }
.intake label {
  display: block; font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--ink-soft); margin-bottom: 0.5rem;
}
.intake label .opt { color: var(--ink-mute); }
.intake input, .intake select, .intake textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; font-weight: 500;
  color: var(--ink); background: var(--ground-soft); border: 1.5px solid var(--hair);
  padding: 0.9rem 1.1rem; border-radius: 14px;
}
.intake textarea { min-height: 8rem; resize: vertical; }
.intake input:focus, .intake select:focus, .intake textarea:focus {
  outline: 3px solid var(--cobalt); outline-offset: 1px;
}
.intake .btn { cursor: pointer; border-radius: 999px; }
.intake-note { font-size: 0.85rem; color: var(--ink-mute); margin-top: 1rem; }
.pilot-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.4rem; }
@media (max-width: 900px) { .pilot-points { grid-template-columns: 1fr; } }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .hero-art { display: none; }
}
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cols3, .vault-points, .tiers, .moat, .art-side { grid-template-columns: 1fr; }
  .battery { grid-template-columns: repeat(2, 1fr); }
  .float-tag, .float-stamp { display: none; }
  .vault { border-radius: var(--r-card); margin-inline: 0.6rem; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  /* keep Pricing + Request pilot reachable; drop in-page anchors */
  .navlinks a:nth-child(-n + 2) { display: none; }
  .nav .wrap { padding-left: 1rem; }
  .battery { grid-template-columns: 1fr; }
  .cell.wide { grid-column: auto; }
  .stats { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nav .wrap { backdrop-filter: none; }
  .progress { display: none; }
}

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
