:root {
  --bg: #070b0a;
  --bg-2: #101614;
  --green: #1dff9a;
  --green-ink: #04140c;
  --text: #ffffff;
  --muted: #b7c2bc;
  --line: rgba(255, 255, 255, 0.14);
  --paper: #f3f5f3;
  --ink: #121816;
  --ink-muted: #5c6761;
  --nav: 4.25rem;
  --wrap: 1180px;
  --font: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

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

p,
h1,
h2,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--green);
  color: var(--green-ink);
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--green);
  color: var(--green-ink);
  padding: 0.6rem 0.9rem;
  z-index: 80;
}

.skip:focus {
  top: 1rem;
}

.mark {
  font-weight: 500;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.mark .dot,
.mark .fit {
  color: var(--green);
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.block {
  padding: clamp(5.5rem, 13vw, 9.5rem) 0;
}

section[id] {
  scroll-margin-top: var(--nav);
}

h1,
h2,
.brandline {
  font-weight: 500;
  letter-spacing: -0.046em;
  line-height: 0.96;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.3rem, 8vw, 6.6rem);
  max-width: 8.4ch;
}

h2 {
  font-size: clamp(2.5rem, 5.6vw, 4.75rem);
  max-width: 12ch;
}

.lede,
.support {
  color: var(--muted);
  max-width: 34ch;
  font-size: 1.05rem;
}

.brandline {
  margin-top: 1.4rem;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  max-width: 16ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn,
.btn-ghost {
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  line-height: 1;
}

.btn {
  background: var(--green);
  color: var(--green-ink);
  font-weight: 500;
}

.btn:hover {
  background: #49ffa3;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav);
  padding: 0.75rem 1.25rem;
}

.nav.is-scrolled {
  background: rgba(7, 11, 10, 0.72);
  backdrop-filter: blur(18px);
}

.nav-links {
  display: flex;
  gap: 1.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: white;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.text-btn {
  background: none;
  border: 0;
  color: var(--muted);
  padding: 0.7rem 0.8rem;
}

.text-btn:hover {
  color: white;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.7rem 0.2rem 0.7rem 0.7rem;
}

.menu-only {
  display: none;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--nav) + 1.5rem) 0 2.5rem;
  overflow: hidden;
}

.hero-land {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 72% 42%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 10, 0.62) 0%, rgba(7, 11, 10, 0.08) 28%, rgba(7, 11, 10, 0.12) 46%, rgba(7, 11, 10, 0.88) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: end;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.35rem);
}

.hero-copy .lede {
  margin-top: 1.25rem;
}

.hud {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.hud-lines,
.hub {
  display: none;
}

.pane {
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 0.8rem 0.75rem;
  border-radius: 0.9rem;
  background: rgba(5, 14, 12, 0.62);
  border: 1px solid rgba(29, 255, 154, 0.55);
  box-shadow: 0 0 22px rgba(29, 255, 154, 0.16);
  backdrop-filter: blur(12px);
}

.pane span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
}

.pane strong {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--green);
}

.pane em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
}

.pane:hover {
  border-color: var(--green);
  background: rgba(5, 14, 12, 0.78);
}

.phone {
  width: min(250px, 70vw);
  aspect-ratio: 9 / 19;
  background: #0c1210;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2rem;
  padding: 0.55rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.screen {
  height: 100%;
  border-radius: 1.5rem;
  background: linear-gradient(180deg, #141c19, #0d1210);
  padding: 1.35rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow: hidden;
}

.hello,
.kicker,
.dim {
  color: var(--muted);
  font-size: 0.82rem;
}

.screen strong,
.workout-name {
  display: block;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.rows {
  margin-top: auto;
  display: grid;
  gap: 0.35rem;
}

.rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.92rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}

.rows span {
  color: var(--muted);
}

.rows b {
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.session-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.mins {
  color: var(--green);
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
}

.pill {
  display: block;
  text-align: center;
  background: var(--green);
  color: var(--green-ink);
  border-radius: 999px;
  padding: 0.7rem 0.8rem;
  font-weight: 500;
  font-size: 0.92rem;
}

.supps-visual {
  position: relative;
}

.supps-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.supps-visual .phone {
  width: min(270px, 78%);
  margin: 1.25rem auto 0;
}

.paper {
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
}

.paper .lede,
.paper .support,
.paper .dim {
  color: var(--ink-muted);
}

.center-copy {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.25rem;
}

.center-copy h2,
.center-copy .support {
  max-width: 14ch;
}

.center-copy .support {
  max-width: 34ch;
}

.evolve {
  margin: clamp(3rem, 8vw, 5.5rem) auto 0;
  min-height: 16rem;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.8rem;
}

.evolve .kicker {
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.evolve-line {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-weight: 500;
  max-width: 16ch;
}

.path-bit {
  width: 4.5rem;
  height: 2px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(29, 255, 154, 0.8);
  transform-origin: left center;
}

.paper .path-bit {
  box-shadow: none;
}

.close-line {
  margin-top: clamp(3rem, 8vw, 5rem);
  text-align: center;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  letter-spacing: -0.03em;
}

.split {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.today .phone,
.training .phone,
.supps .phone,
.track .phone {
  justify-self: center;
}

.ex {
  display: grid;
  margin-top: 0.4rem;
}

.ex li {
  display: grid;
  grid-template-columns: 1.6rem 1fr auto;
  align-items: start;
  gap: 0.65rem;
  padding: 0.72rem 0;
  border-top: 1px solid var(--line);
}

.ex .idx {
  color: var(--green);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.screen .ex strong {
  display: block;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ex .dose {
  color: white;
  font-size: 0.78rem;
  letter-spacing: 0;
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  background: rgba(29, 255, 154, 0.12);
  white-space: nowrap;
}

.exchange {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.prompt,
.reply {
  margin: 0;
}

.prompt {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.03em;
}

.who {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.reply {
  color: var(--green);
  font-size: 1.15rem;
  max-width: 34ch;
}

.js .reply {
  opacity: 0;
  transform: translateY(8px);
}

.js .is-adapted .reply {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.food-layout {
  display: grid;
  gap: 1.5rem;
}

.meal-wrap {
  position: relative;
}

.meal-wrap img {
  display: block;
  width: 100%;
  border-radius: 1.25rem;
}

.box {
  position: absolute;
  width: 22%;
  height: 18%;
  border: 1px solid rgba(29, 255, 154, 0.9);
  box-shadow: 0 0 0 1px rgba(29, 255, 154, 0.15), 0 0 18px rgba(29, 255, 154, 0.25);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.4rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.box-avo { left: 24%; top: 20%; }
.box-rice { left: 58%; top: 16%; }
.box-veg { left: 16%; top: 48%; }
.box-fish { left: 52%; top: 52%; width: 30%; height: 24%; }

.js .box {
  opacity: 0;
  transform: scale(0.96);
}

.js .is-scanned .box {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js .is-scanned .box-rice { transition-delay: 0.15s; }
.js .is-scanned .box-veg { transition-delay: 0.3s; }
.js .is-scanned .box-fish { transition-delay: 0.45s; }

.scan-result {
  display: grid;
  gap: 0.35rem;
}

.kcal {
  font-size: 2rem;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.macros {
  display: grid;
  gap: 0.2rem;
  margin: 0.4rem 0 0.6rem;
}

.scan-actions {
  display: flex;
  gap: 0.5rem;
}

.scan-actions button {
  flex: 1;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.7rem 0.7rem;
  white-space: nowrap;
}

.food .phone {
  aspect-ratio: auto;
  width: min(280px, 100%);
}

.food .screen {
  height: auto;
  min-height: 0;
}

.scan-actions .yes {
  background: var(--green);
  color: var(--green-ink);
  border-color: transparent;
}

.note {
  color: var(--muted);
  font-size: 0.85rem;
  min-height: 1.2em;
}

.js .scan-result {
  opacity: 0;
}

.js .is-read .scan-result {
  opacity: 1;
  transition: opacity 0.6s ease 0.35s;
}

.know {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.1rem;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.know span {
  color: var(--ink-muted);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  margin-top: 2rem;
  font-size: 1.15rem;
}

.link-row .path-bit {
  align-self: center;
}

.day-num {
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
  font-weight: 500;
}

.frames {
  position: relative;
  aspect-ratio: 3 / 4;
  height: min(58vh, 560px);
  width: auto;
  max-width: 100%;
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  background: #050807;
}

.frames img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  opacity: 0;
}

.lapse-layout {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  margin-top: 2.5rem;
}

.track-big {
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.045em;
  font-weight: 500;
  line-height: 1;
}

.track-big span {
  color: var(--green);
}

.spark {
  width: 100%;
  height: 3rem;
  color: var(--green);
  display: block;
}

.frames img.is-current {
  opacity: 1;
}

.slider-block {
  width: min(460px, 100%);
  margin: 1.25rem auto 0;
  padding: 0.35rem 0 0.5rem;
}

.slider-ends,
.quiet-metrics {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.month-name {
  text-align: center;
  margin: 0.35rem 0 0.6rem;
  letter-spacing: -0.03em;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--green) var(--p, 100%), #24302b var(--p, 100%));
  border-radius: 99px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  border: 5px solid var(--bg);
  box-shadow: 0 0 0 1px rgba(29, 255, 154, 0.5);
  cursor: pointer;
}

.quiet-metrics {
  max-width: 460px;
  margin: 1.5rem auto 0;
  letter-spacing: 0;
  font-size: 0.95rem;
}

.private {
  text-align: center;
  color: var(--muted);
  margin-top: 1.75rem;
  font-size: 0.95rem;
}

.trail-list {
  margin-top: 3rem;
  display: grid;
  gap: 1.6rem;
  position: relative;
  padding-left: 1.5rem;
}

.trail-list::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #d5dbd6;
  transform: scaleY(var(--trail, 1));
  transform-origin: top;
}

.paper .trail-list::before {
  background: var(--green);
}

.trail-list li {
  display: grid;
  gap: 0.15rem;
}

.trail-list strong {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.js .trail-list li {
  opacity: 0.25;
  transition: opacity 0.6s ease;
}

.js .trail-list li.is-in,
html.reduce .trail-list li {
  opacity: 1;
}

.supp-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.supp-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.1rem 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.supp-list strong {
  grid-column: 1;
  grid-row: 1;
}

.supp-list li > .dim {
  grid-column: 1;
  grid-row: 2;
}

.supp-list li > :last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
}

.supp-list button {
  border: 0;
  background: transparent;
  color: var(--green);
  padding: 0.4rem 0;
}

.taken {
  color: var(--green);
}

.recovery-list {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
  max-width: 28rem;
}

.recovery-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}

.recovery-list span {
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0;
  align-self: center;
}

.adjust-note {
  margin-top: 2rem;
  max-width: 28rem;
}

.adjust-note strong {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.thread {
  display: grid;
  gap: 0.85rem;
  max-width: 38rem;
}

.said {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.said.born {
  color: var(--ink);
}

.paper .who {
  color: var(--ink-muted);
}

.cal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.cal span {
  min-width: 4.5rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(18, 24, 22, 0.12);
  border-radius: 0.75rem;
  font-size: 0.85rem;
}

.cal .on {
  border-color: #0e8f52;
  color: #0b6e3f;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: 2rem;
}

.choices button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ink-muted);
  text-align: left;
}

.choices button[aria-pressed="true"] {
  color: var(--ink);
}

.system {
  text-align: center;
}

.system h2,
.system .close-line {
  margin-inline: auto;
}

.modules {
  margin-top: 1.5rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.orbit {
  position: relative;
  height: min(70vw, 36rem);
  max-width: 40rem;
  margin: 3rem auto 0;
}

.orbit svg {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
}

.orbit .core,
.sat {
  position: absolute;
  margin: 0;
}

.orbit .core {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  font-weight: 500;
}

.sat {
  color: var(--muted);
}

.s1 { left: 50%; top: 6%; transform: translateX(-50%); }
.s2 { right: 4%; top: 28%; }
.s3 { right: 4%; bottom: 22%; }
.s4 { left: 50%; bottom: 4%; transform: translateX(-50%); }
.s5 { left: 4%; bottom: 22%; }
.s6 { left: 4%; top: 28%; }

.js .sat,
.js .spokes line {
  opacity: 0.35;
}

.js .system.is-in .sat {
  animation: glow 1.3s ease forwards;
}

.js .system.is-in .spokes line {
  animation: glow 1.3s ease forwards;
}

.s1, .spokes line:nth-child(1) { animation-delay: 0.05s; }
.s2, .spokes line:nth-child(2) { animation-delay: 0.2s; }
.s3, .spokes line:nth-child(3) { animation-delay: 0.35s; }
.s4, .spokes line:nth-child(4) { animation-delay: 0.5s; }
.s5, .spokes line:nth-child(5) { animation-delay: 0.65s; }
.s6, .spokes line:nth-child(6) { animation-delay: 0.8s; }

.flow {
  max-width: 28rem;
  margin: 3rem auto 0;
  display: grid;
  gap: 0.85rem;
  text-align: left;
  color: var(--muted);
}

.flow b {
  color: white;
  font-weight: 500;
}

.when {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
  position: relative;
}

.when li {
  display: grid;
  gap: 0.25rem;
  padding-left: 1.25rem;
  position: relative;
}

.when li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  position: absolute;
  left: 0;
  top: 0.45rem;
  box-shadow: 0 0 10px rgba(29, 255, 154, 0.8);
}

.when span {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.runner {
  display: none;
}

.become {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 0;
  overflow: hidden;
}

.become img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.become-copy {
  position: relative;
  z-index: 1;
  padding: 28vh 8vw 12vh;
  display: grid;
  gap: 1.5rem;
  background: linear-gradient(180deg, rgba(7, 11, 10, 0) 0%, rgba(7, 11, 10, 0.2) 30%, rgba(7, 11, 10, 0.78) 100%);
  width: 100%;
}

.become h2 {
  max-width: 10ch;
}

.become .brandline {
  margin-top: 0.5rem;
}

.close {
  text-align: center;
  padding-bottom: clamp(6rem, 14vw, 10rem);
}

.close .mark {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.close h2 {
  margin-inline: auto;
}

.close .brandline {
  margin-inline: auto;
}

.close .support {
  margin: 1.5rem auto 0;
}

.glow {
  width: min(18rem, 60vw);
  height: 8rem;
  margin: 0 auto 1rem;
  background: radial-gradient(closest-side, rgba(29, 255, 154, 0.28), transparent);
  filter: blur(6px);
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

dialog {
  border: 0;
  padding: 0;
  background: var(--bg-2);
  color: white;
  width: min(28rem, calc(100% - 2rem));
  border-radius: 1.25rem;
}

dialog::backdrop {
  background: rgba(7, 11, 10, 0.72);
  backdrop-filter: blur(10px);
}

.gate-form,
.gate-done {
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
}

.gate-form[hidden],
.gate-done[hidden] {
  display: none;
}

.gate-form h2,
.gate-done h2 {
  font-size: 2.2rem;
  max-width: none;
}

label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}

input[type="email"] {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  border-radius: 0;
}

.gate-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 900px) {
  .nav {
    padding-inline: 1.75rem;
  }

  .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero {
    align-items: end;
    padding-bottom: 3.5rem;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 11, 10, 0.82) 0%, rgba(7, 11, 10, 0.5) 36%, rgba(7, 11, 10, 0.08) 62%),
      linear-gradient(180deg, rgba(7, 11, 10, 0.55) 0%, transparent 22%, transparent 68%, rgba(7, 11, 10, 0.4) 100%);
  }

  .hero-grid,
  .split,
  .food-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
  }

  .split,
  .food-layout {
    align-items: center;
  }

  .hero-grid {
    min-height: calc(100svh - var(--nav) - 6rem);
    grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
    column-gap: 2.75rem;
  }

  .hero-copy {
    align-self: end;
  }

  .hud {
    position: relative;
    display: block;
    height: min(540px, 68vh);
    min-height: 460px;
    align-self: center;
  }

  .hud-lines {
    display: block;
    position: absolute;
    inset: 8% 6%;
    width: 88%;
    height: 84%;
    overflow: visible;
  }

  .hud-lines line {
    stroke: rgba(29, 255, 154, 0.85);
    stroke-width: 0.6;
    filter: drop-shadow(0 0 2px rgba(29, 255, 154, 0.8));
  }

  .hub {
    display: grid;
    place-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4.4rem;
    height: 4.4rem;
    margin: -2.2rem 0 0 -2.2rem;
    border-radius: 50%;
    background: rgba(4, 20, 12, 0.72);
    border: 1px solid var(--green);
    box-shadow: 0 0 28px rgba(29, 255, 154, 0.45);
    color: var(--green);
    font-weight: 500;
    letter-spacing: 0.08em;
    font-size: 1.35rem;
  }

  .pane {
    position: absolute;
    width: 148px;
  }

  .p-train { left: 0; top: 0; }
  .p-food { right: 0; top: 4%; }
  .p-recover { left: 0; top: 37%; }
  .p-progress { right: 0; top: 39%; }
  .p-supps { left: 0; bottom: 0; }
  .p-habits { right: 0; bottom: 2%; }

  .supps .split {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
  }

  .supps-visual {
    display: grid;
    grid-template-columns: 1fr 250px;
    gap: 1.15rem;
    align-items: center;
  }

  .supps-visual img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
  }

  .supps-visual .phone {
    position: static;
    width: 250px;
    margin: 0;
  }

  .food-layout {
    grid-template-columns: 1.25fr 0.75fr;
  }

  .lapse-layout {
    grid-template-columns: 220px minmax(0, 420px);
    justify-content: center;
  }

  .today .phone,
  .training .phone {
    width: 320px;
    justify-self: end;
  }

  .when {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .when::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: #24302b;
  }

  .runner {
    display: block;
    position: absolute;
    top: -3px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px var(--green);
    offset-path: none;
  }

  .js .adapt.is-in .runner {
    animation: travel 2.6s ease forwards;
  }

  .when li {
    padding-left: 0;
    padding-top: 0.4rem;
  }

  .when li::before {
    top: -1.15rem;
  }

  .become {
    align-items: center;
  }

  .become-copy {
    background: linear-gradient(90deg, rgba(7, 11, 10, 0.78) 0%, rgba(7, 11, 10, 0.28) 46%, rgba(7, 11, 10, 0) 70%);
    padding: 0 0 0 7vw;
    min-height: 100svh;
    align-content: center;
  }

  .metrics .trail-list {
    max-width: 36rem;
    margin-left: 8vw;
  }
}

@media (max-width: 899px) {
  .nav-toggle {
    display: block;
  }

  .menu-only {
    display: block;
  }

  .brandline {
    max-width: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(7, 11, 10, 0.94);
    backdrop-filter: blur(16px);
    padding: 0.5rem 1.25rem 1.25rem;
    flex-direction: column;
    gap: 0.9rem;
    font-size: 1.35rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .text-btn {
    display: none;
  }

  .orbit {
    display: none;
  }

  .hero-land {
    object-position: 68% 22%;
  }

  .hero-shade {
    background: linear-gradient(
      180deg,
      rgba(7, 11, 10, 0.28) 0%,
      rgba(7, 11, 10, 0.02) 34%,
      rgba(7, 11, 10, 0.35) 58%,
      rgba(7, 11, 10, 0.9) 100%
    );
  }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes glow {
  0% { opacity: 0.2; }
  45% { opacity: 1; }
  100% { opacity: 0.8; }
}

@keyframes travel {
  from { left: 0; }
  to { left: calc(100% - 9px); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reply,
  .js .box,
  .js .scan-result,
  .js .sat,
  .js .spokes line,
  .js .trail-list li {
    opacity: 1;
    transform: none;
  }
}

.today-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.app-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.app-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(29, 255, 154, 0.35);
  background: rgba(29, 255, 154, 0.06);
}

.app-list b {
  display: block;
  font-weight: 500;
}

.app-list span {
  color: var(--muted);
  font-size: 0.85rem;
}

.app-list a:hover {
  border-color: var(--green);
}

.device {
  width: min(340px, 100%);
  margin-inline: auto;
  padding: 1rem 1rem 1.1rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, #16201c, #0c1210);
  border: 1px solid rgba(29, 255, 154, 0.4);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 36px rgba(29, 255, 154, 0.14);
}

.device-top,
.ring-row,
.day-plan li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.device-top {
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

.device .hello {
  color: white;
  font-size: 1.35rem;
}

.device-line {
  color: var(--muted);
  margin-bottom: 1rem;
}

.ring {
  width: 6.4rem;
  height: 6.4rem;
  border-radius: 50%;
  background: conic-gradient(var(--green) 75%, rgba(255, 255, 255, 0.12) 0);
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
  box-shadow: 0 0 18px rgba(29, 255, 154, 0.35);
}

.ring::before {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border-radius: 50%;
  background: #101816;
}

.ring strong,
.ring span {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
}

.ring strong {
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.ring span,
.ring-stats span,
.day-plan small {
  color: var(--muted);
  font-size: 0.72rem;
}

.ring-stats {
  display: grid;
  gap: 0.45rem;
  flex: 1;
}

.ring-stats li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line);
}

.device .kicker {
  margin: 1.1rem 0 0.55rem;
}

.day-plan {
  display: grid;
  gap: 0.55rem;
}

.day-plan li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}

.day-plan b {
  display: block;
  font-weight: 500;
}

.day-plan em {
  font-style: normal;
  color: var(--green);
  font-size: 0.85rem;
}

.swatch {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 0.2rem;
  flex: none;
  box-shadow: 0 0 8px currentColor;
}

.swatch-train { background: #3dff9a; color: #3dff9a; }
.swatch-food { background: #f0a35a; color: #f0a35a; }
.swatch-rest { background: #7d8cff; color: #7d8cff; }

.stories {
  padding: 0 0 clamp(4rem, 8vw, 6rem);
}

.story-grid {
  display: grid;
  gap: 0.75rem;
}

.story {
  position: relative;
  min-height: 34rem;
  border-radius: 1.15rem;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.story-copy {
  position: relative;
  z-index: 1;
  margin: 0.75rem;
  padding: 1rem;
  border-radius: 0.95rem;
  background: rgba(5, 12, 10, 0.72);
  border: 1px solid rgba(29, 255, 154, 0.28);
  backdrop-filter: blur(10px);
}

.story h2 {
  font-size: clamp(1.7rem, 2.2vw, 2.15rem);
  max-width: 11ch;
}

.story p {
  color: var(--muted);
  margin-top: 0.45rem;
}

.ticks {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.4rem;
}

.ticks li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.92rem;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.ticks a {
  color: var(--green);
}

.story-btn,
.story .choices button {
  margin-top: 0.9rem;
  background: none;
  border: 0;
  padding: 0;
  color: var(--green);
  text-align: left;
}

.story .said {
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: white;
}

.story .said.born {
  color: var(--green);
}

.story .cal {
  margin-top: 0.75rem;
}

.story .cal span {
  min-width: 0;
  color: white;
  border-color: rgba(255, 255, 255, 0.18);
}

.story .cal .on {
  color: var(--green);
  border-color: var(--green);
}

.story .choices {
  margin-top: 0.8rem;
  gap: 0.35rem 0.8rem;
}

.story .choices button[aria-pressed="true"] {
  color: white;
}

@media (min-width: 900px) {
  .today-layout {
    grid-template-columns: 0.95fr 0.8fr;
  }

  .story-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .story {
    min-height: 36rem;
  }
}
