/* Zonor landing. Tokens come verbatim from tokens.css (the app's src/ui/tokens.css); landing-only tokens live here.
   Rules: dark only, only transform/opacity animate (+ the carousel dim filter), no shadows/glass/glow, no uppercase. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-latin-cyrillic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* Metric-matched fallback so the swap shifts little. */
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial");
  size-adjust: 104%;
  ascent-override: 98%;
  descent-override: 27%;
  line-gap-override: 0%;
}

:root {
  --font-ui: "Manrope", "Manrope Fallback", system-ui, sans-serif;
  /* landing-only tokens */
  --l-pad: 16px;
  --l-gap: 12px;
  --l-section: 40px;
  --l-head-gap: 24px;
  --l-header-h: 64px;
  --l-card-pad: 16px;
  --ring: 150;
  --fig-w: 190px;
  --fig-h: 240px;
}
@media (min-width: 768px) {
  :root { --l-pad: 32px; --l-gap: 16px; --l-section: 56px; --l-head-gap: 32px; --l-card-pad: 20px; --ring: 190; --fig-w: 216px; --fig-h: 270px; }
}
@media (min-width: 1024px) {
  :root { --l-gap: 20px; --l-section: 72px; --l-head-gap: 40px; --l-header-h: 72px; --ring: 230; }
}
@media (min-width: 1440px) {
  :root { --l-pad: 40px; --l-gap: 24px; --l-section: 80px; --l-head-gap: 48px; --l-card-pad: 24px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lang-pending body { visibility: hidden; }
body { margin: 0; background: var(--ground); color: var(--text); font: var(--type-body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; margin: 0; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 18px; height: 18px; flex: none; fill: currentColor; }
.ico--lead { width: 24px; height: 24px; color: var(--text-2); }
.ico--plus, .ico--caret { width: 20px; height: 20px; color: var(--muted); transition: transform var(--dur-sheet) var(--ease-out); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-md); background: var(--primary); color: var(--ink); font: var(--type-label); text-decoration: none; }
.skip:focus { top: 8px; }

.wrap { width: min(100% - 32px, 560px); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(100% - 64px, 704px); } }
@media (min-width: 1024px) { .wrap { width: min(100% - 64px, 960px); } }
@media (min-width: 1440px) { .wrap { width: min(100% - 80px, 1200px); } }

.lead { font: 400 15px/22px var(--font-ui); color: var(--text-2); max-width: 52ch; text-wrap: pretty; }
.caption { font: var(--type-caption); color: var(--muted); }
.body-sm { font: var(--type-body-sm); }
.muted { color: var(--muted); }
.text2 { color: var(--text-2); }
.label { font: var(--type-label); color: var(--text-2); }
.num { font: var(--type-num-md); font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .lead { font-size: 17px; line-height: 26px; } }

h2 { font: var(--type-h1); letter-spacing: -0.05em; text-wrap: balance; }
h3 { font: var(--type-title); }
@media (min-width: 768px) { h2 { font: var(--type-display-s); letter-spacing: -0.04em; } }

.band { --band-bg: var(--ground); --card: var(--surface-1); --inset: var(--surface-2); --ctl: var(--line-ctl); background: var(--band-bg); padding-block: var(--l-section); scroll-margin-top: calc(var(--l-header-h) + 16px); }
.band--alt { --band-bg: var(--surface-1); --card: var(--surface-2); --inset: var(--surface-3); --ctl: var(--edge); }
.band__head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: var(--l-head-gap); }
.band__head .lead { margin-inline: auto; }
.card__h { font: var(--type-title); }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shots-caption { text-align: center; margin-top: 16px; }

/* ---------- effects: the only gradients (copied from the app's effects.module.css) ---------- */
.aura {
  --aura-c: var(--aura-spark);
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--aura-c) 28%, transparent), transparent);
}
.aura[data-aura='mint'] { --aura-c: var(--aura-spark); }
.aura[data-aura='lilac'] { --aura-c: var(--aura-breeze); }
.aura[data-aura='lemon'] { --aura-c: var(--aura-beat); }
.aura[data-aura='pink'] { --aura-c: var(--aura-flow); }
.aura[data-strong] { background: radial-gradient(closest-side, color-mix(in srgb, var(--aura-c) 34%, transparent), transparent); }
.floor {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgb(0 0 0 / 0.45), transparent);
}
.gauge { height: 8px; border-radius: 2px; background: linear-gradient(90deg, var(--energy-easy), var(--energy-steady), var(--energy-charged)); transform: scaleX(-1); opacity: 0.45; }
.fade-bar { position: fixed; left: 0; right: 0; bottom: 0; height: calc(max(20px, env(safe-area-inset-bottom)) + 64px + 12px); pointer-events: none; z-index: 19; background: linear-gradient(transparent, var(--ground) 50%); opacity: 0; transition: opacity var(--dur-sheet) var(--ease-out); }
.fade-bar[data-visible='true'] { opacity: 1; }

/* ---------- art ---------- */
.art { position: relative; }
.art img { position: relative; z-index: 1; opacity: 0; animation: artIn 240ms var(--ease-out) 60ms forwards; }
@keyframes artIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: var(--control); padding: 0 20px;
  border-radius: var(--r-md); background: var(--primary); color: var(--ink);
  font: var(--type-title); text-decoration: none; text-align: center; cursor: pointer; border: 0;
  transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.btn-primary:active { background: var(--primary-pressed); transform: scale(0.97); }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: var(--hit); padding: 0 12px; background: none; border: 0; border-radius: var(--r-md);
  color: var(--text-2); font: var(--type-label); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out), transform var(--dur-press) var(--ease-out);
}
.btn-ghost:active { transform: scale(0.97); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--primary-hover); }
  .btn-ghost:hover { color: var(--text); }
}
@media (min-width: 768px) { .btn-primary { width: auto; min-width: 220px; } }

.note-chip { display: grid; gap: 2px; max-width: 40ch; padding: 8px 12px; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); color: var(--text-2); font: var(--type-body-sm); }
.chip-tag { display: inline-flex; align-items: center; width: fit-content; height: 24px; padding: 0 8px; border-radius: var(--r-sm); background: var(--surface-3); color: var(--text-2); font: 600 12px/16px var(--font-ui); }
@media (min-width: 768px) { .note-chip { max-width: 56ch; } }

.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); color: var(--text); padding: var(--l-card-pad); }

/* ---------- reveal ---------- */
html.js [data-rise]:not([data-in]) { opacity: 0; animation: riseFailsafe 1ms 3s forwards; }
[data-rise][data-in] { animation: rise var(--dur-reveal) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes riseFailsafe { to { opacity: 1; } }

/* ---------- header ---------- */
.site-header { height: var(--l-header-h); background: var(--ground); border-bottom: 1px solid transparent; z-index: 30; }
.site-header[data-scrolled='true'] { border-bottom-color: var(--line); }
.site-header__in { display: flex; align-items: center; gap: 12px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: var(--hit); color: var(--text); text-decoration: none; }
.mark { width: 28px; height: 20px; }
.m1 { fill: var(--z1); } .m2 { fill: var(--z2); } .m3 { fill: var(--z3); } .m4 { fill: var(--z4); } .m5 { fill: var(--z5); }
.brand__word { font: 800 22px/24px var(--font-ui); letter-spacing: -0.05em; }
.lang { position: relative; display: inline-flex; margin-left: auto; padding: 4px; height: 44px; background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-full); }
.lang__btn { position: relative; min-width: 44px; height: 34px; padding: 0 8px; border: 0; border-radius: var(--r-full); background: transparent; color: var(--muted); font: var(--type-label); cursor: pointer; transition: transform var(--dur-press) var(--ease-out), color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out); }
.lang__btn::after { content: ""; position: absolute; inset: -5px 0; }
.lang__btn[aria-pressed='true'] { background: var(--surface-3); color: var(--text); font-weight: 700; }
.lang__btn:active { transform: scale(0.97); }
@media (hover: hover) { .lang__btn:hover { color: var(--text); } }
.header__cta { display: none; }
@media (min-width: 768px) {
  .site-header { position: sticky; top: 0; }
  .header__cta { display: inline-flex; min-height: var(--hit); padding: 0 16px; min-width: 0; font: 600 15px/24px var(--font-ui); }
}

/* ---------- hero ---------- */
.band--hero { position: relative; padding-block: 24px 0; overflow: hidden; }
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.hero h1 { max-width: 14em; }
.hero .lead { margin-inline: auto; }
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.note-chip { text-align: center; }
h1 { font: var(--type-display-s); letter-spacing: -0.04em; text-wrap: balance; }
@media (min-width: 768px) { .band--hero { padding-top: 40px; } h1 { font-size: 52px; line-height: 56px; } .hero__cta { width: auto; } .btn-primary { min-width: 240px; } }
@media (min-width: 1024px) { .band--hero { padding-top: 56px; } h1 { font-size: 64px; line-height: 68px; } }
@media (min-width: 1440px) { .band--hero { padding-top: 64px; } h1 { font-size: 72px; line-height: 76px; } }
.fan::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: var(--surface-1); clip-path: polygon(0 100%, 100% 0, 100% 100%); z-index: 4; pointer-events: none; }
@media (min-width: 768px) { .fan::after { height: 56px; } }
@media (min-width: 1024px) { .fan::after { height: 72px; } }

/* ---------- device (CSS phone frame around a real screenshot) ---------- */
.device { --w: 270px; --bz: clamp(5px, calc(var(--w) * 0.03), 9px); --ro: calc(var(--w) * 0.14); width: var(--w); box-sizing: border-box; padding: var(--bz); background: var(--surface-2); border: 1px solid var(--edge); border-radius: var(--ro); }
.band--alt .device { background: var(--surface-3); }
.device__img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 1298; border-radius: calc(var(--ro) - var(--bz)); background: var(--ground); }

/* ---------- hero fan ---------- */
.fan { position: relative; display: flex; justify-content: center; align-items: flex-start; height: 360px; margin-top: 24px; overflow: hidden; isolation: isolate; }
.fan__phone { flex: none; margin-inline: -20px; }
.fan__phone[data-pos='0'] { z-index: 3; }
.fan__phone[data-pos='-1'], .fan__phone[data-pos='1'] { z-index: 2; translate: 0 24px; }
.fan__phone[data-pos='-2'], .fan__phone[data-pos='2'] { z-index: 1; translate: 0 56px; display: none; }
.fan__phone[data-pos='0'] .device { --w: 200px; }
.fan__phone[data-pos='-1'] .device, .fan__phone[data-pos='1'] .device { --w: 150px; }
.fan__coach { display: none; }
@media (min-width: 768px) {
  .fan { height: 420px; }
  .fan__phone { margin-inline: -16px; }
  .fan__phone[data-pos='0'] .device { --w: 220px; }
  .fan__phone[data-pos='-1'] .device, .fan__phone[data-pos='1'] .device { --w: 190px; }
  .fan__coach { display: block; position: absolute; bottom: 0; z-index: 5; width: 180px; height: 225px; }
  .fan__coach--l { left: 1%; }
  .fan__coach--r { right: 1%; }
  .fan__coach img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; }
  .fan__coach .floor { bottom: 0; width: 90%; height: 12%; opacity: 0.5; }
}
@media (min-width: 1024px) {
  .fan { height: 480px; }
  .fan__coach { width: 216px; height: 270px; }
  .fan__coach--l { left: 2%; }
  .fan__coach--r { right: 2%; }
  .fan__phone { margin-inline: -24px; }
  .fan__phone[data-pos='-2'], .fan__phone[data-pos='2'] { display: block; }
  .fan__phone[data-pos='0'] .device { --w: 240px; }
  .fan__phone[data-pos='-1'] .device, .fan__phone[data-pos='1'] .device { --w: 216px; }
  .fan__phone[data-pos='-2'] .device, .fan__phone[data-pos='2'] .device { --w: 192px; }
}
@media (min-width: 1440px) {
  .fan { height: 540px; }
  .fan__phone[data-pos='0'] .device { --w: 300px; }
  .fan__phone[data-pos='-1'] .device, .fan__phone[data-pos='1'] .device { --w: 270px; }
  .fan__phone[data-pos='-2'] .device, .fan__phone[data-pos='2'] .device { --w: 240px; }
  .fan__coach { width: 270px; height: 337px; }
}

/* ---------- snap rows, how, why ---------- */
.snap-row { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--l-pad); scroll-padding-inline: var(--l-pad); scrollbar-width: none; }
.snap-row::-webkit-scrollbar { display: none; }
.snap-row__item { flex: 0 0 min(76vw, 280px); scroll-snap-align: center; }
.wrap--snap { width: 100%; }
.shot { display: flex; flex-direction: column; align-items: center; text-align: center; }
.shot .device { --w: 240px; }
.shot .badge { margin-top: 16px; }
.shot h3 { margin-top: 12px; color: var(--text); }
.shot p { margin-top: 4px; max-width: 28ch; color: var(--text-2); }
.snap-row:focus-visible { outline-offset: -2px; }
@media (min-width: 768px) {
  .wrap--snap { width: min(100% - 64px, 704px); }
  .how__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; overflow: visible; padding-inline: 0; }
  .how__row .snap-row__item { flex: none; }
  .shot .device { --w: 220px; }
}
@media (min-width: 1024px) { .wrap--snap { width: min(100% - 64px, 960px); } .how__row { gap: 24px; } .shot .device { --w: 260px; } }
@media (min-width: 1440px) { .wrap--snap { width: min(100% - 80px, 1200px); } .how__row { gap: 32px; } .shot .device { --w: 280px; } }

.why { display: flex; flex-direction: column; gap: 24px; }
.why__copy { display: contents; }
.why .band__head { order: 1; margin-bottom: 0; }
.why__shots { order: 2; }
.why__list { order: 3; display: grid; gap: 24px; }
.why__list li { display: flex; gap: 16px; align-items: flex-start; }
.why__list h3 { color: var(--text); }
.why__list p { margin-top: 4px; color: var(--text-2); max-width: 44ch; }
.stackshots { --wf: 180px; --wb: 160px; --off: 112px; position: relative; width: calc(var(--off) + var(--wf)); height: calc(var(--wf) * 2.16); margin-inline: auto; }
.stackshots__back { position: absolute; left: 0; top: 32px; z-index: 1; }
.stackshots__front { position: absolute; left: var(--off); top: 0; z-index: 2; }
.stackshots__back .device { --w: var(--wb); }
.stackshots__front .device { --w: var(--wf); }
@media (min-width: 768px) { .stackshots { --wf: 220px; --wb: 190px; --off: 140px; } }
@media (min-width: 1024px) {
  .why { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 64px; align-items: center; }
  .why__copy { display: block; order: 2; }
  .why__shots { order: 1; }
  .why .band__head { align-items: flex-start; text-align: left; margin-bottom: 32px; }
  .why__list { gap: 24px; }
  .stackshots { --wf: 250px; --wb: 230px; --off: 170px; margin-inline: 0 auto; }
}
@media (min-width: 1440px) { .stackshots { --wf: 280px; --wb: 250px; --off: 190px; } }

/* ---------- try it ---------- */
.try { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 560px; margin-inline: auto; }
.try__col { display: flex; }
.try__col > .checkin { flex: 1; }
@media (min-width: 768px) { .try { gap: 20px; } }
@media (min-width: 1024px) { .try { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: 24px; align-items: stretch; } }
.chat__wrap .chat { flex: 1; }
.chat__wrap { grid-template-rows: 1fr auto; }

/* ---------- future ---------- */
.future { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.future__row { padding-inline: var(--l-pad); }
.future__row .device { --w: 220px; }
.device-wrap { position: relative; width: max-content; margin-inline: auto; }
.tag-preview { position: absolute; left: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center; height: 24px; padding: 0 8px; border-radius: var(--r-sm); background: var(--surface-3); color: var(--text); font: 600 12px/16px var(--font-ui); }
.future__row .shot p { margin-top: 12px; font: var(--type-body-sm); }
.future__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
@media (min-width: 768px) {
  .future__row { display: flex; justify-content: center; overflow: visible; padding-inline: 0; }
  .future__row .snap-row__item { flex: 0 0 auto; }
  .future__row .device { --w: 190px; }
  .future__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--l-gap); }
}
@media (min-width: 1024px) {
  .future { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--l-gap); align-items: start; }
  .future__row .device { --w: 240px; }
  .future__grid { grid-template-columns: 1fr; gap: 12px; }
}
@media (min-width: 1440px) { .future__row .device { --w: 270px; } }

/* ---------- beta + closing ---------- */
.gives { display: grid; gap: 24px; margin-bottom: var(--l-head-gap); text-align: center; }
.gives li { display: flex; flex-direction: column; align-items: center; }
.gives h3 { color: var(--text); }
.gives p { margin-top: 4px; color: var(--text-2); max-width: 28ch; }
.ico--32 { width: 32px; height: 32px; color: var(--text-2); margin-bottom: 8px; }
.beta { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: stretch; max-width: 560px; margin-inline: auto; }
.beta__steps-card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.beta__steps { display: grid; gap: 12px; }
.beta__steps li { display: flex; gap: 12px; align-items: flex-start; }
.badge { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: var(--r-full); border: 1px solid var(--line-ctl); color: var(--text-2); }
.band--alt .badge { border-color: var(--edge); }
.beta__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; justify-content: center; }
.qr, .beta__qrcap, .handle { display: none; }
.qr { width: 222px; height: 222px; padding: 8px; border-radius: var(--r-lg); background: var(--primary); }
.beta__qrcap { max-width: 28ch; }
.handle { align-items: center; min-height: var(--hit); font: var(--type-label); color: var(--text-2); text-underline-offset: 3px; }
@media (hover: hover) { .handle:hover { color: var(--text); } }
@media (min-width: 768px) { .gives { grid-template-columns: repeat(3, 1fr); gap: var(--l-gap); } }
@media (min-width: 1024px) {
  .beta { grid-template-columns: 7fr 5fr; max-width: none; gap: 24px; }
  .qr, .beta__qrcap { display: block; }
  .handle { display: inline-flex; }
}
html[data-reg='closed'] .beta__fallback { display: block !important; }
html[data-reg='closed'] .beta__steps, html[data-reg='closed'] .beta__cta .btn-primary { display: none; }
/* ---------- coach carousel ---------- */
.coach__hint, .coach__side { display: none; }
@media (min-width: 1024px) {
  .coach { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--l-gap); align-items: start; }
  .coach__side { display: block; grid-column: 1 / 5; padding-top: 24px; }
  .coach__hint { display: block; margin-top: 12px; }
  .coach__main { grid-column: 5 / 13; }
}
.stage {
  position: relative; height: 318px; margin-inline: calc(var(--l-pad) * -1); overflow: hidden; isolation: isolate;
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; border-radius: var(--r-xl);
}
.stage[data-dragging] { cursor: grabbing; }
.stage[data-over-side] { cursor: pointer; }
@media (min-width: 768px) { .stage, .picker { max-width: 720px; margin-inline: auto; } }
.stage__glow { position: absolute; left: 50%; bottom: 20px; width: 300px; height: 240px; margin-left: -150px; pointer-events: none; }
.stage__glow .aura { inset: 0; opacity: 0; transition: opacity 420ms var(--ease-out); }
.stage__glow .aura[data-on] { opacity: 1; }
.stage__floor { position: absolute; left: 50%; bottom: -70px; width: 620px; height: 190px; margin-left: -310px; pointer-events: none; opacity: 0.5; }
.stage__floor .floor { bottom: 0; width: 520px; height: 120px; }
.stage__mascot {
  position: absolute; left: 50%; bottom: 10px; width: 200px; height: 290px; margin-left: -100px; transform-origin: 50% 100%; pointer-events: none;
  transition: transform 520ms var(--spring), filter 420ms var(--ease-out), opacity 320ms var(--ease-out);
}
.stage[data-dragging] .stage__mascot { transition: none; }
.stage__mascot[data-coach='spark'] { --rim: #7cefc0; }
.stage__mascot[data-coach='breeze'] { --rim: #c3a6ff; }
.stage__mascot[data-coach='beat'] { --rim: #f2e27a; }
.stage__mascot[data-coach='flow'] { --rim: #f2a7c3; }
.stage__ped { position: absolute; left: 50%; bottom: 0; width: 168px; height: 60px; margin-left: -84px; overflow: visible; }
.ped-side { fill: var(--surface-1); }
.ped-top { fill: var(--surface-3); }
.ped-inner { fill: var(--surface-2); }
.ped-band, .ped-rim { fill: none; stroke: var(--rim); }
.ped-band { stroke-width: 2px; stroke-opacity: 0.12; }
.ped-rim { stroke-width: 1.6px; stroke-opacity: 0.22; }
[data-front] .ped-band { stroke-opacity: 0.55; }
[data-front] .ped-rim { stroke-opacity: 0.95; }
.stage__fig { position: absolute; left: 50%; bottom: 34px; width: var(--fig-w); height: var(--fig-h); margin-left: calc(var(--fig-w) / -2); }
.stage__fig img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; opacity: 0; animation: artIn 240ms var(--ease-out) 60ms forwards; }
.stage:not([data-dragging]) [data-front] .stage__fig { animation: idle 3.2s ease-in-out infinite; }
@keyframes idle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.stage:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
html:not(.js) .stage__mascot:not([data-coach='spark']) { display: none; }
html:not(.js) .stage__mascot[data-coach='spark'] { transform: none; }
html:not(.js) .stage__glow .aura[data-aura='mint'] { opacity: 1; }

.picker { display: flex; align-items: center; gap: 12px; margin-top: -6px; }
.arrow { width: 52px; height: 52px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: var(--r-full); border: 1px solid var(--ctl); background: var(--card); color: var(--text); cursor: pointer; padding: 0; transition: transform 140ms var(--ease-out), background-color 140ms var(--ease-out); }
.arrow .ico { width: 22px; height: 22px; fill: none; }
.arrow:active { transform: scale(0.94); background: var(--inset); }
@media (hover: hover) { .arrow:hover { background: var(--inset); } }
html:not(.js) .arrow { display: none; }
.picker__name { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.picker__name[data-rise-key] { animation: rise var(--dur-reveal) var(--ease-out) both; }
.picker__title { font: 800 28px/32px var(--font-ui); letter-spacing: -0.03em; }
.picker__trait { font: var(--type-label); color: var(--muted); }
.cloud { align-self: flex-start; max-width: 100%; padding: 12px 16px; border-radius: var(--r-cloud); background: var(--text); color: var(--ink); font: var(--type-body); overflow-wrap: anywhere; animation: pop 220ms var(--ease-out) both; }
.cloud--tl { border-top-left-radius: var(--r-xs); }
.cloud--me { align-self: flex-end; background: var(--surface-3); color: var(--text); border-top-left-radius: var(--r-cloud); border-bottom-right-radius: var(--r-xs); max-width: 80%; }
.cloud--coach[data-cloud] { margin: 16px auto 0; border-top-left-radius: var(--r-xs); transform-origin: 50% 0; max-width: 520px; animation: none; }
.cloud--coach[data-cloud][data-pop] { animation: cpIn 520ms var(--spring) both; }
.coach__note { margin-top: 12px; text-align: center; max-width: 520px; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes cpIn { from { opacity: 0; transform: translateY(12px) scale(0.6); } to { opacity: 1; transform: none; } }
.cloud--typing { padding: 14px 16px; }
.dots { display: flex; gap: 4px; }
.dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--ground); animation: dot 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: 150ms; }
.dots i:nth-child(3) { animation-delay: 300ms; }
@keyframes dot { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

.checkin { overflow: clip; display: flex; flex-direction: column; gap: 20px; }
.checkin > :not(.checkin__auras) { position: relative; z-index: 1; }
.checkin__auras { position: absolute; top: -40px; right: -24px; width: 168px; height: 168px; pointer-events: none; }
.checkin__auras .aura { inset: 0; opacity: 0; transition: opacity 320ms var(--ease-out); }
.checkin__auras .aura[data-on] { opacity: 0.6; }
.checkin__top { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.checkin__top > :not(.card__head) { align-self: flex-start; }
.checkin__top .caption { margin-top: 8px; }
.checkin__mode { font: 700 20px/24px var(--font-ui); letter-spacing: -0.03em; }
[data-mode='rhythm'] .checkin__mode { color: var(--energy-charged); }
[data-mode='steady'] .checkin__mode { color: var(--energy-steady); }
[data-mode='easy'] .checkin__mode { color: var(--energy-easy); }
[data-mode='paused'] .checkin__mode { color: var(--text); }
[data-mode='paused'] .gauge { background: var(--surface-3); opacity: 1; }
[data-mode='paused'] .marker { opacity: 0; }
.checkin__gauge { display: grid; gap: 4px; }
.gauge-box { position: relative; container-type: inline-size; padding-block: 5px; }
.marker { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--text); border: 3px solid var(--card); transform: translateX(calc(var(--p, 0.45) * 100cqw)); transition: transform 520ms var(--spring), opacity var(--dur-fast) var(--ease-out); }
.ends { display: flex; justify-content: space-between; font: var(--type-caption); color: var(--muted); }
.checkin__qs { display: grid; gap: 14px; }
.q { display: grid; gap: 8px; }
.seg3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px; gap: 2px; border-radius: var(--r-md); background: var(--inset); border: 1px solid var(--ctl); }
.seg3__btn { min-height: 44px; padding: 0 4px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text-2); font: 600 15px/20px var(--font-ui); cursor: pointer; overflow-wrap: anywhere; transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.seg3__btn:active { transform: scale(0.97); }
.seg3__btn[aria-checked='true'] { background: var(--text); color: var(--ground); font-weight: 700; }
@media (hover: hover) { .seg3__btn:not([aria-checked='true']):hover { background: var(--card); color: var(--text); } }


/* ---------- chat ---------- */
.chat__wrap { display: grid; gap: 12px; align-content: start; width: 100%; }
.chat__title { padding: 16px 16px 0; }
.chat { padding: 0; display: flex; flex-direction: column; overflow: clip; }
.chat__head { display: flex; align-items: center; gap: 12px; height: 72px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.chat__avatar { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; }
.chat__avatar .aura { inset: 0; }
.chat__head-img { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 35%; }
.chat__name { flex: 1; min-width: 0; font: 700 17px/24px var(--font-ui); }
.chat__log { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; flex: 1; min-height: 232px; max-height: 360px; overflow-y: auto; overscroll-behavior: contain; }
.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 4px; }
.chip { min-height: 44px; padding: 10px 14px; border-radius: var(--r-md); border: 1px solid var(--ctl); background: transparent; color: var(--text); font: 500 15px/20px var(--font-ui); text-align: left; cursor: pointer; transition: transform var(--dur-press) var(--ease-out), background-color 140ms var(--ease-out), border-color 140ms var(--ease-out), color 140ms var(--ease-out); }
.chip:active { transform: scale(0.97); }
@media (hover: hover) { .chip:not([disabled]):not([aria-disabled='true']):not([aria-pressed='true']):hover { background: var(--inset); border-color: var(--edge); } }
.chip[aria-pressed='true'] { background: var(--inset); border-color: var(--inset); color: var(--text); }
.chip[aria-disabled='true'] { color: var(--muted); border-color: var(--line); cursor: default; }
.chip[aria-disabled='true']:active { transform: none; }
.chip:disabled { color: var(--muted); border-color: var(--line); cursor: not-allowed; transform: none; }
.chat__reset { margin: 8px 16px 0; align-self: flex-start; }
.chat__foot { display: grid; gap: 2px; padding: 8px 16px 16px; }
html:not(.js) .chat__chips { display: none; }

.chat__caption { text-align: left; }
/* ---------- coming ---------- */
.future__grid { display: grid; gap: var(--l-gap); align-items: start; }
.fcard { padding: 0; transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-press) var(--ease-out), border-color 140ms var(--ease-out); }
.fcard:has(.fcard__head:active) { transform: scale(0.98); background: var(--inset); }
.fcard:has([aria-expanded='true']) { border-color: var(--line-ctl); }
@media (hover: hover) { .fcard:hover { border-color: var(--line-ctl); } }
.fcard__head { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: var(--l-card-pad); border: 0; border-radius: var(--r-xl); background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.fcard__head:focus-visible { outline-offset: -2px; }
.fcard__text { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.fcard__title { font: var(--type-title); }
.fcard__head[aria-expanded='true'] .ico--plus { transform: rotate(45deg); }
.fcard__panel { padding: 0 var(--l-card-pad) var(--l-card-pad); color: var(--text-2); }
.fcard__panel p, .faq__a p { animation: panelIn var(--dur-sheet) var(--ease-out) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.fcard__art { width: 100%; max-width: 320px; aspect-ratio: 585 / 336; margin: 4px auto 12px; }
.fcard__art img { width: 100%; height: auto; }
.fcard__art .aura { inset: -4% 10%; }
.fcard__art .floor { bottom: 2%; width: 70%; height: 14%; opacity: 0.5; }
html:not(.js) .fcard__panel[hidden] { display: block !important; }
/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding-block: 0; height: 64px; display: flex; align-items: center; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__list { display: flex; }
.marquee__list li { display: flex; align-items: center; gap: 32px; padding-right: 32px; white-space: nowrap; font: var(--type-title); color: var(--text-2); }
.marquee__list li::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--line-ctl); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }
@media (min-width: 1024px) {
  .marquee__track { animation-duration: 60s; }
  .marquee__list li { gap: 48px; padding-right: 48px; }
}

.faq { padding: 0; overflow: clip; max-width: 760px; margin-inline: auto; }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__h { font: inherit; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 12px 16px; border: 0; background: transparent; color: var(--text); font: var(--type-title); text-align: left; cursor: pointer; transition: background-color 140ms var(--ease-out); }
.faq__q:active { background: var(--inset); }
.faq__q:focus-visible { outline-offset: -2px; }
@media (hover: hover) { .faq__q:hover { background: var(--inset); } }
.faq__q[aria-expanded='true'] .ico--caret { transform: rotate(180deg); }
.faq__a { padding: 0 16px 16px; color: var(--text-2); }
.faq__a p { max-width: 62ch; }
html:not(.js) .faq__a[hidden] { display: block !important; }

/* ---------- footer ---------- */
.site-footer { padding-block: 40px calc(64px + 20px + env(safe-area-inset-bottom) + 24px); }
.footer { display: grid; gap: 16px; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__disclaimer { max-width: 64ch; }
@media (min-width: 768px) { .site-footer { padding-block: 48px; } }
@media (min-width: 1024px) { .site-footer { padding-block: 64px; } }

/* ---------- sticky bar (mobile) ---------- */
.sticky-bar { display: none; }
@media (max-width: 767px) {
  .sticky-bar {
    position: fixed; left: 16px; right: 16px; bottom: max(20px, env(safe-area-inset-bottom)); max-width: 440px; margin-inline: auto; height: 64px; padding: 8px; z-index: 20;
    display: flex; gap: 8px; background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-xl);
    transform: translateY(calc(100% + 24px)); opacity: 0; visibility: hidden;
    transition: transform var(--dur-sheet) var(--ease-out), opacity var(--dur-sheet) var(--ease-out), visibility 0s linear var(--dur-sheet);
  }
  .sticky-bar[data-visible='true'] { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .sticky-bar .btn-primary { flex: 1; width: auto; min-width: 0; }
}
.sticky-bar__age { align-self: center; flex: none; color: var(--muted); }
.sticky-bar__coach { position: relative; flex: none; width: 48px; height: 48px; border-radius: var(--r-lg); overflow: hidden; display: grid; place-items: center; }
.sticky-bar__coach .aura { inset: 0; }
.sticky-bar__head { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 35%; }
@media (min-width: 768px) { .fade-bar { display: none; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html.js [data-rise]:not([data-in]), [data-rise] { opacity: 1 !important; animation: none !important; }
  .art img, .stage__fig img { animation: none; opacity: 1; }
  .stage__fig { animation: none !important; }
  .cloud, .fcard__panel p, .faq__a p { animation: fadeOnly 120ms linear both !important; }
  .cloud--coach[data-cloud]:not([data-pop]) { animation: none !important; }
  .dots i { animation: none; opacity: 1; }
  .sticky-bar { transform: none !important; transition: opacity 120ms linear, visibility 0s linear 120ms !important; }
  .sticky-bar[data-visible='true'] { transition-delay: 0s !important; }
  .marquee { height: auto; padding-block: 12px; }
  .marquee__track { animation: none !important; width: auto; justify-content: center; }
  .marquee__list { flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
  .marquee__list li { gap: 0; padding-right: 0; }
  .marquee__list li::after { display: none; }
  .marquee__list[aria-hidden='true'] { display: none; }
}
@keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; } }

.footer__operator { max-width: 64ch; }
.roster { display: none; }
@media (min-width: 1024px) {
  .roster { display: grid; gap: 4px; margin-top: 16px; }
  .roster__item { display: flex; flex-direction: column; align-items: flex-start; width: 100%; min-height: 56px; padding: 8px 16px; border: 1px solid transparent; border-radius: var(--r-lg); background: transparent; color: var(--text); text-align: left; cursor: pointer; transition: transform var(--dur-press) var(--ease-out), background-color 140ms var(--ease-out), border-color 140ms var(--ease-out); }
  .roster__item:active { transform: scale(0.98); }
  .roster__item[aria-checked='true'] { background: var(--card); border-color: var(--line); }
  .roster__item[aria-checked='true'] .roster__name { font-weight: 700; }
  .roster__name { font: var(--type-title); }
  .roster__trait { font: var(--type-body-sm); color: var(--muted); }
}
@media (hover: hover) and (min-width: 1024px) { .roster__item:not([aria-checked='true']):hover { background: var(--card); } }
