:root {
  --bg: #07090d;
  --panel: #11151d;
  --panel-2: #161b25;
  --line: #283244;
  --text: #f5f7fb;
  --muted: #8f98aa;
  --orange: #ff6b0a;
  --blue: #3788ff;
  --red: #ff304f;
  --cream: #f3eadb;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    var(--bg);
  background-size: 68px 68px;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: white; color: black; }
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  position: relative;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: "Inter", sans-serif; letter-spacing: -.04em; font-weight: 800; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 0 28px rgba(255,107,10,.24); }
.brand strong { color: var(--orange); font-weight: 900; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: .82rem; font-weight: 700; }
.site-header nav a { color: #b6bdc9; text-decoration: none; transition: color .2s ease; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: white; }
.site-header nav .nav-cta { color: var(--orange); border: 1px solid rgba(255,107,10,.5); padding: 9px 15px; border-radius: 999px; }

.hero { width: min(calc(100% - 40px), var(--max)); min-height: 820px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; position: relative; overflow: hidden; }
.hero-glow { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(55,136,255,.16), transparent 66%); left: 35%; top: 5%; pointer-events: none; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font: 800 .72rem/1.2 "Inter", sans-serif; letter-spacing: .2em; }
.eyebrow span { display: inline-block; width: 30px; height: 2px; background: var(--orange); vertical-align: middle; margin-right: 10px; }
.hero h1, .statement h2, .privacy-copy h2, .closing h2, .legal-intro h1 {
  margin: 0;
  font: 900 clamp(4rem, 8.7vw, 8.2rem)/.82 "Inter", sans-serif;
  letter-spacing: -.085em;
}
em { color: var(--orange); font-style: normal; }
.hero h1 em { color: transparent; -webkit-text-stroke: 2px var(--orange); text-stroke: 2px var(--orange); }
.hero-lead { max-width: 640px; margin: 36px 0 30px; font-size: 1.12rem; color: #b3bbc9; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.store-button { display: inline-flex; align-items: center; gap: 12px; min-width: 205px; padding: 11px 18px; border-radius: 14px; background: var(--text); color: #090b0e; font: 700 1.15rem/1 "Inter", sans-serif; text-decoration: none; }
.store-button small { display: block; margin-bottom: 4px; font-size: .58rem; letter-spacing: .08em; }
.store-button .apple { width: 26px; height: 30px; display: grid; place-items: center; color: #090b0e; font-size: 1.3rem; }
.store-button.is-coming { cursor: default; opacity: .92; }
.text-link { color: var(--orange); font-size: .86rem; font-weight: 800; text-decoration: none; }
.text-link span { padding-left: 7px; }
.availability { margin-top: 17px; color: #687183; font-size: .75rem; }

.hero-visual { position: relative; min-height: 730px; display: grid; place-items: center; }
.phone-shell { width: min(380px, 78vw); height: 720px; position: relative; border: 7px solid #202633; border-radius: 58px; overflow: hidden; background: #020306; transform: rotate(3deg); box-shadow: 0 50px 110px rgba(0,0,0,.62), 0 0 0 1px rgba(255,255,255,.08); z-index: 2; }
.phone-shell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(255,255,255,.08), transparent 22%); pointer-events: none; }
.phone-speaker { position: absolute; z-index: 3; top: 13px; left: 50%; transform: translateX(-50%); width: 110px; height: 31px; border-radius: 20px; background: #000; }
.phone-shell img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.metric { position: absolute; z-index: 5; width: 154px; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: rgba(20,25,34,.88); backdrop-filter: blur(14px); box-shadow: 0 24px 48px rgba(0,0,0,.4); }
.metric b { display: block; font: 700 1.55rem "Inter", sans-serif; }
.metric span { color: var(--muted); font: 800 .6rem "Inter", sans-serif; letter-spacing: .16em; }
.metric-one { left: 0; top: 22%; border-top-color: var(--orange); }
.metric-two { right: 0; bottom: 17%; border-top-color: var(--blue); }
.pulse-ring { position: absolute; width: 550px; height: 550px; border: 1px solid rgba(255,107,10,.22); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,107,10,.035), 0 0 0 140px rgba(55,136,255,.025); }

.statement { padding: 150px max(20px, calc((100% - var(--max)) / 2)); background: var(--cream); color: #111; }
.statement .eyebrow { color: #6d665d; }
.statement h2 { max-width: 1120px; font-size: clamp(2.9rem, 6vw, 6.6rem); line-height: .97; }

.features { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 110px 0; }
.feature { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 46px; align-items: center; min-height: 570px; padding: 80px 0; border-bottom: 1px solid var(--line); }
.feature-number { align-self: start; color: var(--orange); font: 800 .72rem "Inter", sans-serif; letter-spacing: .12em; }
.feature h3 { margin: 0 0 24px; font: 800 clamp(2.5rem, 4.3vw, 4.7rem)/.97 "Inter", sans-serif; letter-spacing: -.055em; }
.feature p:not(.eyebrow) { max-width: 590px; color: #aab2c1; }
.feature ul { list-style: none; padding: 0; margin: 28px 0 0; }
.feature li { margin: 10px 0; color: #d8dde6; font-size: .89rem; }
.feature li::before { content: "+"; color: var(--orange); margin-right: 11px; font-weight: 900; }
.feature-art { min-height: 350px; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(145deg, var(--panel-2), #0c0f15); box-shadow: inset 0 1px rgba(255,255,255,.05), 0 30px 80px rgba(0,0,0,.28); position: relative; overflow: hidden; }
.train-art { padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.train-art::after { content: "05"; position: absolute; right: -14px; bottom: -74px; color: rgba(55,136,255,.08); font: 900 13rem "Inter", sans-serif; }
.train-art span, .train-art i { color: var(--muted); font: 800 .67rem "Inter", sans-serif; letter-spacing: .18em; }
.train-art b { margin: 8px 0; font: 900 3.8rem/.9 "Inter", sans-serif; letter-spacing: -.07em; color: var(--blue); }
.train-art .bar { width: 85%; height: 10px; margin-top: 42px; border-radius: 10px; background: #2b221e; overflow: hidden; }
.train-art .bar u { display: block; width: 68%; height: 100%; background: linear-gradient(90deg, var(--blue), var(--orange)); text-decoration: none; }
.nutrition-art { padding: 42px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.calories { grid-row: span 3; align-self: center; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; border: 19px solid #34211e; border-top-color: var(--orange); border-right-color: var(--red); }
.calories strong { font: 800 2.3rem "Inter", sans-serif; }
.calories span { color: var(--muted); font: 800 .63rem "Inter", sans-serif; letter-spacing: .15em; }
.macro { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-content: center; }
.macro i { grid-column: 1 / -1; height: 6px; border-radius: 10px; background: #252d38; overflow: hidden; }
.macro i::after { content: ""; display: block; width: 68%; height: 100%; background: var(--orange); }
.macro .carbs::after { width: 74%; background: var(--blue); }
.macro .fat::after { width: 52%; background: var(--red); }
.macro span, .macro b { font: 800 .65rem "Inter", sans-serif; color: var(--muted); }
.macro b { color: white; }
.progress-art { padding: 80px 40px; display: flex; flex-direction: column; justify-content: center; }
.range-labels, .goal-row { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font: 800 .6rem "Inter", sans-serif; letter-spacing: .12em; }
.range-labels b { color: var(--blue); }
.range { position: relative; height: 28px; margin: 24px 0; border-radius: 20px; background: #33241f; }
.range i { position: absolute; left: 19%; width: 41%; height: 100%; border-radius: inherit; background: #345fa7; }
.range u { position: absolute; left: 43%; width: 5px; height: 100%; background: var(--orange); text-decoration: none; }
.goal-row { justify-content: center; gap: 12px; }
.goal-row b { color: var(--orange); font-size: .9rem; }

.privacy-section { padding: 130px max(20px, calc((100% - var(--max)) / 2)); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; background: #0c1320; border-top: 1px solid #1c2b42; border-bottom: 1px solid #1c2b42; }
.privacy-copy h2 { font-size: clamp(3.4rem, 6vw, 6.5rem); }
.privacy-copy > p:not(.eyebrow) { margin: 34px 0; color: #aeb8c8; max-width: 590px; }
.privacy-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; gap: 20px; padding: 14px 20px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .77rem; font-weight: 800; }
.button.primary { color: #08101c; background: var(--blue); border-color: var(--blue); }
.button.ghost { color: #dbe3ef; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: center; }
.privacy-grid article { min-height: 180px; padding: 26px; border-radius: 24px; border: 1px solid #263651; background: rgba(18,27,41,.68); }
.privacy-grid b { color: var(--blue); font: 800 .65rem "Inter", sans-serif; }
.privacy-grid h3 { margin: 40px 0 7px; font: 800 1.05rem "Inter", sans-serif; letter-spacing: -.02em; }
.privacy-grid p { margin: 0; color: #8895a8; font-size: .78rem; }

.closing { min-height: 690px; padding: 120px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.closing h2 { font-size: clamp(3.8rem, 8vw, 8.6rem); position: relative; z-index: 1; }
.closing .store-button { margin-top: 46px; position: relative; z-index: 1; }
.closing-mark { position: absolute; color: rgba(255,107,10,.035); font: 900 48rem/1 "Inter", sans-serif; }

footer { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; min-height: 150px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; border-top: 1px solid var(--line); }
footer .footer-links { display: flex; gap: 24px; font-size: .75rem; font-weight: 700; }
footer .footer-links a { color: #9ca5b3; text-decoration: none; }
footer small { text-align: right; color: #646d7c; font-size: .68rem; }

.legal-page { background-color: var(--bg); }
.legal-wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; display: grid; grid-template-columns: 360px 1fr; gap: 100px; padding: 110px 0 150px; }
.legal-intro { position: sticky; top: 60px; align-self: start; }
.legal-intro h1 { font-size: clamp(3.7rem, 6vw, 6.5rem); }
.legal-intro > p:not(.eyebrow) { color: var(--muted); margin-top: 28px; font-size: .8rem; }
.legal-intro > a { color: var(--orange); font-size: .8rem; font-weight: 800; text-decoration: none; }
.legal-content { max-width: 760px; }
.legal-content section { padding: 0 0 44px; margin: 0 0 44px; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 20px; font: 800 1.65rem "Inter", sans-serif; letter-spacing: -.04em; }
.legal-content h3 { margin: 28px 0 8px; font: 700 1rem "Inter", sans-serif; color: #dfe5ed; }
.legal-content p, .legal-content li { color: #aab2c0; font-size: .93rem; }
.legal-content a { color: var(--blue); }
.legal-content li { margin-bottom: 9px; }
.legal-note { padding: 28px; border-radius: 22px; border: 1px solid #4d321f; background: #16110f; }
.legal-note strong { color: var(--orange); font-family: "Inter", sans-serif; }
.legal-note p { margin-bottom: 0; }

@media (max-width: 980px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 100px 0 50px; }
  .hero-visual { min-height: 690px; }
  .feature { grid-template-columns: 45px 1fr; }
  .feature-art { grid-column: 2; width: 100%; }
  .privacy-section { grid-template-columns: 1fr; }
  .legal-wrap { grid-template-columns: 1fr; gap: 60px; }
  .legal-intro { position: static; }
}

@media (max-width: 640px) {
  .site-header { width: min(calc(100% - 28px), var(--max)); min-height: 72px; }
  .site-header nav { gap: 0; }
  .site-header nav .nav-cta { display: inline-flex; }
  .brand span { font-size: .9rem; }
  .brand img { width: 33px; height: 33px; }
  .hero { width: min(calc(100% - 28px), var(--max)); gap: 10px; }
  .hero h1 { font-size: clamp(3.5rem, 18vw, 5.3rem); }
  .hero-lead { font-size: .98rem; }
  .hero-visual { min-height: 610px; }
  .phone-shell { width: 285px; height: 570px; border-radius: 44px; }
  .metric { width: 125px; padding: 13px; }
  .metric b { font-size: 1.1rem; }
  .metric-one { left: -3%; }
  .metric-two { right: -3%; }
  .statement { padding-top: 100px; padding-bottom: 100px; }
  .features { width: min(calc(100% - 28px), var(--max)); padding: 50px 0; }
  .feature { grid-template-columns: 1fr; gap: 25px; padding: 70px 0; }
  .feature-number, .feature-art { grid-column: 1; }
  .feature-art { min-height: 300px; }
  .train-art { padding: 38px; }
  .train-art b { font-size: 3rem; }
  .nutrition-art { padding: 26px; gap: 16px; }
  .progress-art { padding: 60px 24px; }
  .privacy-section { padding-top: 100px; padding-bottom: 100px; }
  .privacy-grid { grid-template-columns: 1fr; }
  .closing { min-height: 580px; }
  footer { grid-template-columns: 1fr; padding: 45px 0; }
  footer .footer-links { flex-wrap: wrap; }
  footer small { text-align: left; }
  .legal-wrap { width: min(calc(100% - 28px), var(--max)); padding: 80px 0 110px; }
}

@media (prefers-reduced-motion: no-preference) {
  .phone-shell { animation: float 5s ease-in-out infinite; }
  .pulse-ring { animation: pulse 5s ease-in-out infinite; }
  @keyframes float { 0%,100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-12px); } }
  @keyframes pulse { 0%,100% { opacity: .65; transform: scale(.97); } 50% { opacity: 1; transform: scale(1.03); } }
}
