:root {
  --bg: #111113;
  --bg-2: #1d1f23;
  --surface: #23262b;
  --surface-2: #2c2f35;
  --line: rgba(255, 255, 255, 0.11);
  --text: #ffffff;
  --text-2: #e4e6e7;
  --muted: #9da1a8;
  --accent: #2fe08a;
  --accent-ink: #04140b;
  --blue: #4f87ff;
  --radius: 16px;
  --max: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: min(var(--max), 100% - 32px); margin: 0 auto; }

/* ---------- Sticky sub-nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(17, 17, 19, 0.82);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { font-weight: 500; font-size: 15px; text-decoration: none; text-transform: uppercase; letter-spacing: .34em; margin-right: -.34em; }
.nav nav { display: flex; gap: 24px; font-size: 14px; }
.nav nav a { position: relative; color: var(--text-2); text-decoration: none; padding: 21px 0; transition: color .2s; }
.nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; scale: 0 1; transition: scale .35s cubic-bezier(.65,0,.35,1); }
.nav nav a:hover::after { scale: .4 1; }
.nav nav a.active::after { scale: 1 1; }
.nav nav a:hover { color: var(--text); }
.nav nav a.active { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-note { display: flex; flex-direction: column; align-items: flex-end; font-size: 12px; line-height: 1.3; color: var(--muted); }
.nav-note b { color: var(--text-2); font-weight: 500; font-size: 13px; }

/* ---------- Pill buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  background: #fff; color: #0a0a0a;
  text-decoration: none; font-weight: 500; font-size: 16px; white-space: nowrap;
  transition: transform .15s ease, filter .15s ease;
}
.pill:hover { transform: translateY(-1px); }
.pill svg { width: 20px; height: 20px; }
.pill.small { height: 40px; padding: 0 20px; font-size: 15px; }
.pill.light { background: #fff; color: #000; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 120px; position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(40% 55% at 75% 50%, rgba(120, 20, 70, .26), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 4.5vw, 72px); align-items: center; }
h1 { font-size: clamp(48px, 6vw, 88px); line-height: .96; letter-spacing: -0.05em; font-weight: 400; margin: 0 0 28px; }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--text-2); max-width: 26em; margin: 0 0 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 28px; padding: 6px 13px 6px 11px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03);
  color: var(--text-2); font-size: 12px; font-weight: 500; letter-spacing: .04em;
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(47,224,138,.6); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(47,224,138,0); } 100% { box-shadow: 0 0 0 0 rgba(47,224,138,0); } }
.fine { font-size: 13px; color: var(--muted); max-width: 30em; margin: 22px 0 0; }

/* Hero video: 4:3, beside the copy */
.hero-video {
  position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: #14061a;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 50px 110px rgba(40, 0, 30, .5);
}
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video .playpause { right: 20px; bottom: 20px; z-index: 2; }

.playpause { right: 24px; bottom: 24px; z-index: 2; }

/* Device frames (CSS so any screen can go inside) */
.device {
  width: 290px; aspect-ratio: 1320 / 2868;
  padding: 9px; border-radius: 52px;
  background: linear-gradient(145deg, #3b3d42, #121316 40%, #2a2c30);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px rgba(0,0,0,.55);
}
.screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: #000; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.watch {
  width: 150px; aspect-ratio: 416 / 496; padding: 11px; border-radius: 40px;
  background: linear-gradient(145deg, #45474c, #121316 45%, #2b2d31);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px rgba(0,0,0,.6);
}
.watch-screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #000; }
.watch-screen img { width: 100%; height: 100%; object-fit: cover; }

.playpause {
  position: absolute; right: 0; bottom: 0; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: rgba(22,23,26,.7); cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.playpause svg { width: 18px; height: 18px; fill: #fff; }
.playpause .i-play, .playpause.paused .i-pause { display: none; }
.playpause.paused .i-play { display: block; }

/* Floating UI cards (the "app in the real world" overlays) */
.float-card {
  position: absolute; z-index: 3;
  background: rgba(35, 38, 43, .92); border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 16px 18px; color: var(--text);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.float-card small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .01em; }
.float-card b { display: block; font-size: 28px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin-top: 4px; }
.float-card b i, .float-card b em { font-style: normal; font-size: 15px; color: var(--muted); font-weight: 500; }
.float-card b em { color: var(--accent); margin-left: 6px; }
.beat { display: block; margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--accent); }

.ring { width: 36px; height: 36px; flex: none; rotate: -90deg; }
.ring circle { fill: none; stroke-width: 3.5; }
.ring-track { stroke: rgba(47,224,138,.18); }
.ring-fill { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }

/* ---------- Sections ---------- */
.band { padding: 128px 0; border-top: 1px solid var(--line); }
.section-title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 500; margin: 0 0 32px; }
.dim { color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.section-title.center { text-align: center; }

/* Two-tone statement */
.statement { padding: 160px 0 144px; }
.statement p { margin: 0; max-width: 21em; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 400; }

/* Two ways to train */
.ways { display: grid; grid-template-columns: 1.65fr 1fr; gap: 20px; }
.way p { color: var(--text-2); font-size: 17px; margin: 18px 0 0; max-width: 40em; }
.way-media { position: relative; height: 440px; border-radius: var(--radius); overflow: hidden; }
.way-media.gradient {
  background:
    radial-gradient(60% 80% at 80% 95%, rgba(150, 30, 95, .45), transparent 70%),
    radial-gradient(50% 70% at 10% 0%, rgba(70, 40, 160, .28), transparent 70%),
    linear-gradient(135deg, #200317, #08081a);
  display: grid; place-items: center;
}
.device.tilt { width: 230px; transform: rotate(14deg) translateY(40px); }
.way-media.photo { background: linear-gradient(to top, rgba(0,0,0,.75), transparent 55%), var(--img) center 25% / cover; }
.chip {
  position: absolute; left: 18px; bottom: 18px;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(22,23,26,.75); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.display {
  font-weight: 400; letter-spacing: -0.045em; line-height: .95;
  text-shadow: 0 4px 24px rgba(0,0,0,.5);
}
.way-media .display { position: absolute; left: 24px; right: 24px; top: 46%; font-size: clamp(38px, 4vw, 52px); }
.way-meta { position: absolute; left: 24px; right: 24px; bottom: 64px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.way-meta img { width: 26px; height: 26px; border-radius: 7px; }

/* Light (bone) band */
.band.light { --muted: #8d887f; background: #eeeae3; color: #141414; border-top: 0; }
.band.light + .band { border-top: 0; }
.band.light .tabs { border-bottom-color: rgba(0,0,0,.12); }
.band.light .tabs button { color: #807b72; }
.band.light .tabs button:hover, .band.light .tabs button[aria-selected="true"] { color: #141414; }
.band.light .panel-copy p { color: #3d3a35; }

/* Tabs */
.tabs { position: relative; display: flex; justify-content: center; gap: 36px; margin: -4px 0 40px; border-bottom: 1px solid var(--line); }
.tab-ink { position: absolute; bottom: -1px; left: 0; height: 2px; width: 0; background: currentColor; transition: translate .45s cubic-bezier(.65,0,.35,1), width .45s cubic-bezier(.65,0,.35,1); }
.tabs button {
  background: none; border: 0; cursor: pointer; padding: 14px 2px; font-size: 16px; font-weight: 500;
  color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s, border-color .15s;
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--text); }
.tab-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-panel:not([hidden]) { animation: fadeUp .45s ease both; }
.panel-media { position: relative; height: 420px; border-radius: var(--radius); background: var(--img) center 30% / cover; }
.panel-media .float-card { right: -28px; top: 0; bottom: 0; margin: auto 0; height: fit-content; min-width: 236px; }
.panel-copy h3 { font-size: clamp(26px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 14px; }
.panel-copy p { color: var(--text-2); font-size: 18px; margin: 0; max-width: 30em; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin: 14px 0 4px; }
.bars span {
  flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: rgba(79,135,255,.75);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 4px; font-size: 11px; font-weight: 600;
}
.bars span.up { background: var(--accent); color: var(--accent-ink); }
.chart-card svg { width: 220px; height: 70px; margin-top: 10px; display: block; overflow: visible; }
.chart-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.chart-area { fill: url(#chart-area); }
.chart-dot { fill: var(--accent); }
.chart-halo { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; }
.sets { display: flex; gap: 5px; margin-top: 12px; }
.sets i { height: 4px; flex: 1; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; position: relative; }
.sets i.done { background: var(--accent); }
.sets i.now::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; scale: .55 1; }

/* Carousel */
.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.carousel-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 36px; font-size: 13px; color: var(--muted); }
.carousel-nav button {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: none; cursor: pointer;
  display: grid; place-items: center; transition: border-color .15s, opacity .15s;
}
.carousel-nav button:hover { border-color: #fff; }
.carousel-nav button:disabled { opacity: .35; cursor: default; }
.carousel-nav svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel-nav span { min-width: 44px; margin-left: 4px; }
.carousel {
  --gutter: max(16px, (100% - var(--max)) / 2);
  display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 82vw); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 0 var(--gutter) 8px; scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; }
.card-media { position: relative; height: 380px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(to bottom, rgba(0,0,0,.1), rgba(0,0,0,.55)), var(--img) center 20% / cover; }
.device.peek { position: absolute; left: 50%; bottom: -210px; width: 210px; transform: translateX(-50%); border-radius: 40px; padding: 7px; }
.device.peek .screen { border-radius: 34px; }
.card-media .peek-watch { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -42%); width: 160px; }
.card h3 { font-size: 17px; font-weight: 600; margin: 20px 0 6px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }

/* Programs */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.program { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.program-media { position: relative; height: 210px; background: linear-gradient(to top, rgba(0,0,0,.55), transparent 70%), var(--img) center 25% / cover; }
.program-media .display { position: absolute; left: 22px; right: 22px; bottom: 18px; font-size: 40px; }
.program-body { padding: 22px 22px 10px; }
.program h3 { font-size: 20px; font-weight: 500; margin: 0; }
.meta { color: var(--muted); font-size: 13px; margin: 4px 0 14px; }
.program ul { list-style: none; margin: 0; padding: 0; }
.program li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.program li img { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; }
.program li b { display: block; font-size: 14px; font-weight: 500; }
.program li span { color: var(--muted); font-size: 13px; }
.more-programs { color: var(--muted); margin: 28px 0 0; font-size: 16px; }

/* Import strip: one quiet line */
.imports { border-top: 1px solid var(--line); padding: 28px 0; }
.imports .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; }
.imports p { margin: 0; color: var(--muted); font-size: 14px; }
.imports ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.imports li { color: var(--text-2); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; opacity: .75; }

/* Join: copy beside a photo */
.join { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; background: #0e0e0f; }
.join-copy { padding: clamp(48px, 7vw, 112px) max(16px, (100vw - var(--max)) / 2) clamp(48px, 7vw, 112px) max(16px, (100vw - var(--max)) / 2); padding-right: clamp(24px, 5vw, 72px); align-self: center; }
.join h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 400; margin: 0 0 28px; max-width: 13em; }
.join-lede { color: var(--text-2); font-size: 18px; margin: 0 0 24px; max-width: 30em; }
.join ul { list-style: none; padding: 0; margin: 0 0 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.join li { padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-2); font-size: 14px; }
.join-photo { background: var(--img) center 30% / cover; min-height: 420px; }

/* FAQ */
.faq .wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.faq .section-title { margin: 0; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 500; font-size: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; width: 9px; height: 9px; flex: none; margin-right: 6px;
  border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2);
  transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
details[open]:not(.closing) summary::after { transform: rotate(-135deg) translateY(-3px); }
summary { transition: color .2s; }
summary:hover { color: #fff; }
.statement [data-scrub] .w { transition: color .25s linear; }
details p { color: var(--text-2); margin: 0; padding: 0 0 22px; max-width: 62ch; font-size: 16px; overflow: hidden; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 22px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Text pages (privacy, support) */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); }
.page h2 { font-size: 22px; font-weight: 600; margin: 36px 0 8px; }
.page p, .page li { color: var(--text-2); }
.page .updated { color: var(--muted); }

/* Custom cursor (desktop mouse only; JS adds .has-cursor) */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 100; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%;
  background: #fff; color: #000; display: grid; place-items: center; pointer-events: none;
  font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; scale: .3; transition: opacity .3s cubic-bezier(.25,1,.5,1), scale .35s cubic-bezier(.25,1,.5,1);
}
.cursor.on { opacity: 1; scale: 1; }
.cursor.on.pressed { scale: .82; }
.has-cursor [data-cursor], .has-cursor [data-cursor] * { cursor: none; }
.carousel.dragging { scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.carousel img { -webkit-user-drag: none; user-select: none; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tab-panel:not([hidden]) { animation: none; }
  .pulse { animation: none; }
}

@media (max-width: 960px) {
  .nav .sections, .nav-note { display: none; }
  .hero { padding: 48px 0 0; }
  .hero-grid, .tab-panel, .faq .wrap { grid-template-columns: 1fr; }
  .hero { padding-bottom: 72px; }
  .hero-grid { gap: 40px; }
  .hero-video { border-radius: 18px; }
  .device { width: 250px; }
  .ways, .programs, .join { grid-template-columns: 1fr; }
  .join-copy { padding: 64px 16px; }
  .statement { padding: 72px 0 64px; }
  .way-media { height: 380px; }
  .tab-panel { gap: 28px; }
  .panel-media { height: 320px; }
  .panel-media .float-card { right: 12px; left: auto; top: auto; bottom: 16px; margin: 0; }
  .faq .wrap { gap: 20px; }
  .band { padding: 80px 0; }
  .statement { padding: 88px 0 80px; }
}
@media (max-width: 520px) {
  .carousel-head { flex-direction: column; align-items: flex-start; gap: 0; }
  .carousel-nav { margin-bottom: 24px; }
  .pill { height: 48px; padding: 0 22px; font-size: 15px; }
  .tabs { gap: 22px; }
}

/* ================= Motion ================= */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1); }
@keyframes rise { from { opacity: 0; translate: 0 18px; } }
@keyframes rise-big { from { opacity: 0; translate: 0 48px; scale: .96; } }
@keyframes icon-in { from { opacity: 0; scale: .5; rotate: -18deg; } }
@keyframes fade-up { from { opacity: 0; translate: 0 10px; } }
@keyframes fade { to { opacity: 1; } }
@keyframes card-in { from { opacity: 0; scale: .9; translate: 0 22px; } }
@keyframes chip-in { from { opacity: 0; scale: .7; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ring { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes grow { from { scale: 1 0; } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 rgba(47,224,138,0); } 50% { box-shadow: 0 0 22px rgba(47,224,138,.55); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dot-in { to { scale: 1; } }
@keyframes halo { 0% { opacity: .55; scale: 1; } 100% { opacity: 0; scale: 3.4; } }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@keyframes set-fill { 0% { scale: 0 1; } 60%, 100% { scale: 1 1; } }
@keyframes tilt-float { 50% { translate: 0 -12px; } }

/* Hero: staggered entrance, then the phone tilts toward the mouse */
.js .hero-copy > * { animation: rise 1s var(--ease-out) both; }
.js .hero-copy h1 { animation: rise-big 1.2s var(--ease-out) .08s both; }
.js .hero-copy > :nth-child(3) { animation-delay: .22s; }
.js .hero-copy > :nth-child(4) { animation-delay: .32s; }
.js .hero-copy > :nth-child(5) { animation-delay: .42s; }
.js .hero-video { animation: rise-big 1.4s var(--ease-out) .25s both; }

/* Floating overlays: pop in when seen, then drift */
.js .float-card:not(.play) { opacity: 0; }
.float-card.play { animation: card-in .8s var(--ease-out) both, bob 6s ease-in-out .9s infinite; }
.play .ring-fill { animation: ring 6s linear 1.2s infinite both; }
.play .beat, .play b em { animation: fade-up .6s var(--ease-out) 1s both; }
.nudge { display: inline-block; }
.play .nudge { animation: nudge 1.6s ease-in-out 1.6s infinite; }
.play .sets i { animation: fade-up .5s var(--ease-out) both; }
.play .sets i:nth-child(1) { animation-delay: .35s; }
.play .sets i:nth-child(2) { animation-delay: .45s; }
.play .sets i:nth-child(3) { animation-delay: .55s; }
.play .sets i.now::after { animation: set-fill 2.6s ease-in-out .8s infinite both; }

.bars span { transform-origin: bottom; }
.play .bars span { animation: grow .8s var(--ease-out) both; animation-delay: calc(.35s + var(--d) * 90ms); }
.play .bars .up { animation: grow .9s var(--ease-spring) both, glow 2.4s ease-in-out infinite; animation-delay: calc(.35s + var(--d) * 90ms), 1.6s; }

.js .chart-line { stroke-dashoffset: 1; }
.js .chart-area { opacity: 0; }
.js .chart-dot { scale: 0; }
.chart-dot { transform-box: fill-box; transform-origin: center; }
.play .chart-line { animation: draw 1.6s var(--ease-out) .35s forwards; }
.play .chart-area { animation: fade 1s ease 1s forwards; }
.play .chart-dot { animation: dot-in .5s var(--ease-spring) 1.7s forwards; }
.play .chart-halo { animation: halo 2.2s ease-out 2.1s infinite; }

/* Buttons: shine sweep, lift, press */
.pill { position: relative; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease-out), filter .2s, box-shadow .35s, translate .5s var(--ease-out); }
.pill::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(0,0,0,.08) 50%, transparent 65%); translate: -110% 0; }
.pill:hover::after { translate: 110% 0; transition: translate .8s var(--ease-out); }
.pill:hover { box-shadow: 0 12px 34px rgba(255,255,255,.14); }
.pill:active { transform: scale(.96); }
.carousel-nav button { transition: border-color .2s, opacity .2s, scale .3s var(--ease-spring), background-color .2s; }
.carousel-nav button:hover:not(:disabled) { scale: 1.1; background-color: rgba(255,255,255,.08); }
.carousel-nav button:active:not(:disabled) { scale: .92; }
.playpause { transition: scale .3s var(--ease-spring), background-color .2s; }
.playpause:hover { scale: 1.1; }
.tabs button { transition: color .25s; }

/* Cards */
.device.tilt { transition: transform .9s var(--ease-out); animation: tilt-float 7s ease-in-out infinite; }
.way:hover .device.tilt { transform: rotate(7deg) translateY(22px); }
.way-media .display, .program-media .display { transition: translate .7s var(--ease-out); }
.way:hover .display, .program:hover .display { translate: 8px 0; }
.card-media { transition: filter .6s; }
.card:hover .card-media { filter: brightness(1.08) saturate(1.05); }
.device.peek { transition: translate .8s var(--ease-out); }
.card:hover .device.peek { translate: 0 -24px; }
.card .peek-watch { transition: scale .7s var(--ease-spring); }
.card:hover .peek-watch { scale: 1.07; }
.card h3 { transition: translate .5s var(--ease-out); }
.card:hover h3 { translate: 4px 0; }
.program { transition: translate .6s var(--ease-out), box-shadow .6s, opacity .7s ease; }
.program:hover { translate: 0 -6px; box-shadow: 0 26px 50px rgba(0,0,0,.4); }
.program li img { transition: scale .5s var(--ease-spring); }
.program li:hover img { scale: 1.1; }
.program.in li { animation: fade-up .6s var(--ease-out) both; }
.program.in li:nth-child(1) { animation-delay: .25s; }
.program.in li:nth-child(2) { animation-delay: .35s; }
.program.in li:nth-child(3) { animation-delay: .45s; }

/* Lists that cascade in */
.imports li { transition: opacity .25s, color .25s; }
.imports li:hover { opacity: 1; color: #fff; }
.imports .in li, .join-copy.in li { animation: fade-up .6s var(--ease-out) both; }
.imports .in li:nth-child(2), .join-copy.in li:nth-child(2) { animation-delay: .08s; }
.imports .in li:nth-child(3), .join-copy.in li:nth-child(3) { animation-delay: .16s; }
.imports .in li:nth-child(4), .join-copy.in li:nth-child(4) { animation-delay: .24s; }
.join li { transition: border-color .25s, color .25s; }
.join li:hover { border-color: rgba(47,224,138,.5); color: #fff; }
.js .reveal { transition-delay: calc(var(--i, 0) * 90ms); }

/* Statement lights up word by word as you scroll */
.js [data-scrub] .w { color: rgba(255,255,255,.18); }
.js [data-scrub] .w.lit { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
.js .program.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1), translate .6s var(--ease-out), box-shadow .6s; transition-delay: calc(var(--i, 0) * 90ms); }

/* Film grain over everything, very faint */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { translate: 0 0; } 20% { translate: -4% 3%; } 40% { translate: 3% -5%; } 60% { translate: -6% 1%; } 80% { translate: 5% 4%; } 100% { translate: 0 0; } }

/* Footer: oversized wordmark */
.footer-mark {
  font-size: clamp(80px, 19.5vw, 300px); font-weight: 500; letter-spacing: -0.06em; line-height: .8;
  text-transform: uppercase; text-align: center; white-space: nowrap; overflow: hidden;
  margin: 8px 0 48px; padding-top: 24px; user-select: none;
  background: linear-gradient(to bottom, rgba(255,255,255,.14), rgba(255,255,255,.02));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
footer { padding-top: 24px; }
