/* gainzbot.com home page. Shared tokens, header and footer live in /site.css. */

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---- Header (home) ---- */
.home-nav { display: none; }
.header-cta { margin-left: auto; }
@media (min-width: 1020px) {
  .home-nav { display: flex; }
  .header-cta { margin-left: 8px; }
}
.scroll-progress {
  position: absolute;
  inset: auto 0 -1px 0;
  height: 2px;
  background: var(--lime);
  transform-origin: 0 50%;
  transform: scaleX(0);
  opacity: 0;
}

/* ---- Display type ---- */
.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 1.35rem + 5.6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-variation-settings: "opsz" 96;
  color: var(--text);
}
.display .line { display: block; }
.display .hl { color: var(--ink); }
.display-s {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 72;
}
.lede {
  margin: 22px 0 0;
  max-width: 54ch;
  font-size: clamp(1.06rem, 0.98rem + 0.4vw, 1.3rem);
  line-height: 1.5;
  color: var(--text-2);
  text-wrap: pretty;
}

/* ---- Sections ---- */
.section { position: relative; padding-block: clamp(84px, 11vw, 168px); }
.section + .section:not(.dark) { border-top: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split.reverse > .copy { order: 2; }
}

.ticks { display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; max-width: 56ch; }
.ticks li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; color: var(--text-2); line-height: 1.5; }
.ticks li strong { color: var(--text); font-weight: 600; }
.ticks svg {
  width: 30px; height: 30px; padding: 6px;
  border-radius: 50%;
  color: var(--ink);
  background: color-mix(in oklab, var(--lime) 14%, transparent);
}
.ticks.compact { gap: 10px; margin-top: 16px; }
.ticks.compact li { grid-template-columns: 24px 1fr; gap: 10px; font-size: 15.5px; }
.ticks.compact svg { width: 24px; height: 24px; padding: 4px; }

/* ---- Devices (CSS-drawn frames around real captures) ---- */
.device { position: relative; }
.device.phone {
  width: min(340px, 72vw);
  padding: 3.2%;
  border-radius: 15% / 7%;
  background: linear-gradient(145deg, #3a3d42 0%, #17181b 30%, #0c0d0f 60%, #2b2d31 100%);
  box-shadow:
    0 0 0 1px #000,
    inset 0 0 0 1.5px rgb(255 255 255 / 0.14),
    var(--shadow),
    0 0 120px var(--glow);
}
.device.phone img { width: 100%; border-radius: 12.4% / 5.7%; background: #0a0b0d; }
.device.watch {
  width: min(208px, 40vw);
  padding: 7%;
  border-radius: 30% / 26%;
  background: linear-gradient(145deg, #45484d 0%, #1a1b1e 28%, #0d0e10 62%, #303236 100%);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.16), var(--shadow), 0 0 90px var(--glow);
}
.device.watch::after {
  content: "";
  position: absolute;
  right: -3.2%;
  top: 22%;
  width: 4.5%;
  height: 17%;
  border-radius: 4px;
  background: linear-gradient(90deg, #2a2c30, #4a4d52 60%, #1c1d20);
}
.device.watch img { width: 100%; border-radius: 22% / 18.5%; background: #000; }

/* ================= HERO ================= */
.hero {
  position: relative;
  overflow: clip;
  padding: clamp(40px, 7vw, 96px) 0 0;
  isolation: isolate;
}
.hero-bg, .coach-bg, .final-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-bg {
  background:
    radial-gradient(48% 42% at 76% 38%, rgb(198 255 61 / 0.17), transparent 70%),
    radial-gradient(40% 36% at 12% 96%, rgb(79 195 247 / 0.08), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 54px 54px;
  -webkit-mask-image: radial-gradient(90% 80% at 50% 40%, #000 30%, transparent 92%);
  mask-image: radial-gradient(90% 80% at 50% 40%, #000 30%, transparent 92%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
}
.hero .display { font-size: clamp(3.4rem, 1.2rem + 9vw, 8.4rem); line-height: 0.86; letter-spacing: -0.05em; }
.hero .lede { margin-top: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  color: var(--text-2);
}
.hero-facts li { display: inline-flex; align-items: center; gap: 6px; }
.hero-facts li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}
.hero-facts strong { color: var(--text); font-weight: 600; }

.hero-media {
  position: relative;
  width: min(100%, 540px);
  margin-inline: auto;
  perspective: 1400px;
}
.hero-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 34px;
  overflow: hidden;
  background: #0a0b0d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-out);
  /* Feather the edges so the rendered video melts into the page background. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(transparent, #000 7%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(transparent, #000 7%, #000 90%, transparent);
  mask-composite: intersect;
}
.hero-poster img, .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video { opacity: 0; transition: opacity 0.6s ease; }
.hero-video.is-ready { opacity: 1; }
.video-toggle {
  position: absolute;
  right: 6%;
  bottom: 5%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  background: rgb(10 11 13 / 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #f5f7f2;
  font: 500 13px/1 var(--font-body);
  cursor: pointer;
}
.video-toggle svg { width: 18px; height: 18px; }
.video-toggle .when-paused { display: none; }
.video-toggle[aria-pressed="true"] .when-paused { display: block; }
.video-toggle[aria-pressed="true"] .when-playing { display: none; }
.video-toggle:hover { background: rgb(10 11 13 / 0.8); }

/* Ticker of things you can say */
.ticker {
  display: flex;
  margin-top: clamp(48px, 7vw, 88px);
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track {
  display: flex;
  flex: none;
  gap: 0;
  margin: 0;
  padding: 18px 0;
  list-style: none;
  animation: ticker 48s linear infinite;
}
.ticker-track li {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font: 500 clamp(14px, 0.8rem + 0.3vw, 17px)/1.2 var(--font-mono);
  color: var(--text-2);
  white-space: nowrap;
}
.ticker-track li::after {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ================= 01 TALK ================= */
.talk-visual {
  position: relative;
  container-type: inline-size;
  display: grid;
  justify-items: center;
}
.talk-visual .phone { width: min(330px, 70vw); }
.food-card {
  position: relative;
  z-index: 2;
  width: min(100%, 400px);
  margin: -150px 0 0;
  background: transparent;
}
@container (min-width: 520px) {
  .talk-visual { justify-items: end; padding-right: 3%; }
  .food-card { position: absolute; left: 0; bottom: 9%; margin: 0; width: 370px; }
}
.said {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  border: 1px solid rgb(198 255 61 / 0.28);
  background: rgb(18 21 14 / 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.45);
  font: 600 16px/1.25 ui-rounded, "SF Pro Rounded", var(--font-body);
  color: #f5f7f2;
}
.said-mic {
  display: grid; place-items: center;
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--on-lime);
  box-shadow: 0 0 0 6px rgb(198 255 61 / 0.15);
}
.said-mic svg { width: 20px; height: 20px; }
.fc {
  padding: 20px 20px 18px;
  border-radius: 26px;
  border: 1px solid rgb(198 255 61 / 0.26);
  background: linear-gradient(160deg, #20281a 0%, #171a1c 46%, #15171b 100%);
  box-shadow: 0 40px 90px rgb(0 0 0 / 0.6), 0 0 70px rgb(198 255 61 / 0.1);
  font-family: ui-rounded, "SF Pro Rounded", var(--font-body);
  color: #f5f7f2;
}
.fc-head { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 19px; }
.fc-head svg { width: 20px; height: 20px; color: var(--lime); }
.fc-head strong { font-weight: 700; }
.fc-head span { font-size: 14px; color: #9ba19a; }
.fc-items { margin: 0; display: grid; gap: 12px; }
.fc-row { display: flex; justify-content: space-between; gap: 12px; }
.fc-row dt { font-size: 16px; font-weight: 600; line-height: 1.25; }
.fc-row dd { margin: 0; text-align: right; flex: none; }
.fc-row dd b { display: block; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.fc-row small { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 4px; font: 400 13px/1.3 var(--font-body); color: #9ba19a; }
.fc-row dd small { justify-content: flex-end; letter-spacing: 0.02em; }
.est { padding: 2px 8px; border-radius: 10px; background: #1f2228; color: #c5cac4; font-size: 11.5px; font-weight: 600; }
.fc-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  margin: 14px 0 0; padding-top: 12px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 16px;
}
.fc-total > span { color: #9ba19a; }
.fc-total b { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fc-total i { font-style: normal; margin-left: 6px; }
.fc-total em { font-style: normal; }
.fc-total .p em { color: var(--protein); }
.fc-total .c em { color: var(--carbs); }
.fc-total .f em { color: var(--fat); }
.fc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.fc-left { padding: 7px 12px; border-radius: 12px; background: rgb(0 0 0 / 0.3); font-size: 13.5px; font-weight: 600; }
.fc-left span { color: #9ba19a; font-weight: 500; }
.fc-left em { color: var(--protein); font-style: normal; }
.fc-btns { display: flex; gap: 8px; }
.fc-btns span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 16px; background: #1f2228; font-size: 13.5px; font-weight: 600; }
.fc-btns svg { width: 15px; height: 15px; }

.wrist { margin-top: clamp(64px, 9vw, 120px); }
.wrist-card {
  container-type: inline-size;
  display: grid;
  gap: 32px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(60% 80% at 85% 50%, var(--glow), transparent 70%),
    var(--surface);
  overflow: hidden;
}
@media (min-width: 820px) {
  .wrist-card { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
}
.wrist-copy p { color: var(--text-2); max-width: 46ch; margin: 0; }
.wrist-copy q { color: var(--text); font-weight: 600; quotes: "“" "”"; }
.wrist-visual { position: relative; display: grid; justify-items: center; padding: 20px 0; }
.wrist-visual .watch { width: min(200px, 52vw); }
.bubble {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 9px 14px;
  border-radius: 999px;
  font: 600 14.5px/1.2 var(--font-body);
  white-space: nowrap;
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.35);
}
.bubble svg { width: 18px; height: 18px; }
.said-bubble { left: 0; top: 10%; background: #12150e; color: #f5f7f2; border: 1px solid rgb(198 255 61 / 0.3); }
.said-bubble svg { color: var(--lime); }
.done-bubble { right: 0; bottom: 8%; background: var(--lime); color: var(--on-lime); }
@media (max-width: 420px) {
  .said-bubble { left: -4px; top: 0; }
  .done-bubble { right: -4px; bottom: 0; }
}

/* ================= 02 CALORIES ================= */
.steps { display: grid; gap: 18px; margin: 34px 0 0; padding: 0; list-style: none; max-width: 56ch; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; color: var(--text-2); line-height: 1.55; }
.steps strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.steps .n {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid color-mix(in oklab, var(--lime) 40%, var(--line));
  color: var(--ink);
  font: 600 15px/1 var(--font-mono);
}
.chart-card {
  margin: 0;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.chart-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 18px; }
.chart-title { font-family: var(--font-display); font-weight: 650; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--text); }
.chart-badge {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--raised);
  font: 500 11.5px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.panel + .panel { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.panel-label { display: flex; justify-content: space-between; margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--text); }
.panel-label .muted { font: 500 12px/1.4 var(--font-mono); color: var(--text-3); }
.plot { position: relative; padding-right: 46px; }
.chart { width: 100%; height: auto; overflow: visible; }
.chart .grid path { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.chart .dots circle { fill: color-mix(in oklab, var(--text-2) 55%, transparent); }
.chart .line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart .trend { stroke: var(--ink); stroke-width: 3; }
.chart .tdee { stroke: var(--ink); }
.chart .band { fill: color-mix(in oklab, var(--lime) 16%, transparent); }
.chart .target { stroke: var(--text); stroke-width: 2.5; }
.ylabels { position: absolute; inset: 0 0 0 auto; width: 44px; margin: 0; font: 500 11px/1 var(--font-mono); color: var(--text-3); }
.ylabels span { position: absolute; right: 0; transform: translateY(-50%); }
.ylabels.w span:nth-child(1) { top: 11.4%; }
.ylabels.w span:nth-child(2) { top: 48.2%; }
.ylabels.w span:nth-child(3) { top: 85.2%; }
.ylabels.k span:nth-child(1) { top: 18.1%; }
.ylabels.k span:nth-child(2) { top: 53.6%; }
.ylabels.k span:nth-child(3) { top: 89.2%; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0 0; font-size: 13.5px; color: var(--text-2); }
.legend b { color: var(--text); font-weight: 600; margin-right: 10px; font-variant-numeric: tabular-nums; }
.legend .k { display: inline-block; flex: none; }
.legend .li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.legend .li b { margin-right: 6px; }
.dot-k { width: 8px; height: 8px; border-radius: 50%; background: color-mix(in oklab, var(--text-2) 55%, transparent); }
.line-k { width: 18px; height: 3px; border-radius: 2px; background: var(--ink); }
.band-k { width: 18px; height: 10px; border-radius: 3px; background: color-mix(in oklab, var(--lime) 22%, transparent); box-shadow: inset 0 0 0 1.5px var(--ink); }
.step-k { width: 18px; height: 3px; border-radius: 2px; background: var(--text); }
.chart-x { display: flex; justify-content: space-between; margin: 14px 46px 0 0; font: 500 11.5px/1 var(--font-mono); color: var(--text-3); }
.chart-note { margin: 16px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }

/* ================= 03 TRAINING ================= */
.bento { display: grid; gap: 16px; }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .wide { grid-column: 1 / -1; }
}
@media (min-width: 1080px) {
  .bento { grid-template-columns: 1fr 1fr 1fr; }
  .bento .tall { grid-row: span 2; }
  .bento .wide { grid-column: 2 / 4; }
}
.tile {
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s;
}
.tile:hover { border-color: color-mix(in oklab, var(--lime) 35%, var(--line)); }
.tile h3, .mtile h3, .ptile h3, .plan h3, .plan-includes h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.32rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 36;
  color: var(--text);
}
.tile h3 svg, .mtile h3 svg { width: 22px; height: 22px; flex: none; color: var(--ink); }
.tile p, .mtile p, .ptile p { margin: 0; color: var(--text-2); line-height: 1.55; }
.tile-shot.phone { width: min(80%, 300px); margin: 6px auto -130px; align-self: center; }
@media (min-width: 1080px) { .tile.tall .tile-shot.phone { width: min(86%, 330px); margin-bottom: -60px; } }
.tile-crop {
  margin: auto calc(-1 * clamp(22px, 3vw, 30px)) calc(-1 * clamp(22px, 3vw, 30px));
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: #0a0b0d;
}
.tile-crop picture { height: 100%; }
.tile-crop img { width: 100%; height: 100%; object-fit: cover; }
.crop-block img { object-position: 50% 50%; }
.crop-adjust img { object-position: 50% 20%; }
.mini-chat { display: grid; gap: 8px; margin-top: 18px; font-size: 14.5px; }
.mini-chat p { margin: 0; padding: 10px 14px; border-radius: 18px; max-width: 34ch; line-height: 1.4; }
.mini-chat .me { justify-self: end; background: var(--lime); color: var(--on-lime); font-weight: 500; border-bottom-right-radius: 6px; }
.mini-chat .bot { display: flex; gap: 8px; background: var(--raised); color: var(--text); border-bottom-left-radius: 6px; }
.mini-chat .bot svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--ink); }
.tile.wide .tile-shot.short { max-height: 380px; margin-bottom: -40px; overflow: hidden; }
@media (min-width: 760px) {
  .tile.wide { flex-direction: row; align-items: flex-start; gap: 32px; max-height: 460px; }
  .tile.wide .tile-copy { flex: 1 1 auto; align-self: center; }
  .tile.wide .tile-shot.short { flex: 0 0 min(38%, 280px); width: min(38%, 280px); max-height: none; margin: 0 0 -400px; }
}

/* ================= 04 WATCH ================= */
.watch-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 2vw, 22px);
  padding-block: 24px;
}
.watch-row .watch { width: min(190px, 27vw); flex: none; }
.watch-row .w1 { translate: 0 28px; }
.watch-row .w2 { translate: 0 -20px; z-index: 1; width: min(214px, 31vw); }
.watch-row .w3 { translate: 0 36px; }
.island-shot { margin-top: 30px; max-width: 360px; }
.island-shot img { border-radius: 999px; box-shadow: 0 0 0 1px var(--line), 0 0 50px var(--glow); }

/* ================= 05 COACH ================= */
.coach { overflow: clip; isolation: isolate; }
.coach-bg {
  background:
    radial-gradient(50% 50% at 85% 30%, rgb(198 255 61 / 0.14), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgb(185 140 255 / 0.08), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 54px 54px;
}
.math-box {
  margin-top: 34px;
  padding: 22px;
  border: 1px solid rgb(198 255 61 / 0.25);
  border-radius: 24px;
  background: rgb(198 255 61 / 0.05);
}
.math-box p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
.math-box .math-title { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--text); font-weight: 600; font-size: 16.5px; }
.math-title svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--lime); color: var(--on-lime); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font: 500 12.5px/1.2 var(--font-mono); color: var(--text); }

.day { position: relative; display: grid; gap: 18px; margin: 0; padding: 0 0 0 28px; list-style: none; }
.day::before {
  content: "";
  position: absolute;
  left: 6px; top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--lime), rgb(198 255 61 / 0.05));
  border-radius: 2px;
}
.note { position: relative; }
.note::before {
  content: "";
  position: absolute;
  left: -27px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--lime);
}
.when { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font: 500 12.5px/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.when span { color: var(--lime); }
.msg {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.055);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 20px 50px rgb(0 0 0 / 0.35);
}
.msg p { margin: 0; font-size: 15.5px; line-height: 1.45; color: #e6e9e3; }
.msg strong { color: #fff; }
.app-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #15171b; border: 2px solid var(--lime); color: var(--lime); }
.app-ico svg { width: 20px; height: 20px; }
.coach-fine { margin: clamp(40px, 6vw, 64px) auto 0; font-size: 13.5px; color: var(--text-2); }

/* ================= 06 MORE ================= */
.grid-more { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 680px) {
  .grid-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-more .media:first-child { grid-column: 1 / -1; }
}
@media (min-width: 1080px) {
  .grid-more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-more .media:first-child { grid-column: auto; grid-row: span 2; }
}
.mtile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  overflow: hidden;
}
.mtile.media picture { max-width: none; margin: auto -24px -24px; padding-top: 20px; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 4px; }
.photo-row span {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 3 / 4;
  padding: 8px;
  border-radius: 14px;
  background:
    radial-gradient(28% 16% at 50% 24%, rgb(198 255 61 / 0.75) 60%, transparent 62%),
    radial-gradient(34% 40% at 50% 66%, rgb(198 255 61 / 0.55) 60%, transparent 62%),
    #1f2228;
  font: 500 11px/1.2 var(--font-mono);
  color: #c5cac4;
}
.photo-row span::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: rgb(21 23 27 / 0.25);
}
.photo-row small { position: relative; z-index: 1; font: inherit; }
.mtile.media img { width: 100%; border-top: 1px solid var(--line); background: #0a0b0d; }

/* ================= 07 PRIVACY ================= */
.privacy-grid { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 680px) { .privacy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .privacy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ptile { padding: 26px; border-radius: 26px; border: 1px solid var(--line); background: var(--surface); }
.pico {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: color-mix(in oklab, var(--lime) 14%, transparent);
  color: var(--ink);
}
.pico svg { width: 24px; height: 24px; }

/* ================= 08 PRICING ================= */
.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1fr 1.1fr; } }
.plan, .plan-includes {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
}
.plan.best {
  border-color: color-mix(in oklab, var(--lime) 55%, transparent);
  background:
    radial-gradient(90% 70% at 100% 0%, var(--glow), transparent 70%),
    var(--surface);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--lime) 30%, transparent), var(--shadow);
}
.ribbon {
  position: absolute;
  top: 26px; right: 26px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--on-lime);
  font: 600 11.5px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 6px; }
.price .amt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 2.4rem + 2vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-variation-settings: "opsz" 96;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.price .per { color: var(--text-2); font-size: 16px; }
.plan-sub { margin: 0 0 26px; color: var(--text-2); }
.soon-btn { margin-top: auto; justify-content: center; white-space: normal; text-align: center; }
.plan-includes { background: transparent; border-style: dashed; }
.price-fine { max-width: 86ch; margin: 28px auto 0; text-align: center; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }

/* ================= 09 FAQ ================= */
@media (min-width: 960px) {
  .faq-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
  .faq-grid .section-head { position: sticky; top: 110px; }
}
.faq-grid .section-head p:last-child { margin-top: 22px; color: var(--text-2); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  display: block;
  padding: 22px 48px 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 36;
  color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list summary:hover { color: var(--ink); }
.faq-list details > div { padding: 0 0 24px; max-width: 64ch; color: var(--text-2); }
.faq-list details p { margin: 0; }
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-list details::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.35s var(--ease-out), content-visibility 0.35s allow-discrete;
  }
  .faq-list details[open]::details-content { height: auto; }
}

/* ================= FINAL ================= */
.final { position: relative; overflow: clip; isolation: isolate; padding-block: clamp(96px, 14vw, 200px); text-align: center; }
.final-bg {
  background:
    radial-gradient(50% 60% at 50% 55%, rgb(198 255 61 / 0.2), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 54px 54px;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000 30%, transparent 90%);
  mask-image: radial-gradient(70% 80% at 50% 50%, #000 30%, transparent 90%);
}
.final-inner { display: grid; justify-items: center; }
.final-icon { width: 88px; height: 88px; margin-bottom: 30px; border-radius: 24px; box-shadow: 0 0 80px rgb(198 255 61 / 0.35); }
.final .display { font-size: clamp(3.2rem, 1.2rem + 8vw, 8rem); line-height: 0.86; letter-spacing: -0.05em; }
.final .lede { margin: 24px auto 32px; text-align: center; }

/* ================= Motion ================= */
/* Everything is visible by default. Scroll-driven motion only where supported and wanted. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
    @keyframes reveal {
      from { opacity: 0; transform: translateY(48px); }
      to { opacity: 1; transform: none; }
    }

    .tilt {
      animation: tilt linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 45%;
    }
    @keyframes tilt {
      from { transform: perspective(1400px) rotateX(22deg) rotateZ(-3deg) translateY(80px) scale(0.92); }
      to { transform: perspective(1400px) rotateX(0) rotateZ(0) translateY(0) scale(1); }
    }
    .food-card {
      animation: float-in linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 50%;
    }
    @keyframes float-in {
      from { opacity: 0; transform: translate(-30px, 70px) scale(0.9); }
      to { opacity: 1; transform: none; }
    }

    .drift-1, .drift-2, .drift-3 {
      animation: drift linear both;
      animation-timeline: view();
    }
    .drift-2 { animation-name: drift-2; }
    .drift-3 { animation-name: drift-3; }
    @keyframes drift { from { transform: translateY(70px) rotate(-4deg); } to { transform: translateY(-50px) rotate(0deg); } }
    @keyframes drift-2 { from { transform: translateY(30px); } to { transform: translateY(-30px); } }
    @keyframes drift-3 { from { transform: translateY(110px) rotate(4deg); } to { transform: translateY(-70px) rotate(0deg); } }

    .chart .draw {
      stroke-dasharray: 1;
      animation: draw linear both;
      animation-timeline: view();
      animation-range: entry 30% cover 55%;
    }
    @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

    .hero-copy, .hero-media {
      animation: hero-out linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }
    @keyframes hero-out { to { opacity: 0.15; transform: translateY(-60px) scale(0.97); } }
  }

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

  /* Load-in for the hero (time-based, short). */
  .hero-copy > * { animation: rise 0.9s var(--ease-out) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.14s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.2s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.26s; }
  .hero-stage { animation: rise 1.1s 0.1s var(--ease-out) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } }
}

@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; }
  .ticker-track { animation: none; flex-wrap: nowrap; }
  .ticker-track[aria-hidden="true"] { display: none; }
  .hero-stage { transform: none; transition: none; }
}


/* ---- Small screens ---- */
@media (max-width: 600px) {
  .hero .display, .final .display { font-size: clamp(3.4rem, 17vw, 6rem); }
}
@media (max-width: 480px) {
  .cta-row .btn { width: 100%; justify-content: center; }
  .section-head { margin-bottom: 36px; }
  .said { font-size: 15px; }
  .fc { padding: 16px 16px 14px; }
}
