/* ---------- Design tokens ---------- */
:root {
  --bg: #FFFFFF;
  --bg-alt: #FAFAFA;
  --bg-raised: #FFFFFF;
  --fg: #0F172A;
  --fg-muted: #55607A;
  --border: #E7E7EA;

  --brand: #004AAD;
  --brand-dark: #003580;
  --brand-light: #E5EEFA;

  --school: #004AAD;
  --fitness: #1D9E75;
  --project: #D85A30;
  --personal: #BA7517;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0C0C12;
    --bg-alt: #131320;
    --bg-raised: #191927;
    --fg: #F1F1F6;
    --fg-muted: #A2A6BE;
    --border: #262636;

    --brand: #3D8BFF;
    --brand-dark: #2569D6;
    --brand-light: #132A4D;

    --school: #3D8BFF;
    --fitness: #35C495;
    --project: #F07A50;
    --personal: #DDA23B;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.75em 1.25em;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; z-index: 400; }

.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;
}

#features, #how-it-works, #waitlist {
  scroll-margin-top: 84px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 200ms var(--ease), transform 150ms var(--ease), box-shadow 200ms var(--ease);
  white-space: nowrap;
  min-height: 44px;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 550ms var(--ease);
  pointer-events: none;
}
.btn:hover::before { left: 130%; }
.btn-primary { background: var(--brand); color: #fff; padding: 0 20px; }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 6px 20px color-mix(in srgb, var(--brand) 40%, transparent); }
.btn-primary:active { transform: scale(0.98); }
.btn-sm { font-size: 0.9375rem; padding: 0 18px; height: 40px; }
.btn-lg { font-size: 1.0625rem; padding: 0 28px; height: 52px; box-shadow: var(--shadow-sm); }
.btn-lg:hover { transform: translateY(-2px); }
.btn-lg:active { transform: translateY(0) scale(0.98); }
.btn-on-dark { background: #fff; color: var(--brand-dark); padding: 0 28px; height: 52px; font-size: 1.0625rem; }
.btn-on-dark:hover { background: #F1F0FB; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18); }

/* ---------- Intro (one-time, full-screen) ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 24px;
  background: var(--bg);
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transition: opacity 500ms var(--ease), visibility 0s linear 0s;
}
.intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 500ms var(--ease), visibility 0s linear 500ms;
}
body.intro-active { overflow: hidden; }

.intro-stage {
  --radius: min(32vmin, 190px);
  position: relative;
  width: min(70vmin, 440px);
  height: min(70vmin, 440px);
}

.intro-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  /* Starts calm; intro-core-pulse-once (below) fires only after the last icon lands. */
  animation: intro-core-pulse-once 800ms ease-out 10.5s both;
  z-index: 2;
}
.intro-core-mark { width: 38px; height: 38px; fill: #fff; }

@keyframes intro-core-pulse-once {
  0%   { transform: translate(-50%, -50%) scale(1); box-shadow: var(--shadow-md); }
  40%  { transform: translate(-50%, -50%) scale(1.18); box-shadow: 0 8px 40px color-mix(in srgb, var(--brand) 70%, transparent); }
  70%  { transform: translate(-50%, -50%) scale(0.96); box-shadow: var(--shadow-md); }
  100% { transform: translate(-50%, -50%) scale(1); box-shadow: var(--shadow-md); }
}

/* Each icon: fades in, takes one slow full revolution plus a bit more to line up
   with the top, then accelerates hard into the core for the final "suck in". */
.intro-orbit-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  animation: intro-orbit-parent 8.5s linear both;
  animation-delay: var(--delay);
}
.intro-orbit-icon .chip {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  margin-left: -28px;
  margin-top: -28px;
  border-radius: 15px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  animation: intro-orbit-child 8.5s linear both;
  animation-delay: var(--delay);
}
.intro-orbit-icon .chip svg { width: 26px; height: 26px; }

@keyframes intro-orbit-parent {
  0%   { transform: rotate(var(--start-angle)); animation-timing-function: linear; }
  88%  { transform: rotate(calc(var(--start-angle) - 450deg)); }
  100% { transform: rotate(calc(var(--start-angle) - 450deg)); }
}
@keyframes intro-orbit-child {
  0%   { transform: translateX(var(--radius)) rotate(calc(-1 * var(--start-angle))); opacity: 0; animation-timing-function: linear; }
  4%   { opacity: 1; }
  88%  { transform: translateX(var(--radius)) rotate(calc(450deg - var(--start-angle))); opacity: 1; animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.335); }
  96%  { transform: translateX(0) rotate(calc(450deg - var(--start-angle))) scale(0.3); opacity: 0; }
  100% { transform: translateX(0) rotate(calc(450deg - var(--start-angle))) scale(0.3); opacity: 0; }
}

.intro-text {
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  animation: intro-text-in 900ms var(--ease) 11.5s both;
}
.intro-wordmark {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.25em;
  color: var(--fg);
}
.intro-tagline { font-size: 1.05rem; color: var(--fg-muted); margin: 0; }

@keyframes intro-text-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.intro-scroll-cue {
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--fg-muted);
  opacity: 0;
  animation: intro-cue-fade 500ms var(--ease) 12.7s both, intro-cue-bounce 1.6s ease-in-out 12.7s infinite;
}
.intro-scroll-cue:hover { color: var(--brand); }
.intro-scroll-cue svg { width: 26px; height: 26px; }

@keyframes intro-cue-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes intro-cue-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

@media (max-width: 480px) {
  .intro-core { width: 64px; height: 64px; border-radius: 18px; }
  .intro-core-mark { width: 28px; height: 28px; }
  .intro-orbit-icon .chip { width: 44px; height: 44px; margin-left: -22px; margin-top: -22px; }
  .intro-orbit-icon .chip svg { width: 20px; height: 20px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 0 0 rgba(15, 23, 42, 0);
  transition: box-shadow 300ms var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08); }
@media (prefers-color-scheme: dark) {
  .site-header.is-scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4); }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.0625rem; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--brand);
  fill: #fff;
}
.site-nav {
  display: none;
  gap: 28px;
  font-weight: 500;
  color: var(--fg-muted);
}
.site-nav a {
  position: relative;
  padding-bottom: 2px;
  transition: color 200ms var(--ease);
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transition: right 250ms var(--ease);
}
.site-nav a:hover { color: var(--fg); }
.site-nav a:hover::after { right: 0; }
@media (min-width: 768px) {
  .site-nav { display: flex; }
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-dark);
  margin: 0 0 1em;
}
.eyebrow--muted { color: var(--fg-muted); }
.eyebrow--on-dark { color: rgba(255,255,255,0.85); }
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fitness);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ---------- Built-for rotator ---------- */
.built-for {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4em;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg-muted);
  margin: 0 0 14px;
}
.built-for-rotator {
  position: relative;
  display: inline-block;
  color: var(--brand);
  font-weight: 800;
}
.built-for-rotator::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -3px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.3;
  transition: background-color 350ms var(--ease);
}
#rotator-word {
  display: inline-block;
  color: inherit;
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
#rotator-word.is-swapping { opacity: 0; transform: translateY(8px); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; }
.hero-inner {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 32px; }
  .hero { padding: 88px 0 96px; }
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin-bottom: 0.4em;
}
.lede { font-size: 1.125rem; color: var(--fg-muted); max-width: 46ch; }
.hero-cta { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-note { font-size: 0.875rem; color: var(--fg-muted); margin: 0; }
.hero-note--on-dark { color: rgba(255,255,255,0.75); }

/* ---------- Device mockup ---------- */
.hero-visual { display: flex; justify-content: center; }
.device-frame {
  width: min(360px, 100%);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 14px;
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.device-notch {
  width: 64px;
  height: 6px;
  border-radius: 4px;
  background: var(--border);
  margin: 0 auto 14px;
}
.device-screen {
  background: var(--bg-alt);
  border-radius: 22px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-topbar { display: flex; gap: 6px; margin-bottom: 4px; }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; }
.mock-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}
.mock-card--wide { display: flex; flex-direction: column; gap: 8px; }
.mock-label { font-size: 0.75rem; font-weight: 700; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-grid .mock-card { border-top: 3px solid var(--accent); display: flex; flex-direction: column; gap: 8px; }
.mock-line { height: 8px; border-radius: 4px; background: var(--border); }
.mock-line--40 { width: 40%; }
.mock-line--50 { width: 50%; }
.mock-line--60 { width: 60%; }
.mock-line--70 { width: 70%; }
.mock-line--80 { width: 80%; }
.mock-chip { width: 26px; height: 26px; border-radius: 7px; display: inline-block; }
.mock-ring {
  width: 30px; height: 30px; border-radius: 50%;
  border: 4px solid var(--border);
  border-top-color: var(--fitness);
}
.mock-bar { height: 8px; border-radius: 4px; background: var(--border); overflow: hidden; }
.mock-bar span { display: block; height: 100%; border-radius: 4px; }
.mock-dots-row { display: flex; gap: 5px; }
.mock-dots-row span { width: 8px; height: 8px; border-radius: 50%; }

/* ---------- Problem / Solution ---------- */
.problem { padding: 64px 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.problem-inner { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .problem-inner { grid-template-columns: 1fr 1fr; gap: 56px; }
}
.problem h2 { font-size: 1.6rem; }
.problem p { color: var(--fg-muted); }
.scatter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.scatter-list li {
  padding: 8px 14px;
  border: 1px dashed var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--fg-muted);
}
.unified-pill {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.unified-dot { width: 12px; height: 12px; border-radius: 50%; animation: dot-pulse 1.8s ease-in-out infinite; }
.unified-dot:nth-child(1) { animation-delay: 0s; }
.unified-dot:nth-child(2) { animation-delay: 0.2s; }
.unified-dot:nth-child(3) { animation-delay: 0.4s; }
.unified-dot:nth-child(4) { animation-delay: 0.6s; }
@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.65; }
}
.unified-arrow { color: var(--fg-muted); margin: 0 2px; }
.unified-label { color: var(--brand-dark); }

/* ---------- Section head ---------- */
.section-head { max-width: 620px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
.section-sub { color: var(--fg-muted); font-size: 1.05rem; }

/* ---------- Features ---------- */
.features { padding: 80px 0; }
.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}
/* Higher specificity than the generic [data-reveal] rule so entrance (opacity)
   and interaction (transform/shadow/border) can each keep their own timing. */
.feature-card[data-reveal] {
  transition: opacity 500ms var(--ease), transform 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--border) 40%, var(--fg)); }
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }

.feature-mock { margin-bottom: 16px; }
.feature-mock .mock-card--flat {
  background: var(--bg-raised);
  border-top: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-mock .mock-line { background: var(--border); }

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  margin-bottom: 14px;
  transition: transform 300ms var(--ease);
}
.feature-icon svg { width: 21px; height: 21px; }

.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.35em; }
.feature-card p { color: var(--fg-muted); font-size: 0.95rem; margin: 0; }

/* ---------- Why Totus ---------- */
.why { padding: 80px 0; }

.why-list {
  display: grid;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--fg);
}
.why-list svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  padding: 3px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--fitness) 16%, transparent);
  color: var(--fitness);
  box-sizing: border-box;
}

/* ---------- How it works / diagram ---------- */
.how { padding: 80px 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.diagram {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  aspect-ratio: 600 / 400;
}
.diagram-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.diagram-lines line {
  stroke-dashoffset: 0;
  animation: dash-flow 1.4s linear infinite;
}
@keyframes dash-flow { to { stroke-dashoffset: -20; } }

.diagram-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
/* Higher specificity than the generic [data-reveal] rule — see .feature-card[data-reveal] above. */
.diagram-node[data-reveal] {
  transition: opacity 500ms var(--ease), transform 300ms var(--ease), box-shadow 250ms var(--ease);
}
.diagram-node:hover { box-shadow: var(--shadow-md); transform: scale(1.04); }
.diagram-dot { width: 9px; height: 9px; border-radius: 50%; }
.diagram-node--school   { left: 0%;   top: 10%; }
.diagram-node--fitness  { right: 0%;  top: 10%; }
.diagram-node--goals    { left: 0%;   bottom: 10%; }
.diagram-node--calendar { right: 0%;  bottom: 10%; }

.diagram-center {
  --pos: translate(-50%, -50%);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: var(--pos) scale(1);
  text-align: center;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 18px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-md);
  line-height: 1.3;
  animation: glow-pulse 2.6s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 8px 24px color-mix(in srgb, var(--brand) 35%, transparent); }
  50% { box-shadow: 0 8px 32px color-mix(in srgb, var(--brand) 60%, transparent); }
}
/* .diagram-center is positioned via the --pos variable (redefined for mobile below);
   entrance/exit only ever adds a scale on top of it, so centering is never clobbered. */
.diagram-center[data-reveal] { opacity: 0; transform: var(--pos) scale(0.85); }
.diagram-center[data-reveal].is-visible { opacity: 1; transform: var(--pos) scale(1); }
.diagram-center-mark {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 2px;
}
.diagram-center-sub { font-weight: 500; opacity: 0.85; font-size: 0.8rem; }

@media (max-width: 640px) {
  .diagram { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 8px 0 140px; }
  .diagram-lines { display: none; }
  .diagram-node { position: static; justify-content: center; }
  .diagram-center { --pos: translateX(-50%); position: absolute; bottom: 0; left: 50%; top: auto; width: calc(100% - 16px); }
}

/* ---------- Waitlist ---------- */
.waitlist {
  padding: 88px 0;
  background: linear-gradient(115deg, var(--brand) 0%, var(--brand-dark) 45%, var(--brand) 100%);
  background-size: 200% 200%;
  animation: gradient-shift 12s ease infinite;
  color: #fff;
  text-align: center;
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.waitlist-inner { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.waitlist h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.lede--on-dark { color: rgba(255,255,255,0.85); }
.waitlist .btn { margin-top: 8px; }
.waitlist .hero-note { margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 40px;
}
.footer-brand p { color: var(--fg-muted); font-size: 0.9rem; margin-top: 8px; }
.footer-links { display: flex; gap: 24px; align-items: flex-start; }
.footer-links a { color: var(--fg-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--fg); }
.footer-roadmap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--fg-muted);
  border: 1px dashed var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  height: fit-content;
}
.footer-roadmap-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fitness); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
}
.footer-bottom p { margin: 0; color: var(--fg-muted); font-size: 0.85rem; }

/* ---------- Reveal-on-scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
