@view-transition { navigation: auto; }
/* shared styles for the product pages (tunes/, timer/) */
:root { --bg: #050506; --panel: #131416; --panel2: #1a1b1f; --line: #26292e; --text: #f2f3f5; --mute: #8b9199; --c: #45d07f;
  --sans: "Rethink Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.4; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
::selection { background: color-mix(in srgb, var(--c) 40%, transparent); }
:focus-visible { outline: 2px solid var(--c); outline-offset: 3px; border-radius: 6px; }

/* nav */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 56px; display: flex; align-items: center; gap: 16px; padding: 0 max(20px, env(safe-area-inset-left)); background: rgba(5, 5, 6, .78); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.nav .home { font-weight: 700; letter-spacing: -.03em; font-size: 17px; display: flex; align-items: center; gap: 8px; color: var(--mute); transition: color .2s; } .nav .home:hover { color: var(--text); }
.nav .home svg { width: 16px; height: 16px; }
.nav .name { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.03em; font-size: 17px; }
.nav .name b { font-weight: 700; } .nav .name img { width: 26px; height: 26px; border-radius: 7px; object-fit: contain; } .nav .name span { color: var(--c); }
.nav .go { margin-left: auto; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: var(--c); color: #07080a; font-weight: 700; font-size: 15px; letter-spacing: -.01em; transition: transform .25s var(--ease), filter .2s; }
.btn:hover { transform: scale(1.04); filter: brightness(1.08); } .btn:active { transform: scale(.98); }
.btn.lg { padding: 15px 28px; font-size: 18px; } .btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px #3a3f46; } .btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--c); }

/* type */
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--c); margin-bottom: 14px; }
h1 { font-size: clamp(42px, 7.2vw, 96px); line-height: 1.02; letter-spacing: var(--trk1, -.04em); font-weight: 500; }
h2 { font-size: clamp(30px, 4.4vw, 58px); line-height: 1.08; letter-spacing: var(--trk2, -.032em); font-weight: 500; }
h3 { font-size: 22px; letter-spacing: -.02em; font-weight: 500; }
.lede { font-size: clamp(18px, 1.8vw, 24px); line-height: 1.3; color: var(--mute); letter-spacing: -.015em; max-width: 36ch; }
.c { color: var(--c); }
section { position: relative; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }

/* hero */
.hero { padding: 104px 0 0; text-align: center; }
.hero .appicon { width: 68px; height: 68px; border-radius: 16px; margin: 0 auto 22px; object-fit: contain; }
.hero h1 { max-width: 12ch; margin: 0 auto; }
.hero .lede { margin: 20px auto 0; text-align: center; max-width: 30ch; }
.hero .cta { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; align-items: center; }
.hero .soon { margin-top: 18px; font-size: 15px; color: var(--mute); } .hero .soon a { color: var(--text); text-decoration: underline; text-decoration-color: #3a3f46; text-underline-offset: 3px; } .hero .soon a:hover { text-decoration-color: var(--c); }
.heromedia { position: relative; width: min(960px, 100% - 40px); margin: 44px auto 0; transform: translateY(calc(var(--p, 0) * -40px)) scale(calc(.9 + var(--p, 0) * .12)); transform-origin: 50% 0; will-change: transform; }
.screen16 { border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px #2a2e34; aspect-ratio: 16 / 9; position: relative; }
.screen16 img, .screen16 video { width: 100%; height: 100%; object-fit: cover; }

/* scroll stories: a tall track with a pinned stage */
.story { height: var(--h, 360vh); }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 48px; width: min(1240px, 100% - 40px); margin: 0 auto; padding-top: 56px; }
.col { display: flex; flex-direction: column; gap: 20px; }
.steps { position: relative; height: clamp(270px, 40vh, 360px); }
.step { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; will-change: transform, opacity; pointer-events: none; }
.step p { margin-top: 14px; font-size: clamp(17px, 1.6vw, 21px); color: var(--mute); line-height: 1.35; letter-spacing: -.012em; max-width: 30ch; }
.step .n { font-size: 14px; font-weight: 700; color: var(--c); letter-spacing: .06em; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.dots { display: flex; gap: 8px; } .dots i { width: 28px; height: 3px; border-radius: 2px; background: #2a2e34; transition: background .4s; }
.story[data-step="0"] .dots i:nth-child(1), .story[data-step="1"] .dots i:nth-child(2), .story[data-step="2"] .dots i:nth-child(3), .story[data-step="3"] .dots i:nth-child(4), .story[data-step="4"] .dots i:nth-child(5), .story[data-step="5"] .dots i:nth-child(6) { background: var(--c); }
.stage { position: relative; aspect-ratio: 16 / 10; width: 100%; overflow: hidden; }   /* transformed layers must never widen the page: on phones that shifts the whole pinned view */

/* big statement, words light up as you scroll */
.words { font-size: clamp(34px, 6vw, 80px); line-height: 1.12; letter-spacing: -.04em; font-weight: 500; max-width: 17ch; }
.words .w { opacity: .16; transition: opacity .25s linear; }
.statement { padding: 12vh 0; } .statement .wrap { display: flex; flex-direction: column; gap: 9vh; }
.statement small { display: block; font-size: 15px; font-weight: 600; color: var(--c); margin-bottom: 18px; letter-spacing: .02em; }

/* compact feature list */
.fsec { padding: 12vh 0 4vh; }
.flist { margin-top: 36px; border-top: 1px solid var(--line); } .flist > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.flist dt { font-size: 22px; font-weight: 500; letter-spacing: -.02em; } .flist dd { color: var(--mute); font-size: 19px; line-height: 1.4; max-width: 44ch; }
@media (max-width: 900px) { .flist > div { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; } }
/* feature cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 16px; padding: 6vh 0 10vh; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: 30px; min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.card .ic { width: 44px; height: 44px; color: var(--c); margin-bottom: auto; } .card .ic svg { width: 100%; height: 100%; }
.card p { color: var(--mute); font-size: 17px; letter-spacing: -.01em; }
.sec-head { padding-top: 12vh; } .sec-head h2 { max-width: 16ch; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.rv.in { opacity: 1; transform: none; }

/* footer call to action */
.final { text-align: center; padding: 12vh 0 12vh; }
.final img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 30px; object-fit: contain; }
.final h2 { max-width: 14ch; margin: 0 auto; } .final .cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--mute); font-size: 14px; } footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; } footer a:hover { color: var(--text); }

@media (max-width: 1000px) { .nav .name { display: none; } }
@media (max-width: 900px) {
  .pin { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: center; gap: 44px; }
  .col { order: 2; gap: 30px; } .steps { height: var(--sh, 190px); } .step { justify-content: flex-start; } .stage { order: 1; }
  .step h2 { font-size: 30px; } .step p { margin-top: 10px; font-size: 16px; }
  .nav .name { display: none; }
  .hero { padding-top: 96px; }
}
/* phones held upright: call-to-action buttons stack, one per row, with room to breathe */
@media (max-width: 600px) {
  .hero .cta, .final .cta { flex-direction: column; align-items: stretch; gap: 14px; width: min(100%, 340px); margin-inline: auto; }
  .hero .cta .btn, .final .cta .btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { transition: none; } .rv { opacity: 1; transform: none; } .words .w { opacity: 1 !important; } .heromedia { transform: none; }
}
