@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: #FFFFFF;
  --line: #D8E8E4;
  --bad: #B3261E;
  --ok: #0B5F5C;
  --r: 16px;
  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; }
body { margin: 0; line-height: 1.5; -webkit-text-size-adjust: 100%; }
main { max-width: 560px; margin: 0 auto; padding: 0 16px 32px; }
a { color: var(--teal); }
h1, h2, h3, .wordmark, .tile strong { 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; gap: 10px; text-decoration: none; color: var(--deep); font-size: 22px; letter-spacing: -0.02em; line-height: 1; }
.wordmark .mark, .wordmark img.mark { width: 36px; height: 36px; border-radius: 9px; display: block; flex: none; }
.tag { font-size: 12px; font-weight: 500; color: var(--deep); background: var(--light-mint); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

.hero h1 { font-size: 30px; line-height: 1.15; margin: 4px 0 6px; letter-spacing: -0.02em; color: var(--deep); }
.hero .tagline { font-style: italic; color: var(--ink-2); margin: 0 0 4px; font-size: 16px; }
.hero .subline { color: var(--teal); margin: 0 0 10px; font-size: 14px; font-weight: 500; }
.hero p.lead { color: var(--ink-2); margin: 0 0 16px; font-size: 15px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(11,95,92,.04); }
.units { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; font-size: 14px; color: var(--ink-2); 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; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.full { grid-column: 1 / -1; }
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: 12px; 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; }
input:focus, select:focus, button:focus-visible { outline: 3px solid rgba(21,160,140,.35); outline-offset: 1px; border-color: var(--teal); }
.suffix, .pair label { position: relative; display: block; }
.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; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.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: var(--deep); border: 0; border-radius: 12px; padding: 14px 18px; min-height: 52px; cursor: pointer; width: 100%; }
.btn:hover { background: var(--teal); }
.btn:disabled { opacity: .6; }

.errors { margin-top: 12px; color: var(--bad); font-size: 14px; }
.errors ul { margin: 0; padding-left: 18px; }

.results { margin-bottom: 16px; scroll-margin-top: 12px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.tile.protein { grid-column: 1 / -1; background: var(--deep); color: #fff; border-color: var(--deep); }
.tile .lbl { font-size: 13px; font-weight: 500; opacity: .85; font-family: "Inter", system-ui, sans-serif; }
.tile strong { font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; }
.tile.protein strong { font-size: 44px; }
.tile strong small { font-size: 15px; font-weight: 600; opacity: .8; }
.tile .sub { font-size: 13px; opacity: .85; font-family: "Inter", system-ui, sans-serif; }
.tile.protein .sub { color: var(--mint); opacity: 1; }
.notes { margin: 12px 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.notes li { margin-bottom: 4px; }

.why { background: var(--light-mint); border-radius: var(--r); padding: 16px; }
.why h3 { margin: 0 0 6px; font-size: 18px; color: var(--deep); }
.why p { margin: 0 0 8px; font-size: 15px; }
.tips { margin: 0 0 8px; padding-left: 18px; font-size: 15px; }
.fine { font-size: 13px; 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; }
.disclaimer h3 { font-size: 14px; color: var(--deep); margin: 0 0 4px; font-family: "Poppins", system-ui, sans-serif; }
.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); }

@media (min-width: 700px) {
  .hero h1 { font-size: 40px; }
  .tiles { grid-template-columns: 1.3fr 1fr 1fr; } .tile.protein { grid-column: auto; }
}
