:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-soft: #131313;
  --surface: #1c1b1b;
  --surface-2: #201f1f;
  --surface-3: #2a2a2a;
  --line: #353534;
  --line-strong: #3d4946;
  --text: #e5e2e1;
  --muted: #bcc9c4;
  --dim: #87938f;
  --primary: #6cd9c1;
  --primary-dark: #2ba28c;
  --secondary: #ffd79b;
  --tertiary: #a0caff;
  --danger: #ffb4ab;
  --ink: #00382e;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Lexend", Arial, sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

body.no-hero {
  background:
    linear-gradient(180deg, rgba(108, 217, 193, 0.08), rgba(10, 10, 10, 0) 360px),
    var(--bg);
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 42px);
  background: rgba(10, 10, 10, 0.72);
  border-bottom: 1px solid rgba(229, 226, 225, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text);
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(108, 217, 193, 0.42);
  border-radius: 50%;
  background: rgba(108, 217, 193, 0.13);
  color: var(--primary);
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav a,
.footer-links a,
.legal-nav a {
  transition: color 160ms ease, opacity 160ms ease;
}

.site-nav a:hover,
.footer-links a:hover,
.legal-nav a:hover {
  color: var(--primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(108, 217, 193, 0.48);
  border-radius: var(--radius);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 78svh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 116px clamp(20px, 5vw, 64px) 56px;
}

.hero-bg,
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 44% 44%;
  filter: saturate(0.82) contrast(1.06);
}

.hero::after {
  content: "";
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.94), rgba(10, 10, 10, 0.6) 46%, rgba(10, 10, 10, 0.18)),
    linear-gradient(0deg, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.08) 48%, rgba(10, 10, 10, 0.68));
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow,
.kicker,
.mini-label {
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 14px;
  font-size: clamp(3.6rem, 11vw, 8.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-line {
  margin-bottom: 14px;
  max-width: 760px;
  font-size: clamp(1.6rem, 4vw, 3.15rem);
  line-height: 1.06;
  font-weight: 800;
  color: #ffffff;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
}

.button.primary {
  background: var(--primary);
  color: var(--ink);
}

.button.secondary {
  border-color: rgba(229, 226, 225, 0.22);
  background: rgba(10, 10, 10, 0.42);
  color: var(--text);
}

.button.subtle {
  border-color: rgba(108, 217, 193, 0.36);
  color: var(--primary);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-row span {
  padding: 8px 10px;
  border: 1px solid rgba(229, 226, 225, 0.12);
  border-radius: var(--radius);
  background: rgba(10, 10, 10, 0.44);
  color: var(--muted);
  font-size: 0.86rem;
}

.metric-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.metrics {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.metric {
  min-height: 112px;
  padding: 22px;
  background: var(--bg-soft);
}

.metric strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: clamp(70px, 10vw, 128px) clamp(20px, 5vw, 64px);
  border-bottom: 1px solid rgba(229, 226, 225, 0.08);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section h2 {
  font-size: clamp(2rem, 5vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 0;
}

.section-lead {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

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

.feature-card,
.legal-card,
.support-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-card h3,
.support-card h3,
.legal-card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.feature-card p,
.support-card p,
.legal-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.accent-top {
  border-top: 3px solid var(--primary);
}

.accent-amber {
  border-top: 3px solid var(--secondary);
}

.accent-blue {
  border-top: 3px solid var(--tertiary);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
}

.phone-frame {
  width: min(390px, 100%);
  margin-inline: auto;
  padding: 14px;
  border: 1px solid rgba(229, 226, 225, 0.16);
  border-radius: 34px;
  background: #050505;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.phone-screen {
  min-height: 650px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #111;
}

.phone-screen.real-screen {
  min-height: 0;
  background: #0a0a0a;
}

.real-app-screenshot {
  width: 100%;
  height: auto;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
}

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--primary);
  font-weight: 900;
}

.feature-row h3 {
  margin-bottom: 4px;
}

.feature-row p {
  color: var(--muted);
}

.wide-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  display: grid;
  align-items: end;
  border-top: 1px solid rgba(229, 226, 225, 0.08);
  border-bottom: 1px solid rgba(229, 226, 225, 0.08);
}

.wide-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
}

.wide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.38)),
    linear-gradient(0deg, rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.08));
}

.wide-media-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
  max-width: 640px;
  justify-self: start;
}

.wide-media h2 {
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 1;
}

.wide-media p {
  color: var(--muted);
  font-size: 1.1rem;
}

.nutrition-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}

.macro-board {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.macro-top {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--surface-3);
}

.ring {
  display: grid;
  width: 150px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--surface) 0 52%, transparent 53%),
    conic-gradient(var(--primary) 0 62%, var(--surface-3) 62% 100%);
  font-weight: 900;
  color: var(--primary);
}

.macro-stat strong {
  display: block;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1;
}

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

.bars {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.bar-row {
  display: grid;
  gap: 8px;
}

.bar-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
}

.bar {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-3);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.bar .protein {
  width: 74%;
  background: var(--primary);
}

.bar .carbs {
  width: 58%;
  background: var(--tertiary);
}

.bar .fat {
  width: 46%;
  background: var(--secondary);
}

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

.cta-band {
  background:
    linear-gradient(90deg, rgba(108, 217, 193, 0.14), rgba(255, 215, 155, 0.06)),
    var(--surface);
}

.cta-panel {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
}

.cta-panel h2 {
  margin-bottom: 10px;
}

.cta-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  padding: 42px clamp(20px, 5vw, 64px);
  background: #070707;
}

.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
}

.footer-copy {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 0.92rem;
}

.footer-links,
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-main {
  padding: 124px clamp(20px, 5vw, 64px) 72px;
}

.legal-layout {
  width: min(940px, 100%);
  margin: 0 auto;
}

.legal-hero {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 780px;
  margin-bottom: 12px;
  font-size: clamp(2.2rem, 6vw, 5.5rem);
  line-height: 1;
}

.legal-hero p {
  max-width: 720px;
  color: var(--muted);
}

.last-updated {
  color: var(--primary);
  font-weight: 800;
}

.legal-content {
  display: grid;
  gap: 24px;
  padding-top: 34px;
}

.legal-content section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(28, 27, 27, 0.78);
}

.legal-content h2 {
  margin-bottom: 10px;
  font-size: 1.32rem;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content p:last-child,
.legal-content ul:last-child {
  margin-bottom: 0;
}

.legal-content ul {
  padding-left: 1.15rem;
}

.legal-content a {
  color: var(--primary);
  font-weight: 700;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.note {
  color: var(--dim);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .metrics,
  .feature-grid,
  .product-grid,
  .nutrition-grid,
  .trust-grid,
  .cta-panel,
  .footer-inner,
  .support-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-grid {
    gap: 12px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding-inline: 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 79svh;
    padding: 96px 18px 38px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12vw, 3rem);
    line-height: 0.96;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .button {
    width: 100%;
  }

  .metrics {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .metric {
    min-height: 94px;
    padding: 18px;
  }

  .section {
    padding: 64px 18px;
  }

  .phone-screen:not(.real-screen) {
    min-height: 560px;
  }

  .mock-title-row {
    display: grid;
  }

  .macro-top {
    grid-template-columns: 1fr;
  }

  .ring {
    width: 132px;
  }

  .legal-main {
    padding: 104px 18px 58px;
  }

  .legal-content section {
    padding: 18px;
  }
}
