/* ───────────────────────── Tokens ───────────────────────── */
:root {
  --bg: #07060f;
  --bg-2: #0b0a1c;
  --ink: #f4f3ff;
  --muted: #a4a1c8;
  --indigo: #4f46e5;
  --indigo-deep: #3730a3;
  --teal: #2dd4bf;
  --teal-deep: #0f766e;
  --accent-text: #2dd4bf;          /* teal that reads on the current bg */
  --glass: rgba(255, 255, 255, 0.045);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-hover-border: rgba(45, 212, 191, 0.45);
  --nav-bg: rgba(7, 6, 15, 0.7);
  --glow-a: rgba(79, 70, 229, 0.28);
  --glow-b: rgba(45, 212, 191, 0.10);
  --glow-c: rgba(55, 48, 163, 0.25);
  --h1-grad: linear-gradient(115deg, #ffffff 30%, #b9b4ff 60%, #2dd4bf 100%);
  --mark-b: #ffffff;               /* lower chevron of the logo mark */
  --input-bg: rgba(255, 255, 255, 0.06);
  --error: #f87171;
  /* App (phone screen) surface — Material 3 light, indigo seed. */
  --app-bg: #fcf8ff;
  --app-surface: #ffffff;
  --app-outline: #d9d6ea;
  --app-ink: #1c1b20;
  --app-muted: #49454f;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.lenis { scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1100px 700px at 85% -10%, var(--glow-a), transparent 60%),
    radial-gradient(900px 600px at -10% 35%, var(--glow-b), transparent 55%),
    radial-gradient(1000px 800px at 50% 120%, var(--glow-c), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

.noise {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.5;
  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='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(45, 212, 191, 0.35); }

a { color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* The logo mark's lower chevron is white on dark, indigo on light. */
.mark path.chev-b { stroke: var(--mark-b); }

/* ───────────────────────── Nav ───────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 22px;
  padding: 12px clamp(16px, 4vw, 48px);
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--glass-border);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  text-decoration: none; letter-spacing: 0.01em;
}
.mark { width: 30px; height: 30px; }
.mark.big { width: 64px; height: 64px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-controls { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: flex; border: 1px solid var(--glass-border); border-radius: 999px;
  overflow: hidden; background: var(--glass);
}
.lang-btn {
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; padding: 6px 11px; border: 0; background: none;
  color: var(--muted); cursor: pointer; transition: color 0.2s, background 0.2s;
}
.lang-btn[aria-pressed="true"] { background: var(--indigo); color: #fff; }

.nav-cta {
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  padding: 8px 16px; border-radius: 999px;
  color: var(--accent-text);
  border: 1px solid rgba(45, 212, 191, 0.4);
  background: rgba(45, 212, 191, 0.08);
  white-space: nowrap;
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-controls { margin-left: auto; }
  .nav-cta { display: none; }
}

/* ───────────────────────── Type ───────────────────────── */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.02em; }
h1 {
  font-size: clamp(56px, 9vw, 112px); font-weight: 700; margin: 10px 0 22px;
  background: var(--h1-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; margin: 10px 0 18px; }
h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 56ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-text);
}

/* Chevron bullet (brand motif) */
.chev {
  width: 14px; height: 14px; flex: none; display: inline-block; position: relative;
}
.chev::before, .chev::after {
  content: ""; position: absolute; left: 0; width: 10px; height: 10px;
  border-left: 2.5px solid var(--teal); border-top: 2.5px solid var(--teal);
  transform: rotate(45deg); border-radius: 2px;
}
.chev::before { top: 0; }
.chev::after { top: 6px; border-color: var(--indigo); opacity: 0.9; }

/* ───────────────────────── Hero ───────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px clamp(16px, 4vw, 48px) 80px;
}
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
}
.hero-inner {
  position: relative; z-index: 3;
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-stats {
  display: flex; gap: clamp(20px, 3vw, 44px); list-style: none; margin-top: 44px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 700;
  color: var(--ink);
}
.hero-stats span { font-size: 13px; color: var(--muted); }

.badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.badges.center { justify-content: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 10px 18px 10px 14px; border-radius: 14px;
  background: var(--glass); border: 1px solid var(--glass-border);
  color: var(--ink); cursor: default; user-select: none;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.store-badge svg { width: 24px; height: 24px; opacity: 0.95; }
.store-badge small { display: block; font-size: 10.5px; color: var(--muted); line-height: 1.2; }
.store-badge strong { font-size: 15px; font-weight: 600; line-height: 1.2; }
.badges.small .store-badge { padding: 8px 14px 8px 11px; }
.badges.small .store-badge strong { font-size: 13.5px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 30px; height: 30px; z-index: 3; opacity: 0.7;
  animation: hint-bob 2.2s ease-in-out infinite;
}
.scroll-hint path.chev-b { stroke: var(--mark-b); }
@keyframes hint-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ───────────────────────── Phone mockup ───────────────────────── */
.hero-phone { perspective: 1200px; justify-self: center; }
.section-phone { perspective: 1200px; justify-self: center; }
.phone { position: relative; width: clamp(260px, 26vw, 310px); }
.hero-phone .phone { transform: rotateY(-14deg) rotateX(4deg) rotateZ(2deg); transform-style: preserve-3d; transition: transform 0.25s ease-out; }
.phone-frame {
  position: relative; border-radius: 46px; padding: 10px;
  background: linear-gradient(160deg, #3a3844, #16151d 55%, #2c2a38);
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 4px rgba(255, 255, 255, 0.25);
}
.phone-frame::before {
  /* Dynamic-island style cutout */
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 24px; border-radius: 999px; background: #0b0a12; z-index: 5;
}
.phone-screen {
  position: relative; border-radius: 37px; overflow: hidden;
  background: var(--app-bg); color: var(--app-ink);
  aspect-ratio: 9 / 19.2;
  display: flex; flex-direction: column;
  font-size: 11.5px; line-height: 1.45;
}
.phone-glow {
  position: absolute; inset: 8% -18%; z-index: -1; filter: blur(60px); opacity: 0.5;
  background: radial-gradient(closest-side, rgba(79, 70, 229, 0.55), transparent);
}
.phone-glow.teal { background: radial-gradient(closest-side, rgba(45, 212, 191, 0.4), transparent); }

/* App chrome */
.app-statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px 2px; font-size: 11px; font-weight: 600; color: var(--app-ink);
}
.sb-icons { letter-spacing: 2px; font-size: 8px; opacity: 0.8; }
.app-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 8px;
}
.app-bar-title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.streak-chip, .timer-chip {
  font-size: 10.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--app-outline); color: var(--app-muted); background: var(--app-surface);
}
.app-scroll { flex: 1; overflow: hidden; padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 10px; }

.app-card {
  background: var(--app-surface);
  border: 1px solid var(--app-outline);
  border-radius: 16px; padding: 12px;
}
.app-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.app-card-title { font-weight: 700; font-size: 13px; }
.status-badge {
  font-size: 10px; font-weight: 600; color: var(--indigo);
  background: rgba(79, 70, 229, 0.1); padding: 3px 9px; border-radius: 999px;
}
.exercise-preview { list-style: none; color: var(--app-muted); margin-bottom: 10px; }
.exercise-preview li { padding: 2.5px 0; border-bottom: 1px dashed rgba(0,0,0,0.06); }
.exercise-preview li:last-child { border-bottom: 0; }
.app-actions { display: flex; align-items: center; gap: 8px; }
.app-btn-filled {
  font-family: var(--font-body); font-size: 11.5px; font-weight: 600;
  background: var(--indigo); color: #fff; border: 0; border-radius: 999px;
  padding: 8px 18px; cursor: default;
}
.app-btn-filled.block { width: 100%; }
.app-btn-text {
  font-family: var(--font-body); font-size: 11.5px; font-weight: 600;
  background: none; border: 0; color: var(--indigo); cursor: default; padding: 8px 6px;
}
.app-btn-text.small { font-size: 10.5px; padding: 6px 2px 0; }

.week-row { display: flex; justify-content: space-between; }
.day { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9.5px; color: var(--app-muted); }
.day i {
  width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 10px;
  display: grid; place-items: center; border: 1.5px solid var(--app-outline); color: transparent;
}
.day.done i { background: var(--teal); border-color: var(--teal); color: #fff; }
.day.rest i { color: var(--app-muted); }
.day.today i { border-color: var(--indigo); border-width: 2px; }

.pr-row {
  display: flex; justify-content: space-between; padding: 5px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06); color: var(--app-muted);
}
.pr-row:last-child { border-bottom: 0; }
.pr-row strong { color: var(--app-ink); font-weight: 700; }

.app-nav {
  display: flex; border-top: 1px solid var(--app-outline); background: var(--app-bg);
  padding: 8px 0 14px;
}
.app-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 9.5px; font-weight: 600; color: var(--app-muted);
}
.app-nav-item i { font-style: normal; font-size: 14px; padding: 2px 14px; border-radius: 999px; filter: grayscale(1) opacity(0.75); }
.app-nav-item.active { color: var(--indigo); }
.app-nav-item.active i { background: rgba(79, 70, 229, 0.14); filter: none; }

.app-fab {
  position: absolute; right: 16px; bottom: 72px; z-index: 4;
  width: 44px; height: 44px; border-radius: 16px;
  background: var(--teal); color: #fff; font-size: 24px; font-weight: 500;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.4);
}

/* Macros (Tagebuch) */
.macro { margin-bottom: 10px; }
.macro:last-child { margin-bottom: 2px; }
.macro-head { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 4px; }
.macro-head span { color: var(--app-muted); font-weight: 600; }
.macro-head strong { font-weight: 700; }
.macro-track { height: 7px; border-radius: 999px; background: rgba(0, 0, 0, 0.07); overflow: hidden; }
.macro-fill { height: 100%; border-radius: 999px; width: var(--w, 0%); transition: width 1s cubic-bezier(0.22, 1, 0.36, 1); }
.macro-fill.kcal { background: var(--indigo); }
.macro-fill.protein { background: var(--teal); }
.macro-fill.carbs { background: var(--indigo-deep); }
.macro-fill.fat { background: var(--teal-deep); }
html:not(.js) .macro-fill { width: 77%; }

.meal .meal-head { display: flex; justify-content: space-between; font-weight: 700; font-size: 12px; margin-bottom: 6px; }
.meal .meal-head strong { color: var(--app-muted); font-weight: 600; }
.meal-item { display: flex; justify-content: space-between; color: var(--app-muted); padding: 3px 0; }

/* Set entry */
.seg-control {
  display: flex; margin: 2px 16px 8px; border: 1px solid var(--app-outline);
  border-radius: 999px; overflow: hidden; background: var(--app-surface);
}
.seg { flex: 1; text-align: center; padding: 6px 0; font-size: 10.5px; font-weight: 600; color: var(--app-muted); }
.seg.active { background: rgba(79, 70, 229, 0.12); color: var(--indigo); }
.set-row {
  display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 8px;
  padding: 5px 0; border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
  color: var(--app-ink); font-weight: 600; font-size: 11.5px;
}
.set-no {
  width: 18px; height: 18px; border-radius: 50%; background: rgba(79, 70, 229, 0.1);
  color: var(--indigo); font-size: 9.5px; font-weight: 700; display: grid; place-items: center;
}

/* ───────────────────────── Sections ───────────────────────── */
.section { position: relative; z-index: 3; padding: clamp(90px, 12vh, 150px) clamp(16px, 4vw, 48px); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split.flip .section-copy { order: 2; }
.split.flip .section-phone { order: 1; }
.section-copy.centered { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-copy.centered .lead { margin: 0 auto; }

.feature-list { list-style: none; margin-top: 34px; display: flex; flex-direction: column; gap: 20px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .chev { margin-top: 5px; }
.feature-list strong { font-size: 16.5px; font-weight: 600; display: block; margin-bottom: 2px; }
.feature-list p { color: var(--muted); font-size: 14.5px; }

/* ───────────────────────── A: Slogan ───────────────────────── */
.slogan { text-align: center; overflow: hidden; }
.slogan .section-inner { position: relative; z-index: 2; }
.slogan-giant {
  font-size: clamp(44px, 9vw, 132px); font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.02; margin: 0;
  background: var(--h1-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-wrap: balance;
}
.slogan-lead {
  margin-top: 26px; font-size: clamp(16px, 2vw, 22px); font-weight: 500;
  color: var(--muted); letter-spacing: 0.01em;
}
.slogan-decor { position: absolute; inset: 0; pointer-events: none; }
.float-chev {
  position: absolute; width: 90px; height: 90px; opacity: 0.35; filter: blur(1px);
}
.float-chev::before, .float-chev::after {
  content: ""; position: absolute; left: 0; width: 64px; height: 64px;
  border-left: 14px solid var(--teal); border-top: 14px solid var(--teal);
  transform: rotate(45deg); border-radius: 10px;
}
.float-chev::before { top: 0; }
.float-chev::after { top: 40px; border-color: var(--indigo); }
.float-chev.c1 { top: 8%; left: 6%; transform: scale(0.8) rotate(-12deg); animation: chev-float 9s ease-in-out infinite; }
.float-chev.c2 { bottom: 4%; right: 8%; transform: scale(1.15) rotate(10deg); animation: chev-float 11s ease-in-out infinite reverse; }
.float-chev.c3 { top: 55%; left: 82%; transform: scale(0.5) rotate(-24deg); opacity: 0.22; animation: chev-float 13s ease-in-out infinite; }
@keyframes chev-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -26px; }
}

/* ───────────────────────── B: Features (Bento) ───────────────────────── */
.bento {
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "nutrition nutrition muscle"
    "workouts  progress  muscle";
}
.tile-nutrition { grid-area: nutrition; }
.tile-muscle { grid-area: muscle; }
.tile-workouts { grid-area: workouts; }
.tile-progress { grid-area: progress; }
.bento-tile {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 26px; padding: 28px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s, box-shadow 0.35s;
}
.bento-tile:hover {
  transform: translateY(-6px);
  border-color: var(--glass-hover-border);
  box-shadow: 0 24px 60px -30px rgba(45, 212, 191, 0.35);
}
.bento-tile p { color: var(--muted); font-size: 14.5px; }
.tile-vis { margin-bottom: 22px; }

.mini-macro { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.mini-macro span { font-size: 12.5px; font-weight: 600; color: var(--muted); width: 110px; flex: none; }
.mini-macro i {
  display: block; flex: 1; height: 8px; border-radius: 999px; position: relative;
  background: var(--glass-border); overflow: hidden;
}
.mini-macro i::after {
  content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 999px;
  background: var(--c);
}
.tile-muscle { display: flex; flex-direction: column; }
.tile-vis.body { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 230px; }
.tile-vis.body svg { height: clamp(220px, 26vw, 330px); width: auto; }
.tile-vis.body path { stroke: var(--glass-border); stroke-width: 1; }

.mini-set {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center;
  padding: 7px 0; border-bottom: 1px dashed var(--glass-border);
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.mini-set:last-of-type { border-bottom: 0; }
.mini-set b {
  width: 20px; height: 20px; border-radius: 50%; background: rgba(79, 70, 229, 0.25);
  color: var(--ink); font-size: 10.5px; display: grid; place-items: center;
}
.mini-pr { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; }
.mini-pr span { font-size: 13px; color: var(--muted); font-weight: 500; }
.mini-pr strong {
  font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700;
  background: linear-gradient(100deg, var(--ink) 20%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ───────────────────────── Muskel-Map ─────────────────────────
   Dark "strain panel": the silhouette sits in deep indigo tones and the
   recently stressed muscle groups glow in the recency colors. */
.muscle-panel {
  position: relative; overflow: hidden;
  background:
    radial-gradient(760px 420px at 18% -5%, rgba(79, 70, 229, 0.22), transparent 62%),
    radial-gradient(640px 420px at 88% 105%, rgba(45, 212, 191, 0.13), transparent 60%),
    var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 32px; padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8);
}
.muscle-figures { display: flex; justify-content: center; gap: clamp(24px, 6vw, 90px); flex-wrap: wrap; }
.muscle-figures figure { text-align: center; }
.muscle-figures figcaption {
  margin-top: 16px; font-size: 12.5px; font-weight: 600; color: var(--muted);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.muscle-svg { width: clamp(170px, 20vw, 250px); filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45)); }
.muscle-svg svg { width: 100%; height: auto; display: block; }
.muscle-svg path { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; transition: fill 0.5s ease, filter 0.5s ease; }
.muscle-legend {
  list-style: none; display: flex; justify-content: center; flex-wrap: wrap;
  gap: 14px 14px; margin-top: 38px; font-size: 13px; font-weight: 600; color: var(--muted);
}
.muscle-legend li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--glass-border);
}
.muscle-legend i {
  width: 12px; height: 12px; border-radius: 50%; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.muscle-legend i.glow { box-shadow: 0 0 10px var(--c), inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
.muscle-note { text-align: center; color: var(--muted); max-width: 62ch; margin: 36px auto 0; font-size: 15px; }

/* ───────────────────────── C: Steps ───────────────────────── */
.steps {
  list-style: none; display: flex; align-items: stretch; justify-content: center;
  gap: 10px; max-width: 1060px; margin: 0 auto;
}
.step {
  flex: 1; text-align: center; padding: clamp(28px, 3.5vw, 44px) clamp(18px, 2.5vw, 32px);
  background: var(--glass); border: 1px solid var(--glass-border); border-radius: 26px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s;
}
.step:hover { transform: translateY(-5px); border-color: var(--glass-hover-border); }
.step-no {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(38px, 4.5vw, 56px); line-height: 1; margin-bottom: 14px;
  background: linear-gradient(120deg, var(--teal) 0%, var(--indigo) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step p { color: var(--muted); font-size: 14.5px; }
.step-connector { align-self: center; flex: none; padding: 0 4px; }
.step-connector .chev { transform: rotate(90deg); opacity: 0.8; }

/* ───────────────────────── Cards ───────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.glass-card {
  background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: 22px; padding: 28px 26px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s;
}
.glass-card:hover { transform: translateY(-4px); border-color: var(--glass-hover-border); }
.glass-card p { color: var(--muted); font-size: 14.5px; }
.glass-card p + p { margin-top: 10px; }
.mono-line {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px !important; color: var(--accent-text) !important;
  background: rgba(45, 212, 191, 0.07); border: 1px solid rgba(45, 212, 191, 0.18);
  border-radius: 12px; padding: 12px 14px; margin-bottom: 14px;
}

/* ───────────────────────── Privacy ───────────────────────── */
.privacy { padding-bottom: clamp(60px, 8vh, 100px); }
.privacy-band {
  text-align: center; max-width: 820px; margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 72px);
  border-radius: 36px;
  background:
    radial-gradient(600px 300px at 50% 0%, var(--glow-a), transparent 70%),
    var(--glass);
  border: 1px solid var(--glass-border);
}
.privacy-band .mark.big { margin-bottom: 18px; }
.privacy-band .lead { margin: 0 auto; }

/* ───────────────────────── Newsletter (mock) ───────────────────────── */
#newsletter { padding-top: clamp(40px, 6vh, 80px); }
.newsletter-card {
  text-align: center; max-width: 720px; margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) clamp(24px, 5vw, 64px);
  border-radius: 36px;
  background:
    radial-gradient(520px 260px at 50% 110%, rgba(45, 212, 191, 0.14), transparent 70%),
    var(--glass);
  border: 1px solid var(--glass-border);
}
.newsletter-card .lead { margin: 0 auto; }
.waitlist-form {
  display: flex; gap: 12px; max-width: 540px; margin: 30px auto 0;
}
.waitlist-form input {
  flex: 1; min-width: 0;
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--input-bg); border: 1px solid var(--glass-border);
  border-radius: 999px; padding: 14px 22px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.waitlist-form input::placeholder { color: var(--muted); }
.waitlist-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.18);
}
.waitlist-form input[aria-invalid="true"] { border-color: var(--error); }
.btn-primary {
  font-family: var(--font-body); font-size: 15px; font-weight: 600; color: #fff;
  background: linear-gradient(120deg, var(--indigo), #6a63f0);
  border: 0; border-radius: 999px; padding: 14px 28px; cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  box-shadow: 0 10px 30px -12px rgba(79, 70, 229, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-primary:active { transform: translateY(0); }
.form-error { color: var(--error); font-size: 13.5px; margin-top: 12px; font-weight: 500; }
.form-error.shake { animation: shake 0.4s; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
.form-success {
  margin: 30px auto 0; max-width: 480px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.form-success[hidden] { display: none; }
.success-check {
  width: 52px; height: 52px; border-radius: 50%; font-size: 26px; color: #fff;
  background: linear-gradient(130deg, var(--teal), var(--teal-deep));
  display: grid; place-items: center;
  animation: pop-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pop-in {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.form-success p { color: var(--ink); font-weight: 500; font-size: 15.5px; }
.form-privacy { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* ───────────────────────── D: Final CTA ───────────────────────── */
.final-cta { padding-top: clamp(40px, 6vh, 80px); }
.cta-band {
  text-align: center; position: relative; padding: clamp(50px, 8vw, 100px) 16px;
}
.cta-band::before {
  content: ""; position: absolute; inset: -10% 10%; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, var(--glow-a), transparent 75%);
  filter: blur(10px);
}
.cta-title {
  font-size: clamp(38px, 6.5vw, 84px); letter-spacing: -0.03em;
  background: var(--h1-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-band .lead { margin: 0 auto; }

/* ───────────────────────── Footer ───────────────────────── */
.footer { position: relative; z-index: 3; border-top: 1px solid var(--glass-border); padding: 56px clamp(16px, 4vw, 48px) 48px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-cols {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.footer-tag { margin-top: 12px; font-size: 14px; color: var(--muted); }
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px; font-family: var(--font-body);
}
.footer-col a {
  display: block; text-decoration: none; font-size: 14.5px; color: var(--muted);
  padding: 4px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--ink); }
.legal-placeholder { cursor: default; opacity: 0.75; }
.footer-note { font-size: 12.5px; color: var(--muted); text-align: center; border-top: 1px solid var(--glass-border); padding-top: 26px; }
.footer-note a { color: var(--muted); }

/* ───────────────────────── Reveal animations ───────────────────────── */
html.js .reveal { opacity: 0; transform: translateY(28px); }
html.js.reduced .reveal { opacity: 1; transform: none; }

/* ───────────────────────── Responsive ───────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-phone .phone { transform: none; }
  .split { grid-template-columns: 1fr; }
  .split.flip .section-copy { order: 1; }
  .split.flip .section-phone { order: 2; }
  .card-grid { grid-template-columns: 1fr; }
  .lead { max-width: 100%; }
  .bento {
    grid-template-columns: 1fr;
    grid-template-areas: "nutrition" "muscle" "workouts" "progress";
  }
  .tile-vis.body { min-height: 0; }
  .tile-vis.body svg { height: 240px; }
  .steps { flex-direction: column; align-items: stretch; max-width: 460px; }
  .step-connector { padding: 2px 0; text-align: center; }
  .step-connector .chev { transform: rotate(180deg); }
  .footer-cols { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .waitlist-form { flex-direction: column; }
  .btn-primary { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint { animation: none; }
  .float-chev { animation: none; }
  .muscle-svg path, .macro-fill { transition: none; }
  .bento-tile, .step, .glass-card, .btn-primary { transition: none; }
  .success-check { animation: none; }
}
