/* ==========================================================================
   Fitness Journey Pro: shared styles
   Warm and playful, but calm: hairline borders, soft shadows, system type.
   No framework, no build step.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ember: #FF6B3D;
  --ember-deep: #C93E12;   /* AA text on cream */
  --lime: #B8F135;
  --lime-deep: #7FB800;
  --grape: #7B5CFF;
  --grape-deep: #5A3FE0;
  --sky: #3DB8FF;
  --gum: #FF5FA2;
  --cream: #FFF8F0;
  --ink: #14121F;

  --bg: var(--cream);
  --bg-alt: #FFEFE2;
  --surface: #FFFFFF;
  --surface-2: #FFF3E8;
  --text: var(--ink);
  --muted: #4A4560;
  --line: rgba(20, 18, 31, .10);
  --line-strong: rgba(20, 18, 31, .18);
  --shadow: rgba(20, 18, 31, .10);
  --shadow-sm: 0 1px 2px rgba(20, 18, 31, .06), 0 4px 14px rgba(20, 18, 31, .06);
  --shadow-md: 0 2px 6px rgba(20, 18, 31, .05), 0 14px 36px rgba(20, 18, 31, .10);
  --shadow-lg: 0 6px 16px rgba(20, 18, 31, .08), 0 30px 70px rgba(20, 18, 31, .16);
  --link: var(--ember-deep);
  --focus: var(--grape);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --border: 1px;
  --lift: 0px;

  --font-head: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--ink);
    --bg-alt: #1B1829;
    --surface: #221F33;
    --surface-2: #2A2640;
    --text: var(--cream);
    --muted: #CFC8DE;
    --line: rgba(255, 255, 255, .10);
    --line-strong: rgba(255, 255, 255, .18);
    --shadow: rgba(0, 0, 0, .4);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 14px rgba(0, 0, 0, .25);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, .3), 0 14px 36px rgba(0, 0, 0, .35);
    --shadow-lg: 0 6px 16px rgba(0, 0, 0, .35), 0 30px 70px rgba(0, 0, 0, .45);
    --link: #FF946E;
    --focus: var(--lime);
  }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 88px; }
a { color: var(--link); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
strong { font-weight: 650; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--ink); font-weight: 650;
  padding: .6rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(64px, 10vw, 120px); position: relative; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section--ink {
  background: var(--ink); color: var(--cream);
  border-block: 1px solid var(--line);
  --muted: #CFC8DE; --link: #FF946E; --surface: #221F33; --surface-2: #2A2640; --text: var(--cream);
  --line: rgba(255, 255, 255, .12); --shadow: rgba(0, 0, 0, .4);
}
@media (prefers-color-scheme: dark) {
  .section--ink { background: #0C0B14; border-color: var(--line); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .08em; font-size: .78rem;
  background: color-mix(in srgb, var(--lime) 35%, var(--surface)); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .25rem .85rem; margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.eyebrow--grape { background: color-mix(in srgb, var(--grape) 18%, var(--surface)); color: var(--grape-deep); }
.eyebrow--sky { background: color-mix(in srgb, var(--sky) 22%, var(--surface)); }
.eyebrow--gum { background: color-mix(in srgb, var(--gum) 22%, var(--surface)); }
.eyebrow--ember { background: color-mix(in srgb, var(--ember) 22%, var(--surface)); }
@media (prefers-color-scheme: dark) {
  .eyebrow, .eyebrow--grape, .eyebrow--sky, .eyebrow--gum, .eyebrow--ember { color: var(--text); }
}
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 40em; }
.mark {
  background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%);
  padding-inline: .08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
@media (prefers-color-scheme: dark) {
  .mark { background: none; color: var(--lime); }
}
.section--ink .mark { background: none; color: var(--lime); }
.center { text-align: center; }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 6vw, 64px); text-align: center; }
.section-head .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ember);
  --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; line-height: 1.2;
  padding: .85rem 1.35rem; min-height: 48px;
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none;
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn--lime { --btn-bg: var(--lime); }
.btn--ghost { --btn-bg: var(--surface); --btn-fg: var(--text); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { box-shadow: var(--shadow-md); }
.btn--small { font-size: .95rem; padding: .55rem .95rem; min-height: 42px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn small { display: block; font-family: var(--font-body); font-weight: 700; font-size: .72rem; opacity: .85; }
.btn-store { text-align: left; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-note { font-size: .9rem; color: var(--muted); margin-top: .9rem; }

/* ---------- Cards / chips ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 32px);
}
.card--lime { background: var(--lime); color: var(--ink); }
.card--grape { background: var(--grape); color: #fff; }
.card--sky { background: var(--sky); color: var(--ink); }
.card--gum { background: var(--gum); color: var(--ink); }
.card--ember { background: var(--ember); color: var(--ink); }
.card--lime, .card--sky, .card--gum, .card--ember { --muted: #2B2838; --link: var(--ink); }
.card--grape { --muted: #F1EDFF; --link: #fff; }
.chip {
  display: inline-flex; align-items: center; gap: .35em;
  font-weight: 650; font-size: .88rem; line-height: 1;
  padding: .45rem .75rem; border-radius: 999px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line);
}
.chip--on { background: var(--ember); color: var(--ink); border-color: transparent; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block; font-weight: 650; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 8px; background: var(--ink); color: var(--lime);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--text); text-decoration: none;
  line-height: 1;
}
.brand svg { width: 44px; height: 44px; flex: none; }
.brand span span { color: var(--link); }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.site-nav ul { display: flex; align-items: center; gap: clamp(8px, 2vw, 22px); list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) {
  color: var(--text); font-weight: 650; text-decoration: none; padding: .4rem .2rem;
  border-bottom: 3px solid transparent;
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--ember); }

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px;
    display: none;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .js .site-nav a:not(.btn) { display: block; padding: .8rem .25rem; border-bottom: 2px dashed color-mix(in srgb, var(--line) 30%, transparent); }
  .js .site-nav .btn { width: 100%; margin-top: 10px; }
  .site-nav ul { flex-wrap: wrap; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: var(--cream);
  border-top: var(--border) solid var(--line);
  padding-block: 56px 32px;
  --link: #FFB79E;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; color: var(--lime); margin-bottom: .8em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-grid a { color: var(--cream); font-weight: 700; text-decoration: none; }
.footer-grid a:hover { color: var(--lime); text-decoration: underline; }
.site-footer .brand { color: var(--cream); }
.site-footer .brand span span { color: var(--ember); }
.footer-tagline { color: #CFC8DE; margin-top: 1rem; max-width: 34em; }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 2px dashed #3A3550; font-size: .85rem; color: #B9B1CC; }
.footer-legal p { margin-bottom: .5em; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 90px) clamp(64px, 9vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 1.6rem; }
.hero-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points li { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; font-size: .95rem; }
.hero-points svg { width: 22px; height: 22px; flex: none; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.hero-blob {
  position: absolute; inset: 6% 2% 2% 6%;
  background: var(--lime); border: 1px solid var(--line);
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  box-shadow: var(--shadow-lg);
}
@media (prefers-color-scheme: dark) { .hero-blob { background: var(--grape); box-shadow: var(--shadow-lg); } }
.hero-pip {
  position: absolute; width: clamp(110px, 13vw, 160px); left: -4%; bottom: -2%; z-index: 3;
  filter: drop-shadow(0 10px 18px rgba(20,18,31,.18));
  animation: bob 3.2s ease-in-out infinite;
}
.sticker {
  position: absolute; z-index: 3;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: .55rem .8rem; font-weight: 650; font-size: .9rem; line-height: 1.25;
  display: flex; align-items: center; gap: .5rem;
}
.sticker svg { width: 26px; height: 26px; flex: none; }
.sticker--a { top: 8%; right: -1%; transform: rotate(4deg); background: var(--sky); color: var(--ink); }
.sticker--b { top: 40%; right: -4%; transform: rotate(-3deg); background: var(--gum); color: var(--ink); }
.sticker--c { top: 52%; left: -2%; transform: rotate(-5deg); background: var(--surface); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }

/* ---------- Phone mockup (app UI rendered in HTML/CSS) ---------- */
.phone {
  --ph-bg: #FFF8F0; --ph-ink: #14121F; --ph-line: rgba(20, 18, 31, .12); --ph-muted: #5B5670; --ph-card: #FFFFFF;
  position: relative; z-index: 2;
  width: min(300px, 78vw); aspect-ratio: 300 / 620;
  background: var(--ph-ink);
  border-radius: 48px; padding: 11px;
  box-shadow: var(--shadow-lg);
  color: var(--ph-ink);
  font-family: var(--font-body);
}
.phone-screen {
  position: relative; height: 100%; overflow: hidden;
  background: var(--ph-bg); border-radius: 38px;
  display: flex; flex-direction: column;
  font-size: 12px; line-height: 1.3;
}
.phone-island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #000; border-radius: 20px; z-index: 2; }
.phone-status { display: flex; justify-content: space-between; align-items: center; padding: 13px 24px 0; font-weight: 650; font-size: 12.5px; height: 40px; }
.phone-status .bars { display: flex; gap: 4px; align-items: center; }
.phone-status .bars i { display: block; width: 16px; height: 9px; border: 1.5px solid var(--ph-ink); border-radius: 3px; position: relative; }
.phone-status .bars i::after { content: ""; position: absolute; inset: 1px 4px 1px 1px; background: var(--ph-ink); border-radius: 1px; }
.phone-status .bars b { display: block; width: 14px; height: 9px; background: linear-gradient(90deg, var(--ph-ink) 0 3px, transparent 3px 4px, var(--ph-ink) 4px 7px, transparent 7px 8px, var(--ph-ink) 8px 11px, transparent 11px 12px, var(--ph-ink) 12px 14px); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.phone-body { flex: 1; padding: 6px 14px 0; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.app-top { display: flex; justify-content: space-between; align-items: center; }
.app-top h3 { font-size: 19px; margin: 0; color: var(--ph-ink); }
.app-top p { margin: 0; color: var(--ph-muted); font-weight: 700; font-size: 11px; }
.streak-pill { display: inline-flex; align-items: center; gap: 3px; background: #FFE0D4; border: 1px solid var(--ph-line); border-radius: 999px; padding: 3px 8px 3px 5px; font-weight: 650; font-size: 11.5px; }
.streak-pill svg { width: 15px; height: 15px; }
.app-card { background: var(--ph-card); border: 1px solid var(--ph-line); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 9px 10px; }
.coach-card { display: flex; gap: 8px; align-items: center; background: #F1FCD9; }
.coach-card svg { width: 52px; height: 52px; flex: none; }
.coach-card p { margin: 0; font-weight: 650; font-size: 11.5px; }
.coach-card small { display: block; color: var(--ph-muted); font-weight: 700; font-size: 10px; margin-top: 2px; }
.rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.ring {
  --p: 50; --c: var(--ember);
  width: 58px; aspect-ratio: 1; margin: 0 auto 4px; border-radius: 50%;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), #EFE6DA 0);
  display: grid; place-items: center; border: 1px solid var(--ph-line);
}
.ring::before { content: ""; grid-area: 1 / 1; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--ph-card); border: 1px solid var(--ph-line); }
.ring span { grid-area: 1 / 1; position: relative; font-weight: 650; font-size: 10.5px; }
.rings b { display: block; font-size: 11px; font-weight: 650; }
.rings small { color: var(--ph-muted); font-weight: 700; font-size: 9.5px; }
.xp-row { display: flex; justify-content: space-between; font-weight: 650; font-size: 11px; margin-bottom: 5px; }
.xp-row span:last-child { color: var(--ph-muted); }
.xp-bar { height: 11px; border: 1px solid var(--ph-line); border-radius: 999px; background: #EFE6DA; overflow: hidden; }
.xp-bar i { display: block; height: 100%; width: 64%; background: repeating-linear-gradient(-45deg, var(--grape) 0 6px, #9378FF 6px 12px); border-right: 1px solid var(--ph-line); }
.quests h4 { font-size: 12.5px; margin: 0 0 6px; color: var(--ph-ink); }
.quest { display: flex; align-items: center; gap: 7px; padding: 4px 0; font-weight: 650; font-size: 11.5px; }
.quest + .quest { border-top: 1.5px dashed #E2D7C9; }
.quest .box { width: 17px; height: 17px; border: 1px solid var(--ph-line); border-radius: 6px; flex: none; display: grid; place-items: center; }
.quest.done .box { background: var(--lime); }
.quest.done .box::after { content: ""; width: 7px; height: 4px; border-left: 1px solid var(--ph-line); border-bottom: 1px solid var(--ph-line); transform: rotate(-45deg) translate(1px, -1px); }
.quest.done span:not(.xp) { text-decoration: line-through; color: var(--ph-muted); }
.quest .xp { margin-left: auto; font-size: 10px; font-weight: 650; color: var(--grape-deep); background: #ECE7FF; border-radius: 6px; padding: 2px 5px; }
.tabbar { margin-top: auto; display: grid; grid-template-columns: repeat(5, 1fr); padding: 7px 8px 16px; border-top: 1px solid var(--ph-line); background: var(--ph-card); }
.tabbar span { display: grid; justify-items: center; gap: 2px; font-size: 9px; font-weight: 650; color: var(--ph-muted); }
.tabbar span.on { color: var(--ember-deep); }
.tabbar svg { width: 20px; height: 20px; }

/* ---------- Feature quick nav ---------- */
.feature-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.feature-nav a {
  display: inline-flex; align-items: center; gap: .45em; text-decoration: none;
  font-family: var(--font-head); font-weight: 600; color: var(--ink);
  padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-sm); background: var(--surface);
  transition: transform .15s ease, box-shadow .15s ease;
}
@media (prefers-color-scheme: dark) { .feature-nav a { color: var(--text); border-color: var(--line); box-shadow: var(--shadow-sm); } }
.feature-nav a:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.feature-nav a:nth-child(6n+1) { background: var(--lime); color: var(--ink); }
.feature-nav a:nth-child(6n+2) { background: var(--sky); color: var(--ink); }
.feature-nav a:nth-child(6n+3) { background: var(--gum); color: var(--ink); }
.feature-nav a:nth-child(6n+4) { background: var(--ember); color: var(--ink); }
.feature-nav a:nth-child(6n+5) { background: #C9B8FF; color: var(--ink); }

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 12vw, 140px); }
.feature--flip .feature-copy { order: 2; }
.feature-copy h2 { margin-bottom: .4em; }
.feature-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.feature-list li { display: grid; grid-template-columns: 30px 1fr; gap: .6rem; align-items: start; }
.feature-list li::before {
  content: ""; width: 26px; height: 26px; margin-top: 1px;
  border: 1px solid var(--line-strong); border-radius: 9px; background: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2314121F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 20px; background-position: center; background-repeat: no-repeat;
}
.feature-visual { position: relative; }
.footnote { font-size: .85rem; color: var(--muted); margin-top: 1rem; }

/* Plan / onboarding */
.plan-stack { display: grid; gap: 18px; }
.plan-step-label { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--muted); margin: 0 0 .6rem; }
.vibes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vibe { border: 1px solid var(--line); border-radius: 18px; padding: 10px 8px 12px; text-align: center; background: var(--surface-2); color: var(--text); }
.vibe svg { width: 64px; height: 64px; margin: 0 auto 4px; }
.vibe b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.vibe small { color: var(--muted); font-weight: 700; font-size: .8rem; line-height: 1.25; display: block; }
.vibe--on { background: var(--lime); color: var(--ink); box-shadow: var(--shadow-sm); --muted: #2B2838; }
.plan-result { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.plan-result div { background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); border-radius: 14px; padding: 10px 8px; text-align: center; }
.plan-result b { display: block; font-family: var(--font-head); font-size: 1.35rem; line-height: 1.1; }
.plan-result small { font-weight: 650; font-size: .75rem; color: var(--muted); }

/* Daily Mirror */
.mirror-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; }
.cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 8px; margin-bottom: 10px; }
.cal-head h3 { margin: 0; font-size: 1.15rem; }
.cal-head small { font-weight: 650; font-size: .8rem; color: var(--muted); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal .dow { font-size: .7rem; font-weight: 650; text-align: center; color: var(--muted); }
.cal .day {
  aspect-ratio: 3 / 4; border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface-2); position: relative; overflow: hidden;
}
.cal .day.shot { background: linear-gradient(160deg, #FFD2C2, #FFB3A0); border-color: transparent; }
.cal .day.shot::after {
  content: ""; position: absolute; left: 50%; bottom: -8%; width: 52%; height: 78%; transform: translateX(-50%);
  background: radial-gradient(circle at 50% 18%, var(--ink) 0 17%, transparent 18%),
              radial-gradient(ellipse at 50% 85%, var(--ink) 0 48%, transparent 49%);
  opacity: .55;
}
.cal .day.shot:nth-child(3n)  { background: linear-gradient(160deg, #D9F7A6, #B8F135); }
.cal .day.shot:nth-child(4n)  { background: linear-gradient(160deg, #CFEAFF, #8ED3FF); }
.cal .day.shot:nth-child(5n)  { background: linear-gradient(160deg, #E4DCFF, #B9A8FF); }
.cal .day.today { outline: 3px solid var(--ember); outline-offset: 1px; }
.cal .day.empty { background: transparent; border-style: dashed; opacity: .55; }
.ghost-cam {
  position: relative; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, #2B2740, #14121F); border: 1px solid var(--line);
}
.ghost-cam svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ghost-cam .live { animation: align 4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes align { 0%, 15% { transform: translate(14px, 4px) rotate(3deg); } 55%, 100% { transform: translate(0, 0) rotate(0); } }
.ghost-cam .cam-label {
  position: absolute; left: 10px; right: 10px; top: 10px; text-align: center;
  font-weight: 650; font-size: .78rem; color: var(--ink); background: var(--lime);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: .25rem .5rem;
}
.ghost-cam .shutter { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 4px solid var(--ember); box-shadow: var(--shadow-sm); }

/* Compare slider */
.compare { margin-top: 18px; }
.compare-frame {
  --pos: 50%;
  position: relative; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); background: #FFE5D9; user-select: none;
}
.compare-frame .layer { position: absolute; inset: 0; }
.compare-frame .layer svg { width: 100%; height: 100%; }
.compare-frame .after { clip-path: inset(0 0 0 var(--pos)); }
.compare-frame .divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--ink); pointer-events: none; }
.compare-frame .handle {
  position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--lime); border: 1px solid var(--line-strong);
  display: grid; place-items: center; pointer-events: none; box-shadow: var(--shadow-sm);
}
.compare-frame .handle svg { width: 24px; height: 24px; }
.compare-frame .label {
  position: absolute; bottom: 10px; font-weight: 650; font-size: .8rem; background: var(--surface); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: .2rem .6rem; pointer-events: none;
}
.compare-frame .label--before { left: 10px; }
.compare-frame .label--after { right: 10px; }
.compare-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.compare-range:focus-visible + .divider { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Apple Health */
.health-flow { display: grid; gap: 14px; }
.health-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; }
.health-node { text-align: center; padding: 14px 10px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); font-weight: 650; font-size: .9rem; line-height: 1.25; }
.health-node svg { width: 40px; height: 40px; margin: 0 auto 6px; }
.health-node--health { background: var(--gum); color: var(--ink); }
.health-node--app { background: var(--ember); color: var(--ink); }
.health-arrow { width: 34px; height: 24px; color: var(--text); }
.health-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.health-tile { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 16px; border: 2.5px solid var(--line); background: var(--surface); }
.health-tile svg { width: 34px; height: 34px; flex: none; }
.health-tile b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; line-height: 1.15; }
.health-tile small { color: var(--muted); font-weight: 700; font-size: .8rem; }
.dir { font-size: .7rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; padding: .1rem .4rem; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--ink); margin-left: .25rem; white-space: nowrap; }
.dir--in { background: var(--sky); }
.dir--out { background: var(--lime); }

/* AI calories */
.meal-chat { display: grid; gap: 12px; }
.bubble { max-width: 88%; padding: 12px 14px; border-radius: 18px; border: 1px solid var(--line); font-weight: 700; }
.bubble--me { justify-self: end; background: var(--sky); color: var(--ink); border-bottom-right-radius: 6px; }
.bubble--pip { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); color: var(--text); border-bottom-left-radius: 6px; border-color: var(--line); }
.bubble--pip svg { width: 40px; height: 40px; flex: none; }
.macro-card { border: 1px solid var(--line); border-radius: 20px; padding: 16px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-md); }
.macro-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.macro-kcal { font-family: var(--font-head); font-weight: 700; font-size: 2.1rem; line-height: 1; }
.macro-kcal small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.macro { border: 1px solid var(--line-strong); border-radius: 14px; padding: 8px 10px; color: var(--ink); }
.macro b { display: block; font-family: var(--font-head); font-size: 1.25rem; }
.macro small { font-weight: 650; font-size: .78rem; }
.macro--p { background: var(--ember); }
.macro--c { background: var(--lime); }
.macro--f { background: var(--sky); }
.ondevice { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; font-size: .8rem; color: var(--ink); background: var(--lime); border: 1px solid var(--line-strong); border-radius: 999px; padding: .2rem .6rem .2rem .35rem; }
.ondevice svg { width: 18px; height: 18px; }
.meal-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Body map */
.bodymap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; align-items: start; }
.bodymap-figure { position: relative; }
.bodymap-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 12px; background: var(--surface); }
.bodymap-toggle button {
  font: inherit; font-weight: 650; font-size: .9rem; padding: .45rem 1rem; min-height: 40px; border: 0; background: transparent; color: var(--text); cursor: pointer;
}
.bodymap-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--lime); }
@media (prefers-color-scheme: dark) { .bodymap-toggle { border-color: var(--line); } .bodymap-toggle button[aria-pressed="true"] { background: var(--lime); color: var(--ink); } }
.body-svg { width: 100%; max-width: 260px; margin-inline: auto; overflow: visible; }
.body-svg .base { fill: var(--surface-2); stroke: var(--line); stroke-width: 3; }
.body-svg .muscle { cursor: pointer; outline: none; }
.body-svg .muscle > * { stroke: var(--ink); stroke-width: 2.5; transition: filter .15s ease, stroke-width .15s ease; }
.body-svg .muscle:hover > *, .body-svg .muscle:focus-visible > * { stroke-width: 4.5; filter: brightness(1.08); }
.body-svg .muscle:focus-visible > * { stroke: var(--focus); }
.body-svg .muscle.is-selected > * { stroke-width: 5; stroke-dasharray: 7 4; }
.heat-hot > * { fill: #FF6B3D; }
.heat-warm > * { fill: #FFC24D; }
.heat-fresh > * { fill: #B8F135; }
.heat-none > * { fill: #DCD3C6; }
@media (prefers-color-scheme: dark) { .heat-none > * { fill: #4A4560; } }
.legend { display: flex; flex-wrap: wrap; gap: 10px 14px; font-weight: 650; font-size: .82rem; margin-top: 12px; justify-content: center; }
.legend span { display: inline-flex; align-items: center; gap: .35rem; }
.legend i { width: 16px; height: 16px; border-radius: 5px; border: 1px solid var(--line-strong); display: inline-block; }
.muscle-panel h3 { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .3rem; }
.muscle-panel .status { font-size: .8rem; font-family: var(--font-body); font-weight: 650; padding: .15rem .55rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink); }
.muscle-panel ol { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.muscle-panel li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; border: 2.5px solid var(--line); background: var(--surface-2); font-weight: 650; }
.muscle-panel li small { color: var(--muted); font-weight: 700; white-space: nowrap; }
.set-log { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.set-log div { border: 1px solid var(--line-strong); border-radius: 12px; padding: 6px; background: var(--lime); color: var(--ink); font-weight: 650; font-size: .85rem; line-height: 1.25; }
.set-log small { display: block; font-weight: 650; font-size: .72rem; }

/* Weight chart */
.chart-card .chart-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.chart-card .big { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; line-height: 1; }
.chart-card .big small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.chart-card .delta { font-weight: 650; color: var(--ink); background: var(--lime); border: 1px solid var(--line-strong); border-radius: 999px; padding: .15rem .6rem; font-size: .85rem; }
.weight-svg { width: 100%; height: auto; }
.weight-svg .grid { stroke: var(--line); stroke-opacity: .18; stroke-width: 2; }
.weight-svg .axis { fill: var(--muted); font: 800 22px var(--font-body); }
.weight-svg .dot { fill: var(--surface); stroke: var(--text); stroke-width: 2.5; }
.weight-svg .trend { fill: none; stroke: var(--ember); stroke-width: 6; stroke-linecap: round; }
.weight-svg .proj { fill: none; stroke: var(--ember); stroke-width: 4; stroke-dasharray: 2 10; stroke-linecap: round; }
.weight-svg .goal { stroke: var(--grape); stroke-width: 3; stroke-dasharray: 10 8; }
.weight-svg .goal-label { fill: var(--grape-deep); font: 900 22px var(--font-body); }
@media (prefers-color-scheme: dark) { .weight-svg .goal { stroke: #A894FF; } .weight-svg .goal-label { fill: #A894FF; } }
.weight-svg .flag-pole { stroke: var(--text); stroke-width: 3; }
.weight-svg .flag { fill: var(--lime); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.chart-foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* Coach moods */
.moods { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.5vw, 24px); }
.mood { text-align: center; }
.mood svg { width: clamp(96px, 14vw, 140px); height: auto; margin: 0 auto 10px; }
.mood h3 { margin-bottom: .2rem; }
.mood p.quote { font-weight: 700; margin: .7rem 0 0; padding: .7rem .9rem; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); position: relative; }
.mood.card--lime p.quote, .mood.card--sky p.quote, .mood.card--gum p.quote { background: #fff; color: var(--ink); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 28px); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding-top: 44px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -26px; left: 22px;
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.8rem; color: var(--ink);
  background: var(--lime); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transform: rotate(-6deg);
}
.step:nth-child(2)::before { background: var(--sky); transform: rotate(4deg); }
.step:nth-child(3)::before { background: var(--gum); transform: rotate(-3deg); }
.step p { color: var(--muted); margin: 0; }

/* Gamification */
.game-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 2.5vw, 24px); }
.game-grid > .card { grid-column: span 2; }
.game-grid > .card.wide { grid-column: span 3; }
.game-grid h3 { margin-bottom: .3rem; }
.game-grid .card > p { color: var(--muted); }
.level-badge { display: flex; align-items: center; gap: 14px; margin: 10px 0 12px; }
.level-num { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; background: var(--grape); color: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; line-height: 1; }
.level-num small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.level-title { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }
.xp-big { height: 18px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface-2); }
.xp-big i { display: block; height: 100%; width: 64%; background: repeating-linear-gradient(-45deg, var(--grape) 0 8px, #9378FF 8px 16px); border-right: 1px solid var(--line-strong); }
.title-ladder { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.streak-flame { display: flex; align-items: center; gap: 12px; margin: 8px 0 10px; }
.streak-flame svg { width: 64px; height: 64px; flex: none; }
.streak-flame b { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.week span { aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line-strong); display: grid; place-items: center; font-weight: 650; font-size: .75rem; background: var(--surface); color: var(--text); }
.week span.on { background: var(--ember); color: var(--ink); }
.qlist { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.qlist li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; border: 2.5px solid var(--line); background: var(--surface-2); font-weight: 650; }
.qlist li .xp { margin-left: auto; font-size: .8rem; font-weight: 650; color: #fff; background: var(--grape-deep); padding: .1rem .45rem; border-radius: 8px; white-space: nowrap; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.badge { text-align: center; font-weight: 650; font-size: .8rem; line-height: 1.2; }
.badge svg { width: 100%; max-width: 74px; height: auto; margin: 0 auto 6px; }
.badge.locked svg { filter: grayscale(1); opacity: .5; }
.icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 12px; margin-top: 12px; }
.app-icon { aspect-ratio: 1; border-radius: 24%; border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.app-icon svg { width: 78%; height: 78%; }
.app-icon.locked { position: relative; }
.app-icon.locked::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(20,18,31,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='10' width='14' height='10' rx='3' fill='%23FFF8F0'/%3E%3Cpath d='M8 10V8a4 4 0 0 1 8 0v2' fill='none' stroke='%23FFF8F0' stroke-width='2.6'/%3E%3C/svg%3E") center / 42% no-repeat; }

/* Privacy */
.privacy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.vault { position: relative; display: grid; place-items: center; min-height: 360px; }
.vault-phone { width: min(230px, 60vw); aspect-ratio: 230 / 440; border-radius: 40px; background: #000; padding: 9px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.vault-screen { height: 100%; border-radius: 32px; background: var(--cream); display: grid; place-items: center; align-content: center; gap: 10px; padding: 20px; text-align: center; color: var(--ink); }
.vault-screen svg.pip { width: 110px; height: 110px; }
.vault-screen b { font-family: var(--font-head); font-size: 1.15rem; line-height: 1.15; }
.vault-lock { position: absolute; right: 8%; top: 6%; width: 88px; height: 88px; transform: rotate(10deg); }
.promise-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.promise-list li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 2.5px solid #F3E9DC; border-radius: 16px; background: rgba(255,255,255,.04); font-weight: 700; }
.promise-list svg { width: 26px; height: 26px; flex: none; margin-top: 1px; }

/* FAQ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center;
  background: var(--lime); color: var(--ink); border: 1px solid var(--line-strong); font-size: 1.3rem; line-height: 1; font-weight: 700;
}
.faq details[open] summary::after { content: "–"; background: var(--ember); }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); max-width: 860px; margin-inline: auto; margin-bottom: 18px; display: flex; align-items: center; gap: .5rem; }

/* Final CTA */
.cta-card { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; background: var(--ember); color: var(--ink); border: 1px solid var(--line); border-radius: 36px; box-shadow: var(--shadow-lg); padding: clamp(28px, 5vw, 56px); --muted: #2B2838; --link: var(--ink); }
@media (prefers-color-scheme: dark) { .cta-card { box-shadow: var(--shadow-lg); } }
.cta-card svg.pip { width: clamp(130px, 18vw, 220px); height: auto; animation: bob 3.2s ease-in-out infinite; }
.cta-card h2 { margin-bottom: .3em; }
.cta-card .btn--ghost { --btn-bg: var(--cream); --btn-fg: var(--ink); border-color: transparent; box-shadow: var(--shadow-sm); }

/* ---------- Legal / doc pages ---------- */
.page-hero { padding-block: clamp(40px, 7vw, 80px) clamp(28px, 4vw, 44px); }
.page-hero-inner { display: flex; align-items: center; gap: clamp(16px, 4vw, 40px); }
.page-hero svg.pip { width: clamp(90px, 14vw, 140px); height: auto; flex: none; }
.page-hero .meta { font-weight: 650; color: var(--muted); margin: 0; }
.doc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: clamp(64px, 9vw, 110px); }
.toc { position: sticky; top: 96px; }
.toc h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: .3rem; font-weight: 700; font-size: .95rem; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--link); text-decoration: underline; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin-top: 2.2em; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1rem 0 1.5rem; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; vertical-align: top; border-bottom: 2px solid color-mix(in srgb, var(--line) 20%, transparent); }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: var(--surface-2); font-family: var(--font-head); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.callout { border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px; margin: 1.4rem 0; box-shadow: var(--shadow-md); color: var(--ink); --link: var(--ink); }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout h2, .callout h3 { margin-top: 0 !important; }
.callout--lime { background: var(--lime); }
.callout--gum { background: #FFD3E6; }
.callout--sky { background: #CFEAFF; }
.callout--ember { background: #FFD9CA; }
@media (prefers-color-scheme: dark) { .callout { box-shadow: var(--shadow-md); } }
.summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; list-style: none; padding: 0; margin: 0; }
.summary-grid li { display: flex; gap: 8px; font-weight: 650; margin: 0; }
.summary-grid li::before { content: "✓"; font-weight: 650; }
.placeholder { background: #FFF1A8; color: var(--ink); padding: 0 .25em; border-radius: 4px; }

/* Support */
.help-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.5vw, 24px); margin-bottom: clamp(48px, 7vw, 80px); }
.help-cards .card h2 { font-size: 1.3rem; margin-bottom: .35rem; }
.help-cards .card p { color: var(--muted); }
.help-cards svg.ico { width: 44px; height: 44px; margin-bottom: 10px; }
.contact-box { max-width: 860px; margin: clamp(48px, 7vw, 80px) auto 0; }
.contact-box ul { margin-bottom: 1rem; }

/* 404 */
.notfound { min-height: 64vh; display: grid; place-items: center; text-align: center; padding-block: 64px; }
.notfound svg.pip { width: clamp(140px, 24vw, 220px); height: auto; margin: 0 auto 14px; animation: wobble 2.4s ease-in-out infinite; }
.notfound .code { font-family: var(--font-head); font-weight: 700; font-size: clamp(4rem, 14vw, 8rem); line-height: .9; color: var(--ember); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
@keyframes wobble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }

/* ---------- Reveal on scroll (JS-enhanced, opt-in) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .feature, .privacy-grid { grid-template-columns: 1fr; }
  .feature--flip .feature-copy { order: 0; }
  .hero-visual { min-height: 0; padding: 28px 0 10px; }
  .hero-blob { inset: 4% 8% 0 8%; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .game-grid > .card, .game-grid > .card.wide { grid-column: span 1; }
  .doc-layout { grid-template-columns: 1fr; }
  .toc { position: static; border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; background: var(--surface); }
}
@media (max-width: 760px) {
  .steps, .moods, .help-cards { grid-template-columns: 1fr; }
  .steps { gap: 44px; }
  .mirror-grid, .bodymap { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: 1fr; }
  .promise-list, .summary-grid { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cta-card .btn-row { justify-content: center; }
  .plan-result { grid-template-columns: repeat(2, 1fr); }
  .health-row { grid-template-columns: 1fr; justify-items: stretch; }
  .health-arrow { transform: rotate(90deg); justify-self: center; }
  .sticker--b { right: 0; }
  .sticker--a { right: 2%; }
  .page-hero-inner { flex-direction: column; align-items: flex-start; }
  .mood { display: grid; grid-template-columns: 96px 1fr; gap: 0 14px; text-align: left; align-items: center; }
  .mood svg { width: 96px; margin: 0; grid-row: span 2; }
  .mood p.quote { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  body { font-size: 1rem; }
  .brand { font-size: 1.05rem; }
  .brand svg { width: 38px; height: 38px; }
  .vibes { grid-template-columns: 1fr; }
  .vibe { display: grid; grid-template-columns: 56px 1fr; text-align: left; align-items: center; gap: 0 10px; }
  .vibe svg { width: 52px; height: 52px; margin: 0; grid-row: span 2; }
  .health-tiles { grid-template-columns: 1fr; }
  .sticker { font-size: .8rem; padding: .45rem .6rem; }
  .sticker--c { display: none; }
  .hero-pip { width: 96px; left: -4px; }
  .btn-row .btn { width: 100%; }
  .macros { grid-template-columns: 1fr 1fr 1fr; }
  .macro { padding: 6px; }
  .macro b { font-size: 1.05rem; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-pip, .cta-card svg.pip, .notfound svg.pip, .ghost-cam .live { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .feature-nav a:hover { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .toc, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .doc-layout { display: block; }
}

/* ---------- Workout timers ---------- */
.timer-card { display: grid; gap: 18px; }
.timer-modes { display: flex; flex-wrap: wrap; gap: 8px; }
.timer-face {
  display: grid; justify-items: center; gap: 6px; padding: 26px 16px 22px;
  border-radius: var(--radius); background: var(--ink); color: var(--cream); border: 1px solid var(--line);
}
.timer-face small { font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .78rem; opacity: .75; }
.timer-face b { font-family: var(--font-head); font-size: clamp(3.4rem, 9vw, 4.6rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; font-weight: 700; }
.timer-bar { width: 100%; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.timer-bar i { display: block; height: 100%; border-radius: inherit; background: var(--lime); }
.timer-rounds { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; }
.timer-rounds i { height: 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.timer-rounds i.done { background: var(--grape); border-color: transparent; }
.timer-rounds i.now { background: var(--lime); border-color: transparent; }

/* ---------- Sleep ---------- */
.sleep-bars {
  position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end;
  height: 180px; margin: 18px 0 14px; padding-bottom: 22px;
}
.sleep-bars span {
  position: relative; height: var(--h); border-radius: 10px 10px 6px 6px;
  background: color-mix(in srgb, var(--grape) 30%, var(--surface-2));
}
.sleep-bars span.now { background: var(--grape); }
.sleep-bars i { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-style: normal; font-size: .78rem; font-weight: 600; color: var(--muted); }
.sleep-goal { position: absolute; left: 0; right: 0; bottom: calc(22px + (100% - 22px) * var(--g)); border-top: 2px dashed var(--mint, #2FC98A); }

/* ---------- Screenshots ---------- */
.shots {
  list-style: none; margin: 0; padding: 8px max(var(--gutter), calc((100% - var(--container)) / 2)) 24px;
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.shots::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 auto; width: clamp(220px, 26vw, 300px); scroll-snap-align: center; }
.shot img {
  display: block; width: 100%; height: auto; border-radius: 28px;
  box-shadow: 0 18px 40px rgba(20, 18, 31, .12), 0 2px 6px rgba(20, 18, 31, .06);
}
.app-icon-img { width: 64px; height: 64px; border-radius: 22%; box-shadow: 0 6px 16px rgba(20,18,31,.14); }
.app-icon-img.locked { filter: grayscale(.85) brightness(.9); opacity: .6; }

/* ---------- Landing pages ---------- */
.footer-grid { grid-template-columns: 1.4fr 1fr 1.1fr 1fr; }
.shot picture, .landing-shot picture { display: block; }
.breadcrumb { padding-top: 20px; font-size: .9rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; }
.breadcrumb a { color: var(--muted); }
.page-hero .lead { margin: .4em 0 0; max-width: 62ch; }
.landing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 64px); align-items: start; padding-bottom: clamp(48px, 7vw, 88px); }
.landing-aside { position: sticky; top: 96px; display: grid; gap: 24px; }
.landing-shot { margin: 0; }
.landing-shot img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 18px 40px rgba(20, 18, 31, .12), 0 2px 6px rgba(20, 18, 31, .06); }
.landing-shot figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); text-align: center; }
.landing-faq { margin-top: 2.6em; }
.landing-faq .faq { margin-inline: 0; }
.more-link { margin: .6rem 0 0; font-weight: 700; }
.related { margin-top: clamp(32px, 5vw, 56px); }
.related h2 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin-bottom: .8rem; }
.related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related a { display: inline-block; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 700; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); }
.related a:hover { border-color: var(--ember); color: var(--ember); }
@media (max-width: 1020px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 860px) {
  .landing-layout { grid-template-columns: 1fr; }
  .landing-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(180px, 240px)); justify-content: center; order: -1; }
}

/* Grid tracks must be allowed to shrink below their content's min-content width
   (aspect-ratio children otherwise blow the page out sideways on phones). */
.feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.mirror-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.cal { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (max-width: 1020px) { .hero-grid, .feature, .privacy-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .mirror-grid, .bodymap { grid-template-columns: minmax(0, 1fr); } }
.cal > * { min-width: 0; min-height: 0; }
.cal .day { width: 100%; height: auto; }

/* ==========================================================================
   2026-10-30: Momo art, coach camera, food search, Apple Watch, Free & Momo Plus
   ========================================================================== */
:root { --gold: #FFC83D; --gold-deep: #8A5A00; }
.eyebrow--gold { background: color-mix(in srgb, var(--gold) 40%, var(--surface)); }
@media (prefers-color-scheme: dark) { .eyebrow--gold { color: var(--text); } }

/* Launch toggle for Momo Plus: <html data-plus="soon|live"> */
[data-plus="soon"] .plus-live, [data-plus="live"] .plus-soon { display: none !important; }
.js .nojs-only { display: none; }
.btn-note a { color: inherit; font-weight: 650; }

/* Rendered Momo art (PNG/WebP from the app's own MascotView) */
picture.hero-pip, picture.cta-momo, picture.plus-momo { display: block; }
picture.hero-pip img, picture.cta-momo img, .tier-head img { display: block; width: 100%; height: auto; }
picture.hero-pip { width: clamp(120px, 15vw, 180px); }
.cta-card .cta-momo { width: clamp(140px, 18vw, 220px); animation: bob 3.2s ease-in-out infinite; }

/* Apple Health status line */
.health-status { display: flex; align-items: center; gap: .5rem; margin: 0; font-weight: 650; font-size: .9rem; color: var(--muted); }
.health-status b { color: var(--text); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #2FC98A; box-shadow: 0 0 0 0 rgba(47, 201, 138, .5); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47, 201, 138, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(47, 201, 138, 0); } }

/* Food search */
.mode-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-field {
  display: flex; align-items: center; gap: .55rem; padding: .7rem .9rem;
  border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface-2); color: var(--text);
  font-weight: 650;
}
.search-field svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: var(--ember); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.food-result { display: grid; gap: 10px; }
.food-name b { display: block; font-family: var(--font-head); font-weight: 650; font-size: 1.15rem; line-height: 1.2; }
.food-name small { color: var(--muted); font-weight: 600; font-size: .85rem; }
.portion-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Coach camera */
.coach-cam {
  position: relative; aspect-ratio: 4 / 5; max-width: 440px; margin-inline: auto;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(120% 80% at 50% 100%, #3A3456 0%, #1B1829 55%, #14121F 100%);
  box-shadow: var(--shadow-lg);
}
.coach-cam::after { /* framing guide */
  content: ""; position: absolute; inset: 12% 18% 8%; border: 2px dashed rgba(184, 241, 53, .55); border-radius: 22px; pointer-events: none;
}
.demo-frames { position: absolute; inset: 10% 6% 4%; }
.demo-frames picture, .demo-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.demo-frames picture { opacity: 0; animation: demo-fade 7.5s ease-in-out infinite; }
.demo-frames picture:nth-child(1) { animation-delay: 0s; }
.demo-frames picture:nth-child(2) { animation-delay: 2.5s; }
.demo-frames picture:nth-child(3) { animation-delay: 5s; }
@keyframes demo-fade { 0% { opacity: 0; } 8%, 33% { opacity: 1; } 42%, 100% { opacity: 0; } }
.cam-badge {
  position: absolute; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 650; font-size: .78rem; line-height: 1; padding: .4rem .65rem; border-radius: 999px;
}
.cam-badge--angle { left: 14px; background: var(--lime); color: var(--ink); }
.cam-badge--live { right: 14px; background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.cam-badge--live i { width: 8px; height: 8px; border-radius: 50%; background: #2FC98A; }
.rep-counter {
  position: absolute; right: 14px; top: 52px; z-index: 2; text-align: center; color: #fff;
  background: rgba(20, 18, 31, .72); border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; padding: .45rem .75rem .5rem;
}
.rep-counter b { display: block; font-family: var(--font-head); font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.rep-counter small { font-weight: 650; font-size: .72rem; opacity: .85; }
.cue {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; margin: 0;
  display: flex; align-items: center; gap: .55rem;
  background: var(--cream); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 18px;
  padding: .5rem .75rem; font-weight: 700; box-shadow: var(--shadow-md);
}
.cue svg { width: 38px; height: 38px; flex: none; }
.workout-bar {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px;
  max-width: 440px; margin: 14px auto 0; padding: 10px 12px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm);
  font-weight: 650; font-size: .85rem;
}
.wb-step { color: var(--muted); white-space: nowrap; }
.wb-mid { text-align: center; line-height: 1.2; }
.wb-mid b { display: block; font-size: .9rem; }
.wb-mid small { color: var(--muted); font-size: .75rem; }
.wb-coach { display: inline-flex; align-items: center; gap: .35rem; background: var(--grape); color: #fff; border-radius: 12px; padding: .4rem .6rem; }
.wb-coach svg { width: 18px; height: 18px; }

/* Apple Watch screenshots */
.watch-row { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 3vw, 28px); }
.watch { margin: 0; width: min(46%, 220px); text-align: center; }
.watch img { display: block; width: 100%; height: auto; border-radius: 30%/25%; background: #000; padding: 6%; box-shadow: var(--shadow-lg); border: 6px solid #2A2640; }
.watch figcaption { margin-top: 10px; font-weight: 650; font-size: .85rem; color: var(--muted); }
.watch--tilt { transform: rotate(3deg) translateY(18px); }

/* Free & Momo Plus */
.plus-banner {
  display: inline-flex; align-items: center; gap: .5rem; margin: .4rem auto 0; max-width: 40em;
  padding: .6rem 1rem; border-radius: 16px; border: 1px dashed var(--line-strong);
  background: var(--surface); color: var(--text); font-weight: 650; font-size: .95rem; text-align: left;
}
.sparkle { color: var(--gold-deep); font-size: 1.1rem; display: inline-block; animation: twinkle 2.8s ease-in-out infinite; }
@media (prefers-color-scheme: dark) { .sparkle { color: var(--gold); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.25) rotate(20deg); opacity: .75; } }
.plus-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.5vw, 24px); }
.tier { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-md); background: var(--surface); color: var(--text); }
.tier--plus { background: color-mix(in srgb, var(--gold) 18%, var(--surface)); }
.tier-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.tier-head picture { width: 92px; flex: none; }
.tier-head h3 { margin: 0 0 .15rem; }
.tier-head p { margin: 0; color: var(--muted); font-weight: 600; }
.plus-momo { animation: bob 3.6s ease-in-out infinite; }
.tier-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.tier-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: .55rem; align-items: start; }
.tier-list li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 7px; border: 1px solid var(--line-strong);
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2314121F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.tier--plus .tier-list li::before {
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l2.2 6.3L21 12l-6.8 2.7L12 21l-2.2-6.3L3 12l6.8-2.7z' fill='%2314121F'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.plus-table-wrap { margin-top: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.plus-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.plus-table th, .plus-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.plus-table tbody tr:last-child th, .plus-table tbody tr:last-child td { border-bottom: 0; }
.plus-table thead th { font-family: var(--font-head); font-weight: 650; background: var(--surface-2); }
.plus-table thead th:last-child { background: color-mix(in srgb, var(--gold) 28%, var(--surface)); }
.plus-table tbody th { font-weight: 600; width: 50%; }
.plus-table td { font-weight: 650; white-space: nowrap; }
.plus-table td:last-child { background: color-mix(in srgb, var(--gold) 9%, transparent); }
.pricing { margin-top: clamp(32px, 5vw, 56px); }
.pricing-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pricing-head h3 { margin: 0; }
.currency-toggle { display: none; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.js .currency-toggle { display: inline-flex; }
.currency-toggle button { font: inherit; font-weight: 650; font-size: .9rem; padding: .45rem 1rem; min-height: 44px; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.currency-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--lime); }
@media (prefers-color-scheme: dark) { .currency-toggle button[aria-pressed="true"] { background: var(--lime); color: var(--ink); } }
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); }
.plan { display: flex; flex-direction: column; padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.plan h4 { font-family: var(--font-head); font-weight: 600; font-size: 1rem; margin: 0 0 .4rem; color: var(--muted); }
.price { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 4.5vw, 2.8rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); margin-left: .25rem; letter-spacing: 0; }
.per { margin: .5rem 0 0; color: var(--muted); font-weight: 600; font-size: .9rem; }
.plan-note { margin: .9rem 0 0; padding-top: .8rem; border-top: 1px dashed var(--line-strong); font-size: .9rem; font-weight: 600; }
.pricing .cur-php { display: none; }
.pricing[data-currency="php"] .cur-php { display: inline; }
.pricing[data-currency="php"] .cur-usd { display: none; }
.plus-bubble { margin: 20px 0 0; max-width: 640px; }
.plus-bubble span { font-weight: 650; }

@media (max-width: 860px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plus-compare { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .plus-table th, .plus-table td { padding: 9px 10px; font-size: .88rem; }
  .plus-table td { white-space: normal; }
  .tier-head picture { width: 72px; }
  .workout-bar { grid-template-columns: minmax(0, 1fr) auto; }
  .wb-step { display: none; }
  .watch--tilt { transform: none; }
  picture.hero-pip { width: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  picture.hero-pip, .cta-card .cta-momo, .plus-momo, .sparkle, .caret, .status-dot { animation: none !important; }
  .demo-frames picture { animation: none !important; opacity: 0; }
  .demo-frames picture:nth-child(2) { opacity: 1; }
}
.group-note { max-width: 860px; margin: -6px auto 14px; color: var(--muted); font-weight: 600; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .9em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: .05em .35em; }
@media (max-width: 860px) { .landing-aside:has(.coach-cam) { grid-template-columns: minmax(0, 320px); } }
@media (prefers-color-scheme: dark) { .tier--plus { background: color-mix(in srgb, var(--gold) 11%, var(--surface)); } }
.macro b { white-space: nowrap; }
.landing-aside .macro { padding: 6px 8px; }
.landing-aside .macro b { font-size: 1.02rem; }

/* Hero phone showing the form coach camera */
.phone-screen--cam { background: #14121F; }
.coach-cam--phone {
  position: absolute; inset: 0; aspect-ratio: auto; max-width: none; margin: 0;
  border: 0; border-radius: 0; box-shadow: none;
}
.coach-cam--phone .cam-badge { top: 46px; font-size: .66rem; padding: .32rem .5rem; }
.coach-cam--phone .cam-badge--angle { left: 10px; }
.coach-cam--phone .cam-badge--live { right: 10px; }
.coach-cam--phone .rep-counter { top: 82px; }
.coach-cam--phone .cue { bottom: 16px; font-size: .82rem; }
.coach-cam--phone .cue svg { width: 32px; height: 32px; }
.stance-pick {
  position: absolute; left: 50%; bottom: 74px; z-index: 2; transform: translateX(-50%);
  display: flex; gap: 2px; padding: 3px; border-radius: 999px;
  background: rgba(20, 18, 31, .78); border: 1px solid rgba(255, 255, 255, .16);
  font-weight: 700; font-size: .72rem; color: #fff;
}
.stance-pick span { padding: .3rem .6rem; border-radius: 999px; }
.stance-pick .on { background: #FFD93D; color: #14121F; }
