/* SWE Stack landing. Tokens first; every color and size below derives from them. */

@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/cabinet-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/cabinet-grotesk-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/cabinet-grotesk-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-var.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --ink: #0A0B0E;
  --slab: #121419;
  --slab-2: #181B22;
  --line: rgba(236, 232, 223, 0.1);
  --line-2: rgba(236, 232, 223, 0.18);
  --bone: #ECE8DF;
  --fog: #9A9DA6;
  --seal: #F2B544;
  --seal-dim: rgba(242, 181, 68, 0.16);
  --fail: #FF6B5E;

  --display: "Cabinet Grotesk", "Satoshi", sans-serif;
  --text: "Satoshi", "Cabinet Grotesk", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --fs-hero: clamp(3.75rem, 17vw, 11rem);
  --fs-h2: clamp(2rem, 5.4vw, 4.25rem);
  --fs-h3: clamp(1.35rem, 2.4vw, 1.75rem);
  --fs-lede: clamp(1.0625rem, 1.5vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;

  --gutter: max(20px, env(safe-area-inset-left), 4vw);
  --maxw: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 400 var(--fs-body)/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
code, .mono-inline { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--seal); color: var(--ink); font-weight: 700; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font: 500 0.8125rem/1.4 var(--mono);
  letter-spacing: 0.01em;
  color: var(--fog);
  margin-bottom: 1.25rem;
}
.h2 {
  font: 800 var(--fs-h2)/1.02 var(--display);
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem;
  max-width: 18ch;
  text-wrap: balance;
}
.h3 { font: 700 var(--fs-h3)/1.15 var(--display); letter-spacing: -0.01em; margin: 0 0 1.25rem; }
.lede { font-size: var(--fs-lede); line-height: 1.55; color: var(--fog); max-width: 46ch; text-wrap: pretty; }
.mono-inline { font-size: 0.72em; font-weight: 600; letter-spacing: -0.02em; color: var(--seal); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0 1.4rem;
  border-radius: 999px; border: 1px solid transparent;
  font: 700 1rem/1.2 var(--text); text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--seal); color: var(--ink); }
.btn--primary:hover { background: #F7C766; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--bone); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--bone); transform: translateY(-2px); }
.btn--small { min-height: 44px; padding: 0 1.1rem; font-size: 0.9375rem; background: var(--seal); color: var(--ink); }
.btn--big { min-height: 58px; padding: 0 2rem; font-size: 1.125rem; }

/* ---------- Worlds backdrop ---------- */
.worlds { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--ink); }
.world { position: absolute; inset: -12vh 0; opacity: 0; transition: opacity 1.1s var(--ease); will-change: opacity, transform; transform: translate3d(0, var(--drift, 0px), 0); }
.worlds[data-active="claim"] .world--claim,
.worlds[data-active="ledger"] .world--ledger,
.worlds[data-active="stack"] .world--stack,
.worlds[data-active="terminal"] .world--terminal,
.worlds[data-active="seal"] .world--seal { opacity: 1; }

/* Each world is a material, not a glow: scanlines for the claim, graph paper for the
   evidence, strata for the stack, a phosphor raster for the terminal, certificate
   hatching for the seal. */
.world--claim {
  background:
    repeating-linear-gradient(0deg, rgba(150, 170, 215, 0.05) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #0E1320 0%, var(--ink) 75%);
}
.world--ledger {
  background:
    linear-gradient(rgba(236, 232, 223, 0.05) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(236, 232, 223, 0.05) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(236, 232, 223, 0.025) 1px, transparent 1px) 0 0 / 12px 12px,
    linear-gradient(90deg, rgba(236, 232, 223, 0.025) 1px, transparent 1px) 0 0 / 12px 12px,
    var(--ink);
}
.world--stack {
  background:
    repeating-linear-gradient(180deg, transparent 0 34px, rgba(242, 181, 68, 0.07) 34px 35px, transparent 35px 70px, rgba(236, 232, 223, 0.04) 70px 71px),
    linear-gradient(0deg, #17120A 0%, var(--ink) 70%);
}
.world--terminal {
  background:
    repeating-linear-gradient(0deg, rgba(200, 214, 190, 0.04) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #0C100D 0%, var(--ink) 80%);
}
.world--seal {
  background:
    repeating-linear-gradient(45deg, rgba(242, 181, 68, 0.045) 0 1px, transparent 1px 11px),
    repeating-linear-gradient(-45deg, rgba(242, 181, 68, 0.03) 0 1px, transparent 1px 11px),
    linear-gradient(180deg, #15110A 0%, var(--ink) 85%);
}
.grain {
  position: absolute; inset: 0; opacity: 0.35; mix-blend-mode: overlay;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- Nav + status ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 10px var(--gutter);
  background: rgba(10, 11, 14, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 44px; text-decoration: none; font: 800 1.2rem/1 var(--display); letter-spacing: -0.01em; }
.brand__mark { width: 26px; height: 26px; }
.brand__mark rect { fill: none; stroke: var(--bone); stroke-width: 1.6; }
.brand__mark .brand__top { fill: var(--seal); stroke: var(--seal); }
.nav__links { display: none; gap: 0.25rem; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.9rem; color: var(--fog); text-decoration: none; font-size: var(--fs-small); font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--bone); }

.status {
  position: fixed; left: var(--gutter); bottom: 20px; z-index: 40;
  display: none; align-items: center; gap: 0.55rem;
  padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(10, 11, 14, 0.8); backdrop-filter: blur(10px);
  font: 500 0.8125rem/1 var(--mono); color: var(--fog);
}
.status b { color: var(--bone); font-weight: 600; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fail); transition: background-color 0.4s; }
.status[data-state="proven"] .status__dot, .status[data-state="ran it"] .status__dot { background: var(--seal); }
.status[data-state="checked"] .status__dot, .status[data-state="loaded"] .status__dot { background: var(--fog); }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .status { display: inline-flex; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.ledger, .stack, .free, .price, .faq, .team { padding: clamp(88px, 14vw, 180px) 0; }
.fit { padding: 0 0 clamp(88px, 12vw, 160px); }

/* ---------- Hero ---------- */
.hero { min-height: calc(100svh - 65px); display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 8vw, 96px) 0 96px; }
.hero__grid { display: grid; gap: clamp(48px, 6vw, 72px); align-items: center; }
.hero__title { margin: 0 0 1.75rem; font: 800 var(--fs-hero)/0.9 var(--display); letter-spacing: -0.045em; }
.hero__done { position: relative; display: inline-block; color: var(--bone); }
.hero__strike {
  position: absolute; left: -2%; right: -2%; top: 52%; height: 0.075em; min-height: 5px;
  background: var(--fail); border-radius: 99px;
  transform-origin: left center; transform: rotate(-4deg) scaleX(1);
}
.hero__prove { display: block; color: var(--seal); }
.hero__lede { font-size: clamp(1.1875rem, 2vw, 1.5rem); line-height: 1.45; max-width: 30ch; margin-bottom: 2rem; text-wrap: balance; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.25rem; }
.hero__meta { color: var(--fog); font-size: var(--fs-small); }

.gate {
  position: relative; margin: 0;
  background: linear-gradient(180deg, var(--slab-2), var(--slab));
  border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.gate__bar, .term__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.gate__bar span, .term__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.gate__bar em, .term__bar em { margin-left: auto; font: 500 0.8125rem/1 var(--mono); font-style: normal; color: #C9CBD1; }
.gate__log { list-style: none; margin: 0; padding: 22px 20px 118px; display: grid; gap: 14px; font: 400 0.9375rem/1.5 var(--mono); }
.gl { display: grid; grid-template-columns: 5.2ch 1fr; gap: 12px; color: var(--fog); }
.gl b { font-weight: 600; color: #C9CBD1; }
.gl--agent span { color: var(--bone); }
.gl--agent b { color: var(--bone); }
.gl--fail span, .gl--fail b { color: var(--fail); }
.stamp {
  position: absolute; right: 20px; bottom: 20px;
  display: grid; justify-items: center; gap: 2px;
  padding: 10px 18px 12px;
  border: 2px solid var(--fail); border-radius: 10px;
  color: var(--fail); background: rgba(255, 107, 94, 0.06);
  transform: rotate(-7deg);
}
.stamp span { font: 800 1.75rem/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em; }
.stamp small { font: 500 0.75rem/1.2 var(--mono); }

.scrollcue { position: absolute; left: 50%; bottom: 20px; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center; }
.scrollcue span { width: 2px; height: 28px; border-radius: 2px; background: linear-gradient(var(--bone), transparent); }

@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
}

/* ---------- Ledger ---------- */
.ledger .h2 { max-width: 20ch; }
.ledger__grid { display: grid; gap: clamp(40px, 6vw, 80px); margin-top: clamp(40px, 6vw, 72px); align-items: center; }
.ledger__board { max-width: 560px; width: 100%; }
.ledger__canvas { width: 100%; height: auto; aspect-ratio: 1; }
.ledger__cap { margin-top: 14px; font: 400 0.8125rem/1.5 var(--mono); color: var(--fog); }
.ledger__stats { margin: 0; display: grid; gap: 0; }
.stat { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 18px 0; border-bottom: 1px solid var(--line); }
.stat dt { color: var(--fog); font-size: var(--fs-body); order: 2; text-align: right; }
.stat dd { margin: 0; font: 800 clamp(2.75rem, 7vw, 5rem)/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat--hot dd { color: var(--fail); }
.stat__split { display: grid; gap: 12px; padding-top: 22px; color: var(--fog); }
.stat__split p { display: grid; grid-template-columns: 14px 2.2ch 1fr; gap: 10px; align-items: baseline; }
.stat__split b { color: var(--bone); font-weight: 700; }
.key { width: 12px; height: 12px; border-radius: 3px; transform: translateY(1px); }
.key--fill { background: var(--fail); }
.key--ring { border: 2px solid var(--fail); }

@media (min-width: 1000px) {
  .ledger__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Stack ---------- */
.stack__layout { display: grid; gap: 40px; margin-top: clamp(48px, 7vw, 88px); }
.stack__stage {
  position: sticky; top: 65px; z-index: 5;
  height: 132px;
  display: grid; grid-template-columns: 132px 1fr; align-items: center; gap: 16px;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  background: rgba(10, 11, 14, 0.94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.iso {
  --t: 7px;
  position: relative; width: 82px; height: 82px; margin: 0 auto;
  transform: translateY(14px) rotateX(58deg) rotateZ(-42deg);
  transform-style: preserve-3d;
}
.slab {
  position: absolute; inset: 0;
  border: 1.5px solid var(--line-2);
  border-radius: 10px;
  background: #181B22;
  transform: translateZ(calc(var(--i) * 14px));
  transition: transform 0.9s var(--ease), opacity 0.6s var(--ease), border-color 0.4s, background-color 0.4s;
  display: grid; place-items: center;
  transform-style: preserve-3d;
}
/* Two visible side faces give each layer real thickness. */
.slab::before, .slab::after { content: ""; position: absolute; background: #1E222B; border: 1px solid var(--line-2); transition: background-color 0.4s, border-color 0.4s; }
.slab::before { left: 8px; right: 8px; top: 100%; height: var(--t); transform-origin: top; transform: rotateX(-90deg); }
.slab::after { top: 8px; bottom: 8px; right: 100%; width: var(--t); transform-origin: right; transform: rotateY(-90deg); background: #16191F; }
.slab.is-top::before, .slab.is-top::after { background: #6B4D14; border-color: var(--seal); }
.slab span { display: none; font: 600 1rem/1 var(--mono); color: var(--fog); letter-spacing: 0.02em; }
.slab[data-layer="0"] { --i: 0; }
.slab[data-layer="1"] { --i: 1; }
.slab[data-layer="2"] { --i: 2; }
.slab[data-layer="3"] { --i: 3; }
.slab[data-layer="4"] { --i: 4; }
.slab.is-top { border-color: var(--seal); background: #3A2C12; }
.slab.is-top span { color: var(--seal); }
.js .slab:not(.is-in) { opacity: 0; transform: translateZ(calc(var(--i) * 14px + 160px)); }
.stack__count { font: 500 0.875rem/1.4 var(--mono); color: var(--fog); }
.stack__count b { color: var(--seal); font-weight: 700; font-size: 1.5rem; }

.stack__groups { display: grid; gap: clamp(64px, 10vw, 140px); }
.group header { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 0.75rem; }
.group__tag { font: 500 0.8125rem/1 var(--mono); color: var(--seal); letter-spacing: 0.01em; }
.group h3 { margin: 0; font: 800 clamp(1.75rem, 3.6vw, 2.75rem)/1.05 var(--display); letter-spacing: -0.02em; }
.group__intro { color: var(--fog); max-width: 46ch; margin-bottom: 1.5rem; }
.skills { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.skills li { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--line); transition: background-color 0.3s; }
.skills code { font-size: 0.9375rem; font-weight: 600; color: var(--bone); overflow-wrap: anywhere; }
.skills span { color: var(--fog); }
.group.is-active .skills code { color: var(--seal); }

@media (min-width: 720px) {
  .skills li { grid-template-columns: minmax(12rem, 16rem) 1fr; gap: 24px; align-items: baseline; }
}
@media (min-width: 1000px) {
  .stack__layout { grid-template-columns: 0.8fr 1.2fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
  .stack__stage {
    top: 120px; height: auto; margin: 0; padding: 0; background: none;
    grid-template-columns: 1fr; justify-items: center; gap: 48px;
  }
  .iso { --t: 20px; width: min(300px, 80%); height: auto; aspect-ratio: 1; transform: translateY(40px) rotateX(58deg) rotateZ(-42deg); }
  .slab { transform: translateZ(calc(var(--i) * 34px)); }
  .js .slab:not(.is-in) { transform: translateZ(calc(var(--i) * 34px + 320px)); }
  .slab span { display: block; color: var(--bone); }
  .stack__groups { padding-bottom: 20vh; }
}

/* ---------- Free skill ---------- */
.free__grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
.free__actions { display: grid; gap: 28px; margin-top: 2rem; justify-items: start; }
.subscribe { width: 100%; max-width: 520px; }
.subscribe label { display: block; margin-bottom: 10px; color: var(--fog); font-size: var(--fs-small); }
.subscribe__row { display: flex; flex-wrap: wrap; gap: 10px; }
.subscribe input {
  flex: 1 1 220px; min-width: 0; min-height: 48px; padding: 0 16px;
  font: 400 16px/1.2 var(--text); color: var(--bone);
  background: rgba(18, 20, 25, 0.9); border: 1px solid var(--line-2); border-radius: 12px;
  transition: border-color 0.2s;
}
.subscribe input::placeholder { color: #6F727B; }
.subscribe input:focus { outline: none; border-color: var(--seal); }
.subscribe .btn { flex: 0 0 auto; }
.subscribe .btn:disabled { opacity: 0.55; cursor: progress; transform: none; }
.subscribe__note { margin-top: 10px; font-size: var(--fs-small); color: var(--seal); }
.subscribe__note--error { color: var(--fail); }

.term {
  margin: 0; min-width: 0;
  background: #0D1113; border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}
.term__body { margin: 0; padding: 22px 20px 26px; white-space: normal; font: 400 0.875rem/1.65 var(--mono); color: var(--fog); }
.term__body code { display: grid; gap: 12px; }
.tl { position: relative; display: block; white-space: pre-wrap; overflow-wrap: anywhere; }
.tl b { color: var(--bone); font-weight: 600; }
.tl--cmd { color: var(--bone); }
.tl--cmd .p { color: var(--seal); }
.tl--fail { color: var(--fail); }
.tl--fail b { color: var(--fail); }
.tl--ok b { color: var(--seal); }

/* Typing effect: a cover in the terminal color slides off each line (transform only). */
.js .tl::after {
  content: ""; position: absolute; inset: -2px -4px;
  background: #0D1113;
  transform-origin: right center;
  transform: scaleX(1);
}
.js .term.is-typing .tl::after { transition: transform var(--dur, 0.9s) steps(var(--steps, 24), end) var(--delay, 0s); transform: scaleX(0); }

.free--next { padding-top: 0; }
.free__actions--row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

@media (min-width: 1000px) {
  .free__grid { grid-template-columns: 0.9fr 1.1fr; }
  .term__body { font-size: 0.9375rem; padding: 28px 28px 32px; }
}

/* ---------- Fit ---------- */
.fit__grid { display: grid; gap: 48px; padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 500; }
.chips li:last-child { color: var(--fog); border-style: dashed; }
.nope { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.nope li { position: relative; padding-left: 30px; color: var(--fog); }
.nope li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 16px; height: 2px; background: var(--fail); transform: rotate(-12deg); }
@media (min-width: 900px) { .fit__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------- Price ---------- */
.offer {
  position: relative; max-width: 720px; margin: 0 auto; text-align: center;
  padding: clamp(40px, 7vw, 72px) clamp(22px, 5vw, 64px);
  border: 2px solid rgba(242, 181, 68, 0.45); border-radius: 24px;
  background: linear-gradient(180deg, #1D1810, #121419);
}
.offer .eyebrow { color: var(--seal); }
.offer__seal { width: 88px; height: 88px; margin: 0 auto 20px; }
.offer__seal .ring { fill: none; stroke: var(--seal); stroke-width: 1.5; }
.offer__seal .ring--b { stroke-dasharray: 4 6; opacity: 0.6; transform-origin: 60px 60px; }
.offer__seal .tick { fill: none; stroke: var(--seal); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.offer__price { font: 800 clamp(5rem, 18vw, 9rem)/0.9 var(--display); letter-spacing: -0.05em; margin-bottom: 0.75rem; }
.offer__cur { font-size: 0.45em; vertical-align: 0.9em; margin-right: 0.04em; color: var(--seal); }
.offer__terms { color: var(--bone); font-size: var(--fs-lede); margin-bottom: 2rem; }
.offer__list { list-style: none; margin: 0 auto 2.25rem; padding: 0; max-width: 34rem; display: grid; gap: 12px; text-align: left; color: var(--fog); }
.offer__list li { position: relative; padding-left: 28px; }
.offer__list li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 12px; height: 7px; border-left: 2px solid var(--seal); border-bottom: 2px solid var(--seal); transform: rotate(-45deg); }

/* ---------- FAQ ---------- */
.faq__wrap { max-width: 880px; }
.faq__list { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 0;
  font: 700 clamp(1.125rem, 2vw, 1.375rem)/1.3 var(--display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 auto; width: 14px; height: 14px;
  border-right: 2px solid var(--seal); border-bottom: 2px solid var(--seal);
  transform: translateY(-3px) rotate(45deg); transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--fog); max-width: 48ch; }
.faq details p a { color: var(--seal); }
.faq details[open] p { animation: faqIn 0.45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Team upsell ---------- */
.team__inner { max-width: 880px; }
.team .lede { margin-bottom: 2rem; }

/* ---------- Receipt pages (/thanks and the answers of /download, rendered by server/app.py) ---------- */
.receipt { min-height: calc(100svh - 65px - 118px); display: flex; align-items: center; padding: clamp(40px, 8vw, 96px) 0; }
.receipt .offer { text-align: left; max-width: 760px; animation: cardIn 0.8s var(--ease) both; }
.receipt .offer__seal { margin: 0 0 22px; }
.receipt .tick { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw 0.7s var(--ease) 0.35s forwards; }
.receipt__title { font: 800 clamp(2.25rem, 6vw, 4rem)/1.02 var(--display); letter-spacing: -0.03em; margin: 0 0 1rem; text-wrap: balance; }
.receipt__lede { color: var(--bone); font-size: var(--fs-lede); line-height: 1.5; max-width: 42ch; margin-bottom: 2rem; text-wrap: pretty; }
.receipt__note { margin-top: 14px; color: var(--fog); font-size: var(--fs-small); }
.receipt__steps { list-style: none; counter-reset: step; margin: 2.5rem 0 0; padding: 2rem 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 20px; }
.receipt__steps li { counter-increment: step; position: relative; padding-left: 44px; color: var(--fog); text-wrap: pretty; }
.receipt__steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border: 1px solid var(--seal); border-radius: 50%;
  font: 600 0.8125rem/26px var(--mono); color: var(--seal); text-align: center;
}
.receipt__steps b { color: var(--bone); }
.receipt__steps code {
  display: block; margin-top: 8px; padding: 10px 12px;
  background: #0D1113; border: 1px solid var(--line-2); border-radius: 10px;
  font-size: 0.875rem; line-height: 1.5; color: var(--bone); white-space: pre-wrap; overflow-wrap: anywhere;
}
.receipt__help { margin-top: 2rem; color: var(--fog); font-size: var(--fs-small); }
.receipt__help a { color: var(--seal); white-space: nowrap; }
.receipt .nowrap { white-space: nowrap; }
.receipt__card--fail { border-color: rgba(255, 107, 94, 0.45); background: linear-gradient(180deg, #1D1212, #121419); }
.receipt__card--fail .eyebrow { color: var(--fail); }
.receipt__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Footer ---------- */
.foot { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--fog); font-size: var(--fs-small); }
.foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------- Motion (only with JS, only transform + opacity) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

.js .hero__strike { transform: rotate(-4deg) scaleX(0); animation: strike 0.6s var(--ease) 0.5s forwards; }
.js .hero__prove { opacity: 0; transform: translateY(0.25em); animation: rise 0.8s var(--ease) 0.85s forwards; }
.js .gl { opacity: 0; transform: translateX(-8px); animation: rise 0.45s var(--ease) forwards; }
.js .gl:nth-child(1) { animation-delay: 0.2s; }
.js .gl:nth-child(2) { animation-delay: 0.6s; }
.js .gl:nth-child(3) { animation-delay: 1s; }
.js .gl:nth-child(4) { animation-delay: 1.4s; }
.js .stamp { opacity: 0; transform: rotate(-7deg) scale(1.6); animation: stampIn 0.35s cubic-bezier(0.55, 0, 0.2, 1) 1.15s forwards; }
.scrollcue span { animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
.offer__seal .ring--b { animation: spin 40s linear infinite; }

@keyframes strike { to { transform: rotate(-4deg) scaleX(1); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes stampIn { to { opacity: 1; transform: rotate(-7deg) scale(1); } }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .gl, .js .hero__prove { opacity: 1; transform: none; }
  .js .stamp { opacity: 1; transform: rotate(-7deg); }
  .js .hero__strike { transform: rotate(-4deg) scaleX(1); }
  .js .tl::after { display: none; }
  .js .slab:not(.is-in) { opacity: 1; transform: translateZ(calc(var(--i) * 14px)); }
  .scrollcue span { animation: none; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 1000px) {
  .js .slab:not(.is-in) { transform: translateZ(calc(var(--i) * 34px)); }
}
