:root {
  color-scheme: dark;
  --bg: #050914;
  --bg-2: #08111f;
  --panel: rgba(13, 24, 43, 0.76);
  --panel-strong: rgba(17, 32, 56, 0.94);
  --border: rgba(144, 202, 255, 0.18);
  --border-strong: rgba(83, 183, 255, 0.38);
  --text: #eef7ff;
  --muted: #9fb2c7;
  --soft: #c9d8e8;
  --blue: #2f9dff;
  --azure: #4de3ff;
  --green: #7ef2bc;
  --shadow: 0 22px 64px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(47, 157, 255, 0.13), transparent 34rem),
    radial-gradient(circle at 84% 22%, rgba(77, 227, 255, 0.09), transparent 30rem),
    linear-gradient(180deg, #030611 0%, var(--bg) 42%, #050813 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  min-width: 320px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 78%);
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

.container {
  width: min(100% - 56px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--text);
  color: #03101d;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(4, 8, 17, 0.9);
  border-color: rgba(144, 202, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 11px;
  box-shadow: 0 6px 22px rgba(74, 170, 255, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 10px 30px rgba(131, 238, 255, 0.55),
              0 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

.footer-brand .brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand-name {
  font-size: 1.04rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  color: var(--soft);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 13px;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.nav-menu a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-menu a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: 2px solid var(--azure);
  outline-offset: 3px;
}

.nav-menu .nav-cta {
  color: #041020;
  background: linear-gradient(135deg, var(--azure), var(--blue));
  box-shadow: 0 10px 28px rgba(47, 157, 255, 0.24);
}

.nav-menu .nav-cta:hover,
.nav-menu .nav-cta:focus-visible {
  color: #041020;
  background: linear-gradient(135deg, #83eeff, #4aaaff);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 999px;
}

.section {
  padding: 82px 0;
  position: relative;
  scroll-margin-top: 86px;
}

.section-tight {
  padding-top: 64px;
}

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 54px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  width: 72vw;
  height: 72vw;
  right: -24vw;
  top: 4vh;
  background: conic-gradient(from 170deg, rgba(77, 227, 255, 0.2), rgba(47, 157, 255, 0.04), transparent, rgba(77, 227, 255, 0.15));
  filter: blur(44px);
  opacity: 0.72;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--azure);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.74rem;
  font-weight: 850;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

h1 {
  font-size: clamp(2.95rem, 4.65vw, 4.95rem);
  line-height: 0.96;
  letter-spacing: 0;
  margin-bottom: 24px;
  max-width: 13ch;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.hero-subtitle {
  max-width: 620px;
  font-size: 1.05rem;
  color: #c0d2e4;
  margin-bottom: 30px;
}

.hero-actions,
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn,
.store-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  font-weight: 850;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn {
  padding: 0 20px;
}

.btn:hover,
.store-button:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
.store-button:focus-visible {
  transform: translateY(-2px);
  outline: 2px solid var(--azure);
  outline-offset: 3px;
}

.btn-primary {
  color: #03101d;
  background: linear-gradient(135deg, var(--azure), var(--blue));
  box-shadow: 0 20px 46px rgba(47, 157, 255, 0.26);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
}

.btn-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin: 28px 0 0;
}

.trust-strip div {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.trust-strip dt {
  color: var(--text);
  font-size: 1.28rem;
  font-weight: 900;
}

.trust-strip dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.app-showcase {
  isolation: isolate;
}

.product-collage {
  isolation: isolate;
}

.collage-aura {
  position: absolute;
  width: min(610px, 96vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 42%, rgba(77, 227, 255, 0.18), transparent 34%),
    conic-gradient(from 140deg, rgba(47, 157, 255, 0.28), transparent, rgba(126, 242, 188, 0.18), transparent, rgba(47, 157, 255, 0.22));
  filter: blur(30px);
  opacity: 0.76;
  animation: breathe 7s ease-in-out infinite;
}

.hero-device,
.floating-cutout,
.signal-pill {
  position: absolute;
  z-index: 2;
}

.hero-device {
  width: min(360px, 58vw);
  aspect-ratio: 0.72;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-3deg);
  border-radius: 32px;
  padding: 14px;
  border: 1px solid rgba(238, 247, 255, 0.18);
  background: linear-gradient(145deg, rgba(238, 247, 255, 0.18), rgba(255, 255, 255, 0.04) 42%, rgba(47, 157, 255, 0.18));
  box-shadow: var(--shadow), 0 0 64px rgba(47, 157, 255, 0.18);
  animation: mainDrift 7s ease-in-out infinite;
}

.device-chrome {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 10px;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.device-chrome span {
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: rgba(238, 247, 255, 0.22);
}

.cutout-window,
.floating-cutout {
  overflow: hidden;
  border: 1px solid rgba(144, 202, 255, 0.22);
  background: #edf1f8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.cutout-window {
  height: calc(100% - 38px);
  border-radius: 24px;
}

.cutout-window img,
.floating-cutout img,
.cutout-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  image-rendering: auto;
}

.floating-cutout {
  border-radius: 20px;
  padding: 8px;
  z-index: 3;
  background: linear-gradient(145deg, rgba(238, 247, 255, 0.28), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(18px);
}

.floating-cutout span {
  position: absolute;
  left: 16px;
  top: 14px;
  z-index: 2;
  color: #06111f;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(28, 61, 109, 0.1);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.68rem;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(16, 30, 52, 0.12);
}

.coach-cutout {
  width: 245px;
  height: 172px;
  right: 4px;
  top: 42px;
  transform: rotate(5deg);
  animation: cutoutFloat 6s ease-in-out infinite;
}

.nutrition-cutout {
  width: 250px;
  height: 202px;
  right: 28px;
  bottom: 28px;
  transform: rotate(3deg);
  animation: cutoutFloat 6s ease-in-out 1.2s infinite;
}

.progress-cutout {
  width: 220px;
  height: 220px;
  left: -2px;
  bottom: 78px;
  transform: rotate(-5deg);
  animation: cutoutFloat 6s ease-in-out 2s infinite;
}

.floating-cutout::after,
.cutout-window::after,
.cutout-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.24), transparent 22%, transparent 70%, rgba(77, 227, 255, 0.12)),
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.16), transparent 24%);
  mix-blend-mode: screen;
  opacity: 0.7;
}

.cutout-window {
  position: relative;
}

.signal-pill {
  min-width: 136px;
  border-radius: 999px;
  padding: 10px 14px;
  color: #06111f;
  background: linear-gradient(135deg, var(--azure), var(--blue));
  box-shadow: 0 18px 46px rgba(47, 157, 255, 0.24);
  font-weight: 950;
  text-align: center;
  z-index: 4;
}

.signal-top {
  left: 22px;
  top: 56px;
  animation: cutoutFloat 5.4s ease-in-out 0.4s infinite;
}

.signal-bottom {
  right: 36px;
  bottom: 244px;
  color: var(--text);
  background: rgba(15, 29, 51, 0.88);
  border: 1px solid rgba(144, 202, 255, 0.18);
  backdrop-filter: blur(18px);
  animation: cutoutFloat 5.8s ease-in-out 1.4s infinite;
}

.showcase-glow {
  position: absolute;
  width: min(540px, 92vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(77, 227, 255, 0.18), transparent 42%),
    conic-gradient(from 130deg, rgba(47, 157, 255, 0.34), transparent, rgba(126, 242, 188, 0.18), transparent);
  filter: blur(28px);
  opacity: 0.8;
  animation: breathe 7s ease-in-out infinite;
}

.premium-phone {
  position: relative;
  z-index: 2;
  width: min(342px, 78vw);
  aspect-ratio: 0.51;
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(239, 247, 255, 0.2), rgba(255, 255, 255, 0.035) 34%, rgba(47, 157, 255, 0.24));
  border: 1px solid rgba(238, 247, 255, 0.18);
  box-shadow: var(--shadow), 0 0 68px rgba(47, 157, 255, 0.22);
  transform: rotate(-2deg);
  animation: phoneFloat 7s ease-in-out infinite;
}

.phone-glass {
  height: 100%;
  border-radius: 34px;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(235, 201, 143, 0.2), transparent 28%),
    radial-gradient(circle at 7% 82%, rgba(126, 242, 188, 0.13), transparent 28%),
    linear-gradient(180deg, #f5f8ff 0%, #eef5ff 100%);
  color: #091225;
  display: grid;
  gap: 12px;
  grid-template-rows: auto auto auto 1fr auto;
}

.phone-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 900;
}

.phone-topline strong {
  color: #2468ff;
  background: rgba(36, 104, 255, 0.1);
  border: 1px solid rgba(36, 104, 255, 0.18);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.72rem;
}

.coach-priority {
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(36, 104, 255, 0.12), rgba(223, 137, 37, 0.16));
  border: 1px solid rgba(36, 104, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.coach-priority::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -28px;
  top: -40px;
  background: rgba(255, 255, 255, 0.38);
}

.mini-label {
  display: block;
  color: #2f63db;
  font-size: 0.74rem;
  text-transform: uppercase;
  font-weight: 950;
  margin-bottom: 8px;
}

.coach-priority h3 {
  font-size: 1.52rem;
  line-height: 1.02;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.coach-priority p {
  color: #5f6c7f;
  margin: 0;
  font-weight: 720;
  position: relative;
  z-index: 1;
}

.macro-widget {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(139, 157, 185, 0.22);
  padding: 16px;
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 16px;
  align-items: center;
  box-shadow: 0 18px 36px rgba(23, 48, 88, 0.08);
}

.macro-donut {
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle closest-side, #ffffff 66%, transparent 67%),
    conic-gradient(#47ab5b 0 36%, #3566eb 36% 76%, #d88725 76% 100%);
  animation: rotateDonut 8s linear infinite;
}

.macro-donut span {
  color: #091225;
  font-size: 1.28rem;
  font-weight: 950;
  animation: rotateDonutReverse 8s linear infinite;
}

.macro-lines {
  display: grid;
  gap: 9px;
}

.macro-lines div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
}

.macro-lines span {
  color: #6d7889;
  font-weight: 760;
}

.macro-lines strong {
  color: #091225;
}

.macro-lines i {
  grid-column: 1 / -1;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4de3ff, #2f64e8);
  transform-origin: left;
  animation: metricFill 3.8s ease-in-out infinite;
}

.insight-card {
  align-self: stretch;
  border-radius: 22px;
  padding: 16px;
  background: rgba(223, 235, 255, 0.78);
  border: 1px solid rgba(36, 104, 255, 0.24);
}

.insight-card span {
  display: block;
  color: #2468ff;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 950;
  margin-bottom: 7px;
}

.insight-card p {
  color: #4d596d;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 720;
}

.phone-tabs {
  min-height: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: center;
  padding: 7px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 34px rgba(23, 48, 88, 0.1);
}

.phone-tabs span {
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: 15px;
  color: #637083;
  font-size: 0.7rem;
  font-weight: 850;
}

.phone-tabs .active {
  color: #2468ff;
  background: rgba(36, 104, 255, 0.13);
}

.orbit-card {
  position: absolute;
  z-index: 3;
  min-width: 172px;
  border-radius: var(--radius);
  padding: 14px 16px;
  border: 1px solid rgba(144, 202, 255, 0.2);
  background: linear-gradient(160deg, rgba(15, 29, 51, 0.9), rgba(16, 25, 43, 0.68));
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.orbit-card span {
  display: block;
  color: var(--azure);
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.orbit-card strong {
  display: block;
}

.orbit-card small {
  color: var(--muted);
  font-weight: 800;
}

.orbit-workout {
  left: 4px;
  top: 70px;
  animation: orbitFloat 6s ease-in-out infinite;
}

.orbit-progress {
  right: -2px;
  top: 178px;
  animation: orbitFloat 6s ease-in-out 1.4s infinite;
}

.orbit-nutrition {
  left: 20px;
  bottom: 76px;
  animation: orbitFloat 6s ease-in-out 2.3s infinite;
}

.tiny-bars {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 34px;
  margin-top: 12px;
}

.tiny-bars i {
  width: 14px;
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, var(--azure), var(--blue));
  animation: barWave 1.8s ease-in-out infinite;
}

.tiny-bars i:nth-child(1) { height: 38%; }
.tiny-bars i:nth-child(2) { height: 72%; animation-delay: 0.12s; }
.tiny-bars i:nth-child(3) { height: 54%; animation-delay: 0.24s; }
.tiny-bars i:nth-child(4) { height: 92%; animation-delay: 0.36s; }

.tiny-progress {
  height: 8px;
  border-radius: 999px;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.tiny-progress i {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--azure));
  animation: progressPulse 3s ease-in-out infinite;
}

.device-frame {
  margin: 0;
  position: absolute;
  border-radius: 36px;
  padding: 9px;
  background: linear-gradient(145deg, rgba(238, 247, 255, 0.28), rgba(255, 255, 255, 0.04) 36%, rgba(47, 157, 255, 0.18));
  border: 1px solid rgba(238, 247, 255, 0.18);
  box-shadow: var(--shadow), 0 0 54px rgba(47, 157, 255, 0.16);
  overflow: hidden;
}

.device-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
  background: #eef2f7;
}

.device-main {
  position: relative;
  width: min(330px, 62vw);
  aspect-ratio: 0.46;
  z-index: 2;
  transform: rotate(-2deg) translateX(-26px);
}

.device-side {
  width: 190px;
  aspect-ratio: 0.46;
  z-index: 1;
  opacity: 0.78;
  filter: saturate(0.96);
}

.device-side-top {
  right: 18px;
  top: 22px;
  transform: rotate(6deg);
}

.device-side-bottom {
  right: 58px;
  bottom: 12px;
  transform: rotate(3deg);
}

.phone-shell {
  width: min(312px, 88vw);
  aspect-ratio: 0.49;
  border-radius: 42px;
  padding: 14px;
  background: linear-gradient(150deg, rgba(239, 247, 255, 0.18), rgba(255, 255, 255, 0.02) 24%, rgba(47, 157, 255, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow), 0 0 70px rgba(47, 157, 255, 0.22);
  transform: rotate(2deg);
}

.phone-shell::before {
  content: "";
  position: absolute;
  width: 102px;
  height: 27px;
  border-radius: 0 0 18px 18px;
  left: 50%;
  transform: translateX(-50%);
  top: 14px;
  background: #050914;
  z-index: 2;
}

.phone-status,
.app-screen {
  background: rgba(4, 8, 17, 0.92);
}

.phone-status {
  height: 48px;
  border-radius: 31px 31px 0 0;
  padding: 16px 24px 0;
  display: flex;
  justify-content: space-between;
  color: #dceeff;
  font-size: 0.72rem;
  font-weight: 800;
}

.app-screen {
  height: calc(100% - 48px);
  border-radius: 0 0 31px 31px;
  padding: 20px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 16px;
  overflow: hidden;
}

.screen-card,
.coach-preview,
.floating-card,
.feature-card,
.process-step,
.chat-card,
.scan-card,
.macro-ring,
.food-list,
.stat-card,
.cta-panel {
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.screen-card-main {
  padding: 16px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.screen-kicker,
.screen-card span,
.floating-card span,
.stat-card span,
.store-button span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.pill {
  color: #03101d;
  background: linear-gradient(135deg, var(--green), var(--azure));
  border-radius: 999px;
  padding: 6px 8px;
  white-space: nowrap;
  font-size: 0.66rem;
  font-weight: 900;
}

.mini-chart {
  min-height: 162px;
  display: flex;
  align-items: end;
  gap: 11px;
  padding: 22px 16px 14px;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    rgba(255, 255, 255, 0.035);
  background-size: 100% 34px;
}

.mini-chart span {
  flex: 1;
  min-width: 0;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--azure), var(--blue));
  box-shadow: 0 0 18px rgba(47, 157, 255, 0.32);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.metric-grid div {
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.coach-preview {
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  gap: 10px;
}

.coach-preview p {
  margin: 0;
  color: #d7eaff;
  font-size: 0.78rem;
}

.avatar {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--azure), var(--blue));
  color: #041020;
  font-size: 0.72rem;
  font-weight: 950;
}

.floating-card {
  position: absolute;
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 176px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
  z-index: 4;
}

.floating-card-top {
  top: 72px;
  right: 10px;
}

.floating-card-bottom {
  left: 12px;
  bottom: 92px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading.align-left {
  text-align: left;
  margin: 0;
}

.section-heading p {
  font-size: 1.04rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 208px;
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 92px;
  height: 92px;
  background: radial-gradient(circle, rgba(77, 227, 255, 0.2), transparent 70%);
}

.feature-card-wide {
  grid-column: auto;
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.screen-gallery article {
  min-height: 320px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.screen-gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: top center;
  background: #edf1f8;
}

.screen-gallery div {
  padding: 16px;
}

.screen-gallery span {
  display: block;
  color: var(--azure);
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.screen-gallery strong {
  display: block;
  color: var(--text);
  line-height: 1.25;
}

.showcase-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.showcase-tile {
  min-height: 330px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateZ(0);
}

.showcase-tile:nth-child(even) {
  transform: translateY(22px);
}

.showcase-tile-wide {
  grid-column: span 2;
}

.showcase-tile img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  display: block;
  transition: transform 720ms ease, filter 720ms ease;
}

.showcase-tile:hover img,
.showcase-tile:focus-within img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.cutout-gallery {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 0.92fr 1.08fr;
  gap: 14px;
  margin-top: 24px;
  align-items: stretch;
}

.cutout-tile {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 16%, rgba(77, 227, 255, 0.12), transparent 32%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateZ(0);
}

.cutout-tile:nth-child(even) {
  transform: translateY(24px);
}

.cutout-tile img {
  min-height: 100%;
  filter: saturate(1.03) contrast(1.02);
  transition: transform 700ms ease, filter 700ms ease;
}

.cutout-tile:hover img,
.cutout-tile:focus-within img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.cutout-tile div {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 14px;
  border: 1px solid rgba(238, 247, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(5, 9, 20, 0.72);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.cutout-tile span {
  display: block;
  color: var(--azure);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.cutout-tile strong {
  display: block;
  color: var(--text);
  line-height: 1.18;
}

.motion-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.motion-card {
  min-height: 270px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 88% 84%, rgba(77, 227, 255, 0.14), transparent 28%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.motion-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.08), transparent 42%);
  transform: translateX(-120%);
  animation: sheen 6s ease-in-out infinite;
}

.motion-card span {
  display: block;
  color: var(--azure);
  font-size: 0.76rem;
  font-weight: 900;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.motion-card strong {
  display: block;
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1.05;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.motion-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 720;
  position: relative;
  z-index: 1;
}

.lift-grid {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.lift-grid i {
  min-height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--text);
  font-style: normal;
  font-weight: 900;
  border: 1px solid rgba(144, 202, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
}

.line-chart {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 22px;
  height: 96px;
  display: flex;
  align-items: end;
  gap: 9px;
}

.line-chart i {
  flex: 1;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--green), var(--blue));
  animation: barWave 2.4s ease-in-out infinite;
}

.line-chart i:nth-child(1) { height: 34%; }
.line-chart i:nth-child(2) { height: 48%; animation-delay: 0.1s; }
.line-chart i:nth-child(3) { height: 42%; animation-delay: 0.2s; }
.line-chart i:nth-child(4) { height: 68%; animation-delay: 0.3s; }
.line-chart i:nth-child(5) { height: 82%; animation-delay: 0.4s; }

.macro-stack {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 28px;
  display: grid;
  gap: 12px;
}

.macro-stack i {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.macro-stack i::after {
  content: "";
  display: block;
  height: 100%;
  width: 82%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--azure), var(--blue));
  animation: progressPulse 3.2s ease-in-out infinite;
}

.macro-stack i:nth-child(2)::after {
  width: 64%;
  background: linear-gradient(90deg, var(--green), var(--azure));
  animation-delay: 0.18s;
}

.macro-stack i:nth-child(3)::after {
  width: 76%;
  background: linear-gradient(90deg, #f7b955, var(--azure));
  animation-delay: 0.36s;
}

.message-lines {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 28px;
  display: grid;
  gap: 10px;
}

.message-lines i {
  display: block;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(77, 227, 255, 0.42), rgba(47, 157, 255, 0.08));
  animation: messageTyping 3.8s ease-in-out infinite;
}

.message-lines i:nth-child(2) {
  width: 82%;
  animation-delay: 0.2s;
}

.message-lines i:nth-child(3) {
  width: 58%;
  animation-delay: 0.4s;
}

.icon-shell {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: #06111f;
  background: linear-gradient(135deg, var(--azure), var(--blue));
  font-weight: 950;
  font-size: 0.82rem;
  box-shadow: 0 14px 30px rgba(47, 157, 255, 0.22);
}

.process-section,
.progress-section {
  background: linear-gradient(180deg, transparent, rgba(8, 17, 31, 0.74), transparent);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  border-radius: var(--radius);
  padding: 22px;
}

.step-number {
  display: inline-block;
  color: var(--azure);
  font-size: 0.82rem;
  font-weight: 950;
  margin-bottom: 38px;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: 56px;
  align-items: center;
}

.split-grid.reverse {
  grid-template-columns: minmax(340px, 1.02fr) minmax(0, 0.98fr);
}

.chat-stack {
  display: grid;
  gap: 14px;
}

.chat-card {
  border-radius: var(--radius);
  padding: 16px;
  max-width: 84%;
}

.chat-card span {
  display: block;
  color: var(--azure);
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.chat-card p {
  color: #dceeff;
  margin: 0;
}

.user-message {
  justify-self: end;
  background: linear-gradient(160deg, rgba(47, 157, 255, 0.22), rgba(255, 255, 255, 0.045));
}

.ai-message {
  justify-self: start;
}

.nutrition-board {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 14px;
}

.scan-card,
.macro-ring,
.food-list {
  border-radius: var(--radius);
  padding: 20px;
}

.scan-card {
  min-height: 230px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
}

.scan-card::before {
  content: "";
  position: absolute;
  inset: 26px 34px auto;
  height: 96px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(238, 247, 255, 0.92) 0 4px, transparent 4px 9px),
    rgba(255, 255, 255, 0.05);
}

.scan-line {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 92px;
  height: 2px;
  background: var(--azure);
  box-shadow: 0 0 18px var(--azure);
  animation: scan 2.8s ease-in-out infinite;
}

.macro-ring {
  min-height: 230px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle closest-side, rgba(5, 9, 20, 0.95) 70%, transparent 71%),
    conic-gradient(var(--azure) 0 78%, rgba(255, 255, 255, 0.08) 78% 100%);
}

.macro-ring span {
  font-size: 2.4rem;
  font-weight: 950;
}

.macro-ring small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.food-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.food-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.food-list div:last-child {
  border-bottom: 0;
}

.food-list span {
  color: var(--soft);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  color: var(--soft);
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--azure);
  border-bottom: 2px solid var(--azure);
  transform: rotate(-45deg);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  border-radius: var(--radius);
  padding: 22px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.stat-card strong {
  font-size: 2.85rem;
  line-height: 1;
  margin: 12px 0 4px;
}

.stat-card small {
  color: var(--muted);
  font-weight: 750;
}

.sparkline {
  margin-top: auto;
  height: 72px;
  display: flex;
  align-items: end;
  gap: 8px;
}

.sparkline i {
  flex: 1;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, var(--azure), rgba(47, 157, 255, 0.25));
}

.sparkline i:nth-child(1) { height: 34%; }
.sparkline i:nth-child(2) { height: 54%; }
.sparkline i:nth-child(3) { height: 45%; }
.sparkline i:nth-child(4) { height: 76%; }
.sparkline i:nth-child(5) { height: 88%; }
.sparkline.alt i:nth-child(1) { height: 76%; }
.sparkline.alt i:nth-child(2) { height: 48%; }
.sparkline.alt i:nth-child(3) { height: 66%; }
.sparkline.alt i:nth-child(4) { height: 58%; }
.sparkline.alt i:nth-child(5) { height: 82%; }

.final-cta {
  padding: 78px 0 96px;
  scroll-margin-top: 86px;
}

.cta-panel {
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 58px);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(77, 227, 255, 0.16), rgba(47, 157, 255, 0.06) 44%, rgba(255, 255, 255, 0.05)),
    rgba(12, 24, 43, 0.78);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cta-panel h2 {
  max-width: 780px;
  margin-inline: auto;
}

.cta-panel p {
  max-width: 640px;
  margin-inline: auto;
}

.store-row {
  justify-content: center;
  margin-top: 28px;
}

.store-button {
  min-width: 176px;
  padding: 12px 18px;
  background: #eef7ff;
  color: #041020;
  text-align: left;
}

.store-button.is-disabled {
  cursor: default;
}

.store-button.muted {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  border-color: var(--border);
}

.store-button strong {
  display: block;
  font-size: 1.08rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px 0;
  background: rgba(3, 6, 17, 0.72);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  font-weight: 750;
  padding: 8px 10px;
  border-radius: var(--radius);
}

.footer-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.footer-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: 2px solid var(--azure);
  outline-offset: 3px;
}

.footer-copy {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--soft);
  font-size: 0.85rem;
  text-align: center;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.js-reveal .reveal.is-visible,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scan {
  0%, 100% {
    transform: translateY(-36px);
    opacity: 0.55;
  }
  50% {
    transform: translateY(52px);
    opacity: 1;
  }
}

@keyframes breathe {
  0%, 100% {
    transform: scale(0.96) rotate(0deg);
    opacity: 0.62;
  }
  50% {
    transform: scale(1.06) rotate(12deg);
    opacity: 0.9;
  }
}

@keyframes phoneFloat {
  0%, 100% {
    transform: rotate(-2deg) translateY(0);
  }
  50% {
    transform: rotate(-1deg) translateY(-12px);
  }
}

@keyframes heroArtFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(0.7deg);
  }
}

@keyframes mainDrift {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(-3deg) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) rotate(-1deg) translateY(-12px);
  }
}

@keyframes cutoutFloat {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes orbitFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes rotateDonut {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateDonutReverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes metricFill {
  0%, 100% {
    transform: scaleX(0.72);
  }
  50% {
    transform: scaleX(var(--w));
  }
}

@keyframes barWave {
  0%, 100% {
    transform: scaleY(0.78);
    opacity: 0.72;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes progressPulse {
  0%, 100% {
    transform: translateX(-8%) scaleX(0.92);
  }
  50% {
    transform: translateX(0) scaleX(1);
  }
}

@keyframes messageTyping {
  0%, 100% {
    transform: scaleX(0.58);
    transform-origin: left;
    opacity: 0.62;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes sheen {
  0%, 45% {
    transform: translateX(-120%);
  }
  70%, 100% {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split-grid,
  .split-grid.reverse {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy {
    padding-top: 42px;
  }

  h1 {
    max-width: 12ch;
  }

  .hero-visual {
    min-height: 560px;
  }

  .feature-grid,
  .motion-gallery,
  .cutout-gallery,
  .showcase-gallery,
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-tile-wide {
    grid-column: span 2;
  }

  .cutout-tile {
    min-height: 340px;
  }

  .feature-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(5, 9, 20, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu a {
    border-radius: var(--radius);
    padding: 12px;
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    padding-top: 92px;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.95rem, 10vw, 3rem);
  }

  .hero-subtitle,
  .section-heading p {
    font-size: 1rem;
  }

  .trust-strip,
  .process-grid,
  .feature-grid,
  .motion-gallery,
  .cutout-gallery,
  .showcase-gallery,
  .dashboard-grid,
  .nutrition-board {
    grid-template-columns: 1fr;
  }

  .feature-card-wide,
  .food-list {
    grid-column: auto;
  }

  .hero-visual {
    min-height: 560px;
    overflow: hidden;
  }

  .hero-device {
    width: min(300px, 76vw);
  }

  .coach-cutout {
    width: 198px;
    height: 140px;
    right: 0;
    top: 44px;
  }

  .nutrition-cutout {
    width: 210px;
    height: 170px;
    right: 8px;
    bottom: 42px;
  }

  .progress-cutout {
    width: 184px;
    height: 184px;
    left: 0;
    bottom: 100px;
  }

  .signal-top {
    left: 8px;
    top: 92px;
  }

  .signal-bottom {
    right: 22px;
    bottom: 238px;
  }

  .cutout-tile,
  .cutout-tile:nth-child(even) {
    min-height: 430px;
    transform: none;
  }

  .showcase-tile,
  .showcase-tile:nth-child(even),
  .showcase-tile-wide {
    min-height: auto;
    transform: none;
    grid-column: auto;
  }

  .showcase-tile img {
    min-height: auto;
  }

  .premium-phone {
    width: min(300px, 82vw);
  }

  .orbit-card {
    min-width: 140px;
    padding: 12px;
    font-size: 0.86rem;
  }

  .orbit-workout {
    left: -4px;
    top: 42px;
  }

  .orbit-progress {
    right: -8px;
    top: 160px;
  }

  .orbit-nutrition {
    left: 8px;
    bottom: 50px;
  }

  .phone-shell {
    width: min(318px, 88vw);
  }

  .floating-card {
    min-width: 144px;
    padding: 12px;
  }

  .floating-card-top {
    right: 0;
    top: 50px;
  }

  .floating-card-bottom {
    left: 0;
    bottom: 58px;
  }

  .chat-card {
    max-width: 94%;
  }

  .footer-grid {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 440px) {
  .hero-actions,
  .store-row {
    display: grid;
  }

  .btn,
  .store-button {
    width: 100%;
  }

  .app-screen {
    padding: 16px;
  }

  .mini-chart {
    min-height: 146px;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   Phase-2 polish: hovers, depth, premium micro-interactions
   ===================================================== */

.feature-card,
.stat-card,
.motion-card,
.process-step,
.chat-card,
.orbit-card {
  transition:
    transform 320ms cubic-bezier(.2, .8, .2, 1),
    box-shadow 320ms cubic-bezier(.2, .8, .2, 1),
    border-color 320ms ease,
    background 320ms ease;
}

.feature-card:hover,
.stat-card:hover,
.motion-card:hover,
.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(131, 238, 255, 0.45);
  box-shadow:
    0 24px 48px -22px rgba(74, 170, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.feature-card:hover::after {
  background: radial-gradient(circle, rgba(131, 238, 255, 0.4), transparent 70%);
}

.orbit-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 42px -18px rgba(74, 170, 255, 0.55);
}

/* Coming-soon App Store button — clearly different from active CTAs */
.store-button.is-disabled {
  position: relative;
  background: linear-gradient(135deg, rgba(74, 170, 255, 0.14), rgba(131, 238, 255, 0.08));
  color: var(--soft);
  border: 1px dashed rgba(131, 238, 255, 0.4);
  cursor: not-allowed;
  opacity: 0.92;
}

.store-button.is-disabled span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(131, 238, 255, 0.85);
  font-weight: 800;
}

.store-button.is-disabled strong {
  color: var(--text);
}

.store-button.is-disabled:hover,
.store-button.is-disabled:focus-visible {
  transform: none;
  outline: none;
}

/* Primary CTA shimmer */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 700ms ease;
  z-index: 0;
  pointer-events: none;
}

.btn-primary:hover::before,
.btn-primary:focus-visible::before {
  transform: translateX(100%);
}

.btn-primary > * {
  position: relative;
  z-index: 1;
}

/* Stronger entrance for hero copy */
.js-reveal .hero .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms cubic-bezier(.2, .8, .2, 1), transform 760ms cubic-bezier(.2, .8, .2, 1);
}

.js-reveal .hero .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js-reveal .hero-visual.reveal {
  transform: translateY(28px) scale(.97);
}

.js-reveal .hero-visual.reveal.is-visible {
  transform: none;
}

/* Trust strip pop */
.trust-strip > div {
  transition: transform 260ms ease;
}

.trust-strip > div:hover {
  transform: translateY(-2px);
}

/* Subtle gradient sweep on chat AI message */
.chat-card.ai-message:hover {
  transform: translateX(2px);
  border-color: rgba(131, 238, 255, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .stat-card,
  .motion-card,
  .process-step,
  .chat-card,
  .orbit-card,
  .btn-primary::before {
    transition: none;
  }
}

/* =====================================================
   LIGHT THEME REDESIGN
   Brand-on, more breathing room, animated background
   ===================================================== */

:root {
  color-scheme: light;
  --bg: #f5f8ff;
  --bg-2: #eaf1fc;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --border: rgba(47, 157, 255, 0.18);
  --border-strong: rgba(47, 157, 255, 0.42);
  --text: #0a1628;
  --muted: #5b6b80;
  --soft: #2c3a52;
  --blue: #2f9dff;
  --azure: #4de3ff;
  --green: #16c787;
  --shadow: 0 18px 50px -22px rgba(47, 92, 168, 0.25);
  --max: 1200px;
}

@keyframes brandSweep {
  0%   { background-position: 0% 50%, 100% 30%, 50% 100%; }
  50%  { background-position: 12% 18%, 80% 60%, 60% 30%; }
  100% { background-position: 0% 50%, 100% 30%, 50% 100%; }
}

body {
  background:
    radial-gradient(circle at 20% 8%, rgba(47, 157, 255, 0.18), transparent 38rem),
    radial-gradient(circle at 84% 22%, rgba(77, 227, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 50% 100%, rgba(131, 184, 255, 0.12), transparent 36rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 38%, #eaf1fc 100%);
  background-size: 200% 200%, 220% 220%, 240% 240%, 100% 100%;
  background-attachment: fixed;
  animation: brandSweep 28s ease-in-out infinite;
  color: var(--text);
}

body::before {
  background-image:
    linear-gradient(rgba(47, 157, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 157, 255, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 90%);
}

p { color: var(--muted); }

/* ----- Breathing room ----- */
.section { padding: 128px 0; }
.section-tight { padding-top: 96px; }
.hero {
  padding-top: 132px;
  padding-bottom: 96px;
  min-height: 92vh;
}
.container {
  width: min(100% - 56px, var(--max));
}

/* ----- Header / nav ----- */
.site-header {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid rgba(47, 157, 255, 0.1);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px -22px rgba(15, 50, 110, 0.25);
}
.brand-name { color: var(--text); }
.nav-menu a { color: var(--soft); }
.nav-menu a:hover, .nav-menu a:focus-visible {
  color: var(--text);
  background: rgba(47, 157, 255, 0.08);
}
.nav-toggle {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
}
.nav-toggle span { background: var(--text); }

/* ----- Eyebrow / hero typography ----- */
.eyebrow {
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.16em;
}
.eyebrow::before { background: var(--blue); }
.hero-subtitle, .section-heading p { color: var(--soft); }
h1, h2, h3 { color: var(--text); }

/* ----- Buttons ----- */
.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--azure), var(--blue));
  box-shadow: 0 18px 38px -12px rgba(47, 157, 255, 0.55);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--blue);
}

/* ----- Glass cards (light variant) ----- */
.feature-card,
.process-step,
.chat-card,
.scan-card,
.macro-ring,
.food-list,
.stat-card,
.cta-panel,
.motion-card,
.coach-preview,
.floating-card {
  border: 1px solid rgba(47, 157, 255, 0.16);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(238, 247, 255, 0.62));
  box-shadow:
    0 18px 38px -22px rgba(47, 92, 168, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  color: var(--text);
}
.feature-card h3,
.process-step h3,
.motion-card strong,
.stat-card strong,
.cta-panel h2 { color: var(--text); }
.feature-card p,
.process-step p,
.motion-card p,
.stat-card small,
.cta-panel p { color: var(--muted); }
.icon-shell {
  background: linear-gradient(135deg, var(--azure), var(--blue));
  color: #ffffff;
  box-shadow: 0 12px 24px -10px rgba(47, 157, 255, 0.55);
}
.step-number {
  background: linear-gradient(135deg, var(--azure), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hover boost on light cards */
.feature-card:hover,
.stat-card:hover,
.motion-card:hover,
.process-step:hover {
  border-color: var(--blue);
  box-shadow:
    0 30px 52px -22px rgba(47, 157, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  background: linear-gradient(160deg, #ffffff, rgba(238, 247, 255, 0.85));
}

/* ----- Hero phone mockup: keep dark for app-like contrast ----- */
.phone-glass,
.coach-priority,
.macro-widget,
.insight-card,
.phone-tabs {
  background: linear-gradient(160deg, #0d1b2e, #142544);
  color: #eef7ff;
  border-color: rgba(255, 255, 255, 0.08);
}
.phone-glass { box-shadow: 0 40px 80px -30px rgba(15, 40, 90, 0.4); }
.phone-topline span { color: #9fb2c7; }
.phone-tabs span { color: #9fb2c7; }
.phone-tabs span.active { color: var(--azure); background: rgba(77, 227, 255, 0.14); }
.coach-priority h3 { color: #ffffff; }
.coach-priority p { color: #c9d8e8; }
.mini-label,
.macro-lines span,
.insight-card span { color: #8aa6c8; }
.macro-lines strong { color: #ffffff; }
.insight-card p { color: #d6e3f3; }

/* Orbit cards floating around phone */
.orbit-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: 0 22px 44px -22px rgba(47, 92, 168, 0.32);
}
.orbit-card span { color: var(--blue); font-weight: 800; }
.orbit-card strong { color: var(--text); }
.orbit-card small { color: var(--muted); }

/* ----- Chat cards in coach section ----- */
.chat-card.user-message {
  background: linear-gradient(135deg, var(--azure), var(--blue));
  color: #ffffff;
  border-color: transparent;
}
.chat-card.user-message span { color: rgba(255, 255, 255, 0.85); }
.chat-card.user-message p { color: #ffffff; }
.chat-card.ai-message {
  background: #ffffff;
}
.chat-card.ai-message span { color: var(--blue); }
.chat-card.ai-message p { color: var(--text); }

/* ----- Final CTA ----- */
.final-cta { padding: 96px 0 132px; }
.cta-panel {
  background: linear-gradient(135deg, rgba(47, 157, 255, 0.96), rgba(77, 227, 255, 0.92));
  color: #ffffff;
  border: none;
  box-shadow: 0 40px 80px -30px rgba(47, 157, 255, 0.6);
}
.cta-panel .eyebrow { color: rgba(255, 255, 255, 0.9); }
.cta-panel .eyebrow::before { background: rgba(255, 255, 255, 0.9); }
.cta-panel h2, .cta-panel p { color: #ffffff; }
.store-button {
  background: #ffffff;
  color: var(--text);
}
.store-button.is-disabled {
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  border: 1px dashed rgba(255, 255, 255, 0.6);
}
.store-button.is-disabled span { color: rgba(255, 255, 255, 0.85); }
.store-button.is-disabled strong { color: #ffffff; }
.store-button.muted {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* ----- Footer (light) ----- */
.site-footer {
  background: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(47, 157, 255, 0.14);
  backdrop-filter: blur(12px);
}
.site-footer p { color: var(--muted); }
.footer-links a { color: var(--soft); }
.footer-links a:hover, .footer-links a:focus-visible {
  color: var(--text);
  background: rgba(47, 157, 255, 0.08);
}
.footer-copy {
  border-top: 1px solid rgba(47, 157, 255, 0.12);
  color: var(--muted);
}

/* ----- Trust strip ----- */
.trust-strip dt {
  background: linear-gradient(135deg, var(--azure), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust-strip dd { color: var(--muted); }

/* ----- Check list ----- */
.check-list li { color: var(--soft); }

/* ===== Animations ===== */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes float-y-soft {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(4px, -8px); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 157, 255, 0.45); }
  50%      { box-shadow: 0 0 0 16px rgba(47, 157, 255, 0); }
}

.premium-phone { animation: float-y 7s ease-in-out infinite; }
.orbit-workout { animation: float-y-soft 5.5s ease-in-out infinite; }
.orbit-progress { animation: drift 8s ease-in-out infinite; }
.orbit-nutrition { animation: float-y-soft 6.5s ease-in-out infinite reverse; }
.btn-primary { animation: pulse-glow 3.6s ease-in-out infinite; }

/* Stagger reveal: hero copy children fade in sequentially */
.js-reveal .hero-copy.is-visible > * {
  animation: heroIn 700ms cubic-bezier(.2, .8, .2, 1) both;
}
.js-reveal .hero-copy.is-visible > *:nth-child(1) { animation-delay: 60ms; }
.js-reveal .hero-copy.is-visible > *:nth-child(2) { animation-delay: 160ms; }
.js-reveal .hero-copy.is-visible > *:nth-child(3) { animation-delay: 260ms; }
.js-reveal .hero-copy.is-visible > *:nth-child(4) { animation-delay: 360ms; }
.js-reveal .hero-copy.is-visible > *:nth-child(5) { animation-delay: 460ms; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
  .premium-phone, .orbit-workout, .orbit-progress, .orbit-nutrition, .btn-primary {
    animation: none;
  }
  .js-reveal .hero-copy.is-visible > * { animation: none; }
}

/* ========== Premium icons ========== */
.icon-shell {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  color: #ffffff;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.45), transparent 55%),
    linear-gradient(135deg, var(--azure), var(--blue));
  box-shadow:
    0 18px 38px -14px rgba(47, 157, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -8px 18px rgba(13, 60, 130, 0.35);
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  transition: transform 320ms cubic-bezier(.2, .8, .2, 1), box-shadow 320ms ease;
}

.icon-shell svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
  transition: transform 420ms cubic-bezier(.2, .8, .2, 1);
}

.icon-shell::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 220deg, transparent 0deg, rgba(255,255,255,.45) 60deg, transparent 120deg);
  opacity: 0;
  transition: opacity 320ms ease, transform 5s linear;
  border-radius: inherit;
}

.feature-card:hover .icon-shell {
  transform: translateY(-3px) rotate(-3deg) scale(1.05);
  box-shadow:
    0 28px 56px -16px rgba(47, 157, 255, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -8px 18px rgba(13, 60, 130, 0.45);
}
.feature-card:hover .icon-shell svg {
  transform: scale(1.1) rotate(4deg);
}
.feature-card:hover .icon-shell::before {
  opacity: 1;
  animation: iconRing 4s linear infinite;
}

@keyframes iconRing {
  to { transform: rotate(360deg); }
}

/* Premium card glow border on hover */
.feature-card,
.stat-card,
.motion-card,
.process-step {
  position: relative;
  isolation: isolate;
}
.feature-card::before,
.stat-card::before,
.motion-card::before,
.process-step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(77,227,255,0), rgba(47,157,255,0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 320ms ease, background 320ms ease;
  pointer-events: none;
  z-index: 2;
}
.feature-card:hover::before,
.stat-card:hover::before,
.motion-card:hover::before,
.process-step:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(77,227,255,0.85), rgba(47,157,255,0.85));
}

/* Premium phone shadow + slight tilt on hover */
.app-showcase { perspective: 1400px; }
.premium-phone {
  transform-style: preserve-3d;
  transition: transform 600ms cubic-bezier(.2, .8, .2, 1);
}
.app-showcase:hover .premium-phone {
  transform: rotateY(-4deg) rotateX(3deg) translateY(-4px);
}

/* Macro donut subtle pulse */
@keyframes donutPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(77,227,255,0)); }
  50%      { transform: scale(1.04); filter: drop-shadow(0 0 16px rgba(77,227,255,.35)); }
}
.macro-donut { animation: donutPulse 4s ease-in-out infinite; }

/* Sparkline bars rise animation */
@keyframes barRise {
  from { transform: scaleY(.4); opacity: .5; }
  to   { transform: scaleY(1); opacity: 1; }
}
.stat-card.is-visible .sparkline i {
  transform-origin: bottom;
  animation: barRise 700ms cubic-bezier(.2, .8, .2, 1) both;
}
.stat-card.is-visible .sparkline i:nth-child(1) { animation-delay: 80ms; }
.stat-card.is-visible .sparkline i:nth-child(2) { animation-delay: 180ms; }
.stat-card.is-visible .sparkline i:nth-child(3) { animation-delay: 280ms; }
.stat-card.is-visible .sparkline i:nth-child(4) { animation-delay: 380ms; }
.stat-card.is-visible .sparkline i:nth-child(5) { animation-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  .icon-shell, .icon-shell svg, .icon-shell::before,
  .premium-phone, .macro-donut, .stat-card.is-visible .sparkline i {
    animation: none;
    transition: none;
  }
}

/* =====================================================
   PREMIUM PASS — clean, no z-index conflicts
   ===================================================== */

/* Animated gradient hero title */
@keyframes titleSweep {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.hero h1 {
  background: linear-gradient(120deg, #0a1628 0%, #1d3962 30%, #2f9dff 55%, #4de3ff 75%, #1d3962 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: titleSweep 14s ease-in-out infinite;
}

/* Magnetic CTA (subtle) */
.btn-primary {
  --magnet-x: 0px;
  --magnet-y: 0px;
  transition: transform 220ms cubic-bezier(.2, .8, .2, 1), box-shadow 220ms ease;
}
.btn-primary:hover {
  transform: translate(var(--magnet-x), calc(var(--magnet-y) - 2px));
}

/* Soft entry */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.site-header { animation: pageIn 600ms cubic-bezier(.2, .8, .2, 1) both; }

/* Custom scrollbar */
html { scrollbar-color: var(--blue) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--azure), var(--blue));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-track { background: transparent; }

@media (prefers-reduced-motion: reduce) {
  .hero h1, .site-header { animation: none; }
  .btn-primary { transition: none; }
}

/* =====================================================
   MOBILE OVERRIDES — light theme + premium pass
   (must come last to win cascade against earlier overrides)
   ===================================================== */

@media (max-width: 980px) {
  .section { padding: 88px 0; }
  .section-tight { padding-top: 64px; }
  .hero {
    padding-top: 104px;
    padding-bottom: 64px;
    min-height: auto;
  }
  .container { width: min(100% - 36px, var(--max)); }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .section-tight { padding-top: 48px; }
  .hero {
    padding-top: 96px;
    padding-bottom: 48px;
  }
  .final-cta { padding: 64px 0 88px; }

  .hero h1 {
    font-size: clamp(1.7rem, 7vw, 2.3rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    max-width: none;
    text-wrap: balance;
  }
  .hero-copy h1 { max-width: none; }
  .section-heading h2 {
    font-size: clamp(1.6rem, 6.4vw, 2rem);
    line-height: 1.12;
  }
  .hero-subtitle, .section-heading p {
    font-size: 0.98rem;
  }
  .eyebrow { font-size: 0.75rem; }

  /* Buttons full width on mobile */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; width: 100%; }

  /* Trust strip: 1 row 3 cols, smaller numbers */
  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .trust-strip dt { font-size: 1.6rem; }
  .trust-strip dd { font-size: 0.78rem; }

  /* Phone mockup: smaller, hide drifting orbits to declutter */
  .premium-phone { transform: scale(0.86); transform-origin: top center; }
  .orbit-card { display: none; }

  /* Cards padding tighter */
  .feature-card, .stat-card, .motion-card, .process-step, .chat-card {
    padding: 18px;
  }
  .feature-card { min-height: auto; }
  .stat-card { min-height: auto; }
  .icon-shell { width: 48px; height: 48px; margin-bottom: 16px; }
  .icon-shell svg { width: 24px; height: 24px; }

  /* CTA panel tighter */
  .cta-panel { padding: 28px 22px; }
  .store-row { flex-direction: column; align-items: stretch; }
  .store-button { width: 100%; min-width: 0; }

  /* Footer: stack neatly */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .footer-brand { justify-content: center; }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
  }
  .footer-links a { padding: 8px 12px; font-size: 0.88rem; }
  .footer-copy { text-align: center; font-size: 0.78rem; }

  /* Header mobile menu: show open menu as full-width drop */
  .nav-menu.is-open {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    border-radius: 14px;
    border: 1px solid rgba(47, 157, 255, 0.18);
    box-shadow: 0 22px 44px -22px rgba(15, 50, 110, 0.25);
  }
  .nav-menu.is-open a {
    color: var(--text);
    width: 100%;
    text-align: center;
  }
  .nav-menu.is-open .nav-cta {
    color: #ffffff;
  }
}

@media (max-width: 440px) {
  .container { width: min(100% - 28px, var(--max)); }
  .hero { padding-top: 88px; }
  .section { padding: 52px 0; }
  .hero h1 { font-size: clamp(1.5rem, 6.4vw, 2rem); max-width: none; text-wrap: balance; }
  .hero-copy h1 { max-width: none; }
  .hero-actions .btn { padding: 14px 18px; font-size: 0.95rem; }

  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 10px 14px;
  }
  .trust-strip dt { font-size: 1.4rem; }

  /* Phone mockup further scaled */
  .premium-phone { transform: scale(0.78); }

  .cta-panel { padding: 24px 18px; }
  .cta-panel h2 { font-size: 1.5rem; }

  .site-header .container { padding-inline: 14px; }
  .brand-name { font-size: 0.95rem; }
  .brand-logo { width: 36px; height: 36px; }
}

/* =====================================================
   MOBILE OVERRIDES — legal pages (in legal/styles.css)
   This block sits in the main CSS so changes flow once.
   Actual legal styles also have mobile in legal/styles.css.
   ===================================================== */

/* =====================================================
   COMPLIANCE PASS — extended footer + cookie banner
   Higher specificity to override earlier .footer-links rules.
   ===================================================== */

.site-footer { padding: 56px 0 24px; }

.site-footer .footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: flex-start;
  gap: 40px;
}

.site-footer .footer-brand-block p {
  color: var(--muted);
  max-width: 280px;
  margin: 8px 0 0;
  font-size: 0.92rem;
}

.site-footer .footer-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  flex-wrap: nowrap !important;
}

.site-footer .footer-col h4 {
  margin: 0 0 14px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.9;
}

.site-footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.site-footer .footer-col ul li { margin: 0; }

.site-footer .footer-col ul li a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 0;
  background: transparent;
  transition: color 200ms ease, transform 200ms ease;
}

.site-footer .footer-col ul li a:hover,
.site-footer .footer-col ul li a:focus-visible {
  color: var(--text);
  background: transparent;
  transform: translateX(3px);
  outline: none;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 36px;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer .footer-copy {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0;
}

.site-footer .footer-disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.7;
  line-height: 1.55;
  max-width: 920px;
  margin: 0;
}

.site-footer .footer-disclaimer a {
  color: var(--azure);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.site-footer .footer-disclaimer a:hover { border-bottom-color: currentColor; }

.site-footer .footer-legal-info {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.7;
}

.site-footer .footer-legal-info > summary {
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 4px 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 200ms ease;
}
.site-footer .footer-legal-info > summary::-webkit-details-marker { display: none; }
.site-footer .footer-legal-info > summary::marker { content: ""; }
.site-footer .footer-legal-info > summary::after {
  content: "▾";
  font-size: 0.7rem;
  opacity: 0.7;
  transition: transform 200ms ease;
}
.site-footer .footer-legal-info[open] > summary::after { transform: rotate(180deg); }
.site-footer .footer-legal-info > summary:hover { color: var(--text); }

.site-footer .footer-legal-info p {
  margin: 8px 0 0;
  line-height: 1.7;
}
.site-footer .footer-legal-info p strong { color: var(--text); }
.site-footer .footer-legal-info p a {
  color: var(--azure);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.site-footer .footer-legal-info p a:hover { border-bottom-color: currentColor; }

@media (max-width: 860px) {
  .site-footer .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .site-footer .footer-brand-block { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .site-footer .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 320ms ease, transform 320ms cubic-bezier(.2, .8, .2, 1);
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cookie-banner-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 20px;
  background: #050b16;
  border: 1px solid rgba(77, 227, 255, 0.38);
  border-radius: 14px;
  box-shadow:
    0 22px 50px -16px rgba(3, 6, 17, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cookie-banner-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  color: #e6eef9;
  font-size: 0.88rem;
  line-height: 1.55;
}

.cookie-banner-copy strong {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.cookie-banner-copy #cookieBannerTitle {
  flex-shrink: 0;
  font-size: 0.92rem;
}

.cookie-banner-copy span { display: inline; color: #e6eef9; }

.cookie-banner-copy span strong { color: #ffffff; }

.cookie-banner-copy a {
  color: #6fd9ff;
  border-bottom: 1px solid rgba(111, 217, 255, 0.55);
  font-weight: 700;
  transition: color 200ms ease, border-color 200ms ease;
}
.cookie-banner-copy a:hover {
  color: #ffffff;
  border-bottom-color: currentColor;
}

.cookie-banner .cookie-btn {
  appearance: none;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  padding: 9px 18px;
  font: inherit;
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.cookie-banner .cookie-btn-primary {
  background: linear-gradient(135deg, var(--azure), var(--blue));
  color: #042039;
  box-shadow: 0 14px 26px -10px rgba(47, 157, 255, 0.55);
}
.cookie-banner .cookie-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px -10px rgba(47, 157, 255, 0.7);
}
.cookie-banner .cookie-btn-primary:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
    gap: 12px;
  }
  .cookie-banner-copy { font-size: 0.82rem; }
  .cookie-banner .cookie-btn { width: 100%; padding: 11px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    transition: opacity 200ms ease;
    transform: none;
  }
}

/* =========================================================================
   Language switcher (nav)
   ========================================================================= */
.lang-switcher {
  position: relative;
  margin: 0 4px;
}

.lang-switcher > summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  list-style: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
  user-select: none;
  -webkit-user-select: none;
}

.lang-switcher > summary::-webkit-details-marker { display: none; }
.lang-switcher > summary::marker { content: ""; }

.lang-switcher > summary:hover,
.lang-switcher[open] > summary,
.lang-switcher > summary:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(144, 202, 255, 0.28);
}

.lang-switcher > summary:focus-visible {
  outline: 2px solid var(--azure);
  outline-offset: 3px;
}

.lang-switcher .lang-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.lang-switcher .lang-code {
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.lang-switcher .lang-caret {
  font-size: 0.7rem;
  transition: transform 180ms ease;
  opacity: 0.7;
}

.lang-switcher[open] .lang-caret {
  transform: rotate(180deg);
}

.lang-menu-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: rgba(7, 12, 24, 0.97);
  border: 1px solid rgba(144, 202, 255, 0.18);
  border-radius: 14px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45),
              0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  backdrop-filter: blur(20px);
  z-index: 80;
  display: grid;
  gap: 2px;
  animation: langFade 160ms ease both;
}

@keyframes langFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.lang-menu-list li {
  display: block;
}

.lang-menu-list button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 11px;
  border: 0;
  background: transparent;
  color: var(--soft);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  border-radius: 9px;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease;
  font-family: inherit;
}

.lang-menu-list button .lang-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.lang-menu-list button .lang-code {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  opacity: 0.55;
  font-weight: 700;
}

.lang-menu-list button:hover,
.lang-menu-list button:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.lang-menu-list button:focus-visible {
  box-shadow: 0 0 0 2px var(--azure);
}

.lang-menu-list button.is-active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(74, 170, 255, 0.18), rgba(131, 238, 255, 0.10));
}

.lang-menu-list button.is-active .lang-code {
  opacity: 0.85;
  color: var(--azure);
}

/* Mobile: switcher lives inside the open .nav-menu drawer */
@media (max-width: 760px) {
  .lang-switcher {
    margin: 6px 0 0;
  }

  .lang-switcher > summary {
    width: 100%;
    justify-content: space-between;
    padding: 12px;
    font-size: 0.92rem;
  }

  .lang-menu-list {
    position: static;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.03);
  }

  .lang-menu-list button {
    padding: 11px 12px;
  }
}

/* =========================================================================
   Waitlist row (final CTA section) — sits under the disabled store badges
   ========================================================================= */
.waitlist-row {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.waitlist-row .btn-primary {
  min-width: 280px;
  justify-content: center;
}

.waitlist-note {
  font-size: 0.82rem;
  color: var(--soft);
  opacity: 0.75;
  margin: 0;
  text-align: center;
}

@media (max-width: 480px) {
  .waitlist-row .btn-primary {
    min-width: 0;
    width: 100%;
  }
}

/* =========================================================================
   Skip link — was hidden behind the sticky header on focus. Lift it above.
   ========================================================================= */
.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--azure), var(--blue));
  color: #041020;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(47, 157, 255, 0.42);
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 12px;
  outline: 2px solid #fff;
  outline-offset: 3px;
}



/* ============================================================
   REAL SCREENSHOT TILES — v11
   ============================================================ */

.real-tile {
  position: relative;
  margin: 0;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(180deg, #0b1a33, #06101f);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 30px 80px -20px rgba(0, 0, 0, 0.65),
    0 12px 32px rgba(11, 26, 51, 0.55);
  transform: translateZ(0);
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 600ms ease;
  isolation: isolate;
  will-change: transform;
}
.real-tile img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
}
.real-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.18) 100%);
  mix-blend-mode: screen;
  opacity: 0.9;
}
.real-tile .tile-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.16) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: tileShine 7.5s ease-in-out infinite;
  animation-delay: 1.6s;
  mix-blend-mode: screen;
}
@keyframes tileShine {
  0%, 60% { transform: translateX(-120%); }
  85%, 100% { transform: translateX(120%); }
}

.real-tile {
  transition:
    transform 560ms cubic-bezier(0.2, 0.85, 0.3, 1.05),
    box-shadow 560ms ease,
    opacity 420ms ease,
    filter 420ms ease;
}

/* Hero stage =============================================== */
.hero-stage {
  position: relative;
  perspective: 1600px;
  display: block;
  min-height: 560px;
}
.hero-stage .stage-glow {
  position: absolute;
  inset: -8% -10% -10% -10%;
  background:
    radial-gradient(closest-side at 65% 38%, rgba(77, 227, 255, 0.32), transparent 70%),
    radial-gradient(closest-side at 35% 70%, rgba(47, 157, 255, 0.28), transparent 70%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
  animation: stagePulse 9s ease-in-out infinite;
}
.hero-stage .stage-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 180, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(closest-side at 60% 50%, #000 60%, transparent 100%);
}
@keyframes stagePulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.real-tile-hero {
  position: relative;
  z-index: 2;
  width: min(360px, 78%);
  margin-inline: auto;
  border-radius: 44px;
  animation: tileFloat 7.5s ease-in-out infinite;
}
.real-tile-stack {
  position: absolute;
  z-index: 1;
  width: 210px;
  border-radius: 36px;
  opacity: 0.94;
  filter: saturate(1.04);
  top: 12%;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 30px 70px -24px rgba(0, 0, 0, 0.6),
    0 14px 28px rgba(11, 26, 51, 0.5);
}
.real-tile-right {
  right: 0;
  transform: translateX(38%) rotate(5deg);
}
.real-tile-left {
  left: 0;
  transform: translateX(-38%) rotate(-5deg);
}
@keyframes tileFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(0.6deg); }
}

/* Floating chips ============================================ */
.floating-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(20, 36, 64, 0.92), rgba(8, 16, 32, 0.92));
  border: 1px solid rgba(126, 242, 188, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.1px;
}
.floating-chip strong { display: block; font-size: 13.5px; font-weight: 700; }
.floating-chip small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.floating-chip .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #b5ffd7, #2bd383);
  box-shadow: 0 0 12px rgba(43, 211, 131, 0.7);
  animation: chipPulse 2.4s ease-in-out infinite;
}
.floating-chip .spark {
  width: 14px; height: 14px;
  background: conic-gradient(from 90deg at 50% 50%, #4de3ff, #2f9dff, #7ef2bc, #4de3ff);
  clip-path: polygon(50% 0, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0 50%, 35% 35%);
  filter: drop-shadow(0 0 8px rgba(77, 227, 255, 0.6));
  animation: chipSpin 6s linear infinite;
}
@keyframes chipPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes chipSpin { to { transform: rotate(360deg); } }

.chip-recovery {
  top: 30%;
  left: 2%;
  animation: chipFloat 6s ease-in-out infinite;
}
.chip-record {
  bottom: 16%;
  right: 2%;
  border-color: rgba(77, 227, 255, 0.28);
  animation: chipFloat 7s ease-in-out infinite;
  animation-delay: -2.5s;
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Section stage (coach / nutrition) ========================= */
.real-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.82fr;
  gap: 28px;
  align-items: center;
  padding: 18px 8px;
  perspective: 1400px;
}
.real-stage .stage-glow {
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 30% 40%, rgba(47, 157, 255, 0.28), transparent 65%),
    radial-gradient(closest-side at 75% 70%, rgba(77, 227, 255, 0.22), transparent 65%);
  filter: blur(36px);
  animation: stagePulse 11s ease-in-out infinite;
}
.real-stage .stage-glow-violet {
  background:
    radial-gradient(closest-side at 30% 40%, rgba(157, 130, 255, 0.32), transparent 65%),
    radial-gradient(closest-side at 78% 72%, rgba(77, 156, 255, 0.25), transparent 65%);
}
.real-stage .stage-glow-mint {
  background:
    radial-gradient(closest-side at 30% 40%, rgba(126, 242, 188, 0.32), transparent 65%),
    radial-gradient(closest-side at 78% 72%, rgba(77, 227, 255, 0.25), transparent 65%);
}
.real-stage .real-tile {
  position: relative;
  z-index: 1;
}
.real-tile-large {
  transform: rotate(-2.5deg);
  animation: tileFloat 9s ease-in-out infinite;
}
.real-tile-side {
  transform: rotate(4.5deg);
  margin-top: 36px;
  animation: tileFloat 10s ease-in-out infinite;
  animation-delay: -2s;
}

/* Progress pair ============================================ */
.progress-pair {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  align-items: start;
}
.progress-pair .real-tile {
  border-radius: 32px;
}
.progress-pair .real-tile:nth-child(1) { transform: translateY(0) rotate(-1.5deg); animation: tileFloat 8s ease-in-out infinite; }
.progress-pair .real-tile:nth-child(2) { transform: translateY(-20px) rotate(1deg); animation: tileFloat 9s ease-in-out infinite; animation-delay: -1.5s; }
.progress-pair .real-tile:nth-child(3) { transform: translateY(8px) rotate(-1deg); animation: tileFloat 10s ease-in-out infinite; animation-delay: -3s; }

/* Showcase marquee ========================================= */
.showcase-section { padding-top: 56px; }
.marquee {
  position: relative;
  margin-top: 28px;
  overflow: hidden;
  padding: 28px 0 40px;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: marqueeScroll 60s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.real-tile-small {
  flex: 0 0 auto;
  width: 240px;
  border-radius: 28px;
  transform: rotate(-1.5deg);
  transition: transform 400ms ease;
}
.real-tile-small:nth-child(2n) { transform: rotate(1.8deg) translateY(-10px); }
.real-tile-small:nth-child(3n) { transform: rotate(-0.6deg) translateY(8px); }
.real-tile-small:hover { z-index: 20; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 14%;
  pointer-events: none;
  z-index: 2;
}
.marquee-fade-l { left: 0; background: linear-gradient(90deg, var(--bg) 5%, transparent 100%); }
.marquee-fade-r { right: 0; background: linear-gradient(-90deg, var(--bg) 5%, transparent 100%); }

/* Responsive =============================================== */
@media (max-width: 1080px) {
  .real-stage {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .real-tile-large, .real-tile-side { transform: none; margin-top: 0; }
  .real-tile-side { width: 70%; margin-inline: auto; }
}
@media (max-width: 860px) {
  /* ===== Hero: 3 tiles side-by-side, no horizontal scroll ===== */
  .hero-stage {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: "left center right";
    align-items: center;
    gap: 10px;
    padding: 16px 0 8px;
    perspective: none;
    overflow: visible;
  }
  /* Inert backgrounds on mobile */
  .hero-stage .stage-glow,
  .hero-stage .stage-grid { display: none; }
  /* All tiles snap into the grid with no rotation or absolute pos */
  .hero-stage .real-tile {
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
    rotate: 0deg !important;
    opacity: 1 !important;
    animation: none !important;
    border-radius: 18px;
  }
  /* Centerpiece (Body status) is the star — slightly larger */
  .hero-stage .real-tile-hero {
    grid-area: center;
    transform: scale(1.06) !important;
    z-index: 2;
  }
  /* Reorder the stack tiles to wrap around the hero */
  .hero-stage .real-tile-left  { grid-area: left;  }
  .hero-stage .real-tile-right { grid-area: right; }
  .hero-stage .real-tile-stack {
    opacity: 0.96 !important;
    transform: scale(0.97) !important;
  }
  /* No floating chips / dots in this compact layout */
  .floating-chip { display: none; }
  .hero-dots { display: none; }

  /* Real-stage (coach / nutrition): 2 tiles side-by-side */
  .real-stage {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    align-items: start !important;
  }
  .real-tile-large, .real-tile-side {
    width: 100% !important;
    margin: 0 !important;
    transform: none !important;
    rotate: 0deg !important;
  }

  /* Progress pair: 3 tiles side-by-side */
  .progress-pair {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px;
    margin-top: 32px;
  }
  .progress-pair .real-tile { transform: none !important; border-radius: 16px; }

  .real-tile-small { width: 200px; border-radius: 22px; }
  .marquee { padding-top: 56px; padding-bottom: 64px; }
  .marquee-track { gap: 18px; animation-duration: 50s; }
  /* Pop scale is too much on narrow screens — temper it */
  .real-tile-small:hover { transform: scale(1.18) rotate(0deg) !important; }
  .real-tile-large[data-tilt]:hover,
  .real-tile-large:hover,
  .real-tile-side[data-tilt]:hover,
  .real-tile-side:hover { transform: scale(1.04) rotate(0deg) !important; }
  .progress-pair .real-tile:hover { transform: scale(1.05) !important; }
}
@media (max-width: 520px) {
  /* Trust strip is redundant on small mobile — hero copy says enough */
  .trust-strip { display: none; }
  /* On real-stage, ensure the side tile sits clean below */
  .real-tile-side { margin-top: 8px; width: 90%; }
  .hero-stage { gap: 24px; padding: 8px 0 12px; }
  .hero-stage .real-tile { width: 82% !important; }
  .hero-stage .real-tile-stack { width: 72% !important; }
}
@media (max-width: 420px) {
  .real-tile-small { width: 180px; }
}

/* Honor reduced motion ===================================== */
@media (prefers-reduced-motion: reduce) {
  .real-tile, .real-tile-hero, .real-tile-stack, .real-tile-large, .real-tile-side,
  .progress-pair .real-tile, .marquee-track, .real-tile .tile-shine,
  .floating-chip, .floating-chip .dot, .floating-chip .spark, .hero-stage .stage-glow {
    animation: none !important;
  }
}

/* Tilt + parallax variable wiring */
.real-tile[data-tilt] {
  transform: translateY(var(--parallax-y, 0)) rotateX(var(--tilt-x, 0)) rotateY(var(--tilt-y, 0));
  transition: transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.real-tile-right[data-tilt] {
  transform: translateX(38%) translateY(var(--parallax-y, 0)) rotate(5deg) rotateX(var(--tilt-x, 0)) rotateY(var(--tilt-y, 0));
}
.real-tile-left[data-tilt] {
  transform: translateX(-38%) translateY(var(--parallax-y, 0)) rotate(-5deg) rotateX(var(--tilt-x, 0)) rotateY(var(--tilt-y, 0));
}
.real-tile-large[data-tilt] {
  transform: translateY(var(--parallax-y, 0)) rotate(-2.5deg) rotateX(var(--tilt-x, 0)) rotateY(var(--tilt-y, 0));
}
.real-tile-side[data-tilt] {
  transform: translateY(var(--parallax-y, 0)) rotate(4.5deg) rotateX(var(--tilt-x, 0)) rotateY(var(--tilt-y, 0));
}

/* ============================================================
   PREMIUM ZOOM-ON-HOVER  (spotlight pattern)
   ============================================================ */

/* Faster, smoother springy easing on every tile transform */
.real-tile, .real-tile img, .marquee .real-tile-small {
  transition:
    transform 560ms cubic-bezier(0.2, 0.85, 0.3, 1.05),
    box-shadow 520ms ease,
    opacity 380ms ease,
    filter 380ms ease;
}

/* ----- Hero stage spotlight ----- */
.hero-stage:has(.real-tile:hover) .real-tile {
  opacity: 0.4;
  filter: saturate(0.78) brightness(0.92);
}
.hero-stage:has(.real-tile:hover) .real-tile:hover {
  opacity: 1;
  filter: saturate(1.1) brightness(1.04);
}
.real-tile-hero:hover {
  transform: translateY(-10px) scale(1.07);
  z-index: 10;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 60px 140px -24px rgba(47, 157, 255, 0.5),
    0 28px 64px rgba(0, 0, 0, 0.55);
}
/* Stack tiles pop out, un-rotate, slide back toward center */
.real-tile-right[data-tilt]:hover,
.real-tile-right:hover {
  transform: translateX(8%) translateY(var(--parallax-y, 0)) rotate(0deg) scale(1.28);
  opacity: 1 !important;
  z-index: 12;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 60px 140px -20px rgba(77, 227, 255, 0.55),
    0 28px 64px rgba(0, 0, 0, 0.6);
}
.real-tile-left[data-tilt]:hover,
.real-tile-left:hover {
  transform: translateX(-8%) translateY(var(--parallax-y, 0)) rotate(0deg) scale(1.28);
  opacity: 1 !important;
  z-index: 12;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 60px 140px -20px rgba(77, 227, 255, 0.55),
    0 28px 64px rgba(0, 0, 0, 0.6);
}

/* ----- Section stage (coach / nutrition) spotlight ----- */
.real-stage:has(.real-tile:hover) .real-tile {
  opacity: 0.45;
  filter: saturate(0.8) brightness(0.94);
}
.real-stage:has(.real-tile:hover) .real-tile:hover {
  opacity: 1;
  filter: saturate(1.08) brightness(1.04);
}
.real-tile-large[data-tilt]:hover,
.real-tile-large:hover {
  transform: translateY(var(--parallax-y, 0)) rotate(0deg) scale(1.15);
  z-index: 5;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 60px 140px -24px rgba(157, 130, 255, 0.5),
    0 28px 64px rgba(0, 0, 0, 0.55);
}
.real-tile-side[data-tilt]:hover,
.real-tile-side:hover {
  transform: translateY(var(--parallax-y, 0)) rotate(0deg) scale(1.2);
  z-index: 6;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 60px 140px -24px rgba(126, 242, 188, 0.5),
    0 28px 64px rgba(0, 0, 0, 0.55);
}

/* ----- Progress pair spotlight ----- */
.progress-pair:has(.real-tile:hover) .real-tile {
  opacity: 0.45;
  filter: saturate(0.8) brightness(0.93);
}
.progress-pair:has(.real-tile:hover) .real-tile:hover {
  opacity: 1;
  filter: saturate(1.1) brightness(1.05);
}
.progress-pair .real-tile[data-tilt]:hover,
.progress-pair .real-tile:hover {
  transform: scale(1.18) rotate(0deg) !important;
  z-index: 7;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 60px 140px -20px rgba(47, 157, 255, 0.5),
    0 28px 64px rgba(0, 0, 0, 0.55);
}

/* ----- Marquee — most dramatic, classic "spotlight" feel ----- */
.marquee { padding-top: 120px; padding-bottom: 140px; }
.marquee-track { will-change: transform; }
.marquee:has(.real-tile-small:hover) .real-tile-small {
  opacity: 0.45;
  filter: saturate(0.78) brightness(0.92);
}
.real-tile-small:hover {
  transform: scale(1.5) rotate(0deg) !important;
  opacity: 1 !important;
  filter: saturate(1.12) brightness(1.06) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 50px 130px -16px rgba(47, 157, 255, 0.65),
    0 24px 60px rgba(0, 0, 0, 0.65);
}

/* Reduce blur cost on touch / no-hover devices */
@media (hover: none) {
  .hero-stage:has(.real-tile:hover) .real-tile,
  .real-stage:has(.real-tile:hover) .real-tile,
  .progress-pair:has(.real-tile:hover) .real-tile,
  .marquee:has(.real-tile-small:hover) .real-tile-small {
    opacity: 1;
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .real-tile-hero:hover,
  .real-tile-right:hover, .real-tile-left:hover,
  .real-tile-large:hover, .real-tile-side:hover,
  .progress-pair .real-tile:hover,
  .real-tile-small:hover {
    transform: none !important;
  }
}

/* Hero dots removed — vertical stack on mobile shows all tiles natively */
.hero-dots { display: none !important; }

/* ============================================================
   FEATURE GRID — compact 2x2 on mobile
   ============================================================ */
@media (max-width: 760px) {
  /* Override the earlier 1-column rule */
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px;
  }
  .feature-card {
    padding: 16px 14px;
    border-radius: 18px;
    min-height: 0;
  }
  .feature-card .icon-shell {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  .feature-card .icon-shell svg { width: 20px; height: 20px; }
  .feature-card h3 {
    font-size: 0.98rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }
  .feature-card p {
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--muted);
  }
  /* The fifth "wearable" card spans both columns to give it room */
  .feature-card-wide { grid-column: span 2; }
}
@media (max-width: 420px) {
  .feature-grid { gap: 10px; }
  .feature-card { padding: 14px 12px; border-radius: 16px; }
  .feature-card h3 { font-size: 0.92rem; }
  .feature-card p { font-size: 0.78rem; }
}

/* ============================================================
   DASHBOARD GRID — compact 2x2 on mobile
   ============================================================ */
@media (max-width: 760px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }
  .stat-card {
    padding: 16px 14px;
    border-radius: 18px;
    min-height: 0;
  }
  .stat-card span {
    font-size: 0.7rem;
    letter-spacing: 0.6px;
  }
  .stat-card strong {
    font-size: 1.7rem;
    line-height: 1.1;
  }
  .stat-card small {
    font-size: 0.72rem;
    line-height: 1.35;
  }
  .stat-card .sparkline { margin-top: 8px; height: 22px; }
}

/* PROCESS — keep single-col but tighten */
@media (max-width: 760px) {
  .process-grid { gap: 14px; }
  .process-step {
    padding: 18px 16px;
    border-radius: 18px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
  }
  .process-step .step-number {
    font-size: 1.8rem;
    line-height: 1;
    grid-row: span 2;
  }
  .process-step h3 {
    font-size: 1rem;
    margin: 0;
    align-self: end;
  }
  .process-step p {
    font-size: 0.85rem;
    margin: 4px 0 0;
    grid-column: 2;
  }
}

/* ============================================================
   LIGHTBOX — tap-to-zoom preview for screenshot tiles
   ============================================================ */
.real-tile {
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
/* Zoom affordance — small icon in the corner so users know tiles open */
.real-tile::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 9V4h5'/><path d='M20 9V4h-5'/><path d='M4 15v5h5'/><path d='M20 15v5h-5'/></svg>") center / 16px no-repeat,
    rgba(11, 26, 51, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 280ms ease, transform 280ms cubic-bezier(0.2, 0.85, 0.3, 1.05);
  z-index: 4;
  pointer-events: none;
}
.real-tile:hover::before,
.real-tile:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}
/* Touch devices: keep the icon visible at low opacity since hover doesn't fire */
@media (hover: none) {
  .real-tile::before {
    opacity: 0.85;
    transform: scale(1);
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 10, 22, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}
.lightbox[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}
.lightbox[hidden] { display: none; }

.lightbox-stage {
  position: relative;
  max-width: min(440px, 92vw);
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.85);
  transition: transform 320ms cubic-bezier(0.2, 0.85, 0.3, 1.05);
  filter: drop-shadow(0 50px 100px rgba(0, 0, 0, 0.6));
}
.lightbox[data-open="true"] .lightbox-stage {
  transform: scale(1);
}
.lightbox-stage img {
  width: 100%;
  height: auto;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 28px;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 200ms ease, transform 200ms ease;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.05);
}
.lightbox-close:focus-visible {
  outline: 2px solid var(--azure);
  outline-offset: 3px;
}

/* Disable zoom-in cursor when reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox-stage { transition: none; }
}

/* Lock body scroll when lightbox open */
body.lightbox-open {
  overflow: hidden;
}

/* ============================================================
   PREMIUM POLISH V2
   ============================================================ */

/* ----- 1. Hero overlays (replace post-it chips) ----- */
.hero-overlay {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 22px 56px -16px rgba(11, 26, 51, 0.32),
    0 8px 18px rgba(11, 26, 51, 0.16),
    0 0 0 1px rgba(47, 92, 168, 0.08) inset;
  color: #0a1628;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: chipFloat 7s ease-in-out infinite;
}
.overlay-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4de3ff, #2f9dff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 16px -6px rgba(47, 157, 255, 0.55);
}
.overlay-badge svg { width: 18px; height: 18px; }
.overlay-badge.badge-mint {
  background: linear-gradient(135deg, #7ef2bc, #16c787);
  box-shadow: 0 8px 16px -6px rgba(22, 199, 135, 0.55);
}
.overlay-body { line-height: 1.2; }
.overlay-label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #6b7a90;
  font-weight: 600;
  margin-bottom: 2px;
}
.overlay-body strong {
  font-size: 15px;
  font-weight: 700;
  color: #0a1628;
}
.overlay-body strong em {
  font-style: normal;
  font-weight: 600;
  font-size: 12.5px;
  color: #16c787;
  margin-left: 4px;
}
.overlay-record .overlay-body strong em { color: #2f9dff; }
.overlay-recovery {
  top: 14%;
  left: 4%;
  animation-delay: -1s;
}
.overlay-record {
  bottom: 18%;
  right: 4%;
  animation-delay: -3.5s;
}

@media (max-width: 860px) {
  .hero-overlay { display: none; }
}

/* ----- 2. Sparkline SVG ----- */
.sparkline-svg {
  display: block;
  width: 100%;
  height: 32px;
  margin-top: 12px;
  overflow: visible;
}
.stat-card:hover .sparkline-svg circle {
  animation: sparkPulse 1.4s ease-in-out infinite;
}
@keyframes sparkPulse {
  0%, 100% { r: 2.6; opacity: 1; }
  50% { r: 4; opacity: 0.7; }
}

/* ----- 3. Sticky condensed header ----- */
.site-header {
  transition: padding 320ms ease, background 320ms ease, box-shadow 320ms ease, backdrop-filter 320ms ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow:
    0 1px 0 rgba(47, 92, 168, 0.08),
    0 14px 36px -14px rgba(11, 26, 51, 0.18);
}
.site-header.is-scrolled .nav { padding-top: 8px; padding-bottom: 8px; }
.site-header.is-scrolled .brand-logo { width: 32px; height: 32px; }
.site-header.is-scrolled .brand-name { font-size: 0.95rem; }

/* ----- 4. Mobile sticky bottom CTA ----- */
.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9000;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  box-shadow:
    0 22px 56px -16px rgba(11, 26, 51, 0.32),
    0 8px 18px rgba(11, 26, 51, 0.16),
    0 0 0 1px rgba(47, 92, 168, 0.08) inset;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 420ms cubic-bezier(0.2, 0.85, 0.3, 1.05), opacity 320ms ease;
  pointer-events: none;
}
.mobile-cta[hidden] { display: none; }
.mobile-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-cta-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 10px;
}
.mobile-cta-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}
.mobile-cta-copy {
  flex: 1 1 auto;
  line-height: 1.2;
  min-width: 0;
}
.mobile-cta-copy strong {
  display: block;
  color: #0a1628;
  font-size: 14px;
  font-weight: 700;
}
.mobile-cta-copy span {
  display: block;
  font-size: 11.5px;
  color: #5b6b80;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4de3ff, #2f9dff);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.1px;
  text-decoration: none;
  box-shadow: 0 12px 24px -10px rgba(47, 157, 255, 0.6);
  transition: transform 200ms ease;
}
.mobile-cta-btn:active { transform: scale(0.97); }

/* Show only on mobile */
@media (min-width: 861px) {
  .mobile-cta { display: none !important; }
}

/* Push the lightbox above the sticky CTA */
.lightbox { z-index: 9999; }

/* When lightbox is open, hide the sticky CTA */
body.lightbox-open .mobile-cta { opacity: 0; transform: translateY(140%); }

/* ----- 5. Reduce-motion friendly ----- */
@media (prefers-reduced-motion: reduce) {
  .hero-overlay, .mobile-cta, .site-header { transition: none !important; }
  .sparkline-svg circle { animation: none !important; }
}
