/* ============================================================
   MOVVIVA — design system & page styles
   Canvas: warm cream · Ink: charcoal · Accent: Movviva orange
   Display: Bricolage Grotesque · Body/UI: Inter
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  /* color */
  --cream-0: #FDFBF7;
  --cream-50: #FAF6EF;
  --cream-100: #F4EDE2;
  --cream-200: #ECE2D2;
  --peach-50: #FFF3E8;
  --peach-100: #FFE5D1;
  --orange-300: #FFA259;
  --orange-400: #FB8A33;
  --orange-500: #F87018;   /* sampled from the mark */
  --orange-600: #E85D0A;
  --orange-700: #C94F06;
  --amber-400: #FFB347;
  --ink-900: #25262B;      /* matches wordmark */
  --ink-700: #43454D;
  --ink-500: #6E6A63;
  --ink-300: #A39E94;
  --dark-bg: #211E1B;      /* warm dark, not dev-tool dark */
  --dark-card: rgba(255, 255, 255, 0.05);
  --dark-line: rgba(255, 255, 255, 0.10);
  --line: rgba(38, 34, 30, 0.10);
  --line-strong: rgba(38, 34, 30, 0.16);

  /* type */
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* shape & shadow */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --shadow-soft: 0 2px 8px rgba(38, 34, 30, 0.05), 0 16px 48px rgba(38, 34, 30, 0.07);
  --shadow-orange: 0 8px 28px rgba(248, 112, 24, 0.30);
  --shadow-card: 0 1px 2px rgba(38, 34, 30, 0.04), 0 12px 32px rgba(38, 34, 30, 0.06);

  /* layout */
  --container: 1180px;
  --nav-h: 76px;
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
input, select { font: inherit; }
a { color: inherit; }

::selection { background: var(--orange-500); color: #fff; }

:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}
.container-narrow { max-width: 820px; }

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.06;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.05rem, 4.3vw, 3.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.014em; line-height: 1.25; }
h2 em { font-style: normal; color: var(--orange-500); }

.kicker {
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 18px;
}
.kicker-light { color: var(--orange-300); }

.section { padding-block: clamp(80px, 10vw, 136px); }
.section-alt { background: var(--cream-100); }
.section-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-sub {
  margin-top: 20px;
  font-size: 1.125rem;
  color: var(--ink-500);
  max-width: 580px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 30px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
              background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--orange-500);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { background: var(--orange-600); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--orange-500);
  color: var(--orange-600);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--cream-0);
  color: var(--orange-600);
  box-shadow: 0 8px 24px rgba(33, 26, 18, 0.18);
}
.btn-light:hover { transform: translateY(-2px); background: #fff; }

.btn-sm { padding: 11px 22px; font-size: 0.9375rem; }
.btn-lg { padding: 18px 34px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream-50) 82%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--cream-50) 92%, transparent);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}
.nav-logo img { height: 36px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
}
.nav-links a:not(.btn) {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--ink-700);
  transition: color 0.15s ease;
}
.nav-links a:not(.btn):hover { color: var(--orange-600); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta-mobile { display: none; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  border-radius: 10px;
}
.nav-burger span {
  display: block; height: 2px; width: 100%;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-visual {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(52vw, 760px);
  pointer-events: none;
  /* ribbons melt into the cream canvas */
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 98%);
  mask-image: linear-gradient(to left, #000 55%, transparent 98%);
}
.hero-poster, .hero-poster img, .hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hero-video { opacity: 0; transition: opacity 0.8s ease; }
.hero-video.is-playing { opacity: 1; }
/* --py is the scroll-parallax offset set from JS */
.hero-visual { transform: translateY(var(--py, 0px)); }

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 48px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-700);
  background: color-mix(in srgb, var(--cream-0) 75%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(248, 112, 24, 0.18);
}
.hero-title {
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  font-weight: 750;
  max-width: 12ch;
}
.hero-sub {
  margin-top: 26px;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--ink-500);
  max-width: 540px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero-micro {
  margin-top: 18px;
  font-size: 0.875rem;
  color: var(--ink-300);
  font-weight: 500;
}

.hero-scrollcue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--ink-300);
  padding: 10px;
  border-radius: 50%;
  transition: color 0.2s ease, opacity 0.4s ease;
  animation: cueBob 2.6s ease-in-out infinite;
}
.hero-scrollcue:hover { color: var(--orange-600); }
@keyframes cueBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

/* ---------- loop strip ---------- */
.loop-strip {
  border-block: 1px solid var(--line);
  background: var(--cream-0);
  overflow: hidden;
  padding-block: 18px;
}
.loop-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: loopScroll 36s linear infinite;
}
.loop-track span {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  white-space: nowrap;
}
.loop-track i { font-style: normal; color: var(--orange-500); font-size: 1.375rem; }
@keyframes loopScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- cards & grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--cream-0);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
}
.card-problem h3 { margin-block: 18px 10px; }
.card-problem p { color: var(--ink-500); font-size: 0.9844rem; }
.card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--peach-50);
  color: var(--orange-600);
}
.card-icon svg { width: 26px; height: 26px; }

.promise {
  margin-top: clamp(40px, 5vw, 64px);
  max-width: 760px;
}
.promise p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 550;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink-700);
}
.promise strong { color: var(--orange-600); font-weight: 700; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; }
.step {
  display: grid;
  grid-template-columns: 90px 1fr 280px;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding-block: 38px;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--orange-500);
}
.step-body h3 { font-size: 1.45rem; margin-bottom: 10px; }
.step-body p { color: var(--ink-500); max-width: 52ch; }

.step-art { display: flex; justify-content: flex-end; }
.chip-stack { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--cream-0);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
}
.chip-on {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: #fff;
  box-shadow: var(--shadow-orange);
}

.mini-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--cream-0);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
}
.mini-play {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--peach-100);
  color: var(--orange-600);
}
.mini-play svg { width: 17px; height: 17px; margin-left: 2px; }
.mini-lines b { display: block; font-size: 0.9375rem; color: var(--ink-900); }
.mini-lines span { font-size: 0.8125rem; color: var(--ink-500); }

.mini-log {
  display: flex; align-items: center; gap: 14px;
  background: var(--cream-0);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
  font-weight: 650;
  color: var(--ink-900);
}
.mini-log .rpe {
  font-size: 0.8125rem;
  background: var(--peach-100);
  color: var(--orange-700);
  border-radius: 999px;
  padding: 4px 12px;
}
.mini-log .tick { color: var(--orange-500); font-size: 1.1rem; }

.mini-reco {
  display: flex; align-items: center; gap: 12px;
  background: var(--ink-900);
  color: var(--cream-50);
  border-radius: var(--r-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
  font-size: 0.9375rem;
}
.mini-reco svg { width: 20px; height: 20px; color: var(--orange-400); flex: none; }
.mini-reco b { color: var(--orange-300); }

/* ---------- progression engine (dark) ---------- */
.section-dark {
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(248, 112, 24, 0.16), transparent 60%),
    radial-gradient(700px 420px at -8% 110%, rgba(248, 112, 24, 0.10), transparent 60%),
    var(--dark-bg);
}
.section-dark h2 { color: var(--cream-50); }
.section-dark .section-sub { color: rgba(250, 246, 239, 0.62); }

.engine-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.engine-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-md);
  padding: 28px 28px 26px;
}
.engine-card-safety { border-color: rgba(248, 112, 24, 0.45); }
.engine-when {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(250, 246, 239, 0.55);
  margin-bottom: 14px;
}
.engine-then { display: flex; gap: 14px; align-items: flex-start; }
.engine-then svg { width: 22px; height: 22px; color: var(--orange-400); flex: none; margin-top: 3px; }
.engine-then p { color: rgba(250, 246, 239, 0.82); font-size: 1rem; }
.engine-then b { color: var(--cream-50); }

.engine-loop {
  margin-top: clamp(36px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  color: var(--cream-50);
}
.engine-loop svg { width: 18px; height: 18px; color: var(--orange-500); }
.engine-loop .loop-again {
  color: rgba(250, 246, 239, 0.45);
  font-style: italic;
  font-weight: 500;
}

/* ---------- app preview phones ---------- */
.phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  justify-content: center;
  gap: clamp(20px, 3.5vw, 40px);
  align-items: start;
}
.phone {
  background: #1D1B19;
  border-radius: 48px;
  padding: 11px;
  box-shadow: 0 2px 4px rgba(38, 34, 30, 0.12), 0 28px 64px rgba(38, 34, 30, 0.18);
}
.phone-center { transform: translateY(-18px); }
.phone-screen {
  background: var(--cream-0);
  border-radius: 38px;
  padding: 18px 18px 22px;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  overflow: hidden;
}
.ph-status {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.6875rem; font-weight: 650; color: var(--ink-700);
  padding-inline: 6px;
  margin-bottom: 2px;
}
.ph-notch { width: 74px; height: 22px; background: #1D1B19; border-radius: 999px; }
.ph-date {
  font-size: 0.71875rem; font-weight: 650;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--orange-600);
}
.ph-title {
  font-family: var(--font-display);
  font-size: 1.36rem; font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.ph-progress {
  height: 7px; border-radius: 999px;
  background: var(--cream-200);
  overflow: hidden;
}
.ph-progress i {
  display: block; height: 100%; width: var(--p, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange-400), var(--orange-600));
}
.ph-progress-label { font-size: 0.75rem; color: var(--ink-500); }

.ph-ex {
  display: flex; align-items: center; gap: 11px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 11px 12px;
  background: #fff;
}
.ph-ex-dim { opacity: 0.55; }
.ph-ex > div { flex: 1; min-width: 0; }
.ph-ex b { display: block; font-size: 0.8438rem; color: var(--ink-900); }
.ph-ex span { font-size: 0.75rem; color: var(--ink-500); }
.ph-ex em {
  font-style: normal; font-size: 0.65625rem; font-weight: 650;
  color: var(--orange-600); background: var(--peach-50);
  padding: 4px 9px; border-radius: 999px;
}
.ph-play {
  flex: none;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--peach-100);
  color: var(--orange-600);
}
.ph-play svg { width: 13px; height: 13px; margin-left: 1px; }
.ph-cta {
  margin-top: auto;
  border: 0; border-radius: 999px;
  background: var(--orange-500);
  color: #fff;
  font-weight: 650; font-size: 0.9063rem;
  padding: 14px;
  box-shadow: var(--shadow-orange);
}

.ph-video {
  position: relative;
  border-radius: 18px;
  background:
    radial-gradient(120% 160% at 80% 10%, var(--peach-100), transparent 60%),
    linear-gradient(150deg, var(--peach-50), var(--cream-100));
  min-height: 130px;
  display: grid; place-items: center;
}
.ph-play-lg { width: 46px; height: 46px; background: #fff; box-shadow: 0 6px 18px rgba(38,34,30,.14); }
.ph-play-lg svg { width: 17px; height: 17px; }
.ph-video-label {
  position: absolute; left: 12px; bottom: 10px;
  font-size: 0.6875rem; font-weight: 600; color: var(--ink-500);
}
.ph-set { display: flex; flex-direction: column; gap: 7px; }
.ph-set-row {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  padding: 9px 13px;
  font-size: 0.78125rem; color: var(--ink-500);
}
.ph-set-row b { color: var(--ink-900); font-size: 0.8438rem; }
.ph-set-live { border-color: var(--orange-400); box-shadow: 0 0 0 3px rgba(248, 112, 24, 0.10); }
.ph-done { color: var(--orange-500); font-weight: 700; }
.ph-log {
  font-size: 0.65625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--orange-600);
}
.ph-rpe-label { font-size: 0.78125rem; font-weight: 600; color: var(--ink-700); margin-top: 2px; }
.ph-rpe { display: flex; gap: 7px; }
.ph-rpe span {
  flex: 1;
  display: grid; place-items: center;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 0.8438rem; font-weight: 650; color: var(--ink-500);
}
.ph-rpe .on {
  background: var(--orange-500); border-color: var(--orange-500);
  color: #fff; box-shadow: var(--shadow-orange);
}
.ph-hint {
  display: flex; align-items: center; gap: 9px;
  background: var(--ink-900); color: var(--cream-50);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.78125rem;
  margin-top: auto;
}
.ph-hint svg { width: 16px; height: 16px; color: var(--orange-400); flex: none; }
.ph-hint b { color: var(--orange-300); }

.ph-chart {
  display: flex; align-items: flex-end; gap: 7px;
  height: 110px;
  padding: 10px 4px 0;
}
.ph-chart i {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 7px 7px 3px 3px;
  background: var(--peach-100);
}
.ph-chart i.now { background: linear-gradient(180deg, var(--orange-400), var(--orange-600)); }
.ph-chart-label { font-size: 0.71875rem; color: var(--ink-500); }
.ph-stat {
  display: flex; align-items: baseline; gap: 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 12px 14px;
}
.ph-stat b { font-family: var(--font-display); font-size: 1.06rem; color: var(--ink-900); }
.ph-stat span { font-size: 0.71875rem; color: var(--ink-500); flex: 1; }
.ph-stat em {
  font-style: normal; font-size: 0.65625rem; font-weight: 700;
}
.ph-stat .up { color: #2E8B57; }
.ph-next {
  background: var(--peach-50);
  border: 1px solid var(--peach-100);
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 0.78125rem; color: var(--ink-700);
  margin-top: auto;
}
.ph-next b { color: var(--orange-700); }

/* ---------- tracks & focus blocks ---------- */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.prog-card {
  background: var(--cream-0);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 26px 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, opacity 0.3s ease;
}
.prog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(248, 112, 24, 0.45);
  box-shadow: var(--shadow-soft);
}
.prog-card.is-hidden { display: none; }
.prog-tag {
  display: inline-block;
  font-size: 0.71875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--orange-600);
  background: var(--peach-50);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 16px;
}
.prog-card h3 { font-size: 1.22rem; margin-bottom: 9px; }
.prog-card p { font-size: 0.9063rem; color: var(--ink-500); }
.prog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.prog-meta span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-500);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
}
.prog-card-flagship { border-color: rgba(248, 112, 24, 0.5); box-shadow: 0 12px 36px rgba(248, 112, 24, 0.10); }

.phase-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  margin-block: clamp(36px, 5vw, 56px);
}
.phase-strip > svg { width: 18px; height: 18px; color: var(--orange-500); align-self: center; flex: none; }
.phase-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--cream-0);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 20px;
  font-size: 0.8125rem;
  color: var(--ink-500);
}
.phase-chip b {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 650;
  color: var(--ink-900);
}
.phase-chip-on { background: var(--ink-900); border-color: var(--ink-900); color: rgba(250, 246, 239, 0.7); }
.phase-chip-on b { color: var(--orange-300); }

.blocks-head { margin-bottom: 24px; }
.blocks-head h3 { font-size: 1.45rem; }
.blocks-head p { color: var(--ink-500); font-size: 0.9844rem; margin-top: 6px; }
.prog-card-sm { padding: 22px 22px 20px; }
.prog-card-sm h3 { font-size: 1.05rem; margin-bottom: 7px; }
.prog-card-sm p { font-size: 0.875rem; }
.prog-note {
  margin-top: 32px;
  font-size: 0.9063rem;
  color: var(--ink-500);
  max-width: 640px;
}

/* ---------- pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.price-fineprint {
  margin-top: 14px;
  font-size: 0.78125rem;
  line-height: 1.55;
  color: var(--ink-500);
}
.price-card {
  position: relative;
  background: var(--cream-0);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
}
.price-card h3 { font-size: 1.3rem; }
.price { margin-top: 16px; color: var(--ink-900); }
.price b {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}
.price span { color: var(--ink-500); font-size: 1rem; }
.price-sub { margin-top: 10px; font-size: 0.9063rem; color: var(--ink-500); }
.price-card ul {
  list-style: none;
  padding: 0;
  margin-block: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.price-card li {
  position: relative;
  padding-left: 30px;
  font-size: 0.9375rem;
  color: var(--ink-700);
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--peach-100) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23C94F06" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / 10px no-repeat;
}
.price-card-hero {
  border: 2px solid var(--orange-500);
  box-shadow: 0 4px 12px rgba(248, 112, 24, 0.10), 0 28px 64px rgba(248, 112, 24, 0.16);
}
.price-flag {
  position: absolute;
  top: -15px; left: 28px;
  font-size: 0.71875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
  background: var(--orange-500);
  border-radius: 999px;
  padding: 7px 15px;
  box-shadow: var(--shadow-orange);
}
.price-note {
  margin-top: 30px;
  font-size: 0.875rem;
  color: var(--ink-500);
  max-width: 640px;
}

/* ---------- teams ---------- */
.teams-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 24px;
  border-radius: var(--r-md);
  background: var(--ink-900);
  color: rgba(250, 246, 239, 0.85);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.teams-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.teams-banner b { color: var(--cream-50); }
.teams-banner svg { flex: none; color: var(--orange-400); margin-left: auto; }
.teams-banner-label {
  flex: none;
  font-size: 0.71875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--orange-500);
  border-radius: 999px;
  padding: 6px 13px;
}

.teams-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.teams-cta { margin-top: 32px; }
.teams-micro { margin-top: 14px; font-size: 0.8125rem; color: rgba(250, 246, 239, 0.55); }
.teams-points {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.teams-points li {
  background: var(--dark-card);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-md);
  padding: 20px 22px;
  font-size: 0.9375rem;
  color: rgba(250, 246, 239, 0.75);
}
.teams-points b { display: block; color: var(--cream-50); margin-bottom: 4px; font-family: var(--font-display); font-weight: 650; }

/* ---------- why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
}
.why-item h3 {
  font-size: 1.13rem;
  margin-bottom: 9px;
  padding-top: 18px;
  border-top: 2px solid var(--orange-500);
}
.why-item p { font-size: 0.9375rem; color: var(--ink-500); }

/* ---------- faq ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
  padding-block: 24px;
  font-family: var(--font-display);
  font-size: 1.17rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  transition: color 0.15s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--orange-600); }
.faq-icon {
  flex: none;
  position: relative;
  width: 30px; height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 1.8px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-list details p {
  padding-bottom: 26px;
  color: var(--ink-500);
  max-width: 64ch;
}

/* ---------- waitlist cta ---------- */
.section-cta { padding-block: clamp(60px, 8vw, 110px); }
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background:
    radial-gradient(720px 420px at 92% 0%, rgba(255, 214, 170, 0.38), transparent 62%),
    linear-gradient(128deg, var(--orange-400) 0%, var(--orange-500) 48%, #EF5A0C 100%);
  padding: clamp(44px, 6vw, 84px);
  text-align: center;
  box-shadow: 0 32px 80px rgba(248, 112, 24, 0.28);
}
.cta-copy h2 { color: #fff; }
.cta-copy p {
  color: rgba(255, 248, 240, 0.92);
  max-width: 560px;
  margin: 20px auto 0;
  font-size: 1.0625rem;
}
.cta-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 720px;
  margin: 36px auto 0;
}
.cta-form input[type="email"], .cta-form select {
  flex: 1 1 240px;
  border: 0;
  border-radius: 999px;
  padding: 17px 24px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink-900);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.cta-form select { flex: 0 1 210px; cursor: pointer; color: var(--ink-700); }
.cta-form input::placeholder { color: var(--ink-300); }
.cta-form input:focus-visible, .cta-form select:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}
.cta-feedback {
  flex-basis: 100%;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  min-height: 1.4em;
}
.cta-feedback.is-error { color: #FFE3CC; }
.cta-micro {
  margin-top: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 248, 240, 0.75);
}
.cta-micro + .cta-micro { margin-top: 10px; }
.cta-quiz-link {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}
.cta-quiz-link:hover { text-decoration-color: #fff; }

/* success state */
.cta-form.is-done input, .cta-form.is-done select, .cta-form.is-done button { display: none; }
.cta-form.is-done .cta-feedback {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 650;
}

/* ---------- footer ---------- */
.footer {
  background: var(--cream-100);
  border-top: 1px solid var(--line);
  padding-block: clamp(48px, 6vw, 72px) 36px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.footer-brand img { width: 168px; height: auto; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  max-width: 560px;
}
.footer-links a {
  text-decoration: none;
  font-size: 0.9063rem;
  font-weight: 550;
  color: var(--ink-700);
}
.footer-links a:hover { color: var(--orange-600); }
.footer-disclaimer {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.footer-disclaimer p {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--ink-500);
  max-width: 76ch;
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  font-size: 0.8125rem;
  color: var(--ink-300);
}
.footer-tag { font-weight: 600; color: var(--orange-600); }

/* ---------- reveal on scroll (JS adds .in) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* gentle stagger inside grids */
.js .grid-3 .reveal.in:nth-child(2), .js .engine-grid .reveal.in:nth-child(2),
.js .prog-grid .reveal.in:nth-child(3n-1), .js .price-grid .reveal.in:nth-child(2),
.js .why-grid .reveal.in:nth-child(3n-1), .js .phones .reveal.in:nth-child(2) { transition-delay: 0.1s; }
.js .grid-3 .reveal.in:nth-child(3), .js .engine-grid .reveal.in:nth-child(4),
.js .prog-grid .reveal.in:nth-child(3n), .js .price-grid .reveal.in:nth-child(3),
.js .why-grid .reveal.in:nth-child(3n), .js .phones .reveal.in:nth-child(3) { transition-delay: 0.2s; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .loop-track { animation: none; }
  .hero-scrollcue { animation: none; }
  .btn, .prog-card { transition: none; }
}
/* automated browsers (navigator.webdriver): same static treatment,
   so Lighthouse / CI screenshots see the full page instantly */
.no-anim .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.no-anim .loop-track, .no-anim .hero-scrollcue { animation: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .phones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phone-screen { min-height: 540px; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; max-width: 560px; }
  .engine-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .price-card-hero { order: -1; }
  .phones {
    grid-template-columns: minmax(0, 340px);
    justify-content: center;
  }
  .phone-center { transform: none; }
  .step { grid-template-columns: 56px 1fr; }
  .step-art { grid-column: 2; justify-content: flex-start; margin-top: 18px; }

  /* nav collapses */
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 8px; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--cream-50);
    border-bottom: 1px solid var(--line);
    padding: 12px clamp(20px, 4vw, 32px) 24px;
    box-shadow: 0 24px 48px rgba(38, 34, 30, 0.10);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) {
    font-size: 1.0625rem;
    padding-block: 10px;
    width: 100%;
  }
}

@media (max-width: 767px) {
  body { font-size: 1rem; }

  /* hero: ribbons become a soft top-right halo behind stacked content */
  .hero { min-height: 92svh; }
  .hero-visual {
    width: 78vw;
    height: 62vh;
    -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 92%),
                        linear-gradient(to top, transparent 4%, #000 36%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to left, #000 30%, transparent 92%),
                linear-gradient(to top, transparent 4%, #000 36%);
    mask-composite: intersect;
    opacity: 0.95;
  }
  .hero-content { padding-block: 36px 72px; }
  .hero-title { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .hero-ctas .btn { flex: 1 1 100%; }

  .section { padding-block: 64px; }
  .why-grid { grid-template-columns: 1fr; }
  .prog-grid { grid-template-columns: 1fr; }
  .teams-grid { grid-template-columns: 1fr; }
  .teams-banner { flex-wrap: wrap; }
  .founding { padding: 18px 20px; }
  .cta-form input[type="email"], .cta-form select { flex-basis: 100%; }
  .cta-form .btn { flex-basis: 100%; }
  .footer-grid { flex-direction: column; }
}
