/* ============================================================
   GymProof Prelaunch — Swiss editorial / Bauhaus sportswear
   Tokens mirror lib/theme/theme.dart from the iOS app.
   ============================================================ */

:root {
  /* Backgrounds */
  --bg: #FAFAF7;
  --bg-deep: #F1F1ED;
  --surface: #FFFFFF;
  --surface-hi: #F4F4EF;

  /* Ink — pure black + stepped opacity (not grey) */
  --ink: #000000;
  --dim: rgba(0, 0, 0, 0.80);
  --faint: rgba(0, 0, 0, 0.60);
  --vfaint: rgba(0, 0, 0, 0.30);

  /* Hairlines */
  --hair: rgba(0, 0, 0, 0.08);
  --hair-hi: rgba(0, 0, 0, 0.14);
  --hair-soft: rgba(0, 0, 0, 0.04);

  /* Frame outline — pure black, 1px */
  --frame: #000000;

  /* Accent — single lime, no second decorative color */
  --accent: #9DD33B;
  --accent-dim: rgba(157, 211, 59, 0.24);
  --accent-dimmer: rgba(157, 211, 59, 0.12);

  /* Radii */
  --r-card: 18px;
  --r-card-sm: 14px;
  --r-input: 12px;
  --r-pill: 999px;

  /* Type */
  --display: "Inter Tight", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ============================================================
   TYPOGRAPHY — three voices
   ============================================================ */
.display {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 8.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--ink);
}
.display--md {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.028em;
}

.mono {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.lede {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--dim);
  max-width: 60ch;
  margin: 0;
}

.dim   { color: var(--faint); }
.hl    { color: var(--ink); background: var(--accent); padding: 0 0.12em; border-radius: 3px; }
.strike{ position: relative; color: var(--vfaint); }
.strike::after{
  content: ""; position: absolute; left: -2%; right: -2%; top: 56%;
  height: 6px; background: var(--ink); transform: skewY(-3deg);
}

/* Editorial section eyebrow: rule + mono label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
}
.eyebrow .rule {
  width: 28px; height: 1px; background: var(--ink); display: block;
}
.eyebrow .mono { color: var(--ink); font-weight: 600; }

/* ============================================================
   LAYOUT
   ============================================================ */
.section, main, .hero, .foot { width: 100%; }

.nav__inner,
.hero__inner,
.section__inner,
.foot__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--hair);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding-top: 50px;
  padding-bottom: 50px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
}
.brand__mark {
  width: 32px; height: 32px;
  border-radius: 7px;
  border: 1px solid var(--frame);
}
.brand__mark--sm { width: 28px; height: 28px; }
.brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.nav__pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--frame);
  border-radius: var(--r-pill);
  background: var(--surface);
}
.nav__pill .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(157, 211, 59, 0.55);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(157, 211, 59, 0.55); }
  60%  { box-shadow: 0 0 0 10px rgba(157, 211, 59, 0); }
  100% { box-shadow: 0 0 0 0   rgba(157, 211, 59, 0); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 56px 0 80px; }

/* Mobile-first: single column, top → media → bottom. */
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero__top > * + *,
.hero__bottom > * + * { margin-top: 24px; }
.hero__bottom {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center; /* mobile: center the App Store button */
}

.hero .display { max-width: 14ch; }
.hero .lede { max-width: 58ch; }

/* Desktop: text on the left (top + bottom stacked), video on the right.
   `.hero__bottom` flex-aligns to the end of its grid row so the
   waitlist form's bottom edge lines up with the bottom of the video. */
@media (min-width: 960px) {
  .hero { padding: 72px 0 96px; }
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "top   media"
      "bot   media";
    gap: 24px 56px;
    align-items: stretch;
  }
  .hero__top   { grid-area: top; }
  .hero__media { grid-area: media; align-self: start; }
  .hero__bottom {
    grid-area: bot;
    display: flex;
    flex-direction: column;
    gap: 18px;
    /* desktop: button sits close to the lede above it, not pinned to
       the bottom of the video */
    justify-content: flex-start;
    align-items: flex-start;
    height: auto;
    margin-top: -4px;
  }
  .hero__media .video {
    max-width: 100%;
    margin: 0;
  }

  /* Tighter, more refined countdown + waitlist cards on desktop so the
     two stacked containers fit in the left column without ballooning. */
  .hero__bottom .card { padding: 18px; }
  .hero__bottom .countdown__head,
  .hero__bottom .form__head {
    padding-bottom: 10px;
  }
  .hero__bottom .form__head { margin-bottom: 12px; }
  .hero__bottom .countdown__grid { padding-top: 14px; }
  .hero__bottom .cu { padding: 2px 14px; }
  .hero__bottom .cu:first-child { padding-left: 0; }
  .hero__bottom .cu__n { font-size: clamp(36px, 4.4vw, 60px); }
  .hero__bottom .cu__l { margin-top: 4px; }
  .hero__bottom .field input { padding: 11px 12px; }
  .hero__bottom .btn { padding: 11px 16px; font-size: 14px; }
}

/* ============================================================
   CARD (universal — the "framed clipping" container)
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--frame);
  border-radius: var(--r-card);
  padding: 22px;
  position: relative;
}

/* ============================================================
   HERO VIDEO
   ============================================================ */
.video {
  padding: 0;
  overflow: hidden;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.video__frame {
  aspect-ratio: 9 / 16;
  background: var(--ink);
  border-bottom: 1px solid var(--frame);
  overflow: hidden;
  position: relative;
}

/* Floating "tap for audio" prompt — disappears on first interaction. */
.video__poke {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;

  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;

  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-pill);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);

  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;

  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.5);
  animation: pokeBounce 1.9s var(--ease) infinite;
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
}
.video__poke-icon {
  width: 16px; height: 16px;
  display: grid; place-items: center;
  color: var(--accent);
}
.video__poke-icon svg { width: 16px; height: 16px; }

@keyframes pokeBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-4px); }
}

.video__poke.is-hidden {
  opacity: 0;
  pointer-events: none;
  animation: none;
  transform: translateX(-50%) translateY(6px);
}
.video__frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.video__cap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  gap: 12px;
}
.video__mute {
  appearance: none;
  background: var(--surface-hi);
  color: var(--ink);
  border: 1px solid var(--frame);
  border-radius: var(--r-pill);
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}
.video__mute[aria-pressed="false"] {
  background: var(--accent);
  color: var(--ink);
}

/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair-hi);
}
.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 18px;
}
.cu {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 4px 18px;
  border-left: 1px solid var(--hair-hi);
}
.cu:first-child { border-left: 0; padding-left: 0; }
.cu__n {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 9vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.cu__l {
  margin-top: 8px;
  color: var(--faint);
}

/* Launched-state replacement — shown inside the countdown card after the
   target date passes. */
.countdown__launched {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.countdown__launched .btn-appstore {
  width: 100%;
  justify-content: center;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--body);
  transition: transform 200ms var(--ease), box-shadow 220ms var(--ease);
  white-space: nowrap;
  animation: launchedIn 480ms var(--ease) both;
}
.btn-appstore:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.45);
  text-decoration: none;
}
.btn-appstore:active { transform: translateY(0); }
.btn-appstore svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.btn-appstore__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.btn-appstore__small {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.86;
  letter-spacing: 0.02em;
}
.btn-appstore__big {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 3px;
}

/* Bigger pill used as a standalone CTA (hero + final section).
   Alignment is delegated to the parent so the button can center on
   mobile (hero__bottom uses align-items: center) and left-align on
   desktop (align-items: flex-start). */
.btn-appstore--hero {
  padding: 16px 28px;
}
.btn-appstore--hero svg { width: 34px; height: 34px; }
.btn-appstore--hero .btn-appstore__small { font-size: 11px; }
.btn-appstore--hero .btn-appstore__big { font-size: 22px; }

/* Final CTA card — replaces the old footer waitlist form. */
.cta-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 36px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--accent-dimmer) 240%);
  max-width: 760px;
  margin: 0 auto;
}
.cta-card__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 4px 0 0;
}
.cta-card__sub {
  margin: 0;
  color: var(--dim);
  font-size: 16px;
  line-height: 1.5;
  max-width: 56ch;
}
@media (max-width: 720px) {
  .cta-card { padding: 28px; }
}

@keyframes launchedIn {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Download mode — black "Download on the App Store" pill style. */
.fab.is-download {
  background: var(--ink);
  color: #fff;
}
.fab.is-download:hover {
  box-shadow: 0 18px 42px -10px rgba(0, 0, 0, 0.55),
              0 2px 0 0 rgba(0, 0, 0, 0.10);
}
.fab__apple {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ============================================================
   FORM
   ============================================================ */
.form__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair-hi);
  margin-bottom: 16px;
}
.form__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.0;
  letter-spacing: -0.028em;
  margin: 8px 0 22px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.field {
  display: flex; flex-direction: column; gap: 6px;
  min-width: 0;
}
.field .lbl { color: var(--faint); }
.field input {
  appearance: none;
  width: 100%;
  background: var(--surface-hi);
  border: 1px solid var(--frame);
  border-radius: var(--r-input);
  padding: 14px 14px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 200ms var(--ease), background 200ms var(--ease), box-shadow 200ms var(--ease);
}
.field input::placeholder { color: var(--vfaint); }
.field input:focus {
  outline: none;
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.field input:invalid:not(:placeholder-shown) {
  border-color: #E34A40;
  box-shadow: 0 0 0 3px rgba(227, 74, 64, 0.16);
}

.btn {
  appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px;
  border: 1px solid var(--frame);
  border-radius: var(--r-input);
  background: var(--ink);
  color: #fff;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 160ms var(--ease), background 200ms var(--ease), color 200ms var(--ease), box-shadow 220ms var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--accent {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 0 0 0 rgba(157, 211, 59, 0.0);
}
.btn--accent:hover {
  box-shadow: 0 10px 30px -10px rgba(157, 211, 59, 0.55);
}
.btn--lg { padding: 16px 24px; font-size: 16px; }

.form__msg {
  margin: 14px 0 0;
  min-height: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.form__msg.is-ok { color: var(--ink); }
.form__msg.is-ok::before {
  content: "✓ ";
  color: var(--ink);
  background: var(--accent);
  padding: 0 6px;
  margin-right: 6px;
  border-radius: 3px;
}
.form__msg.is-err { color: #E34A40; }

.form__fine { margin-top: 14px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 96px 0; border-top: 1px solid var(--hair); }
.section__head { max-width: 900px; margin-bottom: 56px; }
.section__head > * + * { margin-top: 18px; }

/* Two-column split used by sections 002 and 003.
   Mobile: flat single column. DOM order is head → image → cards,
   which is exactly the mobile reading order the design calls for.
   Desktop: grid-template-areas reshuffles into [head + cards] | [image]. */
.section__inner--split {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section__inner--split .section__head { margin-bottom: 0; }
.section__inner--split .proof-shot { margin: 0 auto; }

@media (min-width: 960px) {
  .section__inner--split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "head  image"
      "cards image";
    gap: 32px 56px;
    align-items: start;
  }
  .section__inner--split > .section__head { grid-area: head; max-width: none; }
  .section__inner--split > .proof-shot   { grid-area: image; }
  .section__inner--split > .evidence,
  .section__inner--split > .steps        { grid-area: cards; }

  /* In the split layout, the three editorial cards stack vertically
     in the left column instead of going 3-across or carousel. */
  .section__inner--split > .evidence,
  .section__inner--split > .steps {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 14px;
    margin: 0;
    overflow: visible;
    padding: 0;
  }
  .section__inner--split > .evidence > .evidence__item {
    flex: 0 0 auto;
    max-width: none;
  }

  /* Image fills its half and stays anchored at the top so it reads as a
     "specimen" rather than scrolling with the text. */
  .section__inner--split > .proof-shot {
    position: sticky;
    top: 110px;
    max-width: 100%;
    width: 100%;
    margin: 0;
  }
  .section__inner--split > .proof-shot .proof-shot__img { width: 100%; }
}

/* PROBLEM — evidence cards */
.section--problem .section__head > .lede { margin-top: 22px; }

.proof-shot {
  margin: 0 auto 32px;
  max-width: 360px;
  display: flex;
  justify-content: center;
}
.proof-shot--wide { max-width: 680px; }
.proof-shot__img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0,0,0,0.55) 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 72%, rgba(0,0,0,0.55) 88%, transparent 100%);
}

/* Evidence row — three numbered editorial cards */
.evidence {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.evidence__item { display: flex; flex-direction: column; gap: 10px; }
.evidence__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair-hi);
}
.evidence__n { color: var(--ink); font-weight: 700; }
.evidence__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin: 4px 0 0;
}
.evidence__item p {
  color: var(--dim);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

/* SOLUTION */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}
.step { display: flex; flex-direction: column; gap: 14px; }
.step__head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair-hi);
}
.step__n { color: var(--ink); font-weight: 600; }
.step__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 4px 0 0;
}
.step__copy { color: var(--dim); margin: 0; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.chip {
  padding: 7px 11px;
  border: 1px solid var(--frame);
  border-radius: 10px;
  background: var(--surface-hi);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--faint);
}
.chip--on { background: var(--accent); color: var(--ink); }

.proof-row {
  display: flex; flex-direction: column; gap: 10px; margin-top: 6px;
}
.proof-row__item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--frame);
  border-radius: 12px;
  background: var(--surface-hi);
}
.proof-row__icon {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--frame);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}
.proof-row__icon svg { width: 16px; height: 16px; }
.proof-row__item .mono { color: var(--ink); font-weight: 600; flex: 1; }
.proof-row__tag {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; font-weight: 700;
  text-transform: uppercase;
  background: var(--accent); color: var(--ink);
  padding: 4px 8px; border-radius: 6px;
}

.sms {
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--frame);
  border-radius: 12px;
  background: var(--surface-hi);
  position: relative;
}
.sms__body {
  margin: 0;
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink);
  line-height: 1.45;
}

/* ============================================================
   LOCK / UNLOCK CARD (step 03 — replaces the old SMS block)
   ============================================================ */
.lock { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }

.lock__row {
  display: flex; align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border: 1px solid var(--frame);
  border-radius: 12px;
  background: var(--surface-hi);
}
.lock__tag {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(227, 74, 64, 0.12);
  color: #E34A40;
  border: 1px solid rgba(227, 74, 64, 0.32);
  text-transform: uppercase;
}
.lock__apps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  flex: 1;
  min-width: 0;
}
.lock__apps li {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--vfaint);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.lock__paths {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lock__path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--frame);
  border-radius: 12px;
  background: var(--surface);
  position: relative;
}
.lock__path::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px var(--accent-dimmer);
  display: none; /* enable if you want a bullet — kept off for cleanliness */
}
.lock__path strong {
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}

/* ============================================================
   FAQ — section 004
   ============================================================ */
.section--faq .section__head { margin-bottom: 40px; }

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 880px;
}

.faq__item {
  border: 1px solid var(--frame);
  border-radius: var(--r-card-sm);
  background: var(--surface);
  overflow: hidden;
  transition: background 200ms var(--ease);
}
.faq__item[open] { background: var(--surface); }

.faq__q {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::marker { content: ""; }

.faq__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  border: 1px solid var(--frame);
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  transition: transform 200ms var(--ease);
}
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
}

.faq__a {
  padding: 0 22px 22px;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.55;
  max-width: 72ch;
}
.faq__a p { margin: 0; }
.faq__a strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   FINAL CTA — section 005
   ============================================================ */
.section--cta .section__inner { max-width: 980px; }

/* Big footer form gets a soft lime wash to differentiate */
.form--lg {
  background: linear-gradient(180deg, var(--surface) 0%, var(--accent-dimmer) 220%);
  padding: 28px;
}

/* ============================================================
   FORM SUCCESS STATE — the "dramatic" thank-you swap
   ============================================================ */
.form { position: relative; }

.form__body { display: block; }
.form__success { display: none; }

.form.is-success .form__body { display: none; }
.form.is-success .form__success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  animation: successIn 460ms var(--ease) both;
}

@keyframes successIn {
  0%   { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.success__mark {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  border: 1px solid var(--frame);
  box-shadow: 0 14px 30px -10px rgba(157, 211, 59, 0.55);
  animation: checkPop 600ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 60ms;
}
.success__mark svg { width: 28px; height: 28px; }
.success__mark--lg { width: 72px; height: 72px; }
.success__mark--lg svg { width: 36px; height: 36px; }

@keyframes checkPop {
  0%   { transform: scale(0.3); opacity: 0; }
  55%  { transform: scale(1.14); opacity: 1; }
  100% { transform: scale(1); }
}

.success__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair-hi);
  gap: 18px;
  flex-wrap: wrap;
}

.success__head-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.success__rank-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
}
.success__rank-n {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.028em;
  line-height: 0.95;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.form__success--lg .success__rank-n {
  font-size: clamp(44px, 6.5vw, 72px);
  letter-spacing: -0.032em;
}

.success__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.028em;
  line-height: 1.02;
  margin: 4px 0 0;
  color: var(--ink);
}
.success__title--lg {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 800;
  letter-spacing: -0.032em;
}
.success__title-dim { color: var(--dim); font-weight: 700; }

.success__sub {
  margin: 0;
  color: var(--dim);
  font-size: 16px;
  line-height: 1.45;
  max-width: 60ch;
}
.success__sub strong { color: var(--ink); font-weight: 600; }

[data-success-rank] {
  color: var(--ink);
  font-weight: 700;
}

.btn--sm {
  padding: 10px 16px;
  font-size: 13px;
}

/* Seat pill — micro-bump when the count tweens upward */
.seat-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: transparent;
  font-variant-numeric: tabular-nums;
  transition: background 320ms var(--ease), color 320ms var(--ease),
              border-color 320ms var(--ease), transform 320ms var(--ease),
              box-shadow 320ms var(--ease);
}
.seat-pill.is-bumped {
  background: var(--accent);
  color: var(--ink) !important;
  border-color: var(--frame);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(157, 211, 59, 0.6);
}

/* ============================================================
   FLOATING CTA
   ============================================================ */
.fab {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 60;

  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;

  background: var(--accent);
  color: var(--ink);
  border: 1px solid var(--frame);
  border-radius: var(--r-pill);

  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  text-decoration: none;

  box-shadow: 0 14px 36px -10px rgba(157, 211, 59, 0.55),
              0 2px 0 0 rgba(0, 0, 0, 0.08);
  transition: transform 200ms var(--ease), box-shadow 220ms var(--ease);
}
.fab:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 18px 42px -10px rgba(157, 211, 59, 0.65),
              0 2px 0 0 rgba(0, 0, 0, 0.10);
}
.fab:active { transform: translateX(-50%) translateY(0); }
.fab svg { width: 16px; height: 16px; }
.fab__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.55);
  animation: pulseInk 2.6s var(--ease) infinite;
}
@keyframes pulseInk {
  0%   { box-shadow: 0 0 0 0   rgba(0, 0, 0, 0.45); }
  60%  { box-shadow: 0 0 0 8px rgba(0, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0   rgba(0, 0, 0, 0); }
}

/* ============================================================
   LEGAL PAGES (privacy.html, terms.html)
   ============================================================ */
.legal {
  padding: 56px 0 96px;
  background: var(--bg);
}
.legal__inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}
.legal h1.display { margin: 8px 0 12px; }
.legal__meta { margin: 0 0 32px; }
.legal__intro {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  border-bottom: 1px solid var(--hair-hi);
  padding-bottom: 24px;
  margin: 0 0 32px;
}
.legal h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.024em;
  line-height: 1.15;
  color: var(--ink);
  margin: 40px 0 14px;
}
.legal h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.018em;
  line-height: 1.25;
  color: var(--ink);
  margin: 24px 0 10px;
}
.legal p {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--dim);
  margin: 0 0 14px;
}
.legal p strong, .legal li strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal a:hover { text-decoration-thickness: 2px; }
.legal ul,
.legal ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.6;
}
.legal li { margin: 0 0 8px; }
.legal__list-alpha { list-style: lower-alpha; }
.legal__address {
  font-style: normal;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--dim);
  padding: 16px 18px;
  border: 1px solid var(--frame);
  border-radius: 12px;
  background: var(--surface);
  margin: 18px 0;
  display: inline-block;
}

/* Footer legal nav (used on all pages) */
.foot__nav {
  display: inline-flex;
  gap: 18px;
  margin-right: 18px;
}
.foot__nav a { transition: color 200ms var(--ease); }
.foot__nav a:hover { color: var(--ink); }

/* ============================================================
   SUPPORT PAGE — extends the .legal layout
   ============================================================ */
.support__primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  margin: 0 0 40px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--accent-dimmer) 240%);
  flex-wrap: wrap;
}
.support__primary-left { display: flex; flex-direction: column; gap: 8px; max-width: 46ch; }
.support__primary-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.024em;
  line-height: 1.05;
  margin: 4px 0 0;
}
.support__primary-sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--dim);
}
.support__primary-right { display: flex; }
.support__primary-right .btn { word-break: break-all; }

/* Routing grid — 6 mailto cards */
.route-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 18px 0 36px;
}
.route {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 200ms var(--ease), box-shadow 220ms var(--ease);
}
.route:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -16px rgba(0, 0, 0, 0.25);
  text-decoration: none;
}
.route__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.018em;
  line-height: 1.15;
  margin: 4px 0 0;
  color: var(--ink);
}
.route p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--dim);
}
.route__cta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--hair-hi);
  color: var(--ink);
  font-weight: 600;
  word-break: break-all;
}

.support__finepoint {
  display: block;
  margin-top: 28px;
  text-align: left;
}

@media (max-width: 720px) {
  .support__primary { padding: 22px; }
  .support__primary-right .btn { width: 100%; }
  .route-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  border-top: 1px solid var(--hair);
  padding: 36px 0 96px;
  background: var(--bg-deep);
}
.foot__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.foot__col { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.foot__tag { margin: 0; }

/* ============================================================
   REVEAL / MOTION — staggered fade + 8px upward translate
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0ms !important;
    transition-duration: 0ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .evidence {
    display: flex;
    flex-direction: row;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 14px;
    margin-left: -32px;
    margin-right: -32px;
    padding: 4px 7% 28px;
  }
  .evidence::-webkit-scrollbar { display: none; }
  .evidence__item {
    flex: 0 0 86%;
    max-width: 360px;
    scroll-snap-align: center;
  }
  .steps { grid-template-columns: 1fr; }

  .form__row {
    grid-template-columns: 1fr;
  }
  .btn { width: 100%; }

  .countdown__grid { grid-template-columns: repeat(4, 1fr); }
  .cu { padding: 4px 10px; }
  .cu__n { font-size: clamp(36px, 12vw, 64px); }
}

@media (max-width: 560px) {
  .nav__inner,
  .hero__inner,
  .section__inner,
  .foot__inner {
    padding: 0 20px;
  }

  .fab { padding: 12px 18px; font-size: 14px; bottom: 16px; }

  .evidence {
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 7%;
    padding-right: 7%;
  }
  .evidence__item { flex: 0 0 86%; }
  .hero { padding: 36px 0 56px; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 32px; }
  .card { padding: 18px; }
  .form--lg { padding: 22px; }

  .display { font-size: clamp(40px, 11vw, 64px); }
  .display--md { font-size: clamp(32px, 9vw, 48px); }
  .lede { font-size: 16px; }

  .countdown__grid { gap: 4px; }
  .cu { padding: 4px 6px; }
  .cu__n { font-size: clamp(28px, 10vw, 44px); }
  .cu__l { font-size: 9px; }

  .nav__pill .mono { font-size: 9px; }
}
