/* strovyn.app v2: hand-written, no framework. Editorial white pages, one
   cinematic dark section (the Lock Screen) and a dark close. The static
   layout is complete on its own; html.motion (set by motion.js unless the
   visitor prefers reduced motion) switches the story, Lock Screen and share
   sections to their pinned, scroll-driven layouts, which site.js animates
   with GSAP. Logical properties mirror everything for Arabic (dir="rtl"). */

@font-face { font-family: "General Sans"; src: url("fonts/GeneralSans-Semibold.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("fonts/tajawal-400.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Tajawal"; src: url("fonts/tajawal-700.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }

:root {
  --ink: #0b0b0f;
  --ink-2: #26262e;
  --muted: #5f5f6c;
  --muted-2: #6c6c7a;
  --paper: #ffffff;
  --mist: #f6f4fb;
  --lav: #f1ebff;
  --violet: #7c3aed;
  --violet-2: #8b5cf6;
  --violet-3: #a78bfa;
  --violet-ink: #5b21b6;
  --line: rgba(17, 12, 40, 0.1);
  --night: #07060c;
  --night-2: #120d24;
  --on-night: #f4f2fa;
  --on-night-muted: #b4aec6;
  --glass: rgba(255, 255, 255, 0.72);
  --wrap: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "General Sans", "Inter", system-ui, -apple-system, sans-serif;
  --display-latin: "General Sans", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html[lang="ar"] {
  --font: "Tajawal", "Inter", system-ui, sans-serif;
  --display: "Tajawal", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
html:not(.motion) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3 { margin: 0 0 0.45em; font-weight: 600; line-height: 1.05; }
h2 {
  font-family: var(--display);
  font-size: clamp(2.5rem, 6.4vw, 5.4rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}
h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.25; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-ink);
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 0.95rem; }
.section-lead { font-size: clamp(1.08rem, 1.5vw, 1.32rem); color: var(--muted); max-width: 36em; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
[dir="rtl"] .icon-arrow { transform: scaleX(-1); }

:focus-visible { outline: 3px solid var(--violet-2); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Header: glass, light over light sections and dark over the dark ones. */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(1.8) blur(20px);
  backdrop-filter: saturate(1.8) blur(20px);
  border-bottom: 1px solid rgba(17, 12, 40, 0.06);
  transition: background-color 0.35s, border-color 0.35s, color 0.35s;
}
.header-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; flex: none; }
.logo img { height: 30px; width: auto; }
.site-nav { margin-inline-start: auto; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-size: 0.92rem; font-weight: 500; color: var(--ink-2); }
.site-nav a:hover { color: var(--violet); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.site-header.on-dark { background: rgba(9, 7, 18, 0.66); border-color: rgba(255, 255, 255, 0.08); color: var(--on-night); }
.site-header.on-dark .site-nav a { color: #e6e2f2; }
.logo-light { transition: filter 0.35s; }
.site-header.on-dark .logo-light { filter: invert(1); }
.site-header.on-dark .btn-dark { background: #fff; color: var(--ink); }

.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 10px; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu ul {
  position: absolute; inset-inline-end: 0; top: calc(100% + 6px); min-width: 170px;
  list-style: none; margin: 0; padding: 6px; background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(30, 16, 80, 0.16);
}
.lang-menu li a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.lang-menu li a:hover, .lang-menu li a[aria-current] { background: var(--lav); }

.nav-toggle {
  display: none; border: 0; background: transparent; color: inherit;
  width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.88rem; }

.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.store-button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px;
  border-radius: 16px; background: var(--ink); color: #fff; font-weight: 600; font-size: 1.05rem;
  text-align: start; line-height: 1.15;
}
.store-button .icon { width: 1.5em; height: 1.5em; }
.store-button small { display: block; font-size: 0.72rem; font-weight: 500; color: #c9c6d6; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--violet-ink);
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}

.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { color: var(--violet); margin-top: 0.22em; }

/* The CSS iPhone (iPhone 16 Pro Max proportions: 440 x 956 pt screen). */
.phone { --w: 300px; width: var(--w); flex: none; }
.phone-body {
  position: relative;
  padding: calc(var(--w) * 0.03);
  border-radius: calc(var(--w) * 0.175);
  background: linear-gradient(150deg, #5a5a62 0%, #1b1b20 16%, #0b0b0e 50%, #24242a 84%, #5f5f66 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 0 0 calc(var(--w) * 0.011) #050506,
    0 2px 6px rgba(10, 6, 30, 0.18),
    0 40px 80px -30px rgba(60, 25, 140, 0.45),
    0 90px 120px -70px rgba(20, 10, 60, 0.4);
}
.phone-body::before, .phone-body::after {
  content: ""; position: absolute; width: 3px; border-radius: 2px; background: #3a3a40;
}
.phone-body::before { left: -3px; top: 19%; height: 7%; box-shadow: 0 calc(var(--w) * 0.2) 0 #3a3a40; }
.phone-body::after { right: -3px; top: 25%; height: 11%; }
.phone-screen {
  position: relative; aspect-ratio: 440 / 956; overflow: hidden; isolation: isolate; text-align: start;
  border-radius: calc(var(--w) * 0.145); background: #efeef4;
}
.phone-screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.status {
  position: absolute; z-index: 3; inset-inline: 0; top: 0; height: 6.5%;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: 10% 8%; color: var(--ink);
  font: 600 calc(var(--w) * 0.048) / 1 -apple-system, "SF Pro Text", "Inter", sans-serif;
}
.status-icons svg { display: block; width: calc(var(--w) * 0.17); height: auto; fill: currentColor; }
[dir="rtl"] .status-icons svg { transform: scaleX(-1); }
.island {
  position: absolute; z-index: 4; top: 1.2%; left: 50%; width: 29%; height: 3.95%;
  transform: translateX(-50%); background: #000; border-radius: 999px;
}
.phone-dark .phone-screen { background: var(--night-2); }
.phone-dark .status { color: #fff; }

/* 1. Hero */
.hero {
  position: relative; overflow: clip; text-align: center;
  padding: clamp(118px, 17vh, 176px) 0 clamp(60px, 10vh, 120px);
  background: radial-gradient(120% 60% at 50% 0%, var(--lav) 0%, var(--paper) 60%);
}
.hero-bloom {
  position: absolute; left: 50%; top: 62%; width: 1200px; height: 1200px;
  margin: -600px 0 0 -600px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.5), rgba(167, 139, 250, 0.24) 46%, rgba(255, 255, 255, 0) 100%);
}
.hero-copy { position: relative; z-index: 1; }
.hero-title {
  font-family: var(--display);
  font-size: clamp(3.3rem, 12.2vw, 10.4rem);
  line-height: 0.9; letter-spacing: -0.058em; margin: 0.12em 0 0.3em;
}
html[lang="ar"] .hero-title { font-weight: 700; line-height: 1.12; letter-spacing: 0; font-size: clamp(3.2rem, 11vw, 8.6rem); }
.w { display: inline-block; vertical-align: top; }
.w > span { display: inline-block; }
/* Gradient text paints only inside its box: the padding reaches past the
   descenders (g, p), the Arabic marks and the letters' overhang, and the
   equal negative margin keeps the layout exactly where it was. */
.w:last-child > span {
  background: linear-gradient(100deg, var(--violet-ink) 0%, var(--violet) 45%, #c084fc 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0.12em 0.08em 0.24em; margin: -0.12em -0.08em -0.24em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-lead { margin: 0 auto 30px; max-width: 34em; font-size: clamp(1.06rem, 1.6vw, 1.3rem); color: var(--muted); }
.hero-device { position: relative; z-index: 2; margin: clamp(44px, 7vh, 80px) auto 0; width: min(1120px, 100%); perspective: 1500px; }
.hero-tilt { transform-origin: 50% 0%; }
.hero-mouse { transform-style: preserve-3d; }
.hero .phone { --w: clamp(256px, 25vw, 352px); margin-inline: auto; }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 20px; text-align: start;
  background: var(--glass); border: 1px solid rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 1px 2px rgba(30, 16, 80, 0.05), 0 24px 50px -12px rgba(60, 30, 140, 0.25);
}
[dir="rtl"] .float-card { padding: 12px 12px 12px 18px; }
.float-icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  background: var(--lav); color: var(--violet);
}
.float-text { display: grid; line-height: 1.2; }
.float-text small { font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.float-text strong { font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.float-text em { font-style: normal; font-size: 0.74rem; color: var(--muted); }
.fc-rest { top: 12%; inset-inline-start: 6%; }
.fc-pr { top: 46%; inset-inline-start: 1%; }
.fc-streak { top: 20%; inset-inline-end: 5%; }
.fc-kcal { top: 54%; inset-inline-end: 1%; }

/* 2. Story: the phone stays, the screen and the copy change. */
.story { padding: clamp(110px, 16vh, 170px) 0 40px; }
.story-intro { text-align: center; max-width: 960px; }
.story-intro .section-lead { margin-inline: auto; }
.story-steps { display: none; }
.story-device { display: none; }
.chapter {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 6vw, 80px);
  align-items: center; padding: 64px 0; border-top: 1px solid var(--line);
}
.chapter-num { margin: 0 0 12px; font-weight: 600; color: var(--violet-ink); font-variant-numeric: tabular-nums; }
.chapter h3 {
  font-family: var(--display); font-size: clamp(2.6rem, 5.8vw, 5.2rem);
  letter-spacing: -0.045em; line-height: 0.95; margin-bottom: 0.3em;
}
.chapter-text { font-size: clamp(1.06rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 30em; }
.chapter-shot { grid-column: 2; grid-row: 1 / span 4; }
.chapter-shot .phone { --w: clamp(200px, 22vw, 270px); }
.chapter > :not(.chapter-shot) { grid-column: 1; }

/* 3. The Lock Screen: a dark, cinematic stage. */
.live {
  position: relative; overflow: clip; color: var(--on-night); background: var(--night);
  padding: clamp(110px, 16vh, 170px) 0 clamp(90px, 12vh, 140px);
}
.live::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 1400px; height: 900px; margin-left: -700px;
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.32), rgba(124, 58, 237, 0) 100%);
  pointer-events: none;
}
.live .eyebrow { color: var(--violet-3); }
.live .section-lead { color: var(--on-night-muted); margin-inline: auto; }
.live-intro { position: relative; text-align: center; max-width: 960px; }
.live-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 7vw, 110px); align-items: center; margin-top: 70px;
}
.live-captions { display: grid; gap: 34px; }
.cap h3 { font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.6rem); letter-spacing: -0.03em; }
.cap p { color: var(--on-night-muted); font-size: 1.1rem; max-width: 26em; }
.live-note { display: flex; gap: 10px; align-items: center; color: #d9d3ea; font-size: 0.95rem; margin: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; flex: none; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2); }
.live-device { position: relative; }
.phone-live { --w: clamp(280px, 27vw, 368px); }
.motion .phone-live { --w: min(27vw, 360px, 37vh); }
.phone-live .island { display: none; }
.lock-wall { position: absolute; inset: 0; background: linear-gradient(180deg, #1b1035 0%, #2a175e 46%, #4b28a8 100%); }
.lock-head { position: absolute; z-index: 2; top: 27%; inset-inline: 0; text-align: center; color: #fff; }
.lock-line {
  display: flex; gap: 0.3em; align-items: center; justify-content: center; margin: 0;
  font-size: calc(var(--w) * 0.044); font-weight: 600;
}
.flame { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }
.lock-clock {
  margin: 0; font: 700 calc(var(--w) * 0.26) / 1 -apple-system, "SF Pro Rounded", "General Sans", sans-serif;
  letter-spacing: -0.02em;
}
.lock-date { margin: 0; font-size: calc(var(--w) * 0.044); font-weight: 500; color: #ece8f6; }
.lock-widgets { display: flex; justify-content: center; gap: calc(var(--w) * 0.04); margin-top: calc(var(--w) * 0.05); }
.lw {
  position: relative; display: grid; place-content: center; justify-items: center;
  width: calc(var(--w) * 0.19); aspect-ratio: 1; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16); color: #fff;
  font-size: calc(var(--w) * 0.05); font-weight: 700; line-height: 1.05;
}
.lw small { font-size: 0.6em; font-weight: 600; }
.lw-ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(#ece9f5 var(--p), rgba(255, 255, 255, 0.24) 0);
  -webkit-mask: radial-gradient(closest-side, transparent 84%, #000 85%);
  mask: radial-gradient(closest-side, transparent 84%, #000 85%);
}
.lw-kcal { --p: 63%; }
.lw-protein { --p: 76%; }
.la-banner {
  position: absolute; z-index: 2; inset-inline: 4.5%; bottom: 11%;
  padding: calc(var(--w) * 0.05); border-radius: calc(var(--w) * 0.1);
  background: rgba(22, 13, 48, 0.86); color: #f0edf8; font-size: calc(var(--w) * 0.04);
}
.la-top { display: flex; align-items: center; gap: 0.5em; font-weight: 600; }
.la-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dumbbell { width: 1.3em; height: 1.3em; fill: var(--violet-3); flex: none; }
.la-time, .la-elapsed { font-weight: 700; font-variant-numeric: tabular-nums; }
.la-time { color: var(--violet-3); }
.la-mid { display: flex; align-items: center; gap: 0.6em; margin-top: 0.55em; }
.la-text { flex: 1; min-width: 0; }
.la-head { margin: 0; font-weight: 700; font-size: 1.12em; line-height: 1.2; }
.la-sub { margin: 0; color: #c3bdd6; font-size: 0.9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.la-sub:empty { display: none; }
.la-big { margin: 0.05em 0 0; font-size: 2.5em; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.is-set .la-big { display: none; }
.la-actions { display: flex; gap: 0.4em; flex: none; }
.la-btn {
  display: inline-flex; align-items: center; gap: 0.3em; min-height: 28px; min-width: 28px;
  padding: 0.5em 0.85em; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--violet-2); color: #fff; font-size: 0.88em; font-weight: 700; line-height: 1.1;
  transition: transform 0.15s var(--ease), background-color 0.2s;
}
.la-btn:hover { background: #9d6ff8; }
.la-btn:active { transform: scale(0.94); }
.la-btn .icon { width: 1em; height: 1em; }
.la-btn[data-mode="set"] { display: none; }
.is-set .la-btn[data-mode="set"] { display: inline-flex; }
.is-set .la-btn[data-mode="rest"] { display: none; }
.la-bar { height: calc(var(--w) * 0.016); margin-top: 0.8em; border-radius: 99px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.la-bar i { display: block; height: 100%; background: var(--violet-2); border-radius: inherit; transform-origin: left center; }
[dir="rtl"] .la-bar i { transform-origin: right center; }
.la-foot { display: flex; justify-content: space-between; gap: 1em; margin-top: 0.6em; color: #c3bdd6; font-size: 0.85em; }
.la-next { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.12); } }

.island-demo {
  position: absolute; z-index: 5; top: 1.2%; left: 50%; transform: translateX(-50%);
  width: 92%; border-radius: calc(var(--w) * 0.11); background: #000; color: #fff;
  font-size: calc(var(--w) * 0.04); overflow: hidden;
}
.isl-compact {
  position: absolute; inset: 0; display: none; align-items: center; justify-content: space-between;
  padding-inline: 8%; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--violet-3);
}
.isl-expanded { position: relative; padding: calc(var(--w) * 0.05) calc(var(--w) * 0.055); }
.is-over .island-demo { box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.7); }

.live-widgets {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px); align-items: center; margin-top: clamp(80px, 12vh, 140px);
}
.widget-row { display: flex; gap: 18px; align-items: center; }
.widget { filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55)); }
.widget-small { width: 168px; }
.widget-medium { width: 340px; }
.widget-copy h3 { font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -0.03em; }
.widget-copy p { color: var(--on-night-muted); }
.android-note { font-size: 0.95rem; }

/* 4. Numbers: example data, marked as such. */
.numbers { padding: clamp(120px, 18vh, 190px) 0; text-align: center; }
.demo-chip {
  display: inline-block; margin-inline-start: 0.6em; padding: 0.25em 0.8em; vertical-align: 0.1em;
  border: 1px dashed var(--violet); border-radius: 999px; color: var(--violet-ink);
  font-size: 0.74rem; letter-spacing: 0.02em; text-transform: none;
}
.num-grid { list-style: none; padding: 0; margin: 64px 0 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.num {
  display: block; font-family: var(--display-latin); font-weight: 600;
  font-size: clamp(3.4rem, 9.5vw, 8.4rem); line-height: 1; letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--ink) 30%, var(--violet-ink) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* Room for the comma's descender (see the hero's gradient word). */
  padding-bottom: 0.2em; margin-bottom: -0.2em;
}
.num-label { display: block; margin-top: 14px; font-size: 1.1rem; color: var(--muted); }
.num-note { max-width: 42em; margin: 0 auto; color: var(--muted); }

/* 5. Share cards: they fan out in 3D. */
.share { padding: clamp(110px, 16vh, 170px) 0 40px; background: linear-gradient(var(--paper), var(--mist)); }
.share-head { text-align: center; max-width: 900px; }
.share-head .section-lead { margin-inline: auto; }
.fan {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 40px max(20px, calc((100% - var(--wrap)) / 2)) 80px;
}
.card {
  flex: 0 0 auto; width: 220px; height: auto; border-radius: 22px; scroll-snap-align: center;
  box-shadow: 0 2px 6px rgba(30, 16, 80, 0.08), 0 30px 60px -20px rgba(60, 30, 140, 0.35);
}

/* 6. Editorial: your data, coaches and partners, questions, download. */
.data { padding: clamp(120px, 18vh, 190px) 0; }
.data-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); }
.data-head { position: sticky; top: 120px; align-self: start; }
.data-list { list-style: none; margin: 0; padding: 0; }
.data-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 30px 0; border-top: 1px solid var(--line); }
.data-list li:last-child { border-bottom: 1px solid var(--line); }
.idx { font-family: var(--display-latin); color: var(--violet-ink); font-weight: 600; padding-top: 0.3em; }
.data-list h3 { font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -0.025em; margin-bottom: 0.3em; }
.data-list p { margin: 0; color: var(--muted); }

.duo { padding: 0 0 clamp(120px, 18vh, 190px); }
.duo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.duo-grid > article { padding-top: 64px; }
.coach { padding-inline-end: clamp(24px, 5vw, 64px); border-inline-end: 1px solid var(--line); }
.partner { padding-inline-start: clamp(24px, 5vw, 64px); }
.duo h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.partner-cta { margin: 30px 0 6px; color: var(--muted); }
.big-mail {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display-latin);
  font-size: clamp(1.45rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -0.03em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; padding-bottom: 4px;
  transition: color 0.2s, background-size 0.3s var(--ease);
}
.big-mail:hover { color: var(--violet); background-size: 0 2px; }

.faq { padding: clamp(110px, 16vh, 170px) 0; background: var(--mist); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 90px); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 44px; padding: 24px 0; font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 600; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 16px; height: 16px; flex: none; }
.faq-item summary i::before, .faq-item summary i::after {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform 0.3s var(--ease);
}
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-item p { margin: 0 0 26px; color: var(--muted); max-width: 40em; }

.download {
  position: relative; overflow: clip; text-align: center; color: #fff; background: var(--night);
  padding: clamp(130px, 20vh, 210px) 0;
}
.download-bloom {
  position: absolute; left: 50%; top: 50%; width: 1100px; height: 1100px; margin: -550px 0 0 -550px;
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.42), rgba(124, 58, 237, 0) 100%); pointer-events: none;
}
.download-inner { position: relative; }
.download-mark { width: 110px; height: 110px; margin: 0 auto 28px; color: #fff; overflow: visible; }
.download h2 { font-size: clamp(3.4rem, 11vw, 9rem); }
.download .section-lead { color: var(--on-night-muted); margin: 0 auto 36px; }
.download .store-button { background: #fff; color: var(--ink); }
.download .store-button small { color: var(--muted); }

/* The launch sign-up: the same form in the dark close and in the popup. */
.waitlist { max-width: 560px; margin: 56px auto 0; text-align: start; }
.waitlist h3 { margin: 0 0 6px; font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: #fff; text-align: center; }
.waitlist > p { margin: 0 0 22px; color: var(--on-night-muted); text-align: center; }
.waitlist-form { display: grid; gap: 12px; }
.wl-label { font-weight: 600; font-size: 0.95rem; }
.wl-row { display: flex; flex-wrap: wrap; gap: 10px; }
.wl-row input {
  flex: 1 1 240px; min-height: 52px; padding: 0 16px; border-radius: 14px; font: inherit; font-size: 1rem;
  color: var(--ink); background: #fff; border: 1.5px solid var(--line); text-align: start;
}
.wl-row input:focus-visible { outline: 3px solid var(--violet-2); outline-offset: 2px; border-color: var(--violet); }
.wl-submit { min-height: 52px; padding: 0 24px; border: 0; border-radius: 14px; background: var(--violet); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.wl-submit:hover { background: var(--violet-ink); }
.wl-submit:disabled { opacity: 0.6; cursor: progress; }
.wl-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; line-height: 1.45; cursor: pointer; }
.wl-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--violet); }
.wl-check a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.wl-note { margin: 0; font-size: 0.85rem; color: var(--muted); }
.wl-status { margin: 0; min-height: 1.4em; font-weight: 600; }
.wl-status.error { color: #b42318; }
.waitlist-form.done > :not(.wl-status) { display: none; }
/* The honeypot: off-screen for people, still a field for bots. */
.wl-hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.download .wl-label, .download .wl-check { color: var(--on-night); }
.download .wl-note { color: var(--on-night-muted); }
.download .wl-status { color: #fff; }
.download .wl-status.error { color: #fda29b; }

.waitlist-dialog {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 24px;
  color: var(--ink); background: var(--paper); box-shadow: 0 40px 120px rgba(17, 12, 40, 0.35); overflow: auto;
}
.waitlist-dialog::backdrop { background: rgba(7, 6, 12, 0.55); }
.wl-dialog-inner { position: relative; padding: 36px 28px 26px; }
.wl-dialog-inner h2 { margin: 0 0 8px; font-family: var(--display); font-size: clamp(1.6rem, 5vw, 2.1rem); line-height: 1.15; }
.wl-dialog-inner .eyebrow { margin: 0 0 6px; }
.wl-lead { margin: 0 0 20px; color: var(--muted); }
.wl-close {
  position: absolute; inset-inline-end: 12px; top: 12px; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 999px; background: var(--mist); color: var(--ink); cursor: pointer;
}
.wl-close:hover { background: var(--lav); }
.wl-close .icon { width: 20px; height: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .waitlist-dialog[open] { animation: wl-in 0.35s var(--ease); }
  .waitlist-dialog[open]::backdrop { animation: wl-fade 0.35s ease; }
}
@keyframes wl-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@keyframes wl-fade { from { opacity: 0; } }

.site-footer { padding: 48px 0 56px; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; gap: 20px 36px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.footer-links a { display: inline-block; padding: 10px 0; text-decoration: none; color: var(--ink-2); }
.footer-links a:hover { color: var(--violet); }
.site-footer .muted { margin: 0; font-size: 0.9rem; }
.footer-social { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #000; }
.footer-social a:hover, .footer-social a:focus-visible { background: rgba(124, 58, 237, 0.1); }
.footer-social .social-glyph { width: 22px; height: 22px; fill: currentColor; }

/* Legal, deletion and 404 pages. */
.doc { padding: 120px 0 90px; background: linear-gradient(var(--lav), var(--paper) 420px); }
.glass { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 30px 70px -40px rgba(60, 30, 140, 0.3); }
.doc-body { padding: clamp(24px, 5vw, 56px); margin-bottom: 28px; }
.doc-body h1 { font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.04em; }
.doc-body h2 { font-family: var(--font); font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.3; margin-top: 1.6em; }
.doc-body ul, .doc-body ol { padding-inline-start: 1.3em; }
.doc-body li { margin-bottom: 0.4em; }
.doc-body a { color: var(--violet-ink); }
.lead { font-size: 1.15rem; color: var(--muted); }
.draft-note { display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; background: #fff3cd; color: #6b4e00; font-size: 0.9rem; font-weight: 500; }
mark.placeholder { background: #fff3cd; color: #6b4e00; padding: 0 4px; border-radius: 4px; }

/* Motion layouts (html.motion; site.js drives them with ScrollTrigger). */
/* Words and the phone start faint, never invisible: they count as painted
   from the first frame (Largest Contentful Paint stays early). */
@keyframes rise { from { opacity: 0.08; transform: translateY(0.32em); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@keyframes phone-in { from { opacity: 0.2; translate: 0 140px; } to { opacity: 1; translate: 0 0; } }
@keyframes pop { from { opacity: 0; scale: 0.82; } to { opacity: 1; scale: 1; } }
@keyframes breathe { from { transform: scale(0.88); opacity: 0.7; } to { transform: scale(1.08); opacity: 1; } }

.motion .w > span { animation: rise 1.2s var(--ease) both; }
.motion .w:nth-child(2) > span { animation-delay: 0.09s; }
.motion .w:nth-child(3) > span { animation-delay: 0.18s; }
.motion .w:nth-child(4) > span { animation-delay: 0.27s; }
.motion .w:nth-child(5) > span { animation-delay: 0.36s; }
.motion .hero-copy .eyebrow { animation: fade-up 0.9s var(--ease) both; }
.motion .hero-lead { animation: fade-up 0.9s 0.45s var(--ease) both; }
.motion .hero-buttons { animation: fade-up 0.9s 0.58s var(--ease) both; }
.motion .phone-hero { animation: phone-in 1.5s 0.1s var(--ease) both; }
.motion .float-card { animation: pop 0.9s var(--ease) both; }
.motion .fc-rest { animation-delay: 1s; }
.motion .fc-streak { animation-delay: 1.12s; }
.motion .fc-pr { animation-delay: 1.24s; }
.motion .fc-kcal { animation-delay: 1.36s; }
.motion .hero-bloom { animation: breathe 9s ease-in-out infinite alternate; }
.motion .hero-tilt { transform: rotateX(22deg) scale(0.94); }

.motion .story-pin { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: clip; }
.motion .story-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 8vw, 130px); align-items: center;
}
.motion .story-steps {
  display: flex; gap: 8px; list-style: none; margin: 0 0 44px; padding: 0;
}
.motion .story-steps li {
  flex: 1; display: grid; gap: 4px; padding-top: 14px; border-top: 2px solid var(--line);
  font-size: 0.9rem; color: var(--muted-2); transition: border-color 0.4s, color 0.4s;
}
.motion .story-steps li.is-active { border-color: var(--violet); color: var(--ink); }
.step-num { font-variant-numeric: tabular-nums; font-weight: 600; }
.motion .story-chapters { display: grid; }
.motion .chapter { grid-area: 1 / 1; display: block; padding: 0; border: 0; }
.motion .chapter:not(:first-child) { opacity: 0; visibility: hidden; }
.motion .chapter-shot { display: none; }
.motion .story-device { display: block; }
.motion .phone-story { --w: min(24vw, 340px, 36vh); }
.motion .layer:not(.layer-0) { opacity: 0; }

.motion .live-pin { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: clip; }
.motion .live-grid { margin-top: 0; }
.motion .live-captions { grid-template-areas: "cap" "note"; gap: 28px; }
.motion .cap { grid-area: cap; }
.motion .cap-1 { opacity: 0; visibility: hidden; }
.motion .live-note { grid-area: note; }
.motion .island-demo { width: 29%; height: 3.95%; border-radius: calc(var(--w) * 0.06); }
.motion .isl-compact { display: flex; opacity: 0; }
.motion .isl-expanded { position: absolute; inset: 0 0 auto; opacity: 0; visibility: hidden; }
.motion .lock-head, .motion .la-banner { opacity: 0; visibility: hidden; }
.motion .lock-head { top: 10%; }

.motion .share-pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: clip; }
.motion .fan {
  position: relative; height: min(46vh, 470px); height: min(46svh, 470px);
  margin-top: 44px; padding: 0; overflow: visible; perspective: 1600px;
}
.motion .card {
  position: absolute; left: 50%; top: 0; width: auto; height: 100%; aspect-ratio: 540 / 960;
  translate: -50% 0; will-change: transform;
}

/* Smaller screens. */
@media (max-width: 1080px) {
  .site-nav { display: none; position: absolute; inset-inline: 12px; top: 66px; margin: 0; }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column; gap: 0; padding: 8px; border-radius: 18px; background: #fff;
    border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(30, 16, 80, 0.18);
  }
  .site-nav a { display: block; padding: 14px; color: var(--ink); }
  .site-header.on-dark .site-nav a { color: var(--ink); }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-inline-start: auto; }
}

@media (max-width: 900px) {
  .fc-pr, .fc-streak { display: none; }
  .fc-rest { top: 8%; inset-inline-start: 2%; }
  .fc-kcal { top: 62%; inset-inline-end: 2%; }
  .chapter { grid-template-columns: 1fr; text-align: center; }
  .chapter > :not(.chapter-shot) { grid-column: 1; }
  .chapter-text { margin-inline: auto; }
  .chapter .checks { width: fit-content; margin-inline: auto; text-align: start; }
  .chapter-shot { grid-column: 1; grid-row: auto; justify-self: center; margin-top: 12px; }
  .live-grid, .live-widgets { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .live-captions { order: 2; justify-items: center; }
  .cap p { margin-inline: auto; }
  .widget-row { justify-content: center; }
  .data-grid, .faq-grid, .duo-grid { grid-template-columns: 1fr; }
  .data-head { position: static; }
  .coach { padding-inline-end: 0; border-inline-end: 0; padding-bottom: 56px; }
  .partner { padding-inline-start: 0; border-top: 1px solid var(--line); }

  .motion .story-pin { align-items: flex-start; padding-top: 76px; }
  .motion .story-grid { grid-template-columns: 1fr; gap: 18px; justify-items: center; text-align: center; }
  .motion .story-device { order: -1; }
  .motion .phone-story { --w: min(52vw, 24svh); }
  .motion .story-steps { margin-bottom: 14px; width: 100%; }
  .motion .story-steps li { font-size: 0.78rem; padding-top: 8px; }
  .motion .step-name { display: none; }
  .motion .chapter h3 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .motion .chapter-text { font-size: 1rem; margin-bottom: 0; }
  .motion .chapter .checks { display: none; }
  .motion .live-pin { align-items: flex-start; padding-top: 80px; }
  .motion .live-grid { gap: 18px; }
  .motion .phone-live { --w: min(70vw, 30svh); }
  .motion .cap h3 { font-size: 1.35rem; margin-bottom: 0.25em; }
  .motion .cap p { font-size: 0.98rem; margin-bottom: 0; }
  .motion .live-captions { gap: 12px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .btn-small { display: none; }
  .hero { padding-top: 104px; }
  .hero .phone { --w: min(64vw, 270px); }
  .hero-bloom { width: 760px; height: 760px; margin: -380px 0 0 -380px; }
  .float-card { padding: 9px 12px 9px 9px; gap: 9px; border-radius: 16px; }
  [dir="rtl"] .float-card { padding: 9px 9px 9px 12px; }
  .float-icon { width: 34px; height: 34px; border-radius: 11px; }
  .float-text strong { font-size: 0.98rem; }
  .float-text em { display: none; }
  .num-grid { grid-template-columns: 1fr; gap: 40px; }
  .widget-medium { width: 230px; }
  .widget-small { width: 112px; }
  .card { border-radius: 18px; }
  .data-list li { grid-template-columns: 44px minmax(0, 1fr); }
  .store-button { min-height: 52px; padding: 0 18px; }
  .la-btn { padding: 0.45em 0.7em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
