/* ============================================================
   WheyGPT — wheygpt.tikyaniapp.com
   Editorial almanac system: warm bone paper, one oxblood accent,
   Anton condensed display over Archivo text. Mirrors the iOS app
   design system (Style 6.1).
   ============================================================ */

:root {
  --bone: #F3F0E9;
  --surface: #FBFAF6;
  --cream: #F6F1EA;
  --ink: #1A1714;
  --ink-2: #6E675C;
  --ink-3: #9A9286;
  --ox: #9B3D2E;
  --ox-deep: #7E2F23;
  --ox-tint: #F3E2DE;
  --hairline: #E2DCD0;
  --divider: #DAD2C4;
  --ochre: #B5852A;
  --slate: #44505B;
  --success: #2E7D52;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-snap: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- Reset & base ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a { color: inherit; }

::selection { background: var(--ox); color: var(--cream); }

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

h1, h2, h3, h4 { margin: 0; }

p { margin: 0; }

section { position: relative; }

[id] { scroll-margin-top: 96px; }

/* Paper grain over everything */
.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll progress hairline */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--ox);
  z-index: 200;
}

/* ---------- Type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.92;
}

.kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ox);
  display: flex;
  align-items: center;
  gap: 14px;
}

.kicker .idx { color: var(--ink-3); }

.kicker::after {
  content: "";
  height: 1px;
  width: 56px;
  background: var(--ox);
  opacity: 0.5;
}

.kicker.on-dark { color: var(--cream); }
.kicker.on-dark .idx { color: rgba(246, 241, 234, 0.55); }
.kicker.on-dark::after { background: var(--cream); }

.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 34em;
}

.accent { color: var(--ox); }

/* ---------- Layout primitives ---------- */

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.rule { height: 1px; background: var(--hairline); border: 0; margin: 0; }

.rule-strong { height: 2px; background: var(--ink); border: 0; margin: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 999px;
  padding: 16px 28px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.2s ease;
  will-change: transform;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--ox);
  color: var(--cream);
  box-shadow: 0 10px 24px -10px rgba(155, 61, 46, 0.55);
}
.btn-primary:hover { box-shadow: 0 16px 32px -12px rgba(155, 61, 46, 0.6); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--divider);
}
.btn-ghost:hover { border-color: var(--ink); }

/* In the hero the ghost button sits beside the App Store badge (14px radius).
   Match the badge's radius and height so the pair reads as intentional,
   especially when they stack on mobile. */
.hero-ctas .btn {
  border-radius: 14px;
  padding: 17px 26px;
}

/* App Store button */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  border-radius: 14px;
  padding: 12px 22px 12px 18px;
  line-height: 1.1;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  box-shadow: 0 12px 28px -12px rgba(26, 23, 20, 0.5);
  will-change: transform;
}
.appstore:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(26, 23, 20, 0.55); }
.appstore svg { width: 26px; height: 26px; flex: none; }
.appstore .as-copy { display: flex; flex-direction: column; gap: 1px; text-align: left; }
.appstore .as-top { font-size: 11px; font-weight: 600; letter-spacing: 0.02em; opacity: 0.8; }
.appstore .as-main { font-family: var(--font-body); font-weight: 800; font-size: 17px; letter-spacing: 0.01em; }

.appstore.on-ox { background: var(--cream); color: var(--ink); box-shadow: 0 12px 28px -12px rgba(42, 12, 6, 0.6); }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav.is-scrolled {
  background: rgba(243, 240, 233, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--hairline);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 4px 10px -4px rgba(26, 23, 20, 0.4);
}

.brand .word {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a.link {
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 2px;
  width: 100%;
  background: var(--ox);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s var(--ease-out);
}

.nav-links a.link:hover { color: var(--ink); }
.nav-links a.link:hover::after { transform: scaleX(1); }

.nav-cta {
  text-decoration: none;
  background: var(--ox);
  color: var(--cream);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  box-shadow: 0 8px 18px -8px rgba(155, 61, 46, 0.55);
}
.nav-cta:hover { transform: translateY(-1px); }

@media (max-width: 820px) {
  .nav-links a.link { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(120px, 16vh, 170px);
  padding-bottom: 0;
  overflow: hidden;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.hero-meta .ox { color: var(--ox); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(32px, 5vh, 56px);
}

.hero-copy { padding-bottom: clamp(40px, 8vh, 96px); }

.hero h1 {
  font-size: clamp(58px, 9.2vw, 138px);
  margin: 26px 0 28px;
}

.hero h1 .line { display: block; overflow: hidden; }

.hero h1 .word {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 0.9s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes rise { to { transform: translateY(0); } }

.hero .lede { margin-bottom: 36px; }

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 600;
}

/* Hero phone stage */
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 12px 0 0;
}

/* Pip wave: a CSS sprite of the hand-drawn frames, driven by site.js.
   Only frames 0-9 are used, played ping-pong (out then back) so Pip waves
   instead of appearing to wipe. Sheet is a 6x2 grid (top two rows). */
.pip-wave {
  background-image: url("/assets/img/pip-wave-sheet.webp");
  background-repeat: no-repeat;
  background-size: 600% 200%;
  background-position: 0% 0%;
  aspect-ratio: 1 / 1;
}

.hero-stage .pip-wave {
  position: absolute;
  z-index: 3;
  width: clamp(120px, 12vw, 170px);
  right: max(-8px, -2vw);
  top: -34px;
  transform: rotate(6deg);
  filter: drop-shadow(0 14px 22px rgba(26, 23, 20, 0.25));
}

.hero-stage .stamp {
  position: absolute;
  z-index: 3;
  left: -10px;
  bottom: 96px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 18px 40px -18px rgba(26, 23, 20, 0.35);
  transform: rotate(-4deg);
}

.hero-stage .stamp .num {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: var(--ox);
}

.hero-stage .stamp .lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
}

/* ---------- Phone frame ---------- */

.phone {
  position: relative;
  width: min(320px, 78vw);
  aspect-ratio: 393 / 852;
  border-radius: 44px;
  background: var(--ink);
  padding: 10px;
  box-shadow:
    0 40px 80px -34px rgba(26, 23, 20, 0.55),
    0 12px 28px -14px rgba(26, 23, 20, 0.35),
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.14);
}

.phone .screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 35px;
  background: var(--bone);
}

.phone.sm { width: min(270px, 72vw); }

/* ---------- Marquee ---------- */

.marquee {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
  overflow: hidden;
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 36px;
}

.marquee-track span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ox);
  flex: none;
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding: clamp(84px, 12vh, 148px) 0; }

.section-head { max-width: 760px; }

.section-head h2 {
  font-size: clamp(42px, 5.6vw, 84px);
  margin: 22px 0 20px;
}

/* ---------- Problem band (oxblood) ---------- */

.problem {
  background: var(--ox);
  color: var(--cream);
  overflow: hidden;
}

.problem .band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

.problem .giant {
  font-family: var(--font-display);
  font-size: clamp(140px, 22vw, 320px);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--cream);
  display: flex;
  align-items: flex-start;
}

.problem .giant .pct {
  font-size: 0.38em;
  line-height: 1;
  margin-top: 0.18em;
}

.problem .giant-lbl {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 241, 234, 0.75);
  margin-top: 18px;
  max-width: 30em;
}

.problem h2 {
  font-size: clamp(38px, 4.6vw, 66px);
  color: var(--cream);
  margin: 22px 0 18px;
}

.problem .lede { color: rgba(246, 241, 234, 0.88); }

.problem .fine {
  margin-top: 26px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(246, 241, 234, 0.62);
  max-width: 34em;
}

.problem .rule { background: rgba(246, 241, 234, 0.25); }

/* ---------- Sticky scan feature ---------- */

.feature-pin { height: 340vh; }

.pin-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.pin-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
  width: 100%;
}

.steps { margin-top: 40px; display: flex; flex-direction: column; }

.step {
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
  opacity: 0.34;
  transition: opacity 0.45s ease;
}

.step-head {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: baseline;
}

.step.is-active { opacity: 1; }

/* Per-step screenshot: hidden on desktop (the pinned phone tells the story),
   shown as a static thumbnail on mobile and for reduced-motion users. */
.step-shot {
  display: none;
  width: 100%;
  max-width: 210px;
  margin: 22px auto 2px;
  border-radius: 30px;
  border: 8px solid var(--ink);
  box-shadow: 0 26px 50px -26px rgba(26, 23, 20, 0.4);
  background: var(--bone);
}

.step .n {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--ink-3);
  transition: color 0.45s ease;
}

.step.is-active .n { color: var(--ox); }

.step h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; }

.step p { font-size: 15px; color: var(--ink-2); max-width: 30em; }

.step-progress {
  height: 2px;
  background: var(--hairline);
  margin-top: 26px;
  position: relative;
  overflow: hidden;
}

.step-progress i {
  position: absolute;
  inset: 0;
  background: var(--ox);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* Swapping screens */
.swap-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.swap-stage .phone { position: relative; }

.swap-stage .shot {
  position: absolute;
  inset: 10px;
  border-radius: 35px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.swap-stage .shot img { width: 100%; height: 100%; object-fit: cover; }

.swap-stage .shot.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.swap-stage .shot-base { position: static; opacity: 0; visibility: hidden; }

/* ---------- Coach section ---------- */

.coach { background: var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

.coach-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
}

.coach-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 30px 0;
}

.chat-card {
  position: absolute;
  z-index: 3;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: 0 22px 44px -20px rgba(26, 23, 20, 0.3);
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  max-width: 230px;
}

.chat-card .who {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ox);
  margin-bottom: 7px;
}

.chat-card .who img { width: 18px; height: 18px; border-radius: 50%; }

.chat-card.q {
  background: var(--ox);
  color: var(--cream);
  border-color: var(--ox-deep);
}

.chat-card.c1 { top: 8px; left: max(0px, 2%); transform: rotate(-3deg); }
.chat-card.c2 { bottom: 130px; right: max(0px, 1%); transform: rotate(2.5deg); }
.chat-card.c3 { bottom: -6px; left: 6%; transform: rotate(-1.5deg); }

.coach-points { margin-top: 36px; display: grid; gap: 0; }

.point {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
  font-size: 15px;
  color: var(--ink-2);
}

.point:last-child { border-bottom: 1px solid var(--hairline); }

.point .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ox-tint);
  color: var(--ox);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  margin-top: 1px;
}

.point b { color: var(--ink); font-weight: 700; }

/* ---------- Progress section ---------- */

.progress-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.duo {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(12px, 2vw, 26px);
  padding: 20px 0 30px;
}

.duo .phone.a { margin-top: 56px; }
.duo .phone.b { margin-top: 0; }

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 38px;
  border-top: 2px solid var(--ink);
}

.stat {
  padding: 20px 18px 22px 0;
  border-bottom: 1px solid var(--hairline);
}

.stat:nth-child(odd) { border-right: 1px solid var(--hairline); }
.stat:nth-child(even) { padding-left: 18px; }

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 58px);
  line-height: 1;
  color: var(--ink);
}

.stat .num .unit { font-size: 0.5em; color: var(--ox); }

.stat .lbl {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---------- Habit cards (streak + reminders) ---------- */

.habits { background: var(--surface); border-top: 1px solid var(--hairline); }

.habit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
  margin-top: 56px;
}

.habit {
  border: 1px solid var(--hairline);
  background: var(--bone);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.habit:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(26, 23, 20, 0.3);
}

.habit .phone { width: 100%; max-width: 210px; justify-self: center; }

.habit h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 0.95;
  margin: 14px 0 12px;
}

.habit p { font-size: 14.5px; color: var(--ink-2); }

.habit .kicker { font-size: 10.5px; }
.habit .kicker::after { width: 34px; }

/* ---------- Gallery marquee ---------- */

.gallery { padding: clamp(84px, 12vh, 140px) 0 0; overflow: hidden; }

.gallery .section-head { margin-bottom: 54px; }

.shots-marquee { overflow: hidden; padding-bottom: clamp(84px, 12vh, 140px); }

.shots-track {
  display: flex;
  gap: clamp(18px, 2.4vw, 30px);
  width: max-content;
  animation: marquee 58s linear infinite;
  padding: 6px;
}

.shots-marquee:hover .shots-track { animation-play-state: paused; }

.shots-track img {
  width: clamp(220px, 24vw, 320px);
  border-radius: 20px;
  border: 1px solid var(--hairline);
  box-shadow: 0 24px 48px -26px rgba(26, 23, 20, 0.35);
}

/* ---------- Pricing ---------- */

.pricing { background: var(--ink); color: var(--cream); overflow: hidden; }

.pricing .kicker { color: var(--ochre); }
.pricing .kicker .idx { color: rgba(246, 241, 234, 0.4); }
.pricing .kicker::after { background: var(--ochre); }

.pricing h2 { color: var(--cream); }

.pricing .lede { color: rgba(246, 241, 234, 0.72); }

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

.plans { margin-top: 44px; border-top: 2px solid rgba(246, 241, 234, 0.9); }

.plan {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid rgba(246, 241, 234, 0.16);
}

.plan .name { font-weight: 800; font-size: 17px; }

.plan .meta { font-size: 13px; color: rgba(246, 241, 234, 0.55); margin-top: 5px; font-weight: 600; }

.plan .price {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1;
}

.plan .price .per { font-size: 0.42em; color: rgba(246, 241, 234, 0.55); letter-spacing: 0.04em; }

.plan .badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ox);
  color: var(--cream);
  border-radius: 999px;
  padding: 4px 10px;
  margin-left: 10px;
  vertical-align: middle;
}

.included { margin-top: 30px; display: grid; gap: 12px; }

.included li {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
  color: rgba(246, 241, 234, 0.85);
}

.included { padding-left: 0; }

.included li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ox);
  flex: none;
  transform: translateY(-2px);
}

.pricing .fine { margin-top: 26px; font-size: 12.5px; color: rgba(246, 241, 234, 0.5); max-width: 36em; line-height: 1.6; }

.pricing .fine a { color: rgba(246, 241, 234, 0.7); }

.pricing-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.pricing-stage .pip {
  width: clamp(220px, 22vw, 330px);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
}

.pricing-stage .orbit {
  position: absolute;
  inset: -8% -14%;
  border: 1px dashed rgba(246, 241, 234, 0.22);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- FAQ ---------- */

.faq .section-head { margin-bottom: 44px; }

.faq-list { border-top: 2px solid var(--ink); max-width: 860px; }

.faq-item { border-bottom: 1px solid var(--hairline); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 19px);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .x {
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--divider);
  border-radius: 50%;
  position: relative;
  transition: transform 0.4s var(--ease-out), background 0.3s ease, border-color 0.3s ease;
}

.faq-item summary .x::before,
.faq-item summary .x::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.6px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: background 0.3s ease;
}

.faq-item summary .x::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-item[open] summary .x {
  transform: rotate(135deg);
  background: var(--ox);
  border-color: var(--ox);
}

.faq-item[open] summary .x::before,
.faq-item[open] summary .x::after { background: var(--cream); }

.faq-item .a {
  padding: 0 44px 26px 4px;
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 46em;
}

.faq-item .a a { color: var(--ox); }

/* ---------- Final CTA ---------- */

.final {
  background: var(--ox);
  color: var(--cream);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.final h2 {
  font-size: clamp(52px, 8.4vw, 130px);
  color: var(--cream);
  margin: 18px auto 30px;
  max-width: 10em;
}

.final .lede { color: rgba(246, 241, 234, 0.85); margin: 0 auto 40px; }

.final .pip-final {
  width: clamp(120px, 13vw, 180px);
  margin: 0 auto 8px;
  filter: drop-shadow(0 18px 30px rgba(42, 12, 6, 0.5));
}

.final .kicker { justify-content: center; }
.final .kicker::before {
  content: "";
  height: 1px;
  width: 56px;
  background: var(--cream);
}

.final .hero-note { color: rgba(246, 241, 234, 0.65); }

/* ---------- Footer ---------- */

footer {
  background: var(--bone);
  padding: 72px 0 0;
  border-top: 1px solid var(--hairline);
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 64px;
}

.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

.foot-brand p { font-size: 14px; color: var(--ink-2); max-width: 24em; }

.foot-col h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}

.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.foot-col a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.foot-col a:hover { color: var(--ox); }

.foot-legal {
  border-top: 1px solid var(--hairline);
  padding: 22px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 600;
}

.watermark {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0.78;
  padding-top: 10px;
  user-select: none;
}

.watermark span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(88px, 17.6vw, 260px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ink);
  opacity: 0.07;
  text-align: center;
  transform: translateY(0.14em);
  white-space: nowrap;
}

/* ---------- Legal pages ---------- */

.legal-main { padding-top: clamp(130px, 18vh, 180px); padding-bottom: 90px; }

.legal-head { max-width: 820px; }

.legal-head h1 { font-size: clamp(46px, 7vw, 96px); margin: 22px 0 18px; }

.legal-head .updated {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.tldr {
  margin: 44px 0 0;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--ox);
  border-radius: 0 18px 18px 0;
  padding: 26px 30px;
  max-width: 820px;
}

.tldr h2 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ox);
  margin-bottom: 14px;
}

.tldr ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }

.tldr li { font-size: 15px; color: var(--ink-2); }

.legal-body { max-width: 820px; margin-top: 26px; }

.legal-section { padding: 34px 0 8px; border-top: 1px solid var(--hairline); margin-top: 34px; }

.legal-section:first-child { border-top: 0; margin-top: 0; }

.legal-section h2 {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: baseline;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.legal-section h2 .no {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15em;
  color: var(--ox);
}

.legal-section h3 { font-size: 17px; font-weight: 800; margin: 26px 0 10px; }

.legal-section p { margin: 0 0 16px; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }

.legal-section ul { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 8px; }

.legal-section li { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }

.legal-section b, .legal-section strong { color: var(--ink); }

.legal-section a { color: var(--ox); }

.legal-foot {
  margin-top: 54px;
  padding: 26px 30px;
  background: var(--ox-tint);
  border-radius: 18px;
  max-width: 820px;
  font-size: 15px;
  color: var(--ink-2);
}

.legal-foot a { color: var(--ox); font-weight: 700; }

/* ---------- Reveal system ---------- */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.reveal[data-reveal="left"] { transform: translateX(-40px); }
.reveal[data-reveal="right"] { transform: translateX(40px); }
.reveal[data-reveal="scale"] { transform: scale(0.92); }
.reveal[data-reveal="none"] { transform: none; }

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-rule {
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.1s var(--ease-snap);
  transition-delay: var(--d, 0s);
}

.reveal-rule.is-in { transform: scaleX(1); }

[data-parallax] { will-change: transform; }

/* Floating idle animation for Pip */
.float { animation: float 5.2s ease-in-out infinite; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero h1 { font-size: clamp(54px, 9vw, 108px); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 10px; }
  .hero-stage { padding: 40px 0 26px; }
  .hero-stage .pip-wave { right: 4vw; }
  .hero-stage .stamp { left: 4vw; }

  .problem .band-inner,
  .pin-grid,
  .coach-grid,
  .progress-grid,
  .pricing-grid { grid-template-columns: 1fr; }

  /* Section 02 goes fully static on mobile: no scroll takeover.
     The swapping phone is replaced by a screenshot under each step. */
  .feature-pin { height: auto; }
  .pin-stage { position: static; height: auto; }
  .swap-stage { display: none; }
  .step { opacity: 1; }
  .step .n { color: var(--ox); }
  .step-progress { display: none; }
  .step-shot { display: block; }

  .coach-stage { order: 2; margin-top: 30px; }

  .habit-grid { grid-template-columns: 1fr; }

  .duo { justify-content: center; }

  .pricing-stage { margin-top: 44px; }

  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hero-meta { flex-direction: column; gap: 4px; align-items: flex-start; }

  .habit { grid-template-columns: 1fr; }
  .habit .phone { max-width: 190px; }

  .duo { flex-wrap: wrap; }
  .duo .phone.a, .duo .phone.b { margin-top: 0; }

  .stat-row { grid-template-columns: 1fr; }
  .stat:nth-child(odd) { border-right: 0; }
  .stat:nth-child(even) { padding-left: 0; }

  .chat-card { position: static; transform: none !important; margin: 10px auto 0; max-width: 100%; }
  .coach-stage { flex-direction: column; align-items: center; }

  .foot-grid { grid-template-columns: 1fr; gap: 30px; }

  .plan { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal, .reveal-rule {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero h1 .word { transform: none; animation: none; }

  .marquee-track, .shots-track { animation: none; flex-wrap: wrap; width: auto; }

  .float, .pricing-stage .orbit { animation: none; }

  [data-parallax] { transform: none !important; }

  /* Same static treatment as mobile for section 02 */
  .feature-pin { height: auto; }
  .pin-stage { position: static; height: auto; }
  .swap-stage { display: none; }
  .step { opacity: 1 !important; }
  .step .n { color: var(--ox); }
  .step-progress { display: none; }
  .step-shot { display: block; }
}
