:root {
  --lime: #c6d63c;
  --lime-soft: #eef3c4;
  --leaf: #4c5e1c;
  --ink: #1d1d1b;
  --ink-2: #4a4a44;
  --cream: #faf8f1;
  --paper: #ffffff;
  --line: #e4e1d4;
  --orange: #e8742a;
  --wa: #1fa855;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(29, 29, 27, .08);
  --display: "Oswald", "Arial Narrow", sans-serif;
  --script: "Caveat", cursive;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
@media (min-width: 860px) { html { scroll-padding-top: 76px; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 500; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.eyebrow { font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); margin-bottom: .8em; }
.script { font-family: var(--script); font-size: 1.5em; text-transform: none; letter-spacing: 0; font-weight: 600; }
.small { font-size: .88rem; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hl { background: linear-gradient(transparent 58%, var(--lime) 58%); padding: 0 .1em; }
.stars { color: #f2b01e; letter-spacing: 1px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(31, 168, 85, .3); }
.btn-wa:hover { background: #188f47; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; padding-inline: 8px; }
.btn-small { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.wa-ico { width: 22px; height: 22px; fill: currentColor; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250, 248, 241, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; min-height: 64px; padding-top: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.3rem/1 var(--body); letter-spacing: -.02em; }
.brand img { width: 46px; }
.brand em { font-style: normal; font-weight: 500; }
.nav { order: 3; flex-basis: 100%; display: flex; justify-content: space-between; gap: 8px; padding: 10px 0 12px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { text-decoration: none; font-weight: 500; font-size: clamp(.84rem, 3.6vw, .95rem); }
.nav a:hover { color: var(--leaf); }
@media (min-width: 860px) {
  .header-inner { flex-wrap: nowrap; height: 64px; padding-top: 0; }
  .nav { order: 0; flex-basis: auto; justify-content: flex-start; gap: 28px; padding: 0; }
  .nav a { font-size: .95rem; }
}

/* Hero */
.hero { padding: 36px 0 56px; background: linear-gradient(180deg, var(--cream) 0%, var(--lime-soft) 100%); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 560px; }
.price-line { font-size: 1.05rem; }
.price-line strong { font-family: var(--display); font-size: 1.5rem; font-weight: 700; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: var(--ink-2); }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; width: 100%; }
.hero-photo figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .92); padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 500; }
@media (min-width: 860px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
}

/* How it works */
.how { background: var(--ink); color: #fff; padding: 40px 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
.steps h3 { margin: 4px 0 2px; color: var(--lime); }
.steps p { margin: 0; grid-column: 2; color: #d6d5cc; font-size: .95rem; }
.step-n { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font: 700 1.2rem var(--display); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Cleanse */
.cleanse-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px) { .cleanse-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.bottles { margin: 0; }
.bottles img { border-radius: var(--radius); box-shadow: var(--shadow); }
.bottles figcaption { font-size: .88rem; color: var(--ink-2); margin-top: 10px; }
.schedule { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.day-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 14px; }
.day-tabs label {
  text-align: center;
  border: 1px solid var(--line); background: var(--cream); color: var(--ink);
  border-radius: 999px; padding: 8px 2px; white-space: nowrap; font: 700 .9rem var(--body); cursor: pointer;
}
.day-list { list-style: none; padding: 0; margin: 0 0 16px; }
.day-list li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 2px; border-bottom: 1px dashed var(--line); }
.day-list li:last-child { border-bottom: 0; }
.day-list span { color: var(--ink-2); font-size: .95rem; }
.day-list strong { font-family: var(--display); font-weight: 500; font-size: 1.1rem; text-align: right; }

/* Pricing */
.pricing { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 760px) { .pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.plan h3 { font-family: var(--display); font-size: 1.6rem; font-weight: 700; text-transform: uppercase; margin: 0; }
.plan-for { color: var(--ink-2); margin: 0; }
.plan-price { font: 700 1.9rem var(--display); margin: 10px 0 16px; }
.plan .btn { margin-top: auto; }
.plan-featured { background: var(--lime); border-color: var(--lime); box-shadow: var(--shadow); }
.plan-featured .plan-for { color: var(--ink); }
.badge { position: absolute; top: -12px; left: 22px; margin: 0; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.pricing-note { margin-top: 16px; font-size: .92rem; color: var(--ink-2); text-align: center; }

.quote-big { margin: 56px auto 0; max-width: 760px; text-align: center; }
.quote-big p { font-family: var(--display); font-weight: 500; font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.3; }
.quote-big footer { color: var(--ink-2); font-size: .92rem; }

/* Order */
.order { background: var(--ink); color: #fff; }
.order .eyebrow { color: var(--lime); }
.order-grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 860px) { .order-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.order-copy p { color: #d6d5cc; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: #d6d5cc; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--lime); font-weight: 700; }
.order-form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; box-shadow: var(--shadow); }
.order-form fieldset { border: 0; padding: 0; margin: 0; }
.order-form legend, .field > span { font-weight: 700; font-size: .92rem; margin-bottom: 6px; display: block; }
.field em { font-weight: 400; color: var(--ink-2); font-style: normal; }
.order-form > * { min-width: 0; }
.field { display: block; min-width: 0; }
.field input, .field textarea {
  display: block; width: 100%; max-width: 100%; min-width: 0; font: 400 1rem var(--body); padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 12px; background: var(--cream); color: var(--ink);
}
/* iOS Safari gives date inputs an intrinsic width that overflows the form */
.field input[type="date"] { -webkit-appearance: none; appearance: none; min-height: 50px; text-align: left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field input:focus, .field textarea:focus { border-color: var(--leaf); outline: none; }
.field input[aria-invalid="true"] { border-color: #c0392b; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 11px 4px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 700; font-size: .92rem; cursor: pointer; background: var(--cream); }
.seg input:checked + span { background: var(--lime); border-color: var(--lime); }
.seg input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.total { margin: 0; font-size: 1rem; }
.total strong { font: 700 1.4rem var(--display); }
.total span { color: var(--ink-2); font-size: .88rem; display: block; }
.form-error { color: #c0392b; font-weight: 500; margin: 0; }

/* Story */
.story { background: var(--paper); }
.story-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 860px) { .story-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.story-photo { margin: 0; }
.story-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.story-copy > p { color: var(--ink-2); }
.quote-inline { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--lime); }
.quote-inline p { font-family: var(--display); font-size: 1.3rem; font-weight: 500; line-height: 1.3; margin-bottom: .3em; }
.quote-inline footer { font-size: .9rem; color: var(--ink-2); }
.more { margin: 0 0 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); }
.more summary { padding: 14px 18px; font-weight: 700; cursor: pointer; }
.more-body { padding: 0 18px 8px; }
.more-body p { font-size: .98rem; color: var(--ink-2); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 500 1.6rem var(--display); color: var(--leaf); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 0 0 20px; }

/* Menu */
.menu { background: var(--cream); }
.menu-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 20px; scrollbar-width: thin; }
.menu-tabs label { flex: none; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 9px 16px; font: 700 .9rem var(--body); cursor: pointer; }
.menu-panel { display: none; gap: 0 48px; }
@media (min-width: 760px) { .menu-panel { grid-template-columns: 1fr 1fr; } }
.dish { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.dish h3 { font: 700 1rem var(--body); margin: 0; }
.dish .p { font: 700 1.05rem var(--display); }
.dish p { grid-column: 1 / -1; margin: 0; font-size: .92rem; color: var(--ink-2); }
.tag { display: inline-block; font: 700 .68rem var(--body); background: var(--lime); color: var(--ink); border-radius: 6px; padding: 2px 5px; margin-left: 6px; vertical-align: 2px; }
.legend { margin-top: 18px; }
.legend .tag { margin-left: 0; }
.board { margin: 40px auto 0; max-width: 560px; }
.board img { border-radius: var(--radius); }

/* Reviews */
.review-grid { display: grid; gap: 18px; margin-bottom: 24px; }
@media (min-width: 760px) { .review-grid { grid-template-columns: 1fr 1fr; } }
.reviews { background: var(--paper); }
.review { margin: 0; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.review .stars { margin: 0 0 8px; }
.review footer { font-size: .88rem; color: var(--ink-2); font-weight: 500; }
.link { font-weight: 700; color: var(--leaf); }

/* Visit */
.visit { background: var(--lime-soft); }
.visit-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .visit-grid { grid-template-columns: 1fr 1.2fr; gap: 56px; } }
address { font-style: normal; font-size: 1.1rem; margin-bottom: 1em; }
.contact-lines a { color: var(--leaf); font-weight: 500; }
.map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--line); }

/* Footer */
.site-footer { background: var(--ink); color: #d6d5cc; padding: 40px 0 96px; font-size: .95rem; }
.brand-foot { color: #fff; }
.brand-foot img { filter: invert(1); }
@media (min-width: 860px) { .site-footer { padding-bottom: 40px; } }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
  background: var(--wa); color: #fff; text-align: center; text-decoration: none; font-weight: 700;
  padding: 15px 16px; border-radius: 999px; box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  transition: transform .25s ease, opacity .25s ease;
}
.sticky-cta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (min-width: 860px) { .sticky-cta { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sticky-cta { transition: none; }
}

/* Base ingredients */
.ingredients { margin-top: 48px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.ingredients summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 22px; }
.ingredients summary::-webkit-details-marker { display: none; }
.ing-sum-text { flex: 1; display: grid; gap: 6px; }
.ing-sum-text .eyebrow { margin: 0; }
.ing-title { font: 700 1.25rem/1.2 var(--display); }
.ing-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ing-chips i { font-style: normal; font-size: .8rem; font-weight: 500; background: var(--lime-soft); border-radius: 999px; padding: 3px 10px; }
.ing-toggle { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); position: relative; transition: transform .2s ease; }
.ing-toggle::before, .ing-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.ing-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s ease; }
.ingredients[open] .ing-toggle::after { opacity: 0; }
.ingredients[open] .ing-chips { display: none; }
.ing-intro { padding: 0 22px; color: var(--ink-2); margin-bottom: 16px; }
.ingredients .ing-grid { padding: 0 22px 22px; }
.h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; }
.ing-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
@media (min-width: 760px) { .ing-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
.ing { background: var(--cream); border: 1px solid var(--line); border-top: 6px solid var(--c, var(--lime)); border-radius: 14px; padding: 14px 14px 10px; }
.ing h4 { font: 700 1.15rem var(--display); text-transform: uppercase; letter-spacing: .03em; margin: 0 0 8px; }
.ing ul { list-style: none; padding: 0; margin: 0; }
.ing ul li { position: relative; padding-left: 16px; font-size: .88rem; line-height: 1.4; color: var(--ink-2); margin-bottom: 4px; }
.ing ul li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--lime)); }
.trust a { color: var(--leaf); font-weight: 500; }
@media (max-width: 759px) { .plan-featured { order: -1; margin-top: 10px; } }

/* CSS-only tabs (work even where JavaScript is blocked) */
.tab-radio { position: absolute; opacity: 0; pointer-events: none; }
.day-list { display: none; }
#day1:checked ~ .day-list[data-day="1"],
#day2:checked ~ .day-list[data-day="2"],
#day3:checked ~ .day-list[data-day="3"],
#day4:checked ~ .day-list[data-day="4"],
#day5:checked ~ .day-list[data-day="5"] { display: block; }
#day1:checked ~ .day-tabs label[for="day1"],
#day2:checked ~ .day-tabs label[for="day2"],
#day3:checked ~ .day-tabs label[for="day3"],
#day4:checked ~ .day-tabs label[for="day4"],
#day5:checked ~ .day-tabs label[for="day5"] { background: var(--lime); border-color: var(--lime); }
#day1:focus-visible ~ .day-tabs label[for="day1"],
#day2:focus-visible ~ .day-tabs label[for="day2"],
#day3:focus-visible ~ .day-tabs label[for="day3"],
#day4:focus-visible ~ .day-tabs label[for="day4"],
#day5:focus-visible ~ .day-tabs label[for="day5"] { outline: 3px solid var(--orange); outline-offset: 2px; }
#cat1:checked ~ .menu-panel[data-cat="1"],
#cat2:checked ~ .menu-panel[data-cat="2"],
#cat3:checked ~ .menu-panel[data-cat="3"],
#cat4:checked ~ .menu-panel[data-cat="4"],
#cat5:checked ~ .menu-panel[data-cat="5"],
#cat6:checked ~ .menu-panel[data-cat="6"],
#cat7:checked ~ .menu-panel[data-cat="7"] { display: grid; }
#cat1:checked ~ .menu-tabs label[for="cat1"],
#cat2:checked ~ .menu-tabs label[for="cat2"],
#cat3:checked ~ .menu-tabs label[for="cat3"],
#cat4:checked ~ .menu-tabs label[for="cat4"],
#cat5:checked ~ .menu-tabs label[for="cat5"],
#cat6:checked ~ .menu-tabs label[for="cat6"],
#cat7:checked ~ .menu-tabs label[for="cat7"] { background: var(--ink); color: #fff; border-color: var(--ink); }
#cat1:focus-visible ~ .menu-tabs label[for="cat1"],
#cat2:focus-visible ~ .menu-tabs label[for="cat2"],
#cat3:focus-visible ~ .menu-tabs label[for="cat3"],
#cat4:focus-visible ~ .menu-tabs label[for="cat4"],
#cat5:focus-visible ~ .menu-tabs label[for="cat5"],
#cat6:focus-visible ~ .menu-tabs label[for="cat6"],
#cat7:focus-visible ~ .menu-tabs label[for="cat7"] { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Order total follows the selected program without JavaScript */
.total .t { display: none; margin: 0; }
.order-form:has(input[name="days"][value="1"]:checked) .t1,
.order-form:has(input[name="days"][value="3"]:checked) .t3,
.order-form:has(input[name="days"][value="5"]:checked) .t5,
.order-form:has(input[name="days"][value="custom"]:checked) .tc { display: block; }
@supports not selector(:has(a)) { .total .tc { display: block; } }
