/* VitaMAXX, Black Volt. One dark look, the app's own: near-black ground,
   Volt for the one thing to do, Ultraviolet for Maxx, neon capsule colors
   for the nutrients. Mona Sans for display and the wordmark (expanded,
   heavy, italic, as NPWordmark draws it); the system face for reading. */
:root {
  color-scheme: dark;
  --bg: #000000;
  --surface: #0A0A0A;
  --raised: #121212;
  --ink: #F7F9FF;
  --muted: #A3A3AD;
  --faint: #6E6E78;
  --volt: #CEFF00;
  --uv: #8A5CFF;
  --uv-ink: #B79CFF;
  --hairline: rgba(138, 92, 255, 0.22);
  --rule: rgba(247, 249, 255, 0.08);
  --font-display: "Mona Sans", -apple-system, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-body: -apple-system, "SF Pro Text", "Segoe UI", system-ui, Roboto, sans-serif;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--volt); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); text-wrap: balance; }
h2 { font-size: clamp(30px, 5vw, 46px); font-weight: 850; font-stretch: 112%; line-height: 1.05; letter-spacing: -0.015em; }
h3 { font-size: 19px; font-weight: 750; font-stretch: 105%; line-height: 1.25; }
p { margin: 0; }
em { font-style: normal; color: var(--volt); }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 8px; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 760px; }
.center { text-align: center; }
section { padding-block: clamp(64px, 10vw, 112px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--volt); color: #000; padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 9px; }
.wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-stretch: 125%;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--volt);
  line-height: 1;
}
.wordmark b { font-weight: 900; margin-left: 1px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 5;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--rule);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; cursor: pointer;
  font: 750 16px/1 var(--font-body);
  padding: 16px 24px; min-height: 52px; text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-volt { background: var(--volt); color: #000; box-shadow: 0 0 0 0 rgba(206, 255, 0, 0); }
.btn-volt:hover { box-shadow: 0 0 28px rgba(206, 255, 0, 0.35); }
.btn:active { transform: scale(0.97); }
.btn-small { min-height: 40px; padding: 10px 16px; font-size: 14px; }

/* Hero */
.hero {
  padding-block: clamp(40px, 8vw, 88px) clamp(48px, 8vw, 96px);
  background:
    radial-gradient(1200px 600px at 75% -10%, rgba(138, 92, 255, 0.55), transparent 60%),
    radial-gradient(700px 500px at 0% 0%, rgba(138, 92, 255, 0.25), transparent 60%),
    var(--bg);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.eyebrow { font-size: 13px; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; color: var(--volt); margin-bottom: 18px; }
.eyebrow-uv { color: var(--uv-ink); }
h1 {
  font-size: clamp(44px, 7.4vw, 84px);
  font-weight: 900;
  font-stretch: 118%;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.lede { margin-top: 22px; font-size: clamp(18px, 2.1vw, 20px); color: var(--muted); max-width: 34em; }

.signup { margin-top: 30px; max-width: 520px; }
.signup-center { margin-inline: auto; }
.signup-label { display: block; font-weight: 700; margin-bottom: 10px; }
.signup-row { display: flex; gap: 10px; }
.signup input {
  flex: 1 1 auto; min-width: 0;
  min-height: 52px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.06); color: var(--ink);
  font: 500 17px var(--font-body);
}
.signup input::placeholder { color: var(--faint); }
.signup input:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 3px rgba(206, 255, 0, 0.18); }
.signup-note { margin-top: 10px; font-size: 14px; color: var(--faint); min-height: 1.4em; }
.signup-note[data-state="ok"] { color: var(--volt); font-weight: 650; }
.signup-note[data-state="error"] { color: #FF8A8A; }
.signup button[disabled] { opacity: 0.6; cursor: progress; }

.hero-phone { position: relative; display: flex; justify-content: center; }
.glow { position: absolute; inset: 8% 6%; background: radial-gradient(closest-side, rgba(206, 255, 0, 0.22), transparent 70%); filter: blur(30px); }

/* Phones */
.phone {
  position: relative; margin: 0;
  width: min(330px, 78vw);
  border-radius: 48px;
  padding: 10px;
  background: linear-gradient(160deg, #2A2A30, #0D0D10 60%, #1E1E24);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(138, 92, 255, 0.25);
}
.phone img { border-radius: 39px; width: 100%; }
.phone-tilt { transform: rotate(-4deg); }
.phone-sm { width: 220px; border-radius: 34px; padding: 7px; flex: 0 0 auto; }
.phone-sm img { border-radius: 28px; }

/* Capsule strip */
.strip { padding-block: 40px 8px; }
.capsules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(15, minmax(0, 1fr)); gap: clamp(4px, 1vw, 12px); max-width: 860px; margin-inline: auto; }
.capsules li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.capsules i {
  position: relative; display: block; width: 100%; max-width: 34px; aspect-ratio: 1 / 2.6;
  border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.capsules i::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: calc(var(--f) * 100%);
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 70%, #000), var(--c) 40%, color-mix(in srgb, var(--c) 60%, #fff) 55%, var(--c) 70%);
  box-shadow: 0 0 18px var(--c);
  border-radius: 0 0 999px 999px;
}
.strip-caption { text-align: center; margin-top: 22px; color: var(--muted); font-size: 15px; }

/* How it works */
.how h2 { text-align: center; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.steps p { color: var(--muted); font-size: 16px; }
.step-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--volt); color: #000; font: 850 17px var(--font-display); }

/* Maxx */
.maxx { background: linear-gradient(180deg, transparent, rgba(138, 92, 255, 0.12) 40%, transparent); }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-phone { display: flex; justify-content: center; }
.split-copy { display: flex; flex-direction: column; gap: 18px; }
.split-copy > p { color: var(--muted); }
.asks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.asks li { background: var(--raised); border: 1px solid var(--hairline); border-radius: 20px 20px 20px 6px; padding: 12px 18px; font-weight: 600; }
.asks li::before { content: "“"; color: var(--uv-ink); }
.asks li::after { content: "”"; color: var(--uv-ink); }
.fine { font-size: 14px; color: var(--faint); }

/* Food first */
.food-first .narrow, .private .narrow { display: flex; flex-direction: column; gap: 18px; }
.food-first p, .private p { color: var(--muted); font-size: 19px; }
.food-first .fine { font-size: 14px; }

/* Features */
.features h2 { text-align: center; }
.grid { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid li { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.grid p { color: var(--muted); font-size: 16px; }

/* Gallery */
.gallery { padding-block: 24px 64px; }
.gallery-row { display: flex; gap: 22px; justify-content: center; overflow-x: auto; padding: 20px max(20px, env(safe-area-inset-left, 0px)) 30px; scroll-snap-type: x mandatory; }
.gallery-row .phone { scroll-snap-align: center; }

/* FAQ */
.faq .narrow { display: flex; flex-direction: column; gap: 10px; }
.faq h2 { margin-bottom: 18px; }
details { background: var(--surface); border: 1px solid var(--rule); border-radius: 18px; padding: 0 20px; }
summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; color: var(--volt); font: 700 24px var(--font-display); }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 18px; color: var(--muted); }

/* Join */
.join {
  background:
    radial-gradient(900px 500px at 50% 120%, rgba(138, 92, 255, 0.5), transparent 65%),
    var(--bg);
}
.join .narrow { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.join-icon { border-radius: 22px; box-shadow: 0 0 40px rgba(206, 255, 0, 0.25); }
.join p { color: var(--muted); }
.join .signup { width: 100%; }

/* Footer */
.footer { border-top: 1px solid var(--rule); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer nav a:hover { color: var(--ink); }
.copy { width: 100%; color: var(--faint); font-size: 13px; }

@media (max-width: 860px) {
  .hero-in, .split { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { text-align: left; }
  .split-phone { order: 2; }
  .steps, .grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-row { justify-content: flex-start; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .signup-row { flex-direction: column; }
  .signup .btn { width: 100%; }
  .capsules li { font-size: 9px; }
  /* The signup form is right under the nav; the wordmark keeps the room. */
  .nav .btn-small { display: none; }
  .wordmark { font-size: 19px; }
  .phone-tilt { transform: none; }
}
