@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/poppins-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --deep: #0B5F5C;
  --teal: #15A08C;
  --mint: #94E3C7;
  --light-mint: #E8FAF4;
  --coral: #FF7A6B;
  --soft-coral: #FFE3DE;
  --cream: #FFF8F2;
  --ink: #0B5F5C;
  --ink-2: #4A6B68;
  --brand: #0B5F5C;
  --brand-2: #15A08C;
  --accent: #FF7A6B;
  --bg: #FFF8F2;
  --card: rgba(255,255,255,.78);
  --line: rgba(11,95,92,.12);
  --bad: #B3261E;
  --ok: #0B5F5C;
  --r: 20px;
  --shadow: 0 10px 40px rgba(11,95,92,.08), 0 1px 0 rgba(255,255,255,.6) inset;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; line-height: 1.5; -webkit-text-size-adjust: 100%;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(148,227,199,.35), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(255,122,107,.18), transparent 50%),
    var(--cream);
  min-height: 100vh;
}
main { max-width: 560px; margin: 0 auto; padding: 0 16px 96px; }
a { color: var(--teal); }
h1, h2, h3, .wordmark, .metric strong, .share-headline {
  font-family: "Poppins", "Inter", system-ui, sans-serif; font-weight: 600;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hidden { display: none !important; }

.top {
  max-width: 560px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  padding: 16px; padding-top: max(16px, env(safe-area-inset-top)); gap: 12px;
}
.wordmark { display: flex; align-items: center; text-decoration: none; }
.wordmark .logo { height: 40px; width: auto; display: block; }
.tag {
  font-size: 12px; font-weight: 500; color: var(--deep); background: var(--light-mint);
  padding: 6px 12px; border-radius: 999px; white-space: nowrap; border: 1px solid var(--line);
}

.hero { position: relative; padding: 8px 0 8px; }
.hero-visual { position: relative; float: right; width: 64px; height: 64px; margin: 0 0 6px 12px; pointer-events: none; opacity: .9; }
.hero::after { content: ""; display: block; clear: both; }
.hero-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(11,95,92,.1); stroke-width: 8; }
.ring-progress {
  fill: none; stroke: var(--mint); stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 72 100; filter: drop-shadow(0 0 8px rgba(148,227,199,.5));
}
.hero-orb {
  position: absolute; inset: 25%; border-radius: 50%;
  background: linear-gradient(145deg, var(--coral), #ff9a8b 40%, transparent 70%);
  opacity: .85; animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.tagline { font-style: italic; color: var(--ink-2); margin: 0 0 4px; font-size: 15px; }
.hero h1 { font-size: clamp(28px, 7vw, 40px); line-height: 1.12; margin: 4px 0 8px; letter-spacing: -0.03em; color: var(--deep); max-width: 16ch; }
.subline { color: var(--teal); margin: 0 0 10px; font-size: 14px; font-weight: 500; }
.lead { color: var(--ink-2); margin: 0 0 18px; font-size: 15px; max-width: 42ch; }

.glass {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.card { padding: 18px; margin-bottom: 16px; }
.calc-shell { padding: 16px; }

.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 16px; }
.step {
  border: 1px solid var(--line); background: var(--light-mint); color: var(--ink-2);
  border-radius: 999px; padding: 8px 6px; font: inherit; font-size: 12px; font-weight: 500; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.step span {
  width: 20px; height: 20px; border-radius: 50%; background: rgba(11,95,92,.12);
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600;
}
.step.on { background: var(--deep); color: #fff; border-color: var(--deep); }
.step.on span { background: rgba(255,255,255,.2); }
.step:focus-visible, .btn:focus-visible, .nudge:focus-visible, .seg button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(21,160,140,.4); outline-offset: 2px;
}

.panel { display: grid; gap: 14px; animation: fade .28s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.units { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--light-mint); border: 1px solid var(--line); border-radius: 999px; padding: 3px; flex-wrap: wrap; }
.seg button, .seg label span {
  border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px; cursor: pointer; display: block;
}
.seg button.on, .seg input:checked + span { background: var(--deep); color: #fff; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg-wide { display: flex; width: 100%; } .seg-wide label { flex: 1; text-align: center; }

fieldset { border: 0; padding: 0; margin: 0; }
legend, .field { font-size: 14px; font-weight: 500; color: var(--ink); }
legend small, .check small { font-weight: 400; color: var(--ink-2); }
.field { display: flex; flex-direction: column; gap: 6px; }
input[type=number], input[type=email], select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 12px; min-height: 48px; appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px;
}
.suffix, .pair label { position: relative; display: block; }
.suffix.grow { flex: 1; }
.suffix em, .pair em {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-style: normal; color: var(--ink-2); font-size: 14px; font-weight: 400; pointer-events: none;
}
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stepper-input { display: flex; align-items: center; gap: 8px; }
.nudge {
  width: 44px; height: 48px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--light-mint); color: var(--deep); font-size: 20px; font-weight: 600; cursor: pointer; flex: none;
}
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check.glow { padding: 12px; border-radius: 14px; background: linear-gradient(135deg, var(--light-mint), var(--soft-coral)); border: 1px solid var(--line); }
.check.compact { font-size: 13px; align-items: center; margin: 0; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--deep); flex: none; }
.check.small { font-size: 13px; color: var(--ink-2); }

.btn {
  font-family: "Poppins", "Inter", system-ui, sans-serif; font-weight: 600; font-size: 16px; color: #fff;
  background: linear-gradient(135deg, var(--deep), #127a72); border: 0; border-radius: 14px;
  padding: 14px 18px; min-height: 52px; cursor: pointer; width: 100%;
  box-shadow: 0 8px 20px rgba(11,95,92,.22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { box-shadow: 0 10px 24px rgba(11,95,92,.28); }
.btn:active { transform: scale(.98); }
.btn.quiet { background: #fff; color: var(--deep); border: 1px solid var(--line); box-shadow: none; }
.btn.sm { min-height: 44px; font-size: 14px; width: auto; padding: 10px 16px; }
.row-btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.errors { color: var(--bad); font-size: 14px; }
.errors ul { margin: 0; padding-left: 18px; }

.results { margin-top: 8px; scroll-margin-top: 12px; display: grid; gap: 16px; }
.share-card { padding: 18px; }
.share-top { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.share-icon { border-radius: 9px; }
.share-headline { margin: 2px 0 0; font-size: 17px; line-height: 1.35; color: var(--deep); }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.metric {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.metric.protein {
  grid-column: 1 / -1; background: linear-gradient(135deg, var(--deep), #0e736e); color: #fff; border: 0;
  display: grid; grid-template-columns: 88px 1fr; gap: 8px; align-items: center;
}
.p-ring { width: 88px; height: 88px; transform: rotate(-90deg); }
.metric.protein .ring-track { stroke: rgba(255,255,255,.18); }
.metric.protein .ring-progress { stroke: var(--mint); stroke-dasharray: 0 100; transition: stroke-dasharray .8s ease; }
.metric .lbl { font-size: 12px; font-weight: 500; opacity: .85; font-family: "Inter", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.metric strong { font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; }
.metric.protein strong { font-size: 40px; }
.metric strong small { font-size: 14px; font-weight: 600; opacity: .8; }
.metric .sub { font-size: 13px; opacity: .85; font-family: "Inter", system-ui, sans-serif; }
.metric.protein .sub { color: var(--mint); opacity: 1; }
.notes, .tips { margin: 12px 0 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.notes li, .tips li { margin-bottom: 6px; }
.share-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.card-head h3, .glass > h3, .why h3 { margin: 0 0 8px; font-size: 18px; color: var(--deep); }
.meals { display: grid; gap: 10px; margin: 12px 0; }
.meal {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
}
.meal header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.meal h4 { margin: 0; font-size: 14px; color: var(--deep); font-family: "Poppins", system-ui, sans-serif; }
.meal .mp { font-size: 13px; font-weight: 500; color: var(--teal); }
.meal ul { margin: 0; padding: 0; list-style: none; }
.meal li { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-2); padding: 3px 0; }
.meal li strong { color: var(--deep); font-weight: 500; white-space: nowrap; }
.footnote, .fine { font-size: 12px; color: var(--ink-2); margin: 8px 0 0; }

.food-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.food {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px;
  display: flex; flex-direction: column; gap: 2px; min-height: 84px;
}
.food .fn { font-size: 13px; font-weight: 500; color: var(--deep); }
.food .fs { font-size: 11px; color: var(--ink-2); }
.food .fp { margin-top: auto; font-size: 16px; font-weight: 600; color: var(--teal); font-family: "Poppins", system-ui, sans-serif; }

.why { padding: 16px; }
.why p { margin: 0; font-size: 14px; color: var(--ink-2); }

.waitlist h2 { margin: 0 0 6px; font-size: 20px; color: var(--deep); }
.waitlist p { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; }
.wl { display: grid; gap: 10px; }
.wl-msg { margin: 0; font-size: 14px; min-height: 1em; }
.wl-msg.ok { color: var(--ok); } .wl-msg.bad { color: var(--bad); }

.disclaimer { font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; }
.disclaimer h3 { font-size: 14px; color: var(--deep); margin: 0 0 4px; }
.disclaimer p { margin: 0 0 8px; }
.foot {
  max-width: 560px; margin: 0 auto; padding: 16px; padding-bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2);
}
.prose h1 { font-size: 26px; margin-top: 0; color: var(--deep); }
.prose h2 { font-size: 17px; margin-bottom: 4px; color: var(--deep); }
.prose p { color: var(--ink-2); }

.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(255,248,242,.92) 30%);
  backdrop-filter: blur(8px);
}
.sticky .btn { max-width: 560px; margin: 0 auto; display: block; }

@media (min-width: 700px) {
  .hero h1 { font-size: 44px; }
  .hero-visual { position: absolute; float: none; right: -8px; top: -8px; width: 110px; height: 110px; margin: 0; }
  .metrics { grid-template-columns: 1.4fr 1fr 1fr; }
  .metric.protein { grid-column: auto; }
  .food-grid { grid-template-columns: repeat(3, 1fr); }
  .sticky { display: none !important; }
  main { max-width: 640px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
