:root {
  --cream: #f8f5ee;
  --cream-deep: #eee8dc;
  --paper: #fffdf9;
  --sage-50: #f1f5ef;
  --sage-100: #e2eadf;
  --sage-300: #aebfa8;
  --sage-500: #6f876a;
  --sage-700: #40593d;
  --sage-900: #243624;
  --tan: #c7a77a;
  --tan-soft: #eadbc6;
  --charcoal: #292d2a;
  --muted: #626961;
  --line: rgba(49, 67, 47, 0.16);
  --danger: #a13932;
  --white: #fff;
  --shadow-sm: 0 8px 24px rgba(41, 45, 42, 0.07);
  --shadow-lg: 0 24px 70px rgba(41, 45, 42, 0.13);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --max-width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--charcoal); background: var(--cream); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.6; text-rendering: optimizeLegibility; }
body, button, input, select { font-family: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b17837; outline-offset: 3px; }
.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px; color: white; background: var(--sage-900); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.025em; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(2.8rem, 5.6vw, 4.85rem); }
h2 { margin-bottom: 18px; font-size: clamp(2.15rem, 4vw, 3.6rem); }
h3 { margin-bottom: 12px; font-size: clamp(1.45rem, 2.5vw, 2rem); }
h4 { font-size: 1.15rem; }
.lead { max-width: 690px; color: var(--muted); font-size: 1.14rem; }
.eyebrow, .mini-label { color: var(--sage-700); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; }
.eyebrow::before { width: 24px; height: 1px; background: currentColor; content: ""; }
.mini-label { margin-bottom: 8px; }

.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid var(--line); background: rgba(248,245,238,.94); backdrop-filter: blur(14px); }
.nav-shell { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--sage-900); font-family: Georgia, serif; font-size: 1.36rem; font-weight: 600; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.nav-link { color: var(--sage-700); font-size: .9rem; font-weight: 750; text-decoration: none; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 22px; border: 1px solid var(--sage-700); border-radius: 999px; color: white; background: var(--sage-700); cursor: pointer; font-weight: 760; line-height: 1.2; text-align: center; text-decoration: none; transition: .18s ease; }
.button:hover { border-color: var(--sage-900); background: var(--sage-900); transform: translateY(-1px); }
.button:disabled { opacity: .55; cursor: wait; transform: none; }
.button.full { width: 100%; }
.button-light { border-color: white; color: var(--sage-900); background: white; }
.button-light:hover { color: white; background: transparent; }
.text-button, .reset-button, .none-button { padding: 5px 2px; border: 0; color: var(--sage-700); background: transparent; cursor: pointer; font-size: .9rem; font-weight: 750; text-decoration: underline; text-decoration-color: rgba(64,89,61,.35); text-underline-offset: 4px; }
.none-button { margin-top: 10px; color: var(--muted); font-size: .82rem; }

.hero { padding: 92px 0 110px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .74fr; align-items: center; gap: clamp(48px, 8vw, 110px); }
.hero-actions { display: flex; align-items: center; gap: 22px; margin: 34px 0 28px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; color: var(--muted); font-size: .84rem; list-style: none; }
.trust-list li { display: flex; align-items: center; gap: 8px; }
.trust-list li::before { width: 7px; height: 7px; border-radius: 50%; background: var(--sage-500); content: ""; }
.hero-card { position: relative; padding: 38px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-lg); }
.hero-card::before { position: absolute; z-index: -1; inset: -25px 30px 35px -30px; border-radius: 40px; background: var(--sage-100); content: ""; transform: rotate(-2deg); }
.hero-milestone { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.hero-milestone:last-child { border: 0; }
.hero-milestone > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--sage-700); background: var(--sage-100); font-size: .73rem; font-weight: 850; }
.hero-milestone strong, .hero-milestone small { display: block; }
.hero-milestone small { margin-top: 2px; color: var(--muted); }

.planner-section { padding: 110px 0; background: var(--sage-50); }
.planner-shell { max-width: 1020px; }
.planner-intro { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.planner-intro p:last-child { color: var(--muted); }
.planner-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-lg); }
.planner-progress { padding: 22px 34px 0; background: #fbfaf6; }
.planner-progress > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 13px; color: var(--muted); font-size: .8rem; font-weight: 750; }
.reset-button { font-size: .76rem; }
.progress-track { height: 5px; overflow: hidden; border-radius: 999px; background: var(--sage-100); }
.progress-track span { display: block; width: 10%; height: 100%; border-radius: inherit; background: var(--sage-700); transition: width .25s ease; }
#planner-form { padding: 42px 52px 34px; }
.planner-step { display: none; min-height: 480px; animation: step-in .25s ease; }
.planner-step.is-active { display: block; }
@keyframes step-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.step-heading { max-width: 770px; margin-bottom: 30px; }
.step-heading p:last-child { color: var(--muted); }

fieldset { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
legend { width: 100%; margin-bottom: 12px; padding: 0; font-weight: 760; }
legend small { color: var(--muted); font-weight: 500; }
label { display: grid; gap: 7px; color: #394039; font-size: .85rem; font-weight: 720; }
input, select { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid rgba(49,67,47,.22); border-radius: 11px; color: var(--charcoal); background: white; }
input::placeholder { color: #979c96; }
input:focus, select:focus { border-color: var(--sage-700); outline: 3px solid rgba(64,89,61,.12); }
.field-grid { display: grid; gap: 18px; margin-bottom: 28px; }
.field-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.field-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.full-field { max-width: 760px; }
.field-help { margin: -4px 0 13px; color: var(--muted); font-size: .8rem; font-weight: 450; }

.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.choice-grid button { min-height: 48px; padding: 10px 13px; border: 1px solid rgba(49,67,47,.2); border-radius: 12px; background: white; cursor: pointer; font-size: .87rem; font-weight: 680; text-align: left; }
.choice-grid button:hover { border-color: var(--sage-500); background: var(--sage-50); }
.choice-grid button.is-selected { border-color: var(--sage-700); color: var(--sage-900); background: var(--sage-100); box-shadow: inset 0 0 0 1px var(--sage-700); }
.tri-state-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.tri-state-stack { display: grid; gap: 14px; }
.tri-question { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.tri-question > span { display: block; margin-bottom: 10px; font-weight: 700; }
.tri-options { display: flex; flex-wrap: wrap; gap: 7px; }
.tri-options button { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); cursor: pointer; font-size: .76rem; }
.tri-options button.is-selected { border-color: var(--sage-700); color: white; background: var(--sage-700); }

.tag-list { display: flex; min-height: 48px; flex-wrap: wrap; align-content: flex-start; gap: 8px; margin-top: 18px; }
.food-tag { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px 7px 12px; border: 1px solid var(--sage-300); border-radius: 999px; background: var(--sage-100); font-size: .82rem; font-weight: 650; }
.food-tag button { display: grid; width: 20px; height: 20px; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--sage-900); background: rgba(255,255,255,.7); cursor: pointer; }

.rating-group { margin-bottom: 28px; }
.rating-group h4 { margin-bottom: 10px; }
.rating-list { display: grid; gap: 8px; }
.rating-row { display: grid; grid-template-columns: minmax(150px,1fr) minmax(250px,1.35fr); align-items: center; gap: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: white; font-size: .86rem; font-weight: 650; }
.rating-options { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 5px; }
.rating-options button { min-height: 38px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream-50); color: var(--ink); font-weight: 750; cursor: pointer; }
.rating-options button:hover, .rating-options button.is-selected { border-color: var(--sage-700); background: var(--sage-100); color: var(--sage-900); box-shadow: inset 0 0 0 1px var(--sage-700); }
.other-foods-field { display: grid; gap: 8px; margin-top: 12px; font-size: .86rem; }
.method-preference-list { display: grid; gap: 9px; }
.method-preference-row { display: grid; grid-template-columns: minmax(140px,.7fr) minmax(320px,1.3fr); gap: 14px; align-items: center; padding: 11px 12px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.method-preference-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.method-preference-options button { min-height: 42px; border: 1px solid var(--line); border-radius: 9px; background: var(--cream-50); color: var(--ink); font-weight: 700; cursor: pointer; }
.method-preference-options button:hover, .method-preference-options button.is-selected { border-color: var(--sage-700); background: var(--sage-100); color: var(--sage-900); box-shadow: inset 0 0 0 1px var(--sage-700); }
.fuel-estimate { margin: -10px 0 24px; padding: 11px 13px; border-radius: 10px; background: var(--sage-50); color: var(--sage-900); font-weight: 700; }
.location-button { margin: 5px 0 10px; padding: 11px 15px; border: 1px solid var(--sage-700); border-radius: 10px; background: var(--sage-50); color: var(--sage-900); font-weight: 750; cursor: pointer; }
.location-button:hover { background: var(--sage-100); }
.location-button:disabled { opacity: .65; cursor: wait; }
.location-status { min-height: 1.4em; margin: 0 0 14px; color: var(--muted); font-size: .84rem; }
.safety-note, .review-note { margin-top: 24px; padding: 15px 17px; border: 1px solid #e4c887; border-radius: 13px; color: #73591f; background: #fff8e7; font-size: .83rem; }
.review-note { border-color: var(--sage-300); color: var(--charcoal); background: var(--sage-50); }
.review-note p { margin: 4px 0 0; color: var(--muted); }
.step-actions { display: flex; align-items: center; justify-content: flex-end; gap: 20px; padding-top: 26px; border-top: 1px solid var(--line); }
.step-actions [data-back] { margin-right: auto; }
.form-error { margin: 16px 0; padding: 11px 13px; border: 1px solid #d6a09b; border-radius: 10px; color: var(--danger); background: #fff3f2; font-size: .84rem; }

.loading-state { padding: 90px 30px; text-align: center; }
.spinner { display: block; width: 42px; height: 42px; margin: 0 auto 22px; border: 4px solid var(--sage-100); border-top-color: var(--sage-700); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-state p { color: var(--muted); }

.teaser, .full-plan { padding: 50px 52px; }
.teaser-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 26px 0 42px; }
.teaser-stat { padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--sage-50); }
.teaser-stat span { display: block; margin-bottom: 5px; color: var(--muted); font-size: .75rem; }
.teaser-stat strong { display: block; color: var(--sage-900); font-size: 1.13rem; }
.unlock-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 40px; padding: 38px; border-radius: 22px; color: white; background: var(--sage-900); }
.unlock-grid > div p { color: rgba(255,255,255,.68); }
#waitlist-form { padding: 25px; border-radius: 16px; color: var(--charcoal); background: var(--paper); }
#waitlist-form .field-grid { margin-bottom: 14px; }
#waitlist-form > label:not(.check-field) { margin-bottom: 16px; }
.check-field { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 10px; margin: 16px 0; font-size: .75rem; font-weight: 520; line-height: 1.45; }
.check-field input { width: 18px; min-height: 18px; margin: 2px 0 0; accent-color: var(--sage-700); }
.check-field.research { color: var(--muted); }
.privacy-line { margin: 12px 0 0; color: var(--muted); font-size: .68rem; text-align: center; }

.plan-heading { display: flex; align-items: start; justify-content: space-between; gap: 24px; }
.plan-summary-card { display: grid; grid-template-columns: 1.3fr repeat(2,.7fr); gap: 18px; margin: 20px 0 28px; padding: 24px; border: 1px solid var(--sage-300); border-radius: 18px; background: var(--sage-50); }
.plan-summary-card span { display: block; color: var(--muted); font-size: .73rem; }
.plan-summary-card strong { display: block; margin-top: 4px; color: var(--sage-900); font-size: 1.12rem; }
.avoidance-notice { margin-bottom: 22px; padding: 13px 15px; border-radius: 12px; color: #73591f; background: #fff8e7; font-size: .8rem; }
.plan-phase { margin-bottom: 15px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.plan-phase summary { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 20px 22px; cursor: pointer; list-style: none; }
.plan-phase summary::-webkit-details-marker { display: none; }
.plan-phase summary::after { align-self: center; color: var(--sage-700); content: "+"; font-size: 1.6rem; }
.plan-phase[open] summary::after { content: "−"; }
.phase-kicker { display: block; color: var(--sage-700); font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.phase-title { display: block; margin-top: 3px; font-weight: 780; }
.phase-cost { align-self: center; color: var(--muted); font-size: .82rem; white-space: nowrap; }
.phase-items { display: grid; gap: 10px; padding: 0 20px 20px; }
.plan-item { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fbfaf6; }
.item-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.item-name { font-weight: 750; }
.item-category { flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; color: var(--sage-700); background: var(--sage-100); font-size: .67rem; font-weight: 750; }
.item-meta { margin: 5px 0; color: var(--muted); font-size: .78rem; }
.item-rationale { margin: 0; font-size: .82rem; }
.item-safety { margin: 9px 0 0; color: #73591f; font-size: .74rem; }
.source-links { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; }
.source-links a { color: var(--sage-700); font-size: .7rem; }
.plan-disclaimer { margin-top: 22px; color: var(--muted); font-size: .73rem; }

.how-section { padding: 110px 0; }
.section-heading { max-width: 780px; margin-bottom: 46px; }
.process-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.process-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-sm); }
.process-grid article > span { color: var(--sage-500); font-size: .75rem; font-weight: 850; }
.process-grid h3 { margin-top: 22px; font-size: 1.1rem; }
.process-grid p { margin: 0; color: var(--muted); font-size: .87rem; }
.app-cta { padding: 78px 0; color: white; background: linear-gradient(135deg,var(--sage-700),var(--sage-900)); }
.app-cta .eyebrow { color: #d9e5d5; }
.app-cta h2 { margin-bottom: 10px; }
.app-cta p { margin: 0; color: rgba(255,255,255,.72); }
.app-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.site-footer { padding: 58px 0 45px; color: rgba(255,255,255,.7); background: #1d281d; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { color: white; }
.footer-inner p { margin: 8px 0 0; }
.footer-inner nav { display: flex; gap: 20px; }
.footer-inner nav a { text-decoration: none; }
.legal-copy { margin-top: 36px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); font-size: .7rem; }
.status-toast { position: fixed; z-index: 500; right: 20px; bottom: 20px; max-width: 420px; padding: 13px 16px; border-radius: 12px; color: white; background: var(--sage-900); box-shadow: var(--shadow-lg); }

@media (max-width: 980px) {
  .hero-grid, .unlock-grid { grid-template-columns: 1fr; }
  .hero-card { width: min(100%,680px); }
  .field-grid.four { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .unlock-grid { gap: 16px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }
  .container { width: min(calc(100% - 30px),var(--max-width)); }
  .nav-shell { min-height: 66px; }
  .hero { padding: 60px 0 78px; }
  .hero-grid { gap: 54px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .hero-card { padding: 28px; }
  .planner-section, .how-section { padding: 76px 0; }
  .planner-card { margin-inline: -7px; border-radius: 22px; }
  .planner-progress { padding: 18px 20px 0; }
  #planner-form, .teaser, .full-plan { padding: 32px 22px 25px; }
  .planner-step { min-height: 0; }
  .field-grid.two, .field-grid.four, .choice-grid, .tri-state-grid, .rating-list, .teaser-grid, .plan-summary-card { grid-template-columns: 1fr; }
  .rating-row, .method-preference-row { grid-template-columns: 1fr; }
  .rating-options { grid-template-columns: repeat(6,minmax(34px,1fr)); }
  .method-preference-options { grid-template-columns: 1fr; }
  .choice-grid button { text-align: center; }
  .step-actions { flex-wrap: wrap; justify-content: space-between; gap: 12px; }
  .step-actions [data-back] { width: auto; margin-right: 0; order: 1; }
  .step-actions [data-skip-step] { order: 2; }
  .step-actions .button { width: 100%; order: 3; }
  .unlock-grid { padding: 25px 20px; }
  #waitlist-form { padding: 20px 16px; }
  .plan-heading, .app-cta-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-inner nav { flex-wrap: wrap; }
  .app-cta .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
