:root {
  --navy: #0b1218;
  --navy-2: #101820;
  --cream: #f3efe6;
  --muted: rgba(243, 239, 230, 0.62);
  --line: rgba(243, 239, 230, 0.12);
  --teal: #8fb8a7;
  --indigo: #7c7eb8;
  --plum: #8a7398;
  --serif: "Gloock", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --page: min(1360px, calc(100% - 48px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--navy);
  color: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.page { width: var(--page); margin-inline: auto; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip:focus {
  width: auto; height: auto; clip: auto; left: 12px; top: 12px; z-index: 80;
  background: #fff; color: #111; padding: 8px 12px;
}
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.kicker {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.lede { margin-top: 14px; color: var(--muted); max-width: 28rem; font-size: 1.05rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 20px; border-radius: 999px; border: 0;
  background: var(--cream); color: var(--navy);
  font-weight: 600; font-size: 0.92rem; cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: wait; transform: none; }
.btn-ghost {
  background: transparent; color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(243,239,230,0.3);
}

.device {
  border-radius: 32px;
  overflow: hidden;
  background: #070b10;
  aspect-ratio: 968 / 2156;
  height: auto;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 28px 60px rgba(0,0,0,0.38);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.device:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14), 0 36px 70px rgba(0,0,0,0.46);
}
.device img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.35s var(--ease);
}
.device img.is-swap { opacity: 0; }
.device-lg { width: min(300px, 82vw); }
.device-md { width: min(280px, 76vw); }

.nav {
  position: fixed; inset: 0 0 auto; z-index: 40;
  height: 72px; display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav.is-on {
  background: rgba(11,18,24,0.9);
  border-bottom-color: var(--line);
}
.nav .page { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { font-family: var(--serif); font-size: 1.35rem; letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 20px; font-size: 0.9rem; color: var(--muted); }
.nav-links a:hover, .nav-links a.is-here { color: var(--cream); }
.nav-cta-mobile { display: none; }
.menu-btn { display: none; background: none; border: 0; color: var(--cream); cursor: pointer; min-height: 44px; }

section { scroll-margin-top: 88px; }
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero-stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #070b10; }
.hero-stage img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero-stage.is-spline img,
.hero-stage.is-void img { opacity: 0; }
.hero-stage spline-viewer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: center center;
}
.hero-stage.is-spline spline-viewer {
  transform: none;
}
.hero-stage.is-spline::before,
.hero-stage.is-spline::after { display: none; }
.spline-logo-blend {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 260px;
  height: 110px;
  z-index: 8;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 90% at 88% 82%, #070b10 0%, #070b10 42%, rgba(7, 11, 16, 0.88) 62%, transparent 78%),
    linear-gradient(to top left, #070b10 0%, #070b10 38%, rgba(7, 11, 16, 0.7) 58%, transparent 80%);
}
.hero-void {
  position: absolute; inset: -10%;
  will-change: transform;
}
.hero-cube {
  position: absolute;
  border: 1px solid rgba(243, 239, 230, 0.2);
  background: rgba(143, 184, 167, 0.04);
}
.hero-cube.is-solid {
  background: rgba(16, 24, 32, 0.72);
  box-shadow: 0 0 0 1px rgba(143, 184, 167, 0.16);
}
.hero-mote {
  position: absolute;
  border-radius: 50%;
  background: rgba(143, 184, 167, 0.5);
}
.hero-mote.is-cream { background: rgba(243, 239, 230, 0.28); }
.hero-stage::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-stage::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,18,24,0.72) 0%, rgba(11,18,24,0.22) 52%, rgba(11,18,24,0.1) 100%),
    linear-gradient(180deg, rgba(11,18,24,0.16), rgba(11,18,24,0.58));
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  pointer-events: auto;
}
.hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(4.4rem, 9vw, 6.9rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.92;
}
.hero-tags {
  margin: 18px 0 0;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-tags span {
  display: inline-block;
  width: 4px; height: 4px;
  margin: 0 10px 3px;
  border-radius: 50%;
  background: var(--teal);
  vertical-align: middle;
}
.hero-copy .sub {
  margin: 18px 0 28px;
  font-size: 1.2rem;
  color: var(--muted);
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.system {
  background: var(--navy-2);
  padding: 56px 0;
  min-height: 0;
}
.system-compact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
  min-height: 0;
}
.sys-tabs { margin-top: 28px; display: grid; gap: 0; }
.sys-tabs button {
  text-align: left;
  background: none; border: 0; border-top: 1px solid var(--line);
  padding: 16px 0; cursor: pointer; color: inherit;
}
.sys-tabs button:last-child { border-bottom: 1px solid var(--line); }
.sys-tabs button[aria-selected="false"] { opacity: 0.4; }
.sys-tabs button:hover { opacity: 1; }
.sys-tabs strong { display: block; font-family: var(--sans); font-size: 1.15rem; font-weight: 600; }
.sys-tabs span { color: var(--muted); font-size: 0.95rem; }

.health { background: #0b1518; padding: 72px 0 0; }
.health-product {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.health-panel { padding: 0; }
.health-panel .rail { margin-top: 28px; }
.health-film-modest {
  position: relative;
  margin-top: 28px;
  max-width: 420px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.health-film-modest img,
.health-film-modest video { width: 100%; height: 100%; object-fit: cover; object-position: 38% 32%; }
.rail {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.rail button {
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  color: var(--muted); font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}
.rail button:hover { color: var(--cream); }
.rail button.is-on { color: var(--cream); box-shadow: inset 0 -2px 0 var(--teal); }
.rail-copy { margin-top: 14px; color: var(--muted); max-width: 40rem; }
.cycle-note {
  padding: 36px 0 56px;
  max-width: none;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.cycle-note h3 { font-family: var(--sans); font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.cycle-note p { color: var(--muted); }

.food {
  background: #14110d;
  padding: 72px 0;
}
.food-head {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}
.food-still { position: relative; border-radius: 20px; overflow: hidden; min-height: 280px; }
.food-still img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.food-stage { display: grid; gap: 8px; justify-items: center; }
.food-stage .rail,
.food-stage .rail-copy { justify-self: start; width: 100%; }
.food-device { margin-top: 28px; }

.gym {
  position: relative;
  min-height: 0;
  display: flex; align-items: center;
  background: #0a0c14;
}
.gym-bleed { position: absolute; inset: 0; overflow: hidden; }
.gym-bleed img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.gym-bleed::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,12,20,0.82) 0%, rgba(10,12,20,0.2) 58%, rgba(10,12,20,0.45) 100%);
}
.gym-stage {
  position: relative; z-index: 1;
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 40px;
  padding: 88px 0;
}
.gym-copy { max-width: 32rem; }
.gym-copy .rail { border-bottom-color: rgba(243,239,230,0.18); }

.mara {
  background: #120f16;
  padding: 80px 0;
}
.mara-spread {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.mara-film-modest {
  position: relative;
  margin: 22px 0 20px;
  max-width: 420px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.mara-film-modest img,
.mara-film-modest video { width: 100%; height: 100%; object-fit: cover; object-position: 40% 36%; }
.mara-demo h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; }
.ask { font-family: var(--sans); font-size: 1.12rem; font-weight: 500; margin-bottom: 14px; line-height: 1.45; }
.tones { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tones button {
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
}
.tones button[aria-selected="true"] { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.answer { color: var(--muted); min-height: 4.2rem; max-width: 36rem; }

.explore { background: var(--navy-2); padding: 72px 0; }
.exp-domains {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin: 28px 0 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.exp-domains button, .exp-subs button {
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  color: var(--muted); font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}
.exp-domains button:hover, .exp-subs button:hover { color: var(--cream); }
.exp-domains button.is-on, .exp-subs button.is-on {
  color: var(--cream); box-shadow: inset 0 -2px 0 var(--teal);
}
.exp-subs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px; }
.exp-device { display: block; margin: 28px auto 0; }
.ctx { list-style: none; margin: 20px 0; display: grid; gap: 8px; }
.ctx li { color: var(--muted); }
.ctx strong { color: var(--cream); margin-right: 8px; font-family: var(--sans); font-weight: 600; }

.coming {
  padding: 56px 0 64px;
  background: var(--navy-2);
  border-top: 1px solid var(--line);
}
.coming-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px 48px;
  align-items: end;
}
.coming h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.coming .lede { margin: 12px 0 0; max-width: 40rem; }
.faq { padding: 72px 0; background: var(--navy); }
.faq-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}
.faq-grid h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.faq-grid p { color: var(--muted); }
.faq-grid a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

.trust { padding: 72px 0; background: var(--navy); }
.trust-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.trust-grid h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.trust-grid p { color: var(--muted); }

.finale-product {
  background: #0b1218;
  min-height: 0;
  padding: 88px 0;
}
.finale-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.finale-copy { position: relative; z-index: 1; padding: 0; text-align: left; }
.finale h2 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); }
.finale .lede { margin: 14px 0 26px; }
.waitlist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 440px;
}
.waitlist input[type="email"] {
  flex: 1 1 180px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(243, 239, 230, 0.06);
  color: var(--cream);
  font: inherit;
  outline: none;
}
.waitlist input[type="email"]::placeholder { color: var(--muted); }
.waitlist input[type="email"]:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(143, 184, 167, 0.18);
}
.form-note { margin-top: 12px; font-size: 0.82rem; color: var(--muted); }
.form-success { margin-top: 16px; color: var(--teal); font-weight: 600; }
.form-error { margin-top: 12px; font-size: 0.82rem; color: #e8b4b4; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.contact-page { padding: 140px 0 80px; }
.contact-page h1 { font-family: var(--serif); font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.contact-page .lede { margin: 14px 0 28px; max-width: 36rem; color: var(--muted); }
.contact-page .lede a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.contact-form {
  display: grid;
  gap: 12px;
  max-width: 480px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(243, 239, 230, 0.06);
  color: var(--cream);
  font: inherit;
  outline: none;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(143, 184, 167, 0.18);
}
.contact-form .btn { justify-self: start; min-height: 46px; padding: 0 22px; }

footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.85rem;
}
.foot { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.foot nav { display: flex; gap: 20px; }
.foot a:hover { color: var(--cream); }

dialog {
  border: 0; padding: 24px;
  background: #0b1218; color: var(--cream);
  max-width: min(420px, 92vw);
}
dialog::backdrop { background: rgba(0,0,0,0.72); }
.lightbox-close {
  background: none; border: 0; color: var(--cream); cursor: pointer;
  margin-bottom: 12px; min-height: 44px;
}
dialog img { width: 100%; border-radius: 18px; }

@media (max-width: 1100px) {
  .system-compact, .health-product, .food-head, .mara-spread, .trust-grid, .finale-grid, .cycle-note, .coming-row, .faq-grid {
    grid-template-columns: 1fr;
  }
  .health-panel { padding: 0; }
  .system-compact { max-height: none; }
  .gym-stage { flex-direction: column; align-items: flex-start; }
  .hero-copy { max-width: none; }
}

@media (max-width: 900px) {
  :root { --page: calc(100% - 32px); }
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(11,18,24,0.96); padding: 16px 24px 24px;
  }
  .menu-btn { display: block; }
  .nav .btn { display: none; }
  .nav-cta-mobile { display: inline-flex; color: var(--cream); font-weight: 600; }
  .hero { min-height: 100svh; padding: 120px 0 48px; display: flex; overflow: hidden; }
  .hero-copy h1 { font-size: clamp(3.4rem, 14vw, 4.8rem); }
  .hero-stage { min-height: 100%; }
  .device-lg, .device-md { width: min(280px, 84vw); }
}

@media (max-width: 640px) {
  .trust-grid { gap: 22px; }
  .rail, .exp-domains, .exp-subs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .rail::-webkit-scrollbar, .exp-domains::-webkit-scrollbar, .exp-subs::-webkit-scrollbar { display: none; }
}

.film { overflow: hidden; }
.film > img {
  animation: ken 22s var(--ease) infinite alternate;
  will-change: transform;
}
.film video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.food-still video { object-position: 55% 42%; }
.gym-bleed video { object-position: 58% 48%; }
@media (max-width: 720px) {
  .food-still video { object-position: 52% 40%; }
  .gym-bleed video { object-position: 62% 55%; }
}
.film video:not([src]) { display: none; }
.film.is-playing video { opacity: 1; }
.film.is-playing > img { opacity: 0; transition: opacity 0.45s var(--ease); }
@keyframes ken {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.4%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .device, .device img, .rail button, .exp-domains button, .exp-subs button { transition: none; }
  .device:hover { transform: none; }
  .film > img { animation: none; }
  .hero-cube, .hero-mote { animation: none; }
}
