/* Skiplegs site. Tokens are the app's: SkipLegs/DesignSystem (Theme, VariationStyle,
   StreakFlame, MotionKit). Dark only, system fonts, no third-party requests. */
:root {
  color-scheme: dark;
  --black: #000; --canvas: #19191B; --surface: #252527; --card: #121214; --footer: #0B0B0C;
  --selection: #414145; --hairline: #353537;
  --ink: #fff; --ink-90: rgba(255,255,255,.9); --ink-70: rgba(255,255,255,.7); --ink-62: rgba(255,255,255,.62);
  --ink-45: rgba(255,255,255,.45); --ink-38: rgba(255,255,255,.38); --ink-12: rgba(255,255,255,.12); --ink-08: rgba(255,255,255,.08);
  --l-canvas: #F0F0EE; --l-surface: #F3F3F5; --l-hairline: #DEDEE2; --l-ink: #151517; --l-ink-62: rgba(21,21,23,.62);
  --action: #21AFE8; --action-end: #1371EF; --action-grad: linear-gradient(135deg, #21AFE8, #1371EF);
  --pull: #4DDA64; --pull-l: #82E592; --push: #1371EF; --push-l: #5A9CF4; --dips: #875BF7; --dips-l: #AB8CF9;
  --squat: #FF7A1A; --squat-l: #FFA25F; --core: #FFD60A; --core-l: #FFE254;
  --flame: #FF8A1F; --flame-text: #FF8A4C; --ice: #72C8E2; --ice-deep: #06121A;
  --gold: #FFCF45; --gold-rim: #E8AE3A; --pro: #C05DE9;
  --up: #30D158; --down: #FF6961;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --pop: cubic-bezier(.34,1.56,.64,1); --slide: cubic-bezier(.34,1.36,.64,1); --rise: cubic-bezier(.33,1,.68,1);
  --inhale: cubic-bezier(.55,0,.9,.35); --expo: cubic-bezier(.16,1,.3,1);
  --gutter: 16px; --pad: clamp(88px, 12vw, 168px);
}
@media (min-width: 768px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--ink); font: 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, canvas, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #000; padding: 8px 14px; border-radius: 12px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.num, .tab { font-variant-numeric: tabular-nums; }

h1 { font-size: clamp(44px, 8vw, 88px); line-height: 1; font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.04; font-weight: 700; letter-spacing: -.03em; }
h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
.sub { margin-top: 20px; max-width: 46ch; color: var(--ink-70); font-size: 19px; }
.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--action); margin-bottom: 14px; }
.fine { font-size: 13px; line-height: 1.4; color: var(--ink-45); }
.muted { color: var(--ink-45); }
.center { text-align: center; }
section { position: relative; padding-block: var(--pad); }

/* Buttons and capsules */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 14px; background: var(--action-grad); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .15s ease-out, opacity .15s; }
.btn:active, .fab:active { transform: scale(.98); opacity: .8; }
.store-capsule { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ink-12); color: var(--ink-70); font-size: 13px; font-weight: 600; }
.replay { font-size: 13px; font-weight: 600; color: var(--action); padding: 4px 0; }
.ghost { height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ink-12); color: var(--ink-90); font-size: 14px; font-weight: 600; }
.text-link { color: var(--action); font-weight: 600; text-decoration: none; }

/* ---------- Nav ---------- */
.nav { position: fixed; z-index: 50; top: 12px; left: 50%; translate: -50% 0; width: min(860px, 100% - 24px); height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 8px 0 12px; border-radius: 999px; background: rgba(37,37,39,.82); -webkit-backdrop-filter: saturate(1.4) blur(20px); backdrop-filter: saturate(1.4) blur(20px); box-shadow: inset 0 0 0 1px var(--ink-12), 0 10px 30px rgba(0,0,0,.35); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; text-decoration: none; flex: none; }
.brand img { border-radius: 20%; }
.links { position: relative; display: flex; align-items: center; margin-inline: auto; }
.links a { position: relative; z-index: 1; padding: 7px 11px; font-size: 14px; font-weight: 600; color: var(--ink-70); text-decoration: none; border-radius: 999px; transition: color .2s; white-space: nowrap; }
.links a.active { color: var(--ink); }
.links-pill { position: absolute; left: 0; top: 50%; height: 34px; translate: 0 -50%; width: 0; border-radius: 999px; background: var(--selection); opacity: 0; transition: transform .34s var(--slide), width .34s var(--slide), opacity .2s; }
.nav-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.soon-pill { height: 32px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--action-grad); font-size: 13px; font-weight: 700; text-decoration: none; }
.menu-button { display: none; width: 36px; height: 36px; border-radius: 50%; place-items: center; }
.menu-button svg { width: 22px; height: 22px; }
.sheet { position: absolute; top: 60px; right: 0; width: min(280px, 100vw - 24px); padding: 10px; border-radius: 28px; background: #000; box-shadow: inset 0 0 0 .5px rgba(255,255,255,.1), 0 20px 40px rgba(0,0,0,.5); display: grid; }
.sheet[hidden] { display: none; }
.sheet a { padding: 12px 14px; border-radius: 16px; font-weight: 600; text-decoration: none; }
.sheet a:hover { background: var(--surface); }
@media (max-width: 1023px) {
  .links { display: none; }
  .menu-button { display: grid; }
  .nav { width: min(560px, 100% - 24px); }
  .nav-tools { margin-left: auto; }
}
@media (max-width: 480px) { .soon-pill { display: none; } }

/* ---------- Phone ---------- */
.phone { --pw: 320px; position: relative; width: var(--pw); aspect-ratio: 1320 / 2868; flex: none; border-radius: calc(var(--pw) * .165); padding: 3px; background: linear-gradient(135deg, #D0C8D7 0%, #514958 35%, #ACA5B2 65%, #38323E 100%); box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 40px 80px rgba(0,0,0,.55), 0 10px 24px rgba(0,0,0,.4); }
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #ACA5B2; }
.phone::before { left: -2px; top: 22%; height: 7%; box-shadow: 0 calc(var(--pw) * .2) 0 #ACA5B2; }
.phone::after { right: -2px; top: 27%; height: 11%; }
.screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--pw) * .165 - 3px); background: #000; container-type: inline-size; isolation: isolate; }
.screen > img, .layer > img, .layer > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.layer { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .32s, visibility 0s .32s; }
.layer.on { opacity: 1; visibility: visible; transition: opacity .32s, visibility 0s; }
.island { position: absolute; z-index: 6; left: 50%; top: 2.5cqw; width: 28.6cqw; height: 8.5cqw; translate: -50% 0; border-radius: 99px; background: #000; transition: transform .2s var(--inhale); }
.island.inhale { transform: scale(1.06); }

/* The island card: pours out of the island (clip morph), words blur in. */
.icard { position: absolute; z-index: 7; left: 2.6cqw; right: 2.6cqw; top: 2.5cqw; padding: 5cqw 5.4cqw 5.4cqw; border-radius: 12cqw; background: #000; box-shadow: inset 0 0 0 .5px rgba(255,255,255,.1); color: #fff; font-size: 3.6cqw; line-height: 1.25; clip-path: inset(0 35.7cqw calc(100% - 8.5cqw) 35.7cqw round 4.25cqw); opacity: 0; pointer-events: none; }
.icard.open { opacity: 1; clip-path: inset(0 0 0 0 round 12cqw); transition: clip-path .77s var(--expo), opacity .05s; }
.icard.closing { opacity: 1; clip-path: inset(0 35.7cqw calc(100% - 8.5cqw) 35.7cqw round 4.25cqw); transition: clip-path .55s cubic-bezier(.5,0,.75,0), opacity .1s .5s; }
.icard > * { opacity: 0; filter: blur(6px); transform: scale(.96); transition: opacity .2s, filter .2s, transform .2s; }
.icard.open > * { opacity: 1; filter: none; transform: none; transition: opacity .3s .34s, filter .3s .34s, transform .3s .34s; }
.icard.open > :nth-child(n+3) { transition-delay: .44s; }
.icard.open > :nth-child(n+5) { transition-delay: .54s; }
.ic-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.6cqw; }
.ic-icon { width: 8.6cqw; height: 8.6cqw; border-radius: 50%; display: grid; place-items: center; background: rgba(77,218,100,.22); color: var(--pull); }
.ic-icon svg { width: 5.2cqw; height: 5.2cqw; }
.ic-close { width: 8.6cqw; height: 8.6cqw; border-radius: 50%; display: grid; place-items: center; background: #2C2C2E; color: var(--ink-70); }
.ic-close svg { width: 4.4cqw; height: 4.4cqw; }
.ic-title { font-size: 6cqw; font-weight: 700; letter-spacing: -.01em; }
.ic-sub { color: var(--ink-62); font-size: 4cqw; margin-bottom: 1.6cqw; }
.ic-row { margin-top: 3.4cqw; }
.ic-row-top, .ic-row-cap { display: flex; justify-content: space-between; align-items: baseline; }
.ic-name { font-size: 4.8cqw; font-weight: 600; }
.ic-go { font-size: 4.8cqw; }
.ic-go b { font-weight: 700; font-variant-numeric: tabular-nums; }
.ic-bar { position: relative; height: 2.1cqw; margin: 2cqw 0 1.6cqw; border-radius: 9px; background: #2A2A2C; overflow: hidden; }
.ic-bar i { position: absolute; inset: 0 auto 0 0; width: var(--from, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--c2, var(--pull)), var(--c, var(--pull))); transition: width 1.5s cubic-bezier(.22,1,.36,1); }
.ic-row-cap { color: var(--ink-45); font-size: 3.6cqw; font-variant-numeric: tabular-nums; }
.ic-away { display: flex; align-items: center; gap: 1.6cqw; margin-top: 1.8cqw; color: var(--c, var(--pull)); font-size: 3.8cqw; font-weight: 600; }
.ic-away svg { width: 3.8cqw; height: 3.8cqw; }
.ic-goal { text-align: center; padding: 1cqw 0 .6cqw; }
.ic-goal .ic-title { font-size: 5cqw; letter-spacing: .14em; text-transform: uppercase; }
.ic-goal .ic-sub { margin: 1cqw 0 0; }
.ic-pill { position: absolute; z-index: 7; top: 2.5cqw; left: calc(50% + 15.5cqw); height: 8.5cqw; padding: 0 3.4cqw; border-radius: 99px; background: #000; display: flex; align-items: center; color: var(--pull); font-weight: 700; font-size: 3.8cqw; animation: pop .3s var(--pop); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- Hero ---------- */
.hero { padding-top: 140px; padding-bottom: 40px; overflow: hidden; background: #000; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-arm { position: absolute; left: -140px; top: -90px; width: 900px; opacity: .45; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); }
.hero-aurora { position: absolute; inset: auto 0 0; height: 70%; opacity: .5; background: radial-gradient(60% 70% at 50% 100%, #5814A8 0%, #14072E 55%, transparent 80%), linear-gradient(180deg, transparent, rgba(180,61,221,.18) 70%, transparent); }
.hero-copy { position: relative; max-width: 820px; margin-inline: auto; padding-inline: var(--gutter); text-align: center; }
.hero-copy .lede { margin: 22px auto 0; max-width: 34ch; font-size: 19px; color: var(--ink-70); }
.eyebrow-dots { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 4px; color: var(--ink-62); letter-spacing: .14em; }
.eyebrow-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.eyebrow-dots i:nth-of-type(5) { margin-right: 8px; }
.pull { --c: var(--pull); --c2: var(--pull-l); } .push { --c: var(--push); --c2: var(--push-l); } .dips { --c: var(--dips); --c2: var(--dips-l); }
.squat { --c: var(--squat); --c2: var(--squat-l); } .core { --c: var(--core); --c2: var(--core-l); }
.all { --c: #21AFE8; --c2: #1B8CC4; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.hero-copy .fine { margin-top: 16px; }
.hero-stage { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 36px; width: min(1240px, 100% - 2 * var(--gutter)); margin: 64px auto 0; }
.hero-phone { --pw: 320px; margin-bottom: -180px; }
.hero-cards { display: grid; gap: 22px; }
.hero-cards.left { justify-items: end; }
.hero-cards.right { justify-items: start; }
.hcard { display: flex; align-items: center; gap: 14px; width: min(360px, 100%); padding: 16px 18px; border-radius: 22px; background: rgba(28,28,30,.86); box-shadow: inset 0 0 0 1px var(--ink-08), 0 18px 40px rgba(0,0,0,.45); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: .32; filter: blur(.6px); transform: translateY(6px); transition: opacity .7s, filter .7s, transform .7s var(--rise); }
.hcard.bright { opacity: 1; filter: none; transform: none; }
.hero-cards.left .hcard:nth-child(2n) { margin-right: 42px; }
.hero-cards.right .hcard:nth-child(2n) { margin-left: 42px; }
.hcard b { display: block; font-size: 16px; line-height: 1.3; font-weight: 600; }
.hcard span:not(.hcard-icon) { display: block; font-size: 15px; line-height: 1.35; color: var(--ink-62); }
.hcard-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); }
.hcard-icon svg { width: 22px; height: 22px; }
.hcard-icon.cyan { background: var(--action-grad); }
.hcard-icon.pull { background: rgba(77,218,100,.2); color: var(--pull); }
.hcard-icon.orb-icon { background: conic-gradient(from 30deg, #21AFE8, #875BF7, #ED9CE9, #21AFE8); filter: saturate(1.2); box-shadow: inset 0 0 0 6px rgba(0,0,0,.35); }
.hcard-icon.trophy { background: rgba(255,207,69,.16); color: var(--gold); }
.hcard-icon.flame svg { width: 18px; height: 24px; }
.hcard-icon.ava { width: 40px; height: 40px; font-size: 16px; }
@media (max-width: 1099px) {
  .hero-stage { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
  .hero-phone { order: -1; --pw: min(300px, 74vw); margin-bottom: 0; }
  .hero-cards { width: 100%; grid-template-columns: 1fr 1fr; }
  .hero-cards .hcard { width: 100%; margin: 0 !important; }
  .hero-cards .hcard:nth-child(n+3) { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: 112px; }
  .hero-cards { grid-template-columns: 1fr; gap: 12px; }
  .hero-cards.right { display: none; }
  .hero-cards .hcard { opacity: 1; filter: none; transform: none; }
}

/* ---------- Act I ---------- */
.day { background: var(--canvas); padding-bottom: 80px; }
.day::before { content: ""; position: absolute; inset: -1px 0 auto; height: 160px; background: linear-gradient(#000, var(--canvas)); pointer-events: none; }
.day > .wrap:first-child { position: relative; }
.switcher { position: sticky; z-index: 20; top: 76px; display: flex; width: max-content; margin: 40px auto 0; padding: 4px; border-radius: 999px; background: rgba(37,37,39,.97); box-shadow: inset 0 0 0 1px var(--ink-12), 0 8px 24px rgba(0,0,0,.35); }
.switcher button { position: relative; z-index: 1; height: 36px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-62); transition: color .2s; }
.switcher button[aria-selected="true"] { color: var(--ink); }
.switcher-pill { position: absolute; top: 4px; left: 4px; height: 36px; border-radius: 999px; background: var(--selection); transition: transform .34s var(--slide), width .34s var(--slide); }
.day-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; margin-top: 24px; }
.day-phone-wrap { grid-column: 2; grid-row: 1; position: sticky; top: calc(50vh - min(42vh, 360px)); align-self: start; display: grid; justify-items: center; gap: 12px; }
.day-phone { --pw: min(340px, 39vh); }
.phone-note { font-size: 12px; color: var(--ink-45); text-align: center; }
.beats { grid-column: 1; grid-row: 1; }
.beat { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; max-width: 520px; opacity: .35; transition: opacity .4s; }
.beat.active { opacity: 1; }
.beat h3 { margin-bottom: 14px; }
.beat > p:not(.eyebrow):not(.fine):not(.try-chip):not(.after-hint) { color: var(--ink-70); max-width: 44ch; }
.beat .fine { margin-top: 12px; }
.ticker { margin-top: 18px; display: grid; gap: 6px; }
.ticker li { width: max-content; max-width: 100%; padding: 6px 12px; border-radius: 999px; background: #000; color: var(--ink-70); font-size: 13px; box-shadow: inset 0 0 0 .5px rgba(255,255,255,.1); }
.try-chip { display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; margin-top: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(33,175,232,.14); color: var(--action); font-size: 14px; font-weight: 600; animation: hint 2s ease-in-out infinite; }
.try-chip svg { width: 18px; height: 18px; }
@keyframes hint { 50% { box-shadow: 0 0 0 6px rgba(33,175,232,.12); } }
.after-hint { margin-top: 18px; color: var(--ink-70); font-size: 15px; }
.after-hint button { margin-left: 10px; color: var(--action); font-weight: 600; }
.beat .replay { margin-top: 12px; align-self: flex-start; }
@media (max-width: 899px) {
  .switcher { top: 72px; }
  .day-grid { grid-template-columns: 1fr; gap: 0; }
  .day-phone-wrap { grid-column: 1; grid-row: 1; position: sticky; top: 64px; z-index: 10; margin-inline: calc(-1 * var(--gutter)); padding: 66px 0 22px; background: linear-gradient(var(--canvas) calc(100% - 22px), rgba(25,25,27,0)); }
  .day-phone { --pw: min(232px, 26vh); }
  .beats { grid-row: 2; }
  .beat { min-height: 62vh; justify-content: flex-start; padding-top: 24px; }
  .phone-note { display: none; }
}

/* Reminder banner on the empty day */
.banner { position: absolute; z-index: 8; left: 3cqw; right: 3cqw; top: 13cqw; display: flex; gap: 3cqw; padding: 3.4cqw; border-radius: 6cqw; background: rgba(42,42,46,.86); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transition: opacity .2s, transform .5s var(--rise); }
.banner img { width: 9cqw; height: 9cqw; border-radius: 22%; flex: none; }
.banner p { font-size: 3.3cqw; line-height: 1.3; }
.banner-app { text-transform: uppercase; letter-spacing: .04em; color: var(--ink-62); font-size: 2.8cqw !important; }
.banner-app span { float: right; text-transform: none; letter-spacing: 0; }
.banner-title { font-weight: 700; }
.banner-body { color: var(--ink-90); }
.banner-done { position: absolute; z-index: 8; left: 50%; top: 14cqw; translate: -50% 0; padding: 2cqw 4cqw; border-radius: 99px; background: rgba(42,42,46,.9); font-size: 3.4cqw; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .2s; }
.trained .banner { opacity: 0; transform: translateY(-6cqw); }
.trained .banner-done { opacity: 1; }

/* Demo 1: the real keypad, made live */
.demo { position: absolute; inset: 0; }
.readout-patch { position: absolute; left: 22%; top: 21%; width: 56%; height: 7.6%; background: #19191B; }
.readout { position: absolute; left: 49%; top: 25.05%; translate: -50% -50%; font: 700 16.4cqw/1 var(--round); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.readout::after { content: ""; display: inline-block; width: .6cqw; height: .7em; margin-left: .9cqw; vertical-align: -.02em; border-radius: 1px; background: var(--action); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.readout.shake { animation: shake .4s linear; }
@keyframes shake { 10%, 50%, 90% { translate: calc(-50% - 1.5px) -50%; } 30%, 70% { translate: calc(-50% + 1.5px) -50%; } }
.save-hit { position: absolute; left: 88.33%; top: 9.07%; width: 13cqw; height: 13cqw; translate: -50% -50%; border-radius: 50%; }
.save-on { position: absolute; inset: .9cqw; border-radius: 50%; display: grid; place-items: center; background: var(--action-grad); transform: scale(.4); opacity: 0; transition: transform .3s var(--pop), opacity .15s; }
.save-on svg { width: 6cqw; height: 6cqw; }
.save-hit:not(:disabled) .save-on { transform: none; opacity: 1; }
.save-hit:disabled { cursor: default; }
.keys { position: absolute; left: 4.2%; right: 4.6%; top: 65%; height: 32.5%; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); gap: 1.4cqw; }
.keys button { border-radius: 4cqw; color: transparent; font-size: 1px; transition: background .25s; }
.keys button:active, .keys button.hit { background: rgba(255,255,255,.12); transition: none; }
.keys button:focus-visible { outline-offset: -2px; }
.layer:not(.on) .demo { pointer-events: none; }

/* Demo result over the real Today */
.result { position: absolute; inset: 0; }
.patch { position: absolute; background: #19191B; }
.ring-patch { left: 4%; top: 47%; width: 28.4cqw; height: 28.4cqw; border-radius: 50%; }
.today-ring { position: absolute; left: 4.85%; top: 47.35%; width: 26.8cqw; height: 26.8cqw; overflow: visible; }
.today-pct { position: absolute; left: 17.95%; top: 53.77%; translate: -50% -50%; font-weight: 700; font-size: 5.3cqw; font-variant-numeric: tabular-nums; }
.total-patch { left: 37%; top: 53.4%; width: 45%; height: 4.9%; }
.today-total { position: absolute; left: 38%; top: 57.53%; translate: 0 -100%; line-height: .78; white-space: nowrap; }
.today-total .n, .today-pull .n { font-weight: 700; font-variant-numeric: tabular-nums; display: inline-block; }
.today-total .n { font-size: 11.5cqw; letter-spacing: -.02em; }
.today-total .of, .today-pull .of { color: var(--ink-45); font-size: 3.6cqw; font-weight: 500; margin-left: .6cqw; }
.pull-patch { left: 3.6%; top: 66.6%; width: 28%; height: 3.8%; }
.today-pull { position: absolute; left: 5%; top: 69.74%; translate: 0 -100%; line-height: .78; white-space: nowrap; }
.today-pull .n { font-size: 7.8cqw; }
.today-pull .of { font-size: 4.6cqw; }
.today-bar { position: absolute; left: 4.09%; top: 72.18%; width: 25.9cqw; height: 1.21cqw; border-radius: 9px; background: #2C2C2E; overflow: hidden; }
.today-bar i { position: absolute; inset: 0 auto 0 0; width: 66.7%; border-radius: inherit; background: linear-gradient(90deg, #3FC657, var(--pull)); transition: width .6s cubic-bezier(.22,1,.36,1); }
.hit-pulse { animation: hitpulse .32s var(--pop); }
@keyframes hitpulse { 40% { transform: scale(1.12); } }
.plus-chip { position: absolute; right: 22%; bottom: 7%; padding: 1.8cqw 3.6cqw; border-radius: 99px; background: rgba(77,218,100,.16); color: var(--pull); font-weight: 700; font-size: 3.8cqw; opacity: 0; }
.plus-chip.go { animation: chip 1.6s var(--rise) forwards; }
@keyframes chip { 0% { opacity: 0; transform: translateY(6cqw) scale(.8); } 20% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-4cqw); } }
.fx { position: absolute; inset: 0; z-index: 9; pointer-events: none; }
.shard { position: absolute; width: 1.9cqw; height: 1.9cqw; border-radius: .5cqw; background: var(--c, #fff); box-shadow: 0 0 2cqw var(--c, #fff); }
.shock { position: absolute; width: 10cqw; height: 10cqw; translate: -50% -50%; border-radius: 50%; border: 3px solid var(--pull); animation: shock .45s var(--expo) forwards; }
@keyframes shock { to { transform: scale(3.2); border-width: .75px; opacity: 0; } }
.phone.jolt { animation: jolt .4s linear; }
@keyframes jolt { 10%, 50%, 90% { translate: 1.5px 0; } 30%, 70% { translate: -1.5px 0; } }

/* Hold timer card */


/* ---------- Cards and bento ---------- */
.card { position: relative; overflow: hidden; padding: 28px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--ink-08); }
.card h3 { font-size: 24px; margin-bottom: 10px; }
:where(.card > p:not(.eyebrow):not(.fine)) { color: var(--ink-70); font-size: 15px; max-width: 46ch; }
.card .fine { margin-top: 14px; }
.everywhere { background: radial-gradient(70% 50% at 100% 0%, rgba(33,175,232,.08), transparent 70%), #000; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 16px; margin-top: 48px; }
.card-live { grid-column: 1 / 3; }
.card-watch { grid-column: 3; grid-row: 1 / 3; display: flex; flex-direction: column; }
.card-siri { grid-column: 1; }
.card-widgets { grid-column: 2; }
@media (max-width: 1023px) { .bento { grid-template-columns: 1fr 1fr; } .card-live { grid-column: 1 / 3; } .card-watch { grid-column: 1; grid-row: auto; } .card-siri { grid-column: 2; } .card-widgets { grid-column: 1 / 3; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento > * { grid-column: 1 !important; } }

.lock { position: relative; margin-top: 24px; padding: 28px 22px 26px; border-radius: 22px; background: linear-gradient(160deg, rgba(88,20,168,.65), rgba(19,113,239,.45) 60%, rgba(237,156,233,.35)); overflow: hidden; }
.lock::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 20% 0%, rgba(255,255,255,.18), transparent 60%); }
.lock-time { position: relative; text-align: center; font: 600 64px/1 var(--round); letter-spacing: -.02em; color: rgba(255,255,255,.92); margin-bottom: 22px; }
.live { position: relative; max-width: 460px; margin-inline: auto; padding: 16px 20px 18px; border-radius: 22px; background: #000; box-shadow: inset 0 0 0 .5px rgba(255,255,255,.1); }
.live-head { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.live-head svg { width: 13px; height: 13px; }
.live-badge { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: var(--c, var(--push)); color: #fff; font-size: 12px; font-weight: 700; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s var(--pop); }
.live-badge.show { opacity: 1; transform: none; }
.live-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.live-label { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c); text-align: center; }
.live-num { text-align: center; margin: 3px 0 7px; font-variant-numeric: tabular-nums; }
.live-num b { font: 700 20px/1 var(--round); display: inline-block; }
.live-num span { color: var(--ink-45); font-size: 11px; margin-left: 1px; }
.live-bar { display: block; height: 4px; border-radius: 3px; background: #2A2A2C; overflow: hidden; }
.live-bar i { display: block; height: 100%; width: var(--w, 50%); border-radius: inherit; background: var(--c); transition: width .6s cubic-bezier(.22,1,.36,1); }
.roll { animation: roll .4s var(--rise); }
@keyframes roll { 0% { transform: translateY(40%); opacity: 0; } 100% { transform: none; opacity: 1; } }

.watch { position: relative; width: 184px; height: 224px; margin: 28px auto 0; border-radius: 52px; padding: 10px; background: linear-gradient(145deg, #4a4a50, #1c1c1f 45%, #3a3a40); box-shadow: 0 30px 60px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08); }
.watch-crown { position: absolute; right: -9px; top: 52px; width: 12px; height: 34px; border-radius: 4px; background: repeating-linear-gradient(0deg, #8d8d94 0 2px, #5d5d63 2px 4px); transition: background-position .25s var(--rise); }
.watch-side { position: absolute; right: -5px; top: 110px; width: 6px; height: 40px; border-radius: 3px; background: #55555b; }
.watch-face { height: 100%; border-radius: 42px; background: #000; display: grid; place-items: center; align-content: center; gap: 8px; padding: 16px; text-align: center; }
.w-kind { font-size: 13px; font-weight: 600; color: var(--pull); }
.w-row { display: flex; align-items: center; gap: 12px; }
.w-step { width: 30px; height: 30px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 18px; color: var(--ink-90); }
.w-num { font: 700 48px/1 var(--round); font-variant-numeric: tabular-nums; min-width: 1.4ch; display: inline-block; }
.w-num.tick { animation: wtick .2s var(--pop); }
@keyframes wtick { 50% { transform: scale(1.06); } }
.w-add { padding: 6px 18px; border-radius: 999px; background: var(--action-grad); font-size: 14px; font-weight: 700; transition: transform .15s; }
.w-add.press { transform: scale(.96); }
.w-status { font-size: 11px; color: var(--ink-45); }
.card-watch .fine { margin-top: auto; padding-top: 18px; }

.siri { margin-top: 22px; display: grid; gap: 12px; }
.siri-ask { min-height: 2.6em; color: var(--ink-70); font-size: 15px; }
.siri-wave { display: flex; gap: 4px; height: 20px; align-items: center; opacity: 0; }
.siri-wave.on { opacity: 1; }
.siri-wave i { width: 4px; height: 6px; border-radius: 2px; background: linear-gradient(#21AFE8, #875BF7); }
.siri-wave.on i { animation: wave .6s ease-in-out infinite alternate; }
.siri-wave i:nth-child(2) { animation-delay: .1s; } .siri-wave i:nth-child(3) { animation-delay: .2s; } .siri-wave i:nth-child(4) { animation-delay: .3s; } .siri-wave i:nth-child(5) { animation-delay: .15s; }
@keyframes wave { to { height: 20px; } }
.siri-reply { display: flex; gap: 10px; align-items: flex-start; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--rise); }
.siri-reply.on { opacity: 1; transform: none; }
.siri-reply p { padding: 10px 14px; border-radius: 18px; background: #1C1C1E; font-size: 15px; }
.orb { flex: none; width: 24px; height: 24px; margin-top: 8px; border-radius: 50%; background: conic-gradient(#21AFE8, #875BF7, #ED9CE9, #21AFE8); filter: blur(1px); animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.widgets { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 24px; }
.widget-tile { width: 150px; height: auto; border-radius: 34px; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.lock-widget { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 3px rgba(255,255,255,.85); color: rgba(255,255,255,.9); }
.lock-widget svg { width: 28px; height: 28px; }

/* ---------- Celebrate ---------- */
.celebrate { background: #000; }
.cel-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.cel-ring { grid-column: 1 / 8; min-height: 520px; background: radial-gradient(90% 80% at 50% 60%, #0A2A44, #04121F 60%, #000); display: flex; flex-direction: column; }
.cel-record { grid-column: 8 / 13; background: #000; display: flex; flex-direction: column; }
@media (max-width: 899px) { .cel-grid > * { grid-column: 1 / 13 !important; } }
.big-ring { position: relative; width: 240px; height: 240px; margin: 28px auto 10px; transition: transform .2s var(--inhale); }
.big-ring.inhale { transform: scale(.98); }
.big-ring svg { width: 100%; height: 100%; overflow: visible; }
.big-ring .track { fill: none; stroke: rgba(255,255,255,.11); stroke-width: 18; }
.big-ring .arc { fill: none; stroke: url(#g-action); stroke-width: 18; stroke-linecap: round; }
.big-ring .lap { stroke: url(#g-action); filter: drop-shadow(0 0 3px rgba(0,0,0,.8)); opacity: 0; }
.big-ring .shine { fill: none; stroke: #fff; stroke-width: 18; stroke-linecap: round; opacity: 0; }
.big-ring.lapping .shine { animation: lapshine .6s linear; }
@keyframes lapshine { 0% { opacity: .9; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: -100; } }
.big-ring.flash .arc { stroke: #fff; }
.big-pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 56px/1 var(--round); font-variant-numeric: tabular-nums; }
.ring-caption { text-align: center; color: var(--ink-62); font-size: 15px; }
.ring-caption b { display: block; color: var(--ink); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 2px; }
.cel-ring .ghost { align-self: flex-start; margin-top: auto; }
.cel-ring.glow { box-shadow: inset 0 0 0 1px rgba(33,175,232,.8), 0 0 40px rgba(33,175,232,.25); transition: box-shadow 1.2s; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: 40%; left: 50%; width: 7px; height: 11px; border-radius: 2px; background: var(--c); }
.record-num { align-self: flex-start; transform-origin: left center; margin: auto 0; padding: 30px 0; font: 700 120px/1 var(--round); font-variant-numeric: tabular-nums; background: radial-gradient(#fff 35%, #82E592); -webkit-background-clip: text; background-clip: text; color: transparent; }
.record-num.beat { animation: beat .08s ease-out; }
@keyframes beat { from { transform: scale(1.04); } }
.record-num.slam { animation: slam .52s linear; }
@keyframes slam { 0% { transform: scale(1.12); opacity: .4; } 40% { transform: scale(.98); opacity: 1; } 100% { transform: none; } }
.record-line { color: var(--pull-l); font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--rise); }
.record-line.on { opacity: 1; transform: none; }

/* ---------- Streak ---------- */
.streak { background: var(--canvas); padding-bottom: 0; }
.streak::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--hairline); }
.flame-row { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 64px); margin-top: 56px; flex-wrap: wrap; }
.big-flame { position: relative; width: 148px; height: 200px; color: var(--ink-38); }
.big-flame svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.big-flame .glow { position: absolute; inset: -18% -30% -6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,138,31,.75), rgba(255,138,31,.25) 55%, transparent); filter: blur(10px); opacity: 0; transition: opacity .3s; }
.big-flame .on { transform: scale(.2); transform-origin: 50% 100%; opacity: 0; transition: transform .3s var(--pop), opacity .2s; }
.big-flame.lit .on { transform: none; opacity: 1; }
.big-flame.lit .glow { opacity: .7; }
.big-flame.lit .off { opacity: 0; }
.big-flame.flare .on { animation: flare .5s var(--pop); }
@keyframes flare { 40% { transform: scale(1.18); } }
.embers { position: absolute; inset: 0; pointer-events: none; }
.embers i { position: absolute; bottom: 30%; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #FFD84D; box-shadow: 0 0 8px #FF8A1F; animation: ember 1.2s ease-out forwards; }
@keyframes ember { to { transform: translate(var(--dx), -150px); opacity: 0; } }
.streak-num { font: 700 96px/1 var(--round); font-variant-numeric: tabular-nums; }
.streak-num span { display: inline-block; }
.streak-unit { color: var(--flame-text); font-weight: 600; font-size: 17px; }
.flame-act { display: grid; justify-items: center; gap: 10px; color: var(--ink-62); font-size: 14px; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--action-grad); box-shadow: 0 10px 24px rgba(19,113,239,.35); transition: transform .15s; }
.fab svg { width: 26px; height: 26px; }
.fab.squash { animation: squash .3s var(--pop); }
@keyframes squash { 30% { transform: scale(.9); } }

.cal { max-width: 640px; margin: 56px auto 0; padding: 22px; border-radius: 24px; background: #121214; box-shadow: inset 0 0 0 1px var(--ink-08); }
.cal-head, .cal-week { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-head span { text-align: center; font-size: 11px; font-weight: 600; color: var(--ink-45); margin-bottom: 8px; }
.cal-week { position: relative; height: 48px; align-items: center; }
.cal-band { position: absolute; top: 50%; height: 40px; translate: 0 -50%; border-radius: 999px; background: rgba(255,255,255,.11); width: 0; }
.cal-day { position: relative; display: grid; place-items: center; height: 40px; }
.cal-day svg { width: 34px; height: 34px; overflow: visible; }
.cal-day .snow { position: absolute; right: calc(50% - 19px); bottom: 2px; width: 13px; height: 13px; padding: 2px; border-radius: 50%; background: #06121A; color: var(--ice); }
.cal-day.today svg circle { stroke-dasharray: 1 3.2; }
.cal-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--ink-70); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: var(--ink-45); }
.legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); margin-left: 6px; }
.legend i:first-child { margin-left: 0; }

.ice { margin-top: var(--pad); padding-block: 96px; background: radial-gradient(60% 70% at 70% 40%, rgba(114,200,226,.14), transparent 70%), var(--ice-deep); transition: background 1s; overflow: hidden; }
.ice.thawed { background: radial-gradient(60% 70% at 70% 40%, rgba(255,138,31,.22), transparent 70%), #1a0d05; }
.ice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 899px) { .ice-grid { grid-template-columns: 1fr; } .ice-stage { order: -1; } }
.ice-eyebrow { display: flex; align-items: center; gap: 6px; color: var(--ice); }
.ice-eyebrow svg { width: 14px; height: 14px; }
.ice-heading { position: relative; height: 1.3em; margin: 12px 0 18px; font-size: 22px; font-weight: 700; }
.ice-heading span { position: absolute; inset: 0; transition: opacity .3s, filter .3s; }
.ice-heading .thawed { opacity: 0; filter: blur(6px); color: var(--flame-text); }
.ice.thawed .ice-heading .frozen { opacity: 0; filter: blur(6px); }
.ice.thawed .ice-heading .thawed { opacity: 1; filter: none; }
.ice-rows { display: grid; gap: 10px; margin-bottom: 18px; color: var(--ink-70); font-size: 15px; }
.ice-rows li { padding-left: 18px; position: relative; }
.ice-rows li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--ice); }
.ice-stage { display: grid; justify-items: center; text-align: center; gap: 6px; position: relative; }
.ice-block { position: relative; width: 280px; height: 280px; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; border-radius: 50%; }
.ice-block svg { width: 100%; height: 100%; overflow: visible; }
.ice-block .ice-charge { opacity: 0; transition: opacity .7s; }
.ice-block.charging .ice-charge { opacity: 1; }
.ice-block.charging svg { animation: tremble .06s linear infinite; }
@keyframes tremble { 50% { transform: translate(2px, -1px); } }
.ice-flame { opacity: .35; transition: opacity .2s; }
.ice-flame.flare { opacity: .6; }
.ice-core { transition: opacity .5s, transform .6s var(--expo); transform-box: fill-box; transform-origin: center; }
.ice-thawed .ice-core { opacity: 0; transform: scale(1.4); }
.ice-flame { transform-box: fill-box; transform-origin: 50% 100%; }
.ice-thawed .ice-flame { opacity: 1; transform: scale(1.5); transition: opacity .3s, transform .5s var(--pop); }
.ice-plate { transition: transform .6s cubic-bezier(.5,0,.8,.6), opacity .6s; transform-box: fill-box; transform-origin: center; }
.ice-plate.off { opacity: 0; }
.ice-progress { position: absolute; inset: -8px; border-radius: 50%; background: conic-gradient(var(--ice) calc(var(--p, 0) * 1turn), transparent 0); -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); opacity: 0; }
.ice-counter { margin-top: 8px; font: 700 28px/1.2 var(--round); font-variant-numeric: tabular-nums; }
.ice-counter b { display: inline-block; }
.ice-hint { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); }
.ice.thawed .ice-hint, .ice.thawed .ice-counter { opacity: .4; }
.ice-done { margin-top: 10px; display: grid; justify-items: center; gap: 6px; animation: rise-in .5s var(--rise); }
@keyframes rise-in { from { opacity: 0; transform: translateY(6px); } }
.ice-done[hidden] { display: none; }
.ice-done-title { font-weight: 700; font-size: 17px; }
.ice-done-row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-62); }
.mini-ring { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 2px dashed var(--ice); background: rgba(114,200,226,.16); color: var(--ice); }
.mini-ring svg { width: 13px; height: 13px; }
.debris { position: absolute; width: 8px; height: 8px; background: #CFEFF8; clip-path: polygon(50% 0, 100% 60%, 30% 100%, 0 40%); pointer-events: none; }
.float-plus { position: absolute; pointer-events: none; font-weight: 700; font-size: 14px; color: var(--ice); animation: floatup .6s ease-out forwards; }
@keyframes floatup { to { transform: translateY(-24px); opacity: 0; } }

/* ---------- Progress ---------- */
.progress { background: var(--canvas); }
.prog-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.prog-phone { --pw: 320px; }
@media (max-width: 899px) { .prog-grid { grid-template-columns: 1fr; justify-items: center; } .prog-phone { --pw: min(280px, 72vw); } .prog-copy { justify-self: stretch; } }
.marker { position: absolute; z-index: 3; left: var(--x); top: var(--y); width: 22px; height: 22px; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center; background: rgba(33,175,232,.25); box-shadow: 0 0 0 1px var(--action), 0 0 12px rgba(33,175,232,.5); font-size: 11px; font-weight: 700; transition: transform .3s var(--pop); }
.marker.hot { transform: scale(1.3); }
.rows { margin-top: 32px; }
.rows li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--hairline); transition: opacity .3s; }
.rows li:last-child { border-bottom: 1px solid var(--hairline); }
.rows svg { flex: none; width: 24px; height: 24px; color: var(--ink-62); margin-top: 2px; }
.rows b { font-size: 17px; }
.rows p { color: var(--ink-70); font-size: 15px; }
.pro-line { margin-top: 20px; font-size: 14px; color: var(--ink-62); }
.pro-chip { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(192,93,233,.14); color: var(--pro); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; }

/* ---------- Trophies ---------- */
.trophies { background: radial-gradient(50% 40% at 50% 45%, rgba(255,207,69,.1), transparent 70%), #000; }
.gold-eyebrow { color: var(--gold); }
.trophy-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 899px) { .trophy-grid { grid-template-columns: 1fr; justify-items: center; } .trophy-copy { justify-self: stretch; } }
@keyframes glint { to { -webkit-mask-position: -50% 0; } }
.medal-stage { display: grid; justify-items: center; text-align: center; }
.medal-head { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.medal-wrap { position: relative; width: min(360px, 78vw); aspect-ratio: 1; }
#medal { width: 100%; height: 100%; mix-blend-mode: lighten; touch-action: pan-y; cursor: grab; border-radius: 24px; }
#medal:active { cursor: grabbing; }
.medal-flash { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, #fff, rgba(255,207,69,.6) 50%, transparent); opacity: 0; pointer-events: none; }
.medal-flash.charge { animation: charge 1.35s ease-in forwards; }
@keyframes charge { 0% { opacity: 0; transform: scale(.3); } 90% { opacity: .7; transform: scale(1); } 100% { opacity: 1; transform: scale(1.1); } }
.medal-flash.burst { animation: burst .3s ease-out forwards; }
@keyframes burst { from { opacity: 1; } to { opacity: 0; transform: scale(1.4); } }
.medal-rings i { position: absolute; left: 50%; top: 50%; width: 40%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 3px solid var(--gold); opacity: 0; pointer-events: none; }
.medal-rings.go i { animation: shock .45s var(--expo) forwards; }
.medal-rings.go i:nth-child(2) { animation-delay: .09s; border-color: #fff; }
.medal-sparks i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--c); pointer-events: none; animation: spark .9s cubic-bezier(.2,.8,.3,1) forwards; }
@keyframes spark { to { transform: translate(var(--dx), var(--dy)) scale(.3); opacity: 0; } }
.medal-name { margin-top: 10px; font-weight: 700; font-size: 17px; }
.medal-hint { margin-top: 4px; font-size: 12px; color: var(--ink-45); }

/* ---------- Friends ---------- */
.friends { background: radial-gradient(60% 50% at 0% 0%, rgba(255,138,31,.1), transparent 70%), var(--canvas); }
.friends-grid { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: 48px; }
@media (max-width: 899px) { .friends-grid { grid-template-columns: 1fr; } }
.board { padding: 20px; border-radius: 24px; background: var(--surface); }
.board-group { font-size: 13px; font-weight: 700; color: var(--ink-45); margin: 6px 4px 8px; }
.board-list { display: grid; }
.board-list + .board-group { margin-top: 14px; }
.frow { display: flex; align-items: center; gap: 12px; padding: 10px 4px; }
.frow > div { flex: 1; min-width: 0; }
.frow b { font-size: 16px; font-weight: 600; }
.frow b em { font-style: normal; font-weight: 500; font-size: 12px; color: var(--ink-45); margin-left: 4px; }
.frow p { font-size: 13px; color: var(--ink-45); font-variant-numeric: tabular-nums; }
.ava { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; }
.a1 { background: linear-gradient(#4DD4FF, #1F9FE0); } .a2 { background: linear-gradient(#37D99B, #16A06E); } .a3 { background: linear-gradient(#FFCF4D, #EAA11C); } .a4 { background: linear-gradient(#A98BFF, #7D4FF0); } .a5 { background: linear-gradient(#2FDCA6, #0F9F7E); }
.frow.lit .ava::before { content: ""; position: absolute; inset: -4px; z-index: -1; border-radius: 50%; background: conic-gradient(#FF7A14, #FF9A1E 20%, #FFF4D8 28%, #FFB13D 36%, #FF9A1E 60%, #E23A0E 78%, #FF7A14); -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); mask: radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px)); animation: spin 6s linear infinite; }
.frow.lit .ava::after { content: ""; position: absolute; inset: -6px; z-index: -2; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,138,31,.55), transparent); animation: breathe 1.7s ease-in-out infinite alternate; }
.frow .ava { z-index: 0; }
@keyframes breathe { from { transform: scale(.9); } to { transform: scale(1.05); } }
.dots { display: flex; gap: 3px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.streak-chip { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px; border-radius: 999px; background: rgba(255,138,31,.14); box-shadow: inset 0 0 0 1px rgba(255,138,31,.32); color: var(--flame-text); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.streak-chip svg { width: 10px; height: 14px; }
.board-caption { margin: 10px 4px 0; font-size: 13px; color: var(--ink-62); opacity: 0; transition: opacity .4s; }
.board-caption.on { opacity: 1; }
.board .fine { margin: 6px 4px 0; }
.stories { position: relative; height: 600px; }
.story { position: absolute; width: min(260px, 47%); height: auto; border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.55); transition: transform .5s var(--rise); clip-path: inset(1px round 22px); }
.story.s1 { left: 2%; top: 2%; transform: rotate(-5deg); z-index: 3; }
.story.s2 { right: 2%; top: 8%; transform: rotate(4deg); z-index: 2; }
.story.s3 { left: 6%; bottom: 4%; transform: rotate(3deg); z-index: 2; }
.story.s4 { right: 4%; bottom: 0; transform: rotate(-3deg); z-index: 3; }
.story:hover { transform: rotate(0) scale(1.03); z-index: 5; }
.story-heart { position: absolute; z-index: 6; left: 50%; top: 50%; translate: -50% -50%; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #FF3B5C; box-shadow: 0 14px 30px rgba(0,0,0,.4); animation: heart 2.4s var(--pop) infinite; }
.story-heart svg { width: 28px; height: 28px; }
@keyframes heart { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.18); } }
@media (max-width: 640px) { .stories { height: 420px; } .story { width: 48%; } }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
@media (max-width: 767px) { .mini-cards { grid-template-columns: 1fr; } }
.mini { padding: 22px; border-radius: 20px; background: var(--surface); }
.mini svg { width: 20px; height: 20px; color: var(--flame-text); margin-bottom: 12px; }
.mini b { display: block; font-size: 17px; margin-bottom: 4px; }
.mini p { color: var(--ink-70); font-size: 15px; }
.friends > .wrap > .fine { margin-top: 20px; }


/* ---------- Pro ---------- */
.pro { background: linear-gradient(180deg, #000 0%, #14072E 30%, #2a0c55 55%, #000 100%); overflow: hidden; }
.muted-eyebrow { color: var(--ink-45); }
.pro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 48px; }
@media (max-width: 899px) { .pro-grid { grid-template-columns: 1fr; } .tcard-wrap { order: -1; } }
.free-list ul { display: grid; gap: 12px; }
.free-list li { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.free-list svg { width: 18px; height: 18px; color: var(--ink-62); flex: none; }
.tcard-wrap { display: grid; justify-items: center; gap: 18px; }
.tcard { position: relative; width: min(380px, 100%); padding: 26px; border-radius: 18px; background: #F5F5F3; color: #151517; transform: rotate(-2deg); box-shadow: 0 40px 80px rgba(0,0,0,.5); overflow: hidden; }
.tcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); pointer-events: none; }
.tcard.jolt { animation: cardjolt .2s linear; }
@keyframes cardjolt { 50% { transform: rotate(-2deg) translateY(2px); } }
.tcard-kicker { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(21,21,23,.6); }
.tcard-title { font-size: 22px; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; }
.barbell { width: 100%; height: 20px; margin: 14px 0; }
.tcard ul { display: grid; gap: 14px; }
.tcard li { display: flex; gap: 14px; align-items: center; }
.tcard li b { font-size: 17px; }
.tcard li p { font-size: 14px; color: rgba(21,21,23,.62); }
.plate { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #2A2A2C; box-shadow: inset 0 0 0 4px #4A4A4E, inset 0 0 0 9px #2A2A2C, inset 0 0 0 10px #4A4A4E; color: #fff; transition: transform .6s var(--slide); }
.plate svg { width: 16px; height: 16px; }
.tcard.prep .plate { transform: translateX(120px) rotate(240deg); }
.stamp { position: absolute; right: 18px; top: 22px; padding: 4px 10px; border: 2px solid var(--pro); border-radius: 6px; color: var(--pro); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transform: rotate(-5deg); }
.tcard.prep .stamp { opacity: 0; transform: rotate(-5deg) scale(1.28); }
.stamp.land { animation: stamp .2s cubic-bezier(.32,0,.67,0); }
@keyframes stamp { from { opacity: 0; transform: rotate(-5deg) scale(1.28); } }

/* ---------- Final ---------- */
.final { background: #000; text-align: center; overflow: hidden; }
.final-arm { position: absolute; left: 50%; top: 10%; width: 900px; translate: -50% 0; opacity: .35; -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent); mask-image: radial-gradient(closest-side, #000 40%, transparent); pointer-events: none; }
.final-inner { position: relative; display: grid; justify-items: center; gap: 20px; }
.final-phone { --pw: 280px; margin-bottom: 36px; }
.recap { color: var(--ink-70); font-size: 15px; }
.recap a { color: var(--action); text-decoration: none; font-weight: 600; }
.store-big { position: relative; overflow: hidden; display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 14px; background: var(--action-grad); font-weight: 700; font-size: 16px; }
.store-big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); animation: sweep 6s ease-in-out infinite; }
@keyframes sweep { 0%, 80% { transform: translateX(-120%); } 95%, 100% { transform: translateX(120%); } }

/* ---------- Footer ---------- */
.footer { background: var(--footer); padding: 64px 0 40px; font-size: 14px; color: var(--ink-62); }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { border-radius: 22%; }
.foot-brand b { display: block; color: var(--ink); font-size: 17px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 40px; }
@media (max-width: 767px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
.foot-cols a, .foot-cols p { display: block; margin-bottom: 8px; text-decoration: none; }
.foot-cols a:hover { color: var(--ink); }
.foot-h { color: var(--ink) !important; font-weight: 600; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 12px; color: var(--ink-45); }
.foot-bottom .tm { flex-basis: 100%; }

/* Reveal once */
[data-reveal] { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--rise); }
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; transition-delay: 0s !important; }
  .hcard { opacity: 1; filter: none; transform: none; }
  .beat { opacity: 1; }
  .store-big::after, .orb, .frow.lit .ava::before, .frow.lit .ava::after { animation: none !important; }
}
