/* Kairoa Health — shared styles for kairoahealth.com */

:root {
  --ink: #17201D;
  --ink-2: #3E4944;
  --muted: #55605B;
  --bg: #F3F4EF;
  --line: #DDE1D9;
  --line-soft: #ECEEE9;
  --field-line: #C9CFC6;
  --accent: #2C6152;
  --accent-dark: #1E4439;
  --mint: #E3ECE7;
  --mint-2: #9FD0BF;
  --teal: #5EA7AF;
  --warm: #B4582F;
  --warm-text: #9A4A26;
  --warm-bg: #F6E7DD;
  --on-dark: #F3F4EF;
  --on-dark-muted: #C9D1CC;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
input, select, button, textarea { font: inherit; }

:focus-visible { outline: 3px solid rgba(44, 97, 82, 0.45); outline-offset: 2px; }
.dark :focus-visible, .on-accent :focus-visible { outline-color: rgba(255, 255, 255, 0.7); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 860px; }

/* ---------- Type ---------- */
.h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -0.01em;
  text-wrap: balance;
}
.h1-long { font-size: clamp(38px, 4.8vw, 68px); line-height: 1.06; }
.h1-vision {
  font-size: clamp(44px, 4.5vw, 76px);
  line-height: 1.08;
  max-width: 1250px;
  text-align: left;
}

.vision-subtitle {
  max-width: 850px;
  margin-top: 28px;
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  text-align: left;
}


/* Vision supporting paragraphs */
.vision .vision-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 960px;
}

.vision .vision-paragraphs > .vision-subtitle {
  margin: 0;
  max-width: 100%;
}

.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12;
  text-wrap: balance;
}
.h2-lg { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.1; letter-spacing: -0.01em; }
.h2-sm { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; }
.lead { font-size: 20px; color: var(--ink-2); max-width: 30em; }
.sub-dark { font-size: 18px; color: var(--on-dark-muted); }
.eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
}
.dark .eyebrow { color: var(--mint-2); }
.accent-text { color: var(--accent); }
.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-22 { gap: 22px; }

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 22px;
}
.logo { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.logo svg { height: 22px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav .link { color: var(--muted); text-decoration: none; }
.nav .link:hover { color: var(--ink); }
.pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 500; white-space: nowrap; transition: background-color 0.15s ease;
}
.pill:hover { background: #2B3832; color: #fff; }

/* ---------- Layout ---------- */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.hero { padding-block: 48px 80px; }
.hero-copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 22px; }
.hero-media { flex: 1 1 520px; }
.photo { width: 100%; height: 460px; object-fit: cover; border-radius: 24px; background: #E6E8E2; }
.photo-lunch { object-position: 55% center; }
.photo-product { height: 480px; object-position: 75% center; }

.section { padding-block: 88px 0; }
.section-last { padding-block: 88px; }
.dark { background: var(--ink); color: var(--on-dark); }
.band { padding-block: 80px; }
.on-accent { background: var(--accent); color: #fff; }

.card {
  background: #fff; color: var(--ink); border-radius: 24px; padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.card-title { font-weight: 600; font-size: 16px; }
.note { font-size: 13px; color: var(--muted); }

/* ---------- Tiles ---------- */
.tiles {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px;
}
.tiles-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.tile {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.tile .num { font-family: var(--serif); font-size: 34px; line-height: 1.2; color: var(--accent); }
.tile h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
.tile p { color: var(--ink-2); font-size: 16px; }

/* ---------- Product ---------- */
.product-media { flex: 1 1 480px; }
.product-copy { flex: 1 1 460px; display: flex; flex-direction: column; gap: 28px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px 28px; }
.features h3 { font-size: 17px; font-weight: 600; }
.features p { color: var(--ink-2); font-size: 16px; }
.no-glasses { padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.no-glasses b { display: block; margin-bottom: 6px; color: var(--ink); font-size: 22px; font-weight: 600; line-height: 1.25; }

/* ---------- Forms ---------- */
.signup { position: relative; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.field { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { flex-basis: 320px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.on-accent .field label { color: #fff; }
.input {
  width: 100%; min-height: 52px; padding: 0 16px;
  border: 1px solid var(--field-line); border-radius: 12px;
  background: #fff; color: var(--ink); font-size: 16px;
}
.input::placeholder { color: #8A948F; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(44, 97, 82, 0.2); }
.on-accent .input { border-color: transparent; }
.on-accent .input:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35); }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2355605B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
select.input:invalid { color: #8A948F; }
.input[aria-invalid="true"] { border-color: var(--warm); }

.btn {
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 12px;
  font-size: 16px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2B3832; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.form-msg { flex-basis: 100%; font-size: 14px; }
.form-msg:empty { display: none; }
.form-msg.is-error { color: #8A3E1F; }
.on-accent .form-msg.is-error { color: #FFE4D6; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.join { padding-block: 80px; display: flex; flex-direction: column; gap: 22px; }
.join .h2 { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.08; }
.join p.sub { font-size: 18px; color: #DDE9E3; }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 32px 48px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 14px; color: var(--muted);
}

/* ---------- General page ---------- */
.vision { padding-block: 96px; display: flex; flex-direction: column; gap: 18px; }
.building { padding-block: 88px 32px; }
.building-copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 22px; }
.signals { flex: 1 1 460px; background: var(--ink); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.signals p { color: var(--on-dark-muted); font-size: 15px; }
.how-general { padding-block: 32px 40px; display: flex; flex-direction: column; gap: 36px; }
.who { padding-block: 56px 96px; display: flex; flex-direction: column; gap: 36px; }

/* ---------- B: log + prediction ---------- */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 32px; }
.duo > div { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.duo .card { flex: 1; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.badge-ok { color: var(--accent); background: var(--mint); }
.badge-warn { color: #8A3E1F; background: var(--warm-bg); font-weight: 600; padding-inline: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stat { background: var(--bg); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.stat span:first-child { font-size: 13px; color: var(--muted); }
.stat span:last-child { font-weight: 600; }
.meals { list-style: none; padding: 0; }
.meals li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.meals time { width: 68px; flex: 0 0 auto; font-size: 14px; color: var(--muted); }
.meals .what { display: flex; flex-direction: column; min-width: 0; }
.meals .what b { font-weight: 600; }
.meals .what span { font-size: 14px; color: var(--muted); }
.meals .flag { color: var(--warm-text); }
.card-foot { padding-top: 4px; border-top: 1px solid var(--line-soft); }
.legend { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--ink-2); }
.legend div { display: flex; align-items: center; gap: 8px; }
.swatch-line { width: 22px; height: 3px; background: var(--ink); border-radius: 2px; }
.swatch-dash { width: 22px; height: 0; border-top: 3px dashed var(--warm); }
.callout { padding: 14px 16px; border-radius: 12px; background: var(--bg); font-size: 15px; }
.callout-mint { background: var(--mint); color: var(--accent-dark); }
.callout b { font-weight: 600; }

/* ---------- A3: dose stages ---------- */
.stages-intro { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.stages-card { padding: 32px; gap: 24px; }
.dose-chart { display: flex; flex-direction: column; gap: 6px; }
.dose-chart svg { width: 100%; height: clamp(120px, 18vw, 180px); }
.axis-label { font-size: 14px; color: var(--muted); }
.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; }
.stage { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 3px solid; }
.stage-number {
  width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 2px; background: var(--bg); color: var(--accent); font-size: 13px; font-weight: 600;
}
.stage h3 { font-size: 17px; font-weight: 600; }
.stage p { color: var(--ink-2); font-size: 15px; }

/* ---------- GLP-1 value proposition experiment ---------- */
.glp1-hero { padding-bottom: 72px; }
.glp1-hero .split { gap: 32px; align-items: stretch; }
.glp1-hero .hero-copy { flex-basis: 470px; justify-content: center; }
.glp1-hero .h1-long { font-size: clamp(42px, 4vw, 60px); }
.glp1-hero .lead { max-width: 34em; }
.glp1-hero-media { position: relative; flex-basis: 560px; overflow: hidden; border-radius: 24px; }
.glp1-hero .photo-lunch {
  height: 420px; object-position: 65% 32%;
  transform: scale(1.7); transform-origin: 63% 34%;
}
.hero-insights {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-insight {
  position: absolute; width: 36%; min-width: 0; padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.72); border-radius: 12px;
  background: rgba(255, 255, 255, 0.94); box-shadow: 0 12px 28px rgba(23, 32, 29, 0.16);
  backdrop-filter: blur(8px); display: flex; flex-direction: column; align-items: stretch; gap: 3px;
}
.hero-insight-pace { left: 24px; top: 12px; width: 31%; }
.hero-insight-late { right: 18px; bottom: 12px; width: 36%; }
.insight-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.insight-head > span:first-child { color: var(--muted); font-size: 13px; line-height: 1.25; }
.insight-arrow { color: var(--warm); font-size: 22px; line-height: 1; }
.hero-insight > strong { color: var(--warm-text); font-size: 14px; line-height: 1.25; }
.hero-insight svg { width: 100%; height: 42px; margin-top: 1px; }
.hero-insight small { color: var(--muted); font-size: 11px; line-height: 1.2; }

.glp1-value-section { padding-block: 80px 88px; }
.glp1-section-heading { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.value-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 20px; }
.value-card {
  min-width: 0; padding: 26px; border: 1px solid var(--line); border-radius: 24px;
  background: #fff; color: var(--ink); display: flex; flex-direction: column; gap: 20px;
}
.value-card-copy { display: flex; flex-direction: column; gap: 9px; }
.value-card-copy h3 { font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.14; }
.value-card-copy p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.drift-visual,
.weight-visual,
.events-visual {
  height: 176px; border-radius: 16px; background: var(--bg); padding: 18px;
}
.drift-visual { display: flex; flex-direction: column; gap: 0; }
.drift-head,
.drift-row { display: grid; grid-template-columns: minmax(84px, 1.2fr) minmax(54px, 0.8fr) minmax(64px, 0.9fr); gap: 8px; align-items: center; }
.drift-head { padding-bottom: 9px; color: var(--muted); font-size: 10px; }
.drift-head span:last-child { color: var(--warm-text); font-weight: 600; }
.drift-row { padding: 12px 0; border-top: 1px solid var(--line); font-size: 11px; }
.drift-row strong { font-size: 11px; font-weight: 600; }
.drift-row > span { color: var(--muted); }
.drift-row .drift-change { color: var(--warm-text); font-weight: 600; }
.weight-visual { display: flex; flex-direction: column; gap: 8px; }
.weight-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.weight-meta strong { color: var(--ink); font-size: 18px; }
.weight-visual svg { width: 100%; }

.events-visual { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; align-items: stretch; }
.glp1-meals { padding-right: 10px; }
.glp1-meals li { padding: 5px 0; font-size: 11px; }
.glp1-meals li:first-child { padding-top: 0; border-top: 0; }
.glp1-meals time { width: 42px; font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.glp1-meals .meridiem { font-size: 8px; font-weight: 600; text-transform: uppercase; }
.glp1-meals .what { min-width: 0; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px; }
.glp1-meals .what span { font-size: 9px; }
.glp1-meals .what .flag { color: #B64736; font-weight: 600; line-height: 1.1; white-space: nowrap; }
.nutrition-summary { height: 100%; padding-left: 10px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.macro-bar { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 6px; font-size: 10px; color: var(--ink-2); }
.macro-bar i { height: 8px; border-radius: 999px; overflow: hidden; background: #E3E8E5; }
.macro-bar i b { display: block; height: 100%; border-radius: inherit; background: #76A89A; }
.macro-carbs i b { background: #D98243; }
.macro-fat i b { background: #6CA9B0; }

.glp1-page .stages-card { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18); }
.stages-intro { display: flex; flex-direction: column; gap: 12px; }
.stages-sub { max-width: none; color: var(--ink-2); font-size: 18px; line-height: 1.5; }
.glp1-page .stage-number { background: var(--mint); }
.glp1-how-band .section { padding-bottom: 88px; }
.glp1-how-band .tile { color: var(--ink); }

@media (min-width: 901px) {
  .glp1-stages-band .stages-intro { max-width: none; }
  .glp1-stages-band .h2,
  .glp1-stages-band .stages-sub,
  .glp1-page .join .h2 { white-space: nowrap; text-wrap: nowrap; }
  .glp1-page .join.wrap-narrow { max-width: 1040px; }
}

/* ---------- Never Log value proposition experiment ---------- */
.never-log-page .glp1-hero .h1-long {
  font-size: clamp(50px, 5.8vw, 78px); line-height: 1.02;
}
.never-log-page .never-hero-card > strong { color: var(--warm-text); }
.never-log-page .never-hero-card .insight-arrow:first-letter { font-weight: 600; }

.never-value-visual {
  height: 280px; border-radius: 16px; background: var(--bg); padding: 20px;
  color: var(--ink); overflow: hidden;
}
.auto-meals-visual { display: grid; grid-template-columns: max-content 20px minmax(0, 1fr); column-gap: 6px; row-gap: 5px; }
.auto-meals-visual > .auto-meals-head { grid-column: 1 / -1; }
.auto-meals-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 2px; font-size: 16px; font-weight: 600; line-height: 1.25;
}
.auto-meals-head .badge { padding: 4px 9px; font-size: 12px; }
.auto-meal {
  display: contents; font-size: 13px;
}
.auto-meal time { align-self: center; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.auto-meal i { align-self: center; justify-self: center; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 2px rgba(94, 167, 175, 0.2); }
.auto-meal:nth-child(3) i { background: #76A89A; }
.auto-meal:nth-child(4) i { background: #D98243; box-shadow: 0 0 0 2px rgba(217, 130, 67, 0.18); }
.auto-meal:nth-child(5) i { background: #76A89A; }
.auto-meal:nth-child(6) i { background: #D98243; box-shadow: 0 0 0 2px rgba(217, 130, 67, 0.18); }
.auto-meal > span { align-self: center; display: flex; align-items: baseline; justify-content: space-between; gap: 4px; width: 100%; min-width: 0; min-height: 38px; padding: 7px 4px; border-radius: 8px; background: #fff; }
.auto-meal b { font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.auto-meal small { color: var(--accent); font-size: 11px; line-height: 1.2; white-space: nowrap; }

.behavior-nutrition-visual { display: flex; flex-direction: column; gap: 10px; }
.behavior-summary { display: flex; flex-direction: column; gap: 5px; }
.behavior-head { margin-bottom: 0; }
.behavior-summary > strong,
.realtime-feedback-visual > strong { color: var(--warm-text); font-family: var(--sans); font-size: 23px; font-weight: 600; line-height: 1.15; font-variant-numeric: tabular-nums; }
.realtime-feedback-visual > strong { font-size: 21px; letter-spacing: -0.01em; white-space: nowrap; }
.chew-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.chew-summary b { color: var(--warm-text); font-size: 14px; font-weight: 600; }
.chew-summary span { color: var(--muted); font-size: 13px; text-align: right; }
.behavior-nutrition-visual .nutrition-summary {
  height: auto; justify-content: flex-start; gap: 7px;
  padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--line);
}
.nutrition-meal-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 15px; }
.nutrition-meal-head > span { font-weight: 600; }
.nutrition-meal-head strong { color: var(--ink); font-size: 20px; }
.nutrition-meal-head strong small { color: var(--muted); font-size: 13px; font-weight: 500; }
.never-macros { display: flex; flex-direction: column; gap: 7px; }
.never-macros .macro-bar { grid-template-columns: 64px minmax(0, 1fr); font-size: 14px; }

.realtime-feedback-visual { display: flex; flex-direction: column; gap: 5px; }
.realtime-head { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 0; font-size: 16px; line-height: 1.25; }
.realtime-head > span:first-child { min-width: 0; white-space: normal; }
.realtime-meta { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 4px; min-width: 0; color: var(--muted); font-size: 10px; font-weight: 500; white-space: nowrap; text-align: right; }
.realtime-meta time { font-variant-numeric: tabular-nums; }
.live-now { display: inline-flex; align-items: center; gap: 4px; padding: 3px 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 9px; font-weight: 700; letter-spacing: 0.02em; }
.live-now i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint-2); }
.realtime-feedback-visual > p { color: var(--ink-2); font-size: 13px; line-height: 1.35; }
.realtime-feedback-visual .timing-context { color: var(--muted); }
.check-in-label { display: block; margin-top: 2px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.25; }
.realtime-suggestion { margin-top: 2px; font-weight: 500; }
.optional-reminder { align-self: flex-start; margin-top: auto; padding: 7px 11px; border-radius: 999px; background: var(--mint); color: var(--accent-dark); font-size: 13px; font-weight: 600; }

.never-insights-section { display: flex; flex-direction: column; gap: 32px; }
.never-section-intro { max-width: 820px; }
.story-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.story-panel { min-width: 0; padding: 28px; box-shadow: 0 24px 60px rgba(23, 32, 29, 0.10); }
.day-summary { grid-template-columns: repeat(3, 120px); justify-content: space-between; gap: 0; margin: 2px 0 4px; }
.day-summary .stat { padding: 10px; }
.day-summary .stat span:first-child { font-size: 12px; white-space: nowrap; }
.day-summary .stat span:last-child { color: var(--ink); font-size: 20px; font-weight: 600; white-space: nowrap; }
.daily-meals { margin-top: 0; }
.daily-meals li { align-items: flex-start; gap: 14px; padding: 16px 0; }
.daily-meals li:first-child { border-top: 0; }
.daily-meals time { width: 70px; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.daily-meals time small { font-size: 11px; font-weight: 600; text-transform: uppercase; }
.daily-meals .what { gap: 2px; }
.daily-meals .what b { font-size: 18px; line-height: 1.25; }
.daily-meals .what > span { color: var(--ink-2); font-size: 14px; }
.daily-meals .what > small { color: var(--muted); font-size: 13px; }
.daily-meals .what em { color: var(--warm-text); font-size: 13px; font-style: normal; font-weight: 600; }
.meal-detail-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; width: 100%; }
.meal-detail-row small { flex: 0 0 auto; color: var(--muted); font-size: 13px; }
.meal-detail-row em { min-width: 0; text-align: right; }
.daily-meals .what .meal-detail-row small,
.daily-meals .what .meal-detail-row em { font-size: 12px; }
.meal-detail-row-compact { justify-content: flex-start; }
.outlook-panel { display: flex; flex-direction: column; gap: 16px; }
.outlook-chart { display: block; width: 100%; height: auto; margin-top: 2px; }
.outlook-panel .legend { margin-top: -4px; }
.outlook-panel .swatch-line { background: var(--accent); }
.outlook-panel .callout { line-height: 1.45; }
.weekly-insight { display: flex; flex-direction: column; gap: 4px; }
.weekly-insight b { color: inherit; font-family: var(--sans); font-size: 18px; font-weight: 600; line-height: 1.25; }
.weekly-insight span { color: var(--ink-2); }
.weekly-insight.callout-mint span { color: var(--accent-dark); }
.never-log-page .product-intro { color: var(--ink-2); font-size: 17px; }

@media (min-width: 641px) and (max-width: 900px) {
  .never-value-visual { height: 300px; padding: 14px; border-radius: 14px; }
  .auto-meals-head { font-size: 15px; }
  .auto-meals-head .badge { font-size: 11px; }
  .auto-meal { grid-template-columns: 50px 8px minmax(0, 1fr); gap: 5px; min-height: 43px; font-size: 12px; }
  .auto-meal time { font-size: 11px; }
  .auto-meal > span { width: 100%; padding: 6px; }
  .auto-meal b { font-size: 14px; }
  .auto-meal small { font-size: 11px; }
  .behavior-summary > strong { font-size: 22px; }
  .chew-summary b { font-size: 13px; }
  .chew-summary span { font-size: 12px; }
  .nutrition-meal-head { font-size: 14px; }
  .nutrition-meal-head strong { font-size: 18px; }
  .nutrition-meal-head strong small { font-size: 11px; }
  .never-macros .macro-bar { grid-template-columns: 50px minmax(0, 1fr); font-size: 12px; }
  .realtime-head { font-size: 15px; }
  .realtime-meta { gap: 4px; font-size: 10px; }
  .realtime-feedback-visual > strong { font-size: 15px; }
  .realtime-feedback-visual > p { font-size: 13px; }
  .optional-reminder { font-size: 12px; }
  .story-panel { padding: 20px; }
  .day-summary { grid-template-columns: repeat(3, 96px); gap: 0; }
  .day-summary .stat { padding: 9px 8px; }
  .day-summary .stat span:first-child { font-size: 11px; }
  .day-summary .stat span:last-child { font-size: 18px; }
  .daily-meals li { gap: 12px; }
  .daily-meals time { width: 66px; font-size: 13px; }
  .daily-meals .what b { font-size: 16px; }
  .weekly-insight b { font-size: 16px; }
  .outlook-panel { gap: 12px; }
  .outlook-panel .callout { padding: 12px; font-size: 14px; }
}

@media (max-width: 640px) {
  .never-log-page .never-hero-card small { line-height: 1.15; }
  .never-value-visual { height: auto; min-height: 280px; padding: 20px; }
  .auto-meals-head { font-size: 16px; }
  .auto-meal { grid-template-columns: 62px 9px minmax(0, 1fr); min-height: 40px; }
  .auto-meal > span { font-size: 14px; }
  .auto-meal small { font-size: 12px; }
  .behavior-summary > strong { font-size: 24px; }
  .chew-summary b { font-size: 14px; }
  .chew-summary span { font-size: 13px; }
  .nutrition-meal-head { font-size: 15px; }
  .nutrition-meal-head strong { font-size: 20px; }
  .never-macros .macro-bar { grid-template-columns: 64px minmax(0, 1fr); font-size: 14px; }
  .realtime-head { font-size: 16px; }
  .realtime-feedback-visual > strong { font-size: 20px; }
  .realtime-feedback-visual > p { font-size: 14px; }
  .optional-reminder { font-size: 13px; }
  .never-insights-section { gap: 24px; }
  .story-panels { grid-template-columns: 1fr; gap: 16px; }
  .story-panel { padding: 20px; }
  .day-summary { grid-template-columns: repeat(3, minmax(0, 96px)); gap: 0; }
  .day-summary .stat { padding: 9px 8px; }
  .day-summary .stat span:first-child { font-size: 11px; }
  .day-summary .stat span:last-child { font-size: 18px; }
  .daily-meals li { gap: 10px; padding: 14px 0; }
  .daily-meals time { width: 60px; font-size: 13px; }
  .daily-meals .what b { font-size: 16px; }
  .weekly-insight b { font-size: 16px; }
  .daily-meals .what > span { font-size: 13px; }
  .meal-detail-row { flex-wrap: wrap; justify-content: flex-start; gap: 1px 8px; }
  .meal-detail-row em { text-align: left; }
  .outlook-panel { gap: 12px; }
  .outlook-panel .legend { gap: 14px; font-size: 12px; }
  .never-log-page .product-intro { font-size: 16px; }
}

@media (max-width: 360px) {
  .auto-meals-visual {
    grid-template-columns: max-content 14px minmax(0, 1fr);
    column-gap: 4px;
    padding: 14px;
  }
  .auto-meals-visual .auto-meals-head { font-size: 15px; }
  .auto-meals-visual .auto-meals-head .badge { padding: 4px 7px; font-size: 10px; }
  .auto-meal time { font-size: 11px; }
  .auto-meal i { width: 7px; height: 7px; border-width: 1px; }
  .auto-meal > span { gap: 3px; min-height: 36px; padding: 6px 3px; }
  .auto-meal b { font-size: 11px; }
  .auto-meal small { font-size: 10px; }
}

/* ---------- Survey page ---------- */
.survey-main { max-width: 760px; margin: 0 auto; padding: 24px var(--gutter) 96px; display: flex; flex-direction: column; gap: 24px; }
.survey-title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; }
.survey-frame {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 28px; min-height: 360px;
}
.survey-frame iframe { width: 100%; border: 0; min-height: 320px; display: block; }
.survey-empty { color: var(--muted); font-size: 16px; display: flex; flex-direction: column; gap: 8px; }
.survey-empty b { color: var(--ink); font-weight: 600; }

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
  .split { gap: 40px; }
  .photo { height: 400px; }
  .photo-product { height: 420px; }
}

/* Keep the reviewed desktop composition in narrow desktop and tablet windows.
   The former generic flex wrapping produced a stacked hero and a 2+1 card grid. */
@media (min-width: 641px) and (max-width: 900px) {
  .glp1-hero { padding-block: 36px 64px; }
  .glp1-hero .split {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 24px;
    align-items: stretch;
  }
  .glp1-hero .hero-copy { gap: 18px; }
  .glp1-hero .h1-long { font-size: clamp(36px, 4.6vw, 42px); }
  .glp1-hero .lead { font-size: 17px; line-height: 1.5; }
  .glp1-hero .signup {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
  .glp1-hero .btn { padding-inline: 16px; font-size: 15px; }
  .glp1-hero .input { padding-inline: 13px; font-size: 15px; }
  .glp1-hero .form-msg { grid-column: 1 / -1; }
  .glp1-hero-media { min-height: 420px; }
  .glp1-hero .photo-lunch {
    height: 420px;
    object-position: 49% center;
    transform: scale(1.1);
    transform-origin: 58% 45%;
  }
  .hero-insight { width: 38%; }
  .hero-insight-pace { left: 8px; top: 12px; width: 35%; }
  .hero-insight-late { right: 10px; bottom: 54px; width: 39%; }

  .glp1-value-section { padding-block: 64px 72px; }
  .value-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .value-card,
  .value-card-events { grid-column: auto; padding: 16px; gap: 16px; border-radius: 20px; }
  .drift-visual,
  .weight-visual,
  .events-visual { height: 158px; padding: 12px; border-radius: 14px; }
  .drift-head,
  .drift-row { grid-template-columns: minmax(61px, 1.15fr) minmax(38px, 0.75fr) minmax(50px, 0.9fr); gap: 4px; }
  .drift-row { padding-block: 10px; }
  .value-card-copy h3 { font-size: 21px; }
  .value-card-copy p { font-size: 13px; }
  .events-visual { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
  .glp1-meals { padding-right: 6px; }
  .glp1-meals li { gap: 5px; padding-block: 4px; }
  .glp1-meals time { width: 35px; font-size: 8px; }
  .glp1-meals .what b { font-size: 9px; }
  .glp1-meals .what span { font-size: 7px; }
  .nutrition-summary { padding-left: 6px; gap: 6px; }
  .macro-bar { grid-template-columns: 31px 1fr; gap: 4px; font-size: 8px; }
  .macro-bar i { height: 6px; }

  .glp1-stages-band .h2 { font-size: clamp(26px, 3.4vw, 31px); white-space: nowrap; text-wrap: nowrap; }
  .glp1-stages-band .stages-sub { font-size: clamp(12px, 1.9vw, 17px); white-space: nowrap; text-wrap: nowrap; }
  .glp1-page .stages { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .glp1-page .stage h3 { font-size: 14px; }
  .glp1-page .stage p { font-size: 12px; }

  .glp1-how-band .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .glp1-how-band .tile { padding: 20px; }
  .glp1-how-band .tile h3 { font-size: 16px; }
  .glp1-how-band .tile p { font-size: 13px; }

  .glp1-page #product .split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: center;
  }
  .glp1-page #product .photo-product { height: 360px; }
  .glp1-page #product .product-copy { gap: 20px; }
  .glp1-page #product .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .glp1-page #product .features h3 { font-size: 14px; }
  .glp1-page #product .features p,
  .glp1-page #product .no-glasses { font-size: 13px; }

  .glp1-page .join .h2 { white-space: nowrap; text-wrap: nowrap; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .site-header { padding-block: 14px; }
  .logo svg { height: 18px; }
  .nav .link { display: none; }
  .pill { min-height: 42px; padding: 0 16px; font-size: 14px; }
  .hero { padding-block: 20px 56px; }
  .split { gap: 32px; }
  .lead { font-size: 18px; }
  .photo { height: 280px; border-radius: 20px; }
  .photo-lunch { object-position: 52% 30%; }
  .photo-product { height: 300px; object-position: 70% center; }
  .glp1-hero { padding-bottom: 56px; }
  .glp1-hero-media { border-radius: 20px; }
  .glp1-hero .photo-lunch { height: 250px; object-position: 65% 32%; transform: scale(1.7); transform-origin: 63% 34%; }
  .hero-insight { width: 36%; padding: 6px 7px; border-radius: 10px; }
  .hero-insight-pace { left: 4px; top: 7px; width: 31%; }
  .hero-insight-late { right: 12px; bottom: 12px; }
  .insight-head > span:first-child { font-size: 10px; }
  .insight-arrow { font-size: 17px; }
  .hero-insight > strong { font-size: 11px; white-space: normal; }
  .hero-insight svg { height: 30px; margin-top: 0; }
  .hero-insight small { font-size: 9px; }
  .glp1-value-section { padding-block: 56px 64px; }
  .glp1-section-heading { margin-bottom: 24px; }
  .value-cards { grid-template-columns: 1fr; }
  .value-card,
  .value-card-events { grid-column: auto; min-height: 0; padding: 22px; border-radius: 20px; }
  .drift-visual,
  .weight-visual,
  .events-visual { height: auto; }
  .value-card-copy h3 { font-size: 24px; }
  .value-card-events .events-visual { max-width: none; }
  .stages-sub { font-size: 16px; }
  .section { padding-block: 64px 0; }
  .glp1-how-band .section { padding-bottom: 64px; }
  .section-last { padding-block: 64px; }
  .band { padding-block: 56px; }
  .card { padding: 20px; border-radius: 20px; }
  .stages-card { padding: 20px; }
  .tile { padding: 22px; }
  .signup .btn { flex: 1 1 100%; }
  .join { padding-block: 56px; }
  .join p.sub { font-size: 17px; }
  .vision { padding-block: 64px; }
  .building { padding-block: 56px 24px; }
  .signals { padding: 24px; border-radius: 20px; }
  .who { padding-block: 40px 64px; }
  .meals time { width: 60px; font-size: 13px; }
  .value-card-events .events-visual {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
    padding: 14px;
  }
  .glp1-meals { min-width: 0; padding-right: 12px; }
  .glp1-meals li { gap: 8px; }
  .glp1-meals time { width: 48px; font-size: 11px; }
  .glp1-meals .what b { font-size: 11px; }
  .glp1-meals .what span { font-size: 9px; }
  .glp1-meals .what .flag { white-space: normal; }
  .nutrition-summary { min-width: 0; padding-left: 12px; }
  .macro-bar { grid-template-columns: 34px minmax(0, 1fr); gap: 6px; font-size: 9px; }
  .stat { padding: 10px; }
  .survey-frame { padding: 16px; }
}

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