/* DojoDuo landing page.
   Colours, radii, type and motion mirror the app's design system
   (lib/design/tokens.dart, typography.dart). */

@font-face { font-family: Sora; src: url(/fonts/Sora-Variable.woff2) format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: Inter; src: url(/fonts/Inter-Variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #0B0B10; --s1: #14141B; --s2: #1C1C26; --s3: #262633;
  --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.16);
  --text: #F5F5FA; --muted: #B4B4C6; --faint: #8A8AA0;
  --accent: #7C5CFF; --accent-soft: #A996FF;
  --success: #2BD4A0; --pending: #FFB454; --danger: #FF5C6C;
  --reward: #F5C451; --energy: #FF7A45;
  /* What the phone mockups and share cards use. The Business-branding
     switcher changes these three; the page chrome keeps --accent. */
  --brand: #7C5CFF; --on-brand: #fff; --bold-ink: #fff;
  --brand-soft: color-mix(in srgb, var(--brand) 70%, #fff);
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px;
  --ease: cubic-bezier(.2,0,0,1); --out: cubic-bezier(.215,.61,.355,1);
  --back: cubic-bezier(.175,.885,.32,1.275);
  --fast: 140ms; --base: 240ms; --slow: 420ms;
  --display: Sora, system-ui, sans-serif; --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; min-width: 0; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent-soft); text-underline-offset: 3px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 6px; }
.i { width: 1em; height: 1em; fill: currentColor; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(780px, 100% - 40px); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; color: var(--text); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; }
h1 span { display: block; } h1 .soft { color: var(--accent-soft); }
h2 { font-size: clamp(1.85rem, 4vw, 2.9rem); font-weight: 700; line-height: 1.1; letter-spacing: -.028em; }
h3 { font-size: 1.19rem; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.eyebrow { font: 700 .72rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-soft); }
.eyebrow.gold { color: var(--reward); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 34em; text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 26px; border-radius: var(--r-md); background: var(--accent); color: #fff; font: 600 1rem/1.1 var(--body); letter-spacing: .01em; text-decoration: none; transition: transform var(--fast) var(--out), background var(--base); }
.btn:hover { background: #8b6eff; }
.btn:active { transform: scale(.97); }
.btn-sm { height: 42px; padding: 0 18px; font-size: .92rem; border-radius: 12px; }
.btn { white-space: nowrap; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background var(--base), border-color var(--base), backdrop-filter var(--base); border-bottom: 1px solid transparent; }
.nav.stuck { background: rgba(11,11,16,.78); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; flex: none; align-items: center; gap: 10px; white-space: nowrap; color: var(--text); text-decoration: none; font: 700 1.2rem/1 var(--display); letter-spacing: -.02em; }
.logo img { border-radius: 9px; box-shadow: 0 0 0 1px var(--line2); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-cta { display: none; }
.nav .btn-sm, .nav-toggle { flex: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .92rem; font-weight: 500; padding: 10px 12px; border-radius: 10px; transition: color var(--fast), background var(--fast); }
.nav-links a:hover { color: var(--text); background: var(--line); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text); transition: transform var(--base) var(--ease), top var(--base) var(--ease); }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav .btn-sm { margin-left: auto; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 20px 20px; background: rgba(11,11,16,.97); border-bottom: 1px solid var(--line); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity var(--base), transform var(--base) var(--ease), visibility 0s var(--base); }
  .nav-links.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-links a { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
}
@media (max-width: 980px) { .nav-links a.nav-cta { display: block; margin-top: 14px; padding: 15px 8px; border: 0; border-radius: 14px; background: var(--accent); color: #fff; font-weight: 600; text-align: center; } }
@media (max-width: 560px) { .nav .btn-sm { display: none; } .nav-toggle { margin-left: auto; } }


/* ---------- entrance (app rule: fade + 6% slide, staggered <= 80ms) ---------- */
.js .rise, .js .reveal { opacity: 0; transform: translateY(22px); }
.js .rise { animation: rise var(--slow) var(--out) calc(120ms + var(--d, 0) * 80ms) forwards; }
.js .reveal { transition: opacity 560ms var(--out), transform 560ms var(--out); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 128px 0 72px; overflow: hidden; overflow: clip; }
.hero-glow { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 12% 0%, rgba(124,92,255,.42), transparent 70%),
    radial-gradient(45% 50% at 100% 92%, rgba(255,122,69,.20), transparent 70%); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: 40px; align-items: center; }
.hero-copy > * + * { margin-top: 22px; }
.hero-copy h1 { margin-top: 16px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px !important; }
.stores.center { justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 20px 0 16px; border-radius: var(--r-md); background: var(--s1); border: 1px solid var(--line2); color: var(--text); cursor: default; }
.store .i { font-size: 22px; color: var(--faint); }
.store small { display: block; font-size: .7rem; color: var(--faint); line-height: 1.2; letter-spacing: .02em; }
.store b { display: block; font: 600 1.05rem/1.2 var(--display); letter-spacing: -.01em; }
.hero-note { font-size: .92rem; color: var(--faint); }
.hero-note a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; white-space: nowrap; }
.hero-stage { position: relative; display: grid; justify-items: center; gap: 18px; }
.demo-toggle { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line); color: var(--muted); font-size: .8rem; font-weight: 600; transition: color var(--fast), border-color var(--fast); }
.demo-toggle:hover { color: var(--text); border-color: var(--line2); }
.demo-toggle .i { font-size: 16px; }
.floater { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(28,28,38,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line2); box-shadow: 0 18px 40px -12px rgba(0,0,0,.7); font-size: .8rem; line-height: 1.3; white-space: nowrap; }
.floater b { display: block; font-weight: 600; } .floater small { color: var(--faint); font-size: .72rem; }
.f-a { top: 9%; right: calc(50% + 168px); animation: pop 520ms var(--back) 900ms both; }
.f-b { bottom: 24%; left: calc(50% + 150px); opacity: 0; transform: translateY(14px) scale(.94); transition: opacity var(--slow) var(--out), transform var(--slow) var(--back); }
.f-b.show { opacity: 1; transform: none; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.92); } }
@media (max-width: 1180px) { .floater { display: none; } }
@media (max-width: 760px) {
  .hero { padding-top: 104px; }
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { text-align: center; } .hero-copy .lede { margin-inline: auto; } .stores { justify-content: center; }
  .stores { display: grid; grid-template-columns: minmax(0, 1fr); width: min(100%, 300px); margin-inline: auto; } .store { justify-content: center; height: auto; min-height: 58px; padding-block: 8px; }
}

/* ============================================================
   Phone mockup + in-app components (scaled 0.78 from the app's dp)
   ============================================================ */
.phone { --z: 1; flex: none; transform: scale(var(--z)); transform-origin: 50% 0; margin: 0 calc((var(--z) - 1) * 168px) calc((var(--z) - 1) * var(--ph, 700px)); position: relative; width: 336px; padding: 8px; border-radius: 48px; background: #17171f;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), inset 0 0 0 1px rgba(0,0,0,.6), 0 50px 90px -30px rgba(0,0,0,.85), 0 0 140px -40px color-mix(in srgb, var(--brand) 60%, transparent);
  transition: box-shadow 600ms; }
.scr { position: relative; width: 320px; height: 684px; border-radius: 40px; overflow: hidden; isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); transform: translateZ(0); background: var(--ink); color: var(--text); font: 400 12.5px/1.45 var(--body); text-align: left; }
.scr::before { content: ""; position: absolute; inset: 0 0 auto; height: 230px; z-index: -1; background: radial-gradient(90% 100% at 50% 0%, color-mix(in srgb, var(--brand) 34%, transparent), transparent 72%); transition: background 600ms; }
/* Real captures (1080 x 2400 screenshots and screen recordings) fill the screen edge to edge. */
.phone.real { --ph: 727px; } .phone.real .scr { height: 711px; }
.scene.shot { padding: 0; }
.scene.shot img, .scene.shot video { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 0; background: var(--ink); }
.scr strong { font-family: var(--display); font-weight: 600; }
.scr small { display: block; font-size: 10px; color: var(--faint); line-height: 1.35; }
.scr .i { font-size: 15px; }
.scr .accent { color: var(--brand-soft); } .scr .reward, .reward { color: var(--reward); } .scr .energy { color: var(--energy); } .scr .success { color: var(--success); } .scr .faint { color: var(--faint); }
.grow { flex: 1; min-width: 0; } .push { margin-left: auto; }
.a-status { position: absolute; inset: 0 0 auto; height: 34px; padding: 10px 24px 0; display: flex; justify-content: space-between; font: 600 11px/1 var(--body); z-index: 5; }
.sb { width: 44px; height: 10px; background:
  linear-gradient(var(--text),var(--text)) right 0 top 0/18px 10px no-repeat,
  radial-gradient(circle at 50% 100%, var(--text) 68%, transparent 70%) left 0 top 0/13px 10px no-repeat,
  linear-gradient(to top right, var(--text) 49%, transparent 51%) left 16px top 0/9px 10px no-repeat; border-radius: 2px; }
.home-ind { position: absolute; left: 50%; bottom: 7px; width: 96px; height: 4px; margin-left: -48px; border-radius: 4px; background: rgba(255,255,255,.85); z-index: 9; }
.scene { position: absolute; inset: 0; padding: 40px 16px 18px; display: flex; flex-direction: column; gap: 10px; opacity: 0; visibility: hidden; transform: translateX(6%); transition: opacity var(--slow) var(--out), transform var(--slow) var(--ease), visibility 0s var(--slow); }
.scene.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.scene.left { transform: translateX(-6%); }

.a-hdr { display: flex; align-items: center; gap: 9px; min-height: 40px; }
.a-hdr > .i { font-size: 18px; }
.a-glyph { border-radius: 6px; mix-blend-mode: screen; }
.a-brand { font: 600 15.5px/1 var(--display); letter-spacing: .03em; flex: 1; white-space: nowrap; }
.a-logo { width: 24px; height: 24px; border-radius: 7px; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font: 800 12px/1 var(--display); flex: none; transition: background 600ms; }
.a-logo.lg { width: 34px; height: 34px; border-radius: 10px; font-size: 17px; }
.a-bell { position: relative; color: var(--brand-soft); } .a-bell .i { font-size: 19px; }
.a-bell em { position: absolute; top: -5px; right: -6px; min-width: 14px; height: 14px; border-radius: 9px; background: var(--danger); color: #fff; font: 700 8.5px/14px var(--body); text-align: center; border: 1.5px solid var(--ink); box-sizing: content-box; }
.a-ava { width: 31px; height: 31px; flex: none; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 26%, var(--s1)); border: 1.5px solid var(--brand); font: 700 10.5px/1 var(--display); transition: background 600ms, border-color 600ms; }
.a-ava.sm { width: 23px; height: 23px; font-size: 8.5px; border-width: 1px; }
.a-ava.alt { background: #3a2a1f; border-color: var(--energy); } .a-ava.alt2 { background: #1d3530; border-color: var(--success); }
.a-story { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px 0 5px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line); font-weight: 500; font-size: 11.5px; }
.a-story .i { color: var(--brand-soft); font-size: 13px; }
.a-card { background: var(--s1); border: 1px solid var(--line); border-radius: 16px; padding: 13px; }
.a-card.flat { background: var(--ink); border-radius: 12px; padding: 11px; display: grid; gap: 8px; }
.a-card strong { display: block; font-size: 12.5px; line-height: 1.3; }
.a-today { display: grid; gap: 10px; padding: 15px; background: linear-gradient(125deg, color-mix(in srgb, var(--brand) 30%, var(--s1)), var(--s1) 62%, color-mix(in srgb, var(--brand) 14%, var(--s1))); border-color: color-mix(in srgb, var(--brand) 50%, transparent); transition: background 600ms, border-color 600ms; }
.a-over { font: 700 9px/1.2 var(--body); letter-spacing: .13em; text-transform: uppercase; color: var(--faint); }
.a-h { font-size: 19px !important; font-weight: 700 !important; letter-spacing: -.02em; }
.a-row { display: flex; align-items: center; gap: 8px; } .a-row.tight { gap: 7px; } .a-row.between { justify-content: space-between; } .a-row.end { justify-content: flex-end; }
.a-pill { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: 999px; background: rgba(245,196,81,.15); color: var(--reward); font: 600 10px/1 var(--body); white-space: nowrap; }
.a-pill .i { font-size: 11px; }
.a-pill.neutral { background: var(--s3); color: var(--muted); }
.a-st { display: inline-flex; align-items: center; gap: 4px; height: 21px; padding: 0 9px; border-radius: 999px; font: 600 9.5px/1 var(--body); white-space: nowrap; }
.a-st .i { font-size: 11px; }
.a-st.success { background: rgba(43,212,160,.15); color: var(--success); }
.a-st.pending { background: rgba(255,180,84,.16); color: var(--pending); }
.a-st.danger { background: rgba(255,92,108,.16); color: var(--danger); }
.a-st.accent { background: color-mix(in srgb, var(--brand) 20%, transparent); color: var(--brand-soft); }
.a-btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 11px; background: var(--brand); color: var(--on-brand); font: 600 12.5px/1 var(--body); white-space: nowrap; transition: transform var(--fast) var(--out), filter var(--fast), background 600ms, color 600ms; }
.a-btn .i { font-size: 15px; }
.a-btn.sec { background: var(--s2); border: 1px solid var(--line2); color: var(--text); }
.a-btn.quiet { background: none; color: var(--brand-soft); }
.a-btn.sq { width: 42px; padding: 0; flex: none; }
.a-btn.mini { height: 28px; padding: 0 12px; font-size: 10.5px; border-radius: 9px; }
.a-btn.pressed { transform: scale(.96); filter: brightness(.85); }
.a-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.a-tile { background: var(--s1); border: 1px solid var(--line); border-radius: 16px; padding: 10px 11px 9px; display: grid; gap: 3px; }
.a-tile b { display: flex; align-items: center; gap: 5px; font: 700 19px/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.a-tile b .i { font-size: 15px; }
.a-tile > span { font-size: 10px; color: var(--muted); line-height: 1.25; }
.a-tile.c { justify-items: center; text-align: center; } .a-tile.c > .i { font-size: 14px; }
.a-tile b.bump, #hStreak.bump, #hLevel.bump { animation: bump 460ms var(--back); }
@keyframes bump { 35% { transform: scale(1.28); } }
.a-well { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; }
.a-well.accent { background: color-mix(in srgb, var(--brand) 20%, transparent); color: var(--brand-soft); }
.a-well.reward { background: rgba(245,196,81,.15); color: var(--reward); }
.a-well.lg { width: 38px; height: 38px; border-radius: 12px; } .a-well.lg .i { font-size: 19px; }
.a-prog, .a-xprow, .a-client { display: flex; align-items: center; gap: 10px; padding: 11px 12px; }
.a-bar { height: 5px; border-radius: 5px; background: var(--s3); overflow: hidden; margin-top: 7px; }
.a-bar.thin { height: 3px; margin: 0; flex: none; }
.a-bar i { display: block; height: 100%; border-radius: inherit; background: var(--brand); transform-origin: left; transform: scaleX(var(--v, 0)); transition: transform 900ms var(--ease), background 600ms; }
.a-sec { display: flex; justify-content: space-between; align-items: baseline; font: 600 14px/1.2 var(--display); margin-top: 4px; letter-spacing: -.01em; }
.a-sec em { font: 600 11px/1 var(--body); color: var(--brand-soft); font-style: normal; }
.a-nav { margin: auto -16px -18px; padding: 8px 10px 20px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--s1); border-top: 1px solid var(--line); }
.a-nav span { display: grid; justify-items: center; gap: 3px; font-size: 9.5px; color: var(--faint); font-weight: 500; }
.a-nav .i { font-size: 18px; width: 44px; height: 24px; padding: 3px 13px; border-radius: 14px; }
.a-nav .on { color: var(--brand-soft); } .a-nav .on .i { background: color-mix(in srgb, var(--brand) 24%, transparent); }
.a-title { font-size: 19px !important; font-weight: 700 !important; letter-spacing: -.02em; }
.a-head { font-size: 15px !important; }
.a-subt { margin-top: 1px; }
.a-display { font-size: 24px !important; font-weight: 700 !important; letter-spacing: -.03em; line-height: 1.1; }
.a-display.top { margin-top: 10px; }
.a-tabs { display: grid; grid-template-columns: repeat(3,1fr); margin: 0 -16px; border-bottom: 1px solid var(--line); text-align: center; font: 600 11px/1 var(--body); color: var(--faint); }
.a-tabs span { padding: 10px 0 11px; position: relative; } .a-tabs .on { color: var(--text); }
.a-tabs .on::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: -1px; height: 2px; border-radius: 2px; background: var(--brand); }
.a-bottom { margin-top: auto; padding-top: 8px; }
.a-field { background: var(--s2); border: 1px solid var(--line); border-radius: 11px; padding: 7px 12px 8px; }
.a-field span { font-weight: 500; font-size: 12.5px; }
.a-ex { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 11px; background: var(--s1); border: 1px solid var(--line); font-weight: 500; }
.a-ex em { font: 700 9.5px/1 var(--display); color: var(--brand-soft); font-style: normal; } .a-ex span { flex: 1; } .a-ex b { font: 600 11px/1 var(--display); color: var(--muted); }
.a-assign { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; color: var(--muted); }
.a-assign .a-st { margin-left: auto; }
.a-stack { display: flex; } .a-stack .a-ava + .a-ava { margin-left: -7px; }
.a-pay { display: grid; gap: 10px; } .amt { font: 700 15px/1 var(--display); font-variant-numeric: tabular-nums; }
.a-earn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; } .a-earn b { font: 700 15px/1.3 var(--display); display: block; } .a-earn .ok { color: var(--success); }
.a-meta { display: flex; gap: 12px; font-size: 10.5px; color: var(--muted); font-weight: 500; } .a-meta span { display: inline-flex; align-items: center; gap: 4px; } .a-meta .i { font-size: 12px; }
.a-sched { display: grid; gap: 6px; } .a-sched div { display: grid; grid-template-columns: 84px 1fr; align-items: baseline; } .a-sched span { font-weight: 500; font-size: 11.5px; }
.a-trip { display: grid; grid-template-columns: repeat(3,1fr); text-align: center; gap: 2px 6px; } .a-trip b { font: 700 15px/1.3 var(--display); display: block; } .a-trip .a-bar { grid-column: 1/-1; }
.a-done { display: grid; gap: 7px; } .a-done small { font-size: 10.5px; color: var(--muted); }

/* toast, dialog, sheet */
.a-toast { position: absolute; top: 38px; left: 16px; right: 16px; z-index: 8; display: flex; align-items: center; gap: 8px; padding: 11px 13px; border-radius: 13px; background: var(--s3); border: 1px solid var(--line2); font-weight: 600; font-size: 11.5px; box-shadow: 0 14px 30px -10px rgba(0,0,0,.8); opacity: 0; transform: translateY(-140%); transition: opacity var(--base), transform var(--slow) var(--ease); }
.a-toast .i { color: var(--success); font-size: 16px; }
.a-toast.show { opacity: 1; transform: none; }
.a-scrim { position: absolute; inset: 0; z-index: 6; background: rgba(5,5,9,.66); opacity: 0; transition: opacity var(--slow); pointer-events: none; }
.is-level .a-scrim, .is-share .a-scrim { opacity: 1; }
.a-dialog { position: absolute; z-index: 7; left: 18px; right: 18px; top: 50%; padding: 20px 18px 16px; display: grid; gap: 9px; border-radius: 22px; background: var(--s2); border: 1px solid var(--line2); box-shadow: 0 30px 60px -20px #000; opacity: 0; visibility: hidden; transform: translateY(-46%) scale(.92); transition: opacity var(--base), transform var(--slow) var(--back), visibility 0s var(--slow); }
.is-level .a-dialog { opacity: 1; visibility: visible; transform: translateY(-50%); transition-delay: 0s; }
.a-dialog > strong { font-size: 15px; margin-top: 3px; } .a-dialog p { color: var(--muted); font-size: 12px; }
.a-dialog .lvl { font: 800 34px/1.1 var(--display); letter-spacing: -.03em; color: var(--brand-soft); transform-origin: left; }
.is-level .a-dialog .lvl { animation: lvl 700ms var(--back) 180ms both; }
@keyframes lvl { from { opacity: 0; transform: scale(.6); } }
.a-dialog .a-btn { padding: 0 20px; } .a-dialog .a-row { margin-top: 6px; }
.a-sheet { position: absolute; z-index: 7; inset: 46px 0 0; padding: 8px 16px 22px; display: flex; flex-direction: column; gap: 11px; border-radius: 24px 24px 0 0; background: var(--s1); border-top: 1px solid var(--line2); transform: translateY(102%); visibility: hidden; transition: transform 520ms var(--ease), visibility 0s 520ms; }
.is-share .a-sheet { transform: none; visibility: visible; transition-delay: 0s; }
.a-sheet .grab { align-self: center; width: 34px; height: 4px; border-radius: 4px; background: var(--line2); }
.a-sheet > .a-row strong { font-size: 19px; font-weight: 700; } .a-sheet > .a-row .i { font-size: 18px; }
.sheet-card { flex: 1; min-height: 0; display: grid; place-items: center; }
.sc-fit { width: 200px; height: 355px; border-radius: 12px; box-shadow: 0 20px 40px -14px #000; } .sc-fit .sc { transform: scale(.74); transform-origin: 0 0; border-radius: 16px; }
.is-share .sc-fit { animation: lvl 520ms var(--back) 160ms both; }
.a-seg { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line2); border-radius: 11px; overflow: hidden; font: 600 11.5px/1 var(--body); text-align: center; }
.a-seg span { padding: 10px 0; } .a-seg span + span { border-left: 1px solid var(--line2); } .a-seg .on { background: var(--brand); color: var(--on-brand); }
.tap { position: absolute; z-index: 10; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(255,255,255,.28); border: 1.5px solid rgba(255,255,255,.7); opacity: 0; transform: translate(var(--x, 160px), var(--y, 400px)) scale(1.5); transition: opacity 200ms, transform 420ms var(--ease); pointer-events: none; }
.tap.show { opacity: 1; transform: translate(var(--x), var(--y)) scale(1); }
.tap.down { transform: translate(var(--x), var(--y)) scale(.72); transition-duration: 110ms; background: rgba(255,255,255,.5); }
.a-xprow#hNewRow { display: none; } .is-earned .a-xprow#hNewRow { display: flex; animation: rowin var(--slow) var(--out) both; }
@keyframes rowin { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* player */
.p-top { display: grid; grid-template-columns: 24px 1fr 24px; align-items: center; min-height: 36px; } .p-top > .i { font-size: 19px; }
.p-time { justify-self: center; display: inline-flex; align-items: center; gap: 6px; font: 600 15px/1 var(--display); font-variant-numeric: tabular-nums; } .p-time .i { font-size: 13px; color: var(--muted); }
.p-chip { align-self: center; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 14px; border-radius: 999px; background: var(--s2); border: 1px solid var(--line2); font: 600 10.5px/1 var(--body); }
.p-video { position: relative; height: 176px; flex: none; border-radius: 16px; overflow: hidden; background: var(--s2); }
.p-video img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.p-ctl { position: absolute; inset: auto 0 0; display: flex; align-items: center; gap: 8px; padding: 18px 12px 9px; background: linear-gradient(transparent, rgba(0,0,0,.75)); font-size: 9.5px; font-weight: 500; }
.p-ctl u { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); } .p-ctl u i { display: block; width: 62%; height: 100%; background: #fff; border-radius: 3px; }
.p-name { text-align: center; font-size: 21px !important; font-weight: 700 !important; letter-spacing: -.02em; margin-top: 22px; }
.p-reps { text-align: center; font: 800 38px/1 var(--display); letter-spacing: -.03em; }
.p-set { text-align: center; font: 600 13px/1 var(--display); color: var(--brand-soft); margin-top: 6px; }
.p-dots { display: flex; justify-content: center; gap: 5px; } .p-dots i { width: 22px; height: 4px; border-radius: 4px; background: var(--s3); transition: background var(--base); } .p-dots i.on { background: var(--brand); }
.p-actions { margin-top: auto; display: grid; gap: 8px; padding-bottom: 6px; } .p-actions .a-btn:first-child:not(.sec) { height: 48px; font-size: 13.5px; }
/* complete */
[data-scene="done"] { align-items: center; text-align: center; padding-top: 150px; gap: 8px; }
[data-scene="done"] .p-actions, [data-scene="done"] .d-tiles { align-self: stretch; }
.d-check { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; background: rgba(43,212,160,.16); color: var(--success); transform: scale(0); } .d-check .i { font-size: 28px; }
.on .d-check { animation: popin 520ms var(--back) 260ms forwards; }
@keyframes popin { to { transform: scale(1); } }
.d-title { font-size: 23px !important; font-weight: 700 !important; letter-spacing: -.02em; margin-top: 12px; }
.d-sub { color: var(--muted); margin-bottom: 14px; } .d-note { color: var(--muted); font-size: 11.5px; padding: 6px 14px; }
.d-tiles .a-tile { opacity: 0; } .on .d-tiles .a-tile { animation: rowin var(--slow) var(--out) both; }
.on .d-tiles .a-tile:nth-child(1) { animation-delay: 420ms; } .on .d-tiles .a-tile:nth-child(2) { animation-delay: 500ms; } .on .d-tiles .a-tile:nth-child(3) { animation-delay: 580ms; }
/* rest timer */
.r-over { text-align: center; font: 700 9.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-top: 26px; }
.r-ring { position: relative; width: 210px; height: 210px; align-self: center; }
.r-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 5; stroke-linecap: round; }
.r-track { stroke: var(--s2); } .r-prog { stroke: var(--brand); stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke 600ms; }
.on .r-prog { animation: ring 5s linear 500ms forwards; } @keyframes ring { to { stroke-dashoffset: 100; } }
.r-digits { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 800 44px/1 var(--display); letter-spacing: -.02em; }
.r-roll { height: 1em; overflow: hidden; } .r-roll span { display: block; line-height: 1; }
.on .r-roll span { animation: roll 5s steps(5, end) 500ms forwards; } @keyframes roll { to { transform: translateY(-83.333%); } }
.r-next { text-align: center; font-size: 14.5px !important; }

/* staged entrances inside demo scenes */
.scene .an { opacity: 0; }
.scene.on .an { animation: rowin var(--slow) var(--out) both; animation-delay: calc(260ms + var(--n) * 150ms); }
.scene .fill { transform: scaleX(0); } .scene.on .fill { transform: scaleX(var(--v)); transition-delay: calc(700ms + var(--n, 3) * 150ms); }
.scene .pop { transform-origin: left; } .scene.on .pop { animation: popin2 480ms var(--back) both; animation-delay: inherit; }
@keyframes popin2 { from { transform: scale(.5); opacity: 0; } }
.anim-toast { transition: none; } .scene.on .anim-toast { animation: toast 3.6s var(--ease) 2.2s both; }
@keyframes toast { 0% { opacity: 0; transform: translateY(-140%); } 12%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-140%); } }
.scene.on .press-late { animation: press 520ms var(--out) 1.72s; } @keyframes press { 40% { transform: scale(.95); filter: brightness(.8); } }
/* two-state flip: first child shows, then the second */
.flip { display: inline-grid; justify-items: start; vertical-align: top; } .flip > * { grid-area: 1/1; transition: opacity var(--base), transform var(--slow) var(--back); }
.flip > :last-child { opacity: 0; transform: scale(.7); }
.scene.on .flip > :first-child, .t-rewards.in .flip > :first-child { animation: flipout var(--base) 2.6s forwards; }
.scene.on .flip > :last-child, .t-rewards.in .flip > :last-child { animation: flipin var(--slow) var(--back) 2.7s forwards; }
@keyframes flipout { to { opacity: 0; transform: scale(.7); } } @keyframes flipin { to { opacity: 1; transform: none; } }
.flip.txt > * { justify-self: start; }

/* ---------- how it works ---------- */
.how { padding: 28px 0 40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { padding: 24px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); }
.steps .num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: rgba(124,92,255,.16); color: var(--accent-soft); font: 700 .95rem/1 var(--display); margin-bottom: 16px; }
.steps p { color: var(--muted); margin-top: 6px; font-size: .96rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 10px; } .steps li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; padding: 18px; } .steps .num { grid-row: span 2; margin: 0; } }

/* ---------- sections ---------- */
.band, .how, .cta, .foot { max-width: 100vw; }
.band { overflow-x: hidden; overflow-x: clip; padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.sec-head { max-width: 680px; display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head p:not(.eyebrow) { color: var(--muted); font-size: 1.09rem; text-wrap: pretty; }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- tabbed demo ---------- */
.demo { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
.demo.flip-side .demo-copy { order: 2; }
.demo-copy .sec-head { margin-bottom: 32px; }
.demo-tabs { display: grid; gap: 10px; }
.demo-tabs button { position: relative; display: flex; gap: 16px; text-align: left; padding: 20px 22px; border-radius: var(--r-lg); border: 1px solid transparent; overflow: hidden; transition: background var(--base), border-color var(--base); }
.demo-tabs button:hover { background: rgba(255,255,255,.03); }
.demo-tabs button.on { background: var(--s1); border-color: var(--line); }
.demo-tabs b { display: block; font: 600 1.12rem/1.3 var(--display); letter-spacing: -.01em; color: var(--muted); transition: color var(--base); }
.demo-tabs button.on b { color: var(--text); }
.demo-tabs b + span { display: block; color: var(--muted); font-size: .96rem; margin-top: 6px; max-width: 30em; }
.t-ico { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--s2); color: var(--faint); font-size: 20px; transition: background var(--base), color var(--base); }
.demo-tabs button.on .t-ico { background: rgba(124,92,255,.18); color: var(--accent-soft); }
.t-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.demo.playing .demo-tabs button.on .t-bar { animation: tbar 7s linear forwards; }
.demo.playing.hold .demo-tabs button.on .t-bar { animation-play-state: paused; }
@keyframes tbar { to { transform: scaleX(1); } }
.demo-stage { display: grid; justify-items: center; position: relative; }
.demo-desc { display: none; margin-top: 14px; min-height: 4.7em; color: var(--muted); font-size: .96rem; text-align: center; text-wrap: pretty; }
.demo-stage::before { content: ""; position: absolute; inset: 8% 0; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 22%, transparent), transparent); transition: background 600ms; }
@media (max-width: 760px) {
  .demo { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .demo-copy .sec-head { margin-bottom: 22px; }
  .demo-desc { display: block; }
  .demo.flip-side .demo-copy { order: 0; }
  .demo-tabs { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 5px; background: var(--s1); border: 1px solid var(--line); border-radius: 16px; }
  .demo-tabs button { padding: 10px 6px; justify-content: center; text-align: center; border-radius: 12px; }
  .demo-tabs button.on { background: var(--s3); border-color: transparent; }
  .demo-tabs b { font-size: .8rem; line-height: 1.25; } .demo-tabs b + span, .t-ico { display: none; }
}

.also { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; }
.also li { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line); color: var(--muted); font-size: .9rem; font-weight: 500; }
.also .i { color: var(--success); font-size: 17px; }

.brandbox { margin-top: 44px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-xl); background: linear-gradient(120deg, color-mix(in srgb, var(--brand) 16%, var(--s1)), var(--s1) 60%); border: 1px solid var(--line); transition: background 600ms; }
.brandbox h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; margin: 10px 0 10px; letter-spacing: -.02em; }
.brandbox p:not(.eyebrow) { color: var(--muted); max-width: 34em; }
.swatches { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.swatches button { width: 44px; height: 44px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px var(--s1), 0 0 0 4px var(--line2); transition: transform var(--base) var(--back), box-shadow var(--base); }
.swatches button:hover { transform: scale(1.08); }
.swatches button.on { box-shadow: 0 0 0 3px var(--s1), 0 0 0 6px var(--c); }
.brand-prev { display: grid; gap: 16px; padding: 22px; border-radius: var(--r-lg); background: var(--ink); border: 1px solid var(--line); font: 400 12.5px/1.4 var(--body); }
.bp-row { display: flex; align-items: center; gap: 12px; } .brand-prev .a-bar { margin: 0; height: 6px; } .brand-prev .a-brand { font-size: 17px; }
@media (max-width: 680px) { .brandbox { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
/* grid and flex children may always shrink: nothing pushes its box wider than the page */
.brandbox > *, .demo > *, .talk > *, .bento > *, .plans > *, .share-grid > *, .steps > *, .hero-in > *, .t-rewards > *, .bp-row > *, .rw-item > * { min-width: 0; }
.brand-prev .a-brand { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 400px) { .brand-prev { padding: 16px; } .brand-prev .a-brand { font-size: 14px; } .bp-row { gap: 8px; } .brand-prev .a-btn { padding: 0 10px; } }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { position: relative; min-width: 0; overflow: hidden; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-xl); background: var(--s1); border: 1px solid var(--line); }
.tile h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.tile p { color: var(--muted); margin-top: 8px; font-size: .98rem; max-width: 36em; }
.t-levels { grid-column: span 6; display: grid; gap: 34px; background: radial-gradient(70% 120% at 100% 0%, rgba(245,196,81,.10), transparent 60%), var(--s1); }
.t-streak { grid-column: span 2; } .t-ranks { grid-column: span 4; } .t-rewards { grid-column: span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.lv-read { display: flex; align-items: baseline; gap: 16px; margin-bottom: 30px; }
.lv-num { font: 800 clamp(2.2rem, 6vw, 3.6rem)/1 var(--display); letter-spacing: -.04em; }
.lv-num span { display: inline-block; min-width: .7em; }
.lv-num span.bump { animation: bump 460ms var(--back); }
.lv-xp { font: 700 1.25rem/1 var(--display); color: var(--reward); font-variant-numeric: tabular-nums; }
.lv-track { position: relative; height: 10px; border-radius: 10px; background: var(--s3); margin: 0 14px 44px; }
.lv-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--reward)); transform-origin: left; transform: scaleX(var(--p)); will-change: transform; }
.lv-node { position: absolute; left: calc(var(--x) * 100%); top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; display: grid; place-items: center; background: var(--s2); border: 2px solid var(--s3); color: var(--faint); transition: background var(--base), border-color var(--base), color var(--base), transform var(--slow) var(--back); }
.lv-node b { font: 700 .82rem/1 var(--display); }
.lv-node small { position: absolute; top: 38px; font-size: .74rem; color: var(--faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lv-node.on { background: var(--reward); border-color: var(--reward); color: var(--ink); transform: scale(1.14); }
.streak-vis { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.streak-vis .flame { font-size: 54px; color: var(--energy); transform-origin: 50% 90%; }
.in .streak-vis .flame { animation: flame 900ms var(--back) 300ms both; }
@keyframes flame { from { transform: scale(.3) rotate(-14deg); opacity: 0; } }
.streak-vis b { font: 800 4rem/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 20px; }
.week i { display: grid; place-items: center; height: 38px; border-radius: 10px; background: var(--s2); color: var(--faint); font: 600 .72rem/1 var(--body); font-style: normal; transition: background var(--slow), color var(--slow); }
.in .week i { background: rgba(255,122,69,.18); color: var(--energy); }
.in .week i:nth-child(1) { transition-delay: .5s; } .in .week i:nth-child(2) { transition-delay: .62s; } .in .week i:nth-child(3) { transition-delay: .74s; } .in .week i:nth-child(4) { transition-delay: .86s; } .in .week i:nth-child(5) { transition-delay: .98s; } .in .week i:nth-child(6) { transition-delay: 1.1s; } .in .week i:nth-child(7) { transition-delay: 1.22s; }
.ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
.ladder li { position: relative; min-width: 0; overflow-wrap: anywhere; padding: 12px 14px; border-radius: var(--r-md); background: var(--s2); border: 1px solid var(--line); opacity: .55; transition: opacity var(--slow), border-color var(--slow), background var(--slow); }
.ladder span { display: block; font: 600 .92rem/1.25 var(--display); } .ladder small { color: var(--faint); font-size: .78rem; }
.in .ladder .got { opacity: 1; } .in .ladder .got:nth-child(2) { transition-delay: .35s; } .in .ladder .got:nth-child(3) { transition-delay: .7s; }
.in .ladder .now { border-color: var(--reward); background: rgba(245,196,81,.10); } .in .ladder .now span { color: var(--reward); }
.rw { display: grid; gap: 10px; padding: 18px; border-radius: var(--r-lg); background: var(--ink); border: 1px solid var(--line); font: 400 12.5px/1.4 var(--body); }
.rw small { display: block; color: var(--faint); font-size: 10.5px; }
.rw-bal small { font-weight: 700; letter-spacing: .13em; font-size: 9.5px; }
.rw-bal b { font: 800 34px/1.1 var(--display); color: var(--reward); letter-spacing: -.03em; font-variant-numeric: tabular-nums; } .rw-bal em { font: 700 13px var(--display); font-style: normal; }
.rw-item { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); }
.rw-item strong { font: 600 13px/1.3 var(--display); display: block; }
.rw-cost { display: inline-flex; align-items: center; gap: 3px; font: 700 13px/1 var(--display); color: var(--reward); }
.rw .flip > * { justify-self: end; align-self: center; }
@media (max-width: 900px) { .ladder { grid-template-columns: repeat(2, 1fr); } .t-rewards { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .t-streak, .t-ranks { grid-column: span 6; } }
@media (max-width: 560px) { .ladder { grid-template-columns: 1fr 1fr; } .lv-node small { font-size: .64rem; } .lv-node { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
  .rw { padding: 14px; } .rw-item .a-well { display: none; } .rw-item { grid-template-columns: 1fr auto; } .rw-item .rw-cost { grid-column: 1 !important; } .rw-item .rw-cost { grid-row: 2; } .rw-item > :last-child { grid-row: 1 / span 2; grid-column: 2; } }

/* ---------- share cards (1080 x 1920 drawn at 270 x 480) ---------- */
.sc { position: relative; width: 270px; height: 480px; flex: none; overflow: hidden; isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); display: flex; flex-direction: column; padding: 62px 18px 0; color: #fff; font: 400 11px/1.35 var(--body); background: #101015; text-align: left; }
.sc b, .sc-title { font-family: var(--display); }
.sc > img, .sc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sc-poster::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,12,.55), rgba(8,8,12,.25) 30%, rgba(8,8,12,.86) 62%, #08080c 88%); }
.sc-head { display: flex; align-items: center; gap: 8px; line-height: 1.15; }
.sc-head small { display: block; font: 700 6px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.sc-head b { font-size: 10.5px; font-weight: 700; letter-spacing: -.01em; }
.sc-head.mid { justify-content: center; }
.sc-logo { width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--bold-ink); font: 800 9px/1 var(--display); box-shadow: 0 0 0 1.5px rgba(255,255,255,.85); transition: background 600ms; }
.sc-over { font: 700 7.5px/1.3 var(--body); letter-spacing: .16em; text-transform: uppercase; margin-top: auto; }
.sc-over.brand { color: var(--brand-soft); text-align: center; }
.sc-title { font-size: 30px; font-weight: 800; line-height: .98; letter-spacing: -.035em; text-transform: uppercase; margin-top: 4px; }
.sc-title.mixed { text-transform: none; text-align: center; font-size: 31px; line-height: 1.05; }
.sc-line { margin-top: 7px; font-size: 11px; opacity: .92; } .sc-line.sm { font: 600 8.5px var(--display); margin-top: 5px; }
.sc-clean .sc-line { text-align: center; color: #c9c9d6; }
.sc-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; height: 16px; padding: 0 8px; border-radius: 99px; background: var(--brand); color: var(--bold-ink); font: 700 6.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; margin-top: auto; transition: background 600ms; }
.sc-tag + .sc-over { margin-top: 8px; } .sc-tag.mid { align-self: center; margin-top: 10px; } .sc-tag .i { font-size: 8px; }
.sc-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin-top: 12px; }
.sc-stats span { padding: 6px 7px 7px; border-radius: 7px; border: 1px solid rgba(255,255,255,.22); background: rgba(0,0,0,.28); font: 700 5.5px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.sc-stats b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.sc-stats.plain span { border: 0; background: none; text-align: center; padding: 0; } .sc-stats.plain span + span { border-left: 1px solid rgba(255,255,255,.14); border-radius: 0; }
.sc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin: 14px 0 82px; }
.sc-foot b { display: block; font-size: 13.5px; font-weight: 700; letter-spacing: -.02em; }
.sc-link { display: inline-flex; align-items: center; gap: 4px; height: 17px; padding: 0 8px; margin-top: 7px; border-radius: 99px; background: var(--brand); color: var(--bold-ink); font: 700 7px/1 var(--body); transition: background 600ms; } .sc-link .i { font-size: 8px; }
.sc-qr { width: 42px; height: 42px; flex: none; border-radius: 6px; background: #fff; padding: 4px; } .sc-qr svg { width: 100%; height: 100%; fill: #0b0b10; }
/* bold */
.sc-bold { background: var(--brand); color: var(--bold-ink); transition: background 600ms, color 600ms; }
.sc-c1, .sc-c2 { position: absolute; z-index: -1; border-radius: 50%; }
.sc-c1 { width: 300px; height: 300px; right: -130px; top: -120px; background: rgba(255,255,255,.2); }
.sc-c2 { width: 260px; height: 260px; left: -110px; bottom: -110px; background: rgba(0,0,0,.1); }
.sc-bold .sc-logo { background: #0b0b10; color: var(--brand); box-shadow: none; }
.sc-bold .sc-link { background: #0b0b10; color: #fff; }
.sc-bold .sc-stats span { border-color: color-mix(in srgb, currentColor 30%, transparent); background: color-mix(in srgb, currentColor 8%, transparent); }
.sc-medal { width: 62px; height: 62px; margin-top: 16px; border-radius: 50%; display: grid; place-items: center; background: #0b0b10; color: var(--brand); box-shadow: 0 0 0 6px var(--brand), 0 0 0 7px rgba(11,11,16,.55); transition: color 600ms, box-shadow 600ms; } .sc-medal .i { font-size: 27px; }
.sc-big { display: flex; align-items: flex-end; gap: 8px; } .sc-big b { font-size: 104px; font-weight: 800; line-height: .82; letter-spacing: -.06em; } .sc-big span { font: 800 19px/1 var(--display); text-transform: uppercase; letter-spacing: -.02em; padding-bottom: 3px; }
.sc-level { display: flex; align-items: flex-end; gap: 8px; } .sc-level span { font: 800 22px/1 var(--display); text-transform: uppercase; padding-bottom: 6px; } .sc-level b { font-size: 112px; font-weight: 800; line-height: .8; letter-spacing: -.05em; }
.sc-stat { margin-top: 12px; font: 700 7px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; } .sc-stat b { font-size: 19px; letter-spacing: -.03em; margin-right: 3px; } .sc-stat.mid { text-align: center; } .sc-stat.mid b { color: #fff; }
.sc-clean .sc-stat { color: var(--brand-soft); }
/* clean */
.sc-clean { background: radial-gradient(90% 40% at 50% 0%, color-mix(in srgb, var(--brand) 22%, transparent), transparent), #0e0e13; }
.sc-frame { position: absolute; inset: 7px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); z-index: -1; }
.sc-arcs { position: absolute; left: 50%; bottom: -150px; width: 260px; height: 260px; margin-left: -130px; border-radius: 50%; z-index: -1; background: repeating-radial-gradient(circle, transparent 0 15px, color-mix(in srgb, var(--brand) 55%, transparent) 15px 16px); -webkit-mask: linear-gradient(#000, transparent 60%); mask: linear-gradient(#000, transparent 60%); }
.sc-clean .sc-over { margin-top: 46px; }
.sc-lvl { text-align: center; } .sc-lvl span { display: block; font: 800 17px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; } .sc-lvl b { display: block; font-size: 112px; font-weight: 800; line-height: .86; color: var(--brand); letter-spacing: -.04em; transition: color 600ms; }
.sc-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.16); margin-top: 12px; overflow: hidden; } .sc-bar i { display: block; height: 100%; min-width: 8px; border-radius: inherit; background: var(--brand); }
.sc-list { margin-top: 10px; } .sc-list li { display: flex; gap: 9px; align-items: baseline; padding: 5.5px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 500; font-size: 9.5px; }
.sc-list em { font: 700 6.5px var(--display); color: var(--brand-soft); font-style: normal; } .sc-list b { margin-left: auto; font-size: 8px; }
.sc-clean .sc-foot, .sc-clean .sc-bar, .sc-clean .sc-list { margin-top: auto; } .sc-clean .sc-list + .sc-foot, .sc-clean .sc-line.sm + .sc-foot, .sc-clean .sc-stats + .sc-foot { margin-top: 16px; }
.sc-photo { position: relative; height: 122px; margin: -50px -6px 0; border-radius: 12px; overflow: hidden; flex: none; isolation: isolate; } .sc-photo img { z-index: 0; object-position: 50% 60%; }
.sc-head.chip { position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); z-index: 1; padding: 5px 11px 5px 6px; border-radius: 99px; background: rgba(11,11,16,.82); white-space: nowrap; }
.sc-clean[data-s] .sc-over { margin-top: 10px; } .sc-clean[data-s] .sc-stats { margin-top: 14px; }
/* profile poster */
.sc-profile { background: linear-gradient(160deg, #0b0b10 30%, color-mix(in srgb, var(--brand) 50%, #0b0b10)); padding-top: 54px; transition: background 600ms; } .sc-profile::after { display: none; }
.sc-stripes { position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, transparent 0 34px, rgba(255,255,255,.035) 34px 60px); }
.sc-face { width: 86px; height: 86px; margin-top: 14px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #2b2b3a, #15151c); border: 2.5px solid #fff; font: 800 28px/1 var(--display); letter-spacing: -.03em; }
.sc-profile .sc-over { margin-top: 18px; } .sc-profile .sc-title { font-size: 31px; }
.sc-chips { display: flex; gap: 5px; margin-top: 10px; flex-wrap: wrap; } .sc-chips span { height: 17px; padding: 0 8px; border-radius: 99px; border: 1px solid rgba(255,255,255,.4); font: 600 7.5px/15px var(--body); }
.sc-profile .sc-foot { margin-top: auto; }

/* fan */
.sec-share { overflow: hidden; overflow: clip; background: radial-gradient(60% 50% at 50% 38%, rgba(124,92,255,.14), transparent 70%); }
.sc.sc-img { display: block; padding: 0; max-width: none; object-fit: cover; }
.fan { --p: 0; --spread: 204px; --cz: .84; height: calc(480px * var(--cz) + 70px); display: grid; place-items: center; }
.fan-in { position: relative; width: calc(270px * var(--cz)); height: calc(480px * var(--cz)); }
.fc { overflow: visible; }
.fc { position: absolute; inset: 0; border-radius: 16px; z-index: calc(3 - max(var(--i), -1 * var(--i)));
  transform: translateX(calc(var(--i) * var(--p) * var(--spread))) translateY(calc(max(var(--i), -1 * var(--i)) * var(--p) * 20px)) rotate(calc(var(--i) * var(--p) * 6deg)) scale(calc(1 - max(var(--i), -1 * var(--i)) * .05));
  will-change: transform; filter: drop-shadow(0 26px 34px rgba(0,0,0,.6)); }
.fc .sc { transform: scale(var(--cz)); transform-origin: 0 0; border-radius: 18px; }
.fc-mid .sc { position: absolute; inset: 0 auto auto 0; opacity: 0; transform: scale(calc(var(--cz) * .94)); transition: opacity var(--slow), transform var(--slow) var(--ease); }
.fc-mid[data-style="poster"] [data-s="poster"], .fc-mid[data-style="bold"] [data-s="bold"], .fc-mid[data-style="clean"] [data-s="clean"] { opacity: 1; transform: scale(var(--cz)); }
@media (max-width: 1040px) { .fan { --spread: 130px; --cz: .72; } }
@media (max-width: 860px) { .fan { --spread: 112px; --cz: .7; } }
@media (max-width: 720px) { .fan { --spread: 96px; --cz: .74; } .fc[style*="--i:-2"], .fc[style*="--i:2"] { display: none; } }
@media (max-width: 430px) { .fan { --spread: 82px; --cz: .7; } }
@media (max-width: 350px) { .fan { --spread: 68px; --cz: .6; } }
.style-pick { display: grid; justify-items: center; gap: 14px; margin-top: 26px; text-align: center; }
.style-pick p { color: var(--muted); font-size: .95rem; min-height: 3em; max-width: 30em; }
.seg { display: grid; width: min(100%, 360px); grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; gap: 4px; border-radius: var(--r-md); background: var(--s1); border: 1px solid var(--line2); }
.seg button { min-width: 0; height: 44px; padding: 0 10px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--muted); transition: background var(--base), color var(--base); }
.seg button.on { background: var(--accent); color: #fff; }
.seg button:not(.on):hover { color: var(--text); }
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.share-grid > div { padding: 24px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); }
.share-grid p { color: var(--muted); margin-top: 8px; font-size: .96rem; }
.plats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.plats li { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); font-size: .86rem; font-weight: 600; line-height: 34px; }
@media (max-width: 820px) { .share-grid { grid-template-columns: 1fr; } }

/* ---------- talk ---------- */
.talk { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: clamp(32px, 6vw, 90px); align-items: center; }
.ticks { display: grid; gap: 22px; }
.ticks li { display: flex; gap: 16px; } .ticks .i { font-size: 20px; width: 42px; height: 42px; padding: 11px; border-radius: 13px; background: rgba(124,92,255,.16); color: var(--accent-soft); }
.ticks b { display: block; font: 600 1.08rem/1.3 var(--display); } .ticks span { color: var(--muted); font-size: .96rem; }
.talk-stage { position: relative; padding-right: 70px; }
.chat { gap: 8px; }
.msgs { display: flex; flex-direction: column; gap: 9px; margin-top: 8px; flex: 1; }
.msg { max-width: 82%; padding: 9px 12px; border-radius: 15px; background: var(--s2); font-size: 12px; line-height: 1.4; align-self: flex-start; }
.msg.out { align-self: flex-end; background: var(--brand); color: var(--on-brand); transition: background 600ms, color 600ms; }
.msg.xp { display: flex; gap: 7px; align-items: flex-start; } .msg.xp .i { font-size: 14px; margin-top: 1px; }
.msg.typing { display: flex; gap: 4px; padding: 12px 13px; } .msg.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }
.in .msg.typing i { animation: dot 1.1s var(--out) 3 2.4s; } .in .msg.typing i:nth-child(2) { animation-delay: 2.55s; } .in .msg.typing i:nth-child(3) { animation-delay: 2.7s; }
@keyframes dot { 30% { transform: translateY(-4px); background: var(--text); } }
.talk-stage .an { opacity: 0; } .talk-stage.in .an { animation: msgin var(--slow) var(--back) both; animation-delay: calc(300ms + var(--n) * 190ms); }
.msg.in { transform-origin: 0 100%; } .msg.out { transform-origin: 100% 100%; }
@keyframes msgin { from { opacity: 0; transform: scale(.7) translateY(10px); } to { opacity: 1; transform: none; } }
.composer { display: flex; gap: 8px; align-items: center; margin-top: auto; padding-bottom: 6px; } .composer > span:first-child { flex: 1; height: 42px; padding: 0 14px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line2); color: var(--faint); line-height: 40px; }
.callcard { position: absolute; right: 0; bottom: 48px; width: 190px; height: 290px; border-radius: 22px; overflow: hidden; isolation: isolate; border: 1px solid var(--line2); box-shadow: 0 30px 60px -20px #000; opacity: 0; transform: translateY(30px) scale(.9); transition: opacity var(--slow) 1.5s, transform 620ms var(--back) 1.5s; }
.in .callcard { opacity: 1; transform: none; }
.callcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; z-index: -2; }
.callcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 45%, rgba(5,5,9,.85)); }
.cc-person { position: absolute; left: 50%; bottom: 0; width: 150px; height: 190px; margin-left: -75px; z-index: -1; }
.cc-person::before { content: ""; position: absolute; left: 50%; top: 0; width: 64px; height: 64px; margin-left: -32px; border-radius: 50%; background: #d39a78; }
.cc-person i { position: absolute; inset: 72px 0 0; border-radius: 60px 60px 0 0; background: #23232e; }
.cc-pip { position: absolute; bottom: 86px; right: 12px; width: 44px; height: 60px; border-radius: 11px; background: #2a2a37; border: 1.5px solid rgba(255,255,255,.7); overflow: hidden; }
.cc-pip img { position: static; width: 100%; height: 100%; object-fit: cover; }
.cc-bg { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 99px; background: rgba(11,11,16,.7); font-size: 10px; font-weight: 600; } .cc-bg .i { color: var(--reward); font-size: 12px; }
.cc-name { position: absolute; left: 14px; bottom: 60px; font: 600 13px/1 var(--display); } .cc-name em { font: 500 10.5px var(--body); color: var(--muted); font-style: normal; margin-left: 5px; }
.cc-ctl { position: absolute; inset: auto 12px 12px; display: flex; justify-content: space-between; } .cc-ctl span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); font-size: 17px; } .cc-ctl .end { background: var(--danger); }
@media (max-width: 760px) { .talk { grid-template-columns: minmax(0, 1fr); } .talk-stage { justify-self: center; padding-right: 0; } .callcard { right: -18px; width: 150px; height: 228px; } .cc-person { transform: scale(.78); transform-origin: bottom; } }
@media (max-width: 400px) { .callcard { right: -8px; } }

/* ---------- promo video (click-to-load YouTube embed) ---------- */
.video-frame { aspect-ratio: 16/9; max-width: 960px; margin-inline: auto; border-radius: var(--r-xl); overflow: hidden; background: var(--s1); border: 1px solid var(--line); }
.video-frame > * { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.video-frame { position: relative; box-shadow: 0 50px 90px -40px rgba(0,0,0,.85), 0 0 140px -50px var(--accent); }
.video-play { position: relative; cursor: pointer; }
.video-play img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease), filter var(--base); }
.video-play:hover img, .video-play:focus-visible img { transform: scale(1.02); filter: brightness(1.08); }
.vp-btn { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 38px; box-shadow: 0 0 0 10px rgba(124,92,255,.22), 0 20px 50px -10px rgba(0,0,0,.8); transition: transform var(--base) var(--back), box-shadow var(--base); }
.video-play:hover .vp-btn, .video-play:focus-visible .vp-btn { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(124,92,255,.2), 0 20px 50px -10px rgba(0,0,0,.8); }
.vp-len { position: absolute; right: 14px; bottom: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(11,11,16,.78); border: 1px solid var(--line2); font: 600 .8rem/1.2 var(--body); font-variant-numeric: tabular-nums; }
.video-note { margin: 18px auto 0; text-align: center; font-size: .9rem; color: var(--faint); }
.video-note a { font-weight: 600; }
@media (max-width: 560px) { .vp-btn { width: 64px; height: 64px; margin: -32px 0 0 -32px; font-size: 30px; } .video-frame { border-radius: var(--r-lg); } }

/* ---------- pricing ---------- */
.bill { display: grid; justify-items: center; grid-template-columns: minmax(0, 1fr); margin-bottom: 32px; } .bill .seg { width: min(100%, 260px); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { padding: 30px 28px; border-radius: var(--r-xl); background: var(--s1); border: 1px solid var(--line); }
.plan.best { border-color: rgba(124,92,255,.6); background: linear-gradient(160deg, rgba(124,92,255,.2), var(--s1) 55%); }
.plan h3 { font-size: 1.3rem; font-weight: 700; }
.price { margin-top: 18px; color: var(--muted); font-weight: 500; }
.price b { font: 800 3.1rem/1 var(--display); letter-spacing: -.04em; color: var(--text); margin-right: 4px; font-variant-numeric: tabular-nums; }
.price-note { color: var(--faint); font-size: .9rem; margin-top: 8px; min-height: 1.5em; }
.plans[data-bill="m"] .py, .plans[data-bill="y"] .pm { display: none; }
.plans .pm, .plans .py { animation: swap var(--base) var(--out); } @keyframes swap { from { opacity: 0; transform: translateY(6px); } }
.price b span { display: inline-block; }
.plan ul { display: grid; gap: 13px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 11px; align-items: flex-start; font-size: .97rem; } .plan li .i { font-size: 19px; margin-top: 2px; }
.plan .y .i { color: var(--success); } .plan .n { color: var(--faint); } .plan .n .i { color: #5d5d70; }
.fine { color: var(--faint); font-size: .86rem; text-align: center; max-width: 60em; margin: 26px auto 0; }
@media (max-width: 1000px) { .plans { gap: 12px; } .plan { padding: 24px 18px; } .price b { font-size: 2.5rem; } .plan li { font-size: .92rem; gap: 9px; } }
@media (max-width: 740px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; gap: 16px; } .plan { padding: 28px 24px; } .price b { font-size: 3.1rem; } }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; cursor: pointer; list-style: none; font: 600 1.08rem/1.35 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; margin-right: 6px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(45deg) translate(-3px,-3px); transition: transform var(--base) var(--ease), border-color var(--base); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px,-3px); border-color: var(--accent-soft); }
.faq summary:hover::after { border-color: var(--text); }
.faq p { color: var(--muted); padding: 0 40px 24px 4px; max-width: 46em; }
.faq details[open] p { animation: rowin var(--slow) var(--out); }

/* ---------- cta + footer ---------- */
.cta { padding: 24px 0 96px; }
.cta-box { display: grid; justify-items: center; text-align: center; gap: 18px; padding: clamp(40px, 7vw, 80px) 24px; border-radius: 36px; border: 1px solid var(--line); background: radial-gradient(70% 90% at 15% 0%, rgba(124,92,255,.36), transparent 70%), radial-gradient(60% 80% at 100% 100%, rgba(255,122,69,.18), transparent 70%), var(--s1); }
.cta-box img { border-radius: 18px; box-shadow: 0 0 0 1px var(--line2), 0 20px 40px -12px #000; }
.cta-box p { color: var(--muted); max-width: 32em; font-size: 1.06rem; }
.cta-box .stores { margin-top: 6px !important; }
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-left: auto; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: .93rem; padding: 6px 0; } .foot nav a:hover { color: var(--text); text-decoration: underline; }
.foot p { width: 100%; color: var(--faint); font-size: .85rem; }
@media (max-width: 640px) { .foot nav { margin-left: 0; } }

/* ---------- tablets, two columns ---------- */
@media (min-width: 761px) and (max-width: 1040px) {
  .hero-in { gap: 24px; } .hero .phone, .demo .phone, .talk .phone { --z: .9; }
  .demo { gap: 28px; } .demo-tabs button { padding: 14px 16px; gap: 12px; } .demo-tabs b { font-size: 1.02rem; } .demo-tabs b + span { font-size: .9rem; }
  .t-ico { width: 36px; height: 36px; font-size: 18px; border-radius: 11px; }
  .talk { gap: 28px; } .talk-stage { padding-right: 46px; } .callcard { width: 164px; height: 250px; } .cc-person { transform: scale(.84); transform-origin: bottom; }
  .store { padding: 0 14px 0 12px; }
}
/* ---------- small phones ---------- */
@media (max-width: 420px) { .phone { --z: .92; } .talk-stage .phone { --z: .86; } }
@media (max-width: 350px) { .phone { --z: .82; } .talk-stage .phone { --z: .78; } }
/* Very narrow: phones with a large display or font size report ~280-320px */
@media (max-width: 340px) {
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .ladder { grid-template-columns: minmax(0, 1fr); }
  .lv-track { margin-inline: 12px; } .lv-node small { display: none; } .lv-track { margin-bottom: 22px; }
  .lv-read { flex-wrap: wrap; gap: 6px 14px; margin-bottom: 26px; }
  .rw-item { grid-template-columns: minmax(0, 1fr); } .rw-item > :last-child { grid-column: 1; grid-row: auto; justify-self: start; } .rw .flip > * { justify-self: start; }
  .demo-tabs button { padding: 9px 4px; } .demo-tabs b { font-size: .74rem; }
  .tile { padding: 20px 18px; } .plan { padding: 24px 20px; } .steps li, .share-grid > div { padding: 18px 16px; }
  .brand-prev .a-brand { font-size: 12.5px; letter-spacing: .01em; } .brand-prev .a-logo.lg { width: 28px; height: 28px; font-size: 14px; } .swatches { gap: 9px; } .swatches button { width: 36px; height: 36px; } .brandbox { padding: 20px 16px; }
  .faq p { padding-right: 8px; } .cta-box { padding-inline: 16px; border-radius: 28px; }
  .callcard { width: 132px; height: 200px; right: -6px; } .cc-person { transform: scale(.68); transform-origin: bottom; } .cc-ctl span { width: 30px; height: 30px; font-size: 14px; } .cc-pip, .cc-name em { display: none; } .cc-name { left: 12px; bottom: 50px; font-size: 12px; }
}
@media (max-width: 318px) { .phone { --z: .74; } .talk-stage .phone { --z: .72; } .fan { --spread: 60px; --cz: .56; } }
@media (max-width: 292px) { .phone { --z: .7; } .talk-stage .phone { --z: .68; } }
@media (min-width: 1280px) { .hero .phone { --z: 1.06; } }

/* ---------- reduced motion: show the finished state, move nothing ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rise, .js .reveal { opacity: 1; transform: none; }
  .demo-toggle { display: none; }
  .t-bar { display: none; }
}

/* ---------- trainer discovery + Founding 100 (index.html and founding.html) ---------- */
.eyebrow.energy { color: var(--energy); }
.btn .i { font-size: 18px; }
.announce { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,122,69,.10); border: 1px solid rgba(255,122,69,.4); color: var(--text); font: 600 .86rem/1.3 var(--body); text-align: left; text-decoration: none; transition: background var(--base), border-color var(--base); }
.announce:hover { background: rgba(255,122,69,.18); border-color: rgba(255,122,69,.7); }
.announce b { flex: none; padding: 5px 10px; border-radius: 999px; background: var(--energy); color: var(--ink); font: 700 .7rem/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.announce .i { flex: none; font-size: 16px; color: var(--energy); transition: transform var(--base) var(--out); }
.announce:hover .i { transform: translateX(3px); }
@media (max-width: 420px) { .announce { border-radius: 18px; gap: 8px; padding-right: 10px; font-size: .82rem; } }

/* Decoration only: a dot field and a few glowing points. Not a picture of the app's map. */
.discover::before, .f-hero .hero-glow::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle, rgba(169,150,255,.26) 1px, transparent 1.7px) 0 0 / 26px 26px; -webkit-mask-image: radial-gradient(55% 60% at 76% 46%, #000, transparent 78%); mask-image: radial-gradient(55% 60% at 76% 46%, #000, transparent 78%); }
.f-hero .hero-glow::after { -webkit-mask-image: radial-gradient(60% 70% at 50% 40%, #000, transparent 80%); mask-image: radial-gradient(60% 70% at 50% 40%, #000, transparent 80%); opacity: .7; }
.discover .wrap { position: relative; }
.discover .demo-copy .sec-head { margin-bottom: 28px; }
.pins { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pins i { position: absolute; left: calc(50% + var(--x)); top: var(--y); width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--accent-soft); box-shadow: 0 0 20px 3px var(--accent); }
.pins i.o { background: var(--energy); box-shadow: 0 0 20px 3px rgba(255,122,69,.7); }
.pins i::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid currentColor; color: var(--accent-soft); opacity: 0; animation: ping 3.6s var(--out) calc(var(--n) * .9s) infinite; }
.pins i.o::after { color: var(--energy); }
@keyframes ping { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(4.6); } }

.found-card { display: grid; justify-items: start; gap: 12px; margin-top: 32px; padding: clamp(22px, 3vw, 30px); border-radius: var(--r-xl); border: 1px solid rgba(255,122,69,.45); background: radial-gradient(90% 130% at 100% 0%, rgba(255,122,69,.20), transparent 62%), radial-gradient(80% 130% at 0% 100%, rgba(124,92,255,.24), transparent 66%), var(--s1); box-shadow: 0 30px 70px -40px rgba(255,122,69,.55); }
.found-card h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 700; line-height: 1.22; letter-spacing: -.02em; text-wrap: pretty; }
.found-card p { color: var(--muted); }
.found-card .btn { margin-top: 6px; }
.found-card .found-small { font-size: .86rem; color: var(--faint); }
@media (max-width: 480px) { .found-card .btn, .f-hero .btn, .f-page .cta-box .btn { width: 100%; padding-inline: 12px; } }

.found-note { display: flex; align-items: flex-start; gap: 12px; max-width: 780px; margin: 24px auto 0; padding: 16px 18px; border-radius: var(--r-lg); background: rgba(255,122,69,.08); border: 1px solid rgba(255,122,69,.36); color: var(--muted); font-size: .96rem; }
.found-note > .i { font-size: 20px; margin-top: 2px; color: var(--energy); }
.found-note b { color: var(--text); font-weight: 600; }
.found-note a { font-weight: 600; white-space: nowrap; }

/* founding.html */
.f-page .band { padding: clamp(44px, 6.5vw, 80px) 0; }
.f-page .sec-head { margin-bottom: clamp(28px, 4vw, 44px); }
.f-hero { padding: 132px 0 56px; text-align: center; }
.f-hero .hero-glow { background: radial-gradient(70% 80% at 50% 0%, rgba(124,92,255,.40), transparent 72%), radial-gradient(40% 50% at 88% 30%, rgba(255,122,69,.12), transparent 70%); }
.f-hero .hero-copy { position: relative; max-width: 780px; margin-inline: auto; display: grid; justify-items: center; }
.f-hero .lede { max-width: 36em; }
.f-hero .btn { margin-top: 30px; }
.mail-alt { font-size: .9rem; color: var(--faint); }
.mail-alt .mono { color: var(--muted); white-space: normal; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.perk { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-content: start; gap: 6px 16px; padding: 24px; border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); }
.perk > .i { grid-row: span 2; font-size: 20px; width: 42px; height: 42px; padding: 11px; border-radius: 13px; background: rgba(124,92,255,.16); color: var(--accent-soft); }
.perk h3 { align-self: center; }
.perk p { grid-column: 2; color: var(--muted); font-size: .96rem; }
.perk .mono { white-space: normal; overflow-wrap: anywhere; }
.perk.top { border-color: rgba(255,122,69,.45); background: radial-gradient(90% 130% at 100% 0%, rgba(255,122,69,.16), transparent 62%), var(--s1); }
.perk.top > .i { background: rgba(255,122,69,.16); color: var(--energy); }
.found-show { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px clamp(28px, 7vw, 88px); }
.found-show figure { margin: 0; display: grid; justify-items: center; gap: 18px; min-width: 0; }
.found-show figcaption { max-width: 22em; text-align: center; color: var(--muted); font-size: .93rem; }
.found-show .sc-img { width: 270px; height: 480px; border-radius: 22px; -webkit-mask-image: none; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px -30px rgba(0,0,0,.85), 0 0 120px -40px var(--accent); }
.f-terms { padding: clamp(20px, 3vw, 28px); border-radius: var(--r-lg); background: var(--s1); border: 1px solid var(--line); }
.f-terms h2 { font-size: 1.15rem; letter-spacing: -.01em; }
.f-terms ul { display: grid; gap: 9px; margin-top: 14px; color: var(--muted); font-size: .93rem; }
.f-terms li { position: relative; padding-left: 18px; }
.f-terms li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--energy); }
.f-page .cta { padding-top: clamp(20px, 4vw, 40px); }
@media (max-width: 760px) { .discover .demo-stage { margin-top: 20px; } .f-hero { padding: 108px 0 40px; } .perks { grid-template-columns: minmax(0, 1fr); gap: 10px; } .perk { padding: 18px; gap: 6px 14px; } }
@media (prefers-reduced-motion: reduce) { .pins i::after { display: none; } }

/* Hero: jump to the promo video */
.watch-btn { display: inline-flex; align-items: center; gap: 14px; margin: 4px 0 22px; padding: 10px 22px 10px 10px; min-height: 64px; border-radius: 999px; background: rgba(124,92,255,.14); border: 1.5px solid rgba(169,150,255,.45); color: #F5F5FA; text-decoration: none; text-align: left; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.watch-btn:hover, .watch-btn:focus-visible { background: rgba(124,92,255,.26); border-color: #A996FF; transform: translateY(-1px); }
.watch-btn:focus-visible { outline: 2px solid #A996FF; outline-offset: 3px; }
.watch-btn .wb-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent, #7C5CFF); color: #fff; font-size: 24px; box-shadow: 0 0 0 6px rgba(124,92,255,.22); }
.watch-btn .wb-ic .i { fill: currentColor; stroke: none; margin-left: 2px; }
.watch-btn b { display: block; font: 700 17px/1.2 Inter, system-ui, sans-serif; }
.watch-btn small { display: block; font: 500 13px/1.3 Inter, system-ui, sans-serif; color: #B4B4C6; margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .watch-btn { transition: none; } .watch-btn:hover { transform: none; } }
