:root {
  --ink: #17241f;
  --muted: #607069;
  --green-900: #173f31;
  --green-700: #245b45;
  --green-500: #478163;
  --green-100: #e6f0ea;
  --green-50: #f4f8f5;
  --cream: #faf8f1;
  --line: #dce5df;
  --white: #fff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 18px 50px rgba(22, 57, 43, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font: 16px/1.7 var(--sans); text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2 { font-family: var(--serif); letter-spacing: -.025em; }
h2 { font-size: clamp(1.85rem, 6vw, 2.65rem); line-height: 1.13; }
h3 { line-height: 1.3; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #efb95e; outline-offset: 3px; }
.shell, .shell-wide, .shell-narrow { width: min(100% - 40px, 1140px); margin-inline: auto; }
.shell-wide { width: min(100% - 24px, 1220px); }
.shell-narrow { width: min(100% - 40px, 900px); }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; transform: translateY(-150%); border-radius: 6px; background: var(--white); color: var(--green-900); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--green-900); text-decoration: none; font: 700 1.25rem/1 var(--serif); letter-spacing: -.02em; }
.brand i { color: var(--green-500); font-weight: 400; }
.brand-mark { position: relative; width: 26px; height: 26px; display: inline-block; transform: rotate(-8deg); border: 2px solid var(--green-700); border-radius: 80% 10% 80% 10%; }
.brand-mark::after { content: ""; position: absolute; left: 11px; top: 3px; width: 2px; height: 20px; transform: rotate(43deg); transform-origin: bottom; background: var(--green-700); }
.brand-mark span { position: absolute; left: 8px; top: 9px; width: 7px; height: 2px; transform: rotate(20deg); background: var(--green-700); }
.menu-toggle { width: 42px; height: 42px; display: grid; place-content: center; gap: 5px; border: 0; border-radius: 8px; background: var(--green-50); cursor: pointer; }
.menu-toggle > span:not(.sr-only) { width: 20px; height: 2px; background: var(--green-900); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }
.main-nav { position: absolute; left: 20px; right: 20px; top: calc(100% + 8px); display: none; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow); }
.main-nav.is-open { display: grid; }
.main-nav a { padding: 10px 12px; border-radius: 8px; color: #33443d; text-decoration: none; font-weight: 650; }
.main-nav a:hover { background: var(--green-50); color: var(--green-700); }

.article-hero { padding-block: 58px 36px; text-align: center; }
.eyebrow, .section-label { color: var(--green-700); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; }
.eyebrow span { width: 26px; height: 1px; background: var(--green-500); }
.article-hero h1 { max-width: 860px; margin: 0 auto 20px; font-size: clamp(2.45rem, 9vw, 4.7rem); line-height: 1.01; }
.dek { max-width: 720px; margin: 0 auto 22px; color: var(--muted); font: 1.08rem/1.65 var(--sans); }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 10px; color: #718078; font-size: .83rem; }
.hero-figure { margin-bottom: 0; }
.hero-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.hero-figure figcaption { padding: 8px 4px 0; color: #77857e; font-size: .78rem; }

.article-layout { padding-block: 48px 80px; }
.article-aside { display: none; }
.article-body { max-width: 760px; margin-inline: auto; }
.article-body > section, .article-body > blockquote { scroll-margin-top: 24px; }
.article-body p { color: #3e4c46; }
.lead { color: var(--ink) !important; font: 1.42rem/1.52 var(--serif); }
.introduction { margin-bottom: 42px; }

.recipe-card { margin-inline: -8px; padding: 28px 20px; border: 1px solid #cdded3; border-top: 5px solid var(--green-700); border-radius: 10px; background: var(--green-50); box-shadow: var(--shadow); }
.recipe-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.recipe-heading h2 { margin-bottom: 12px; font-size: clamp(2rem, 8vw, 3rem); }
.recipe-heading p { margin-bottom: 0; }
.recipe-badge { flex: 0 0 68px; height: 68px; display: none; place-content: center; border: 1px solid #a8c3b1; border-radius: 50%; color: var(--green-700); text-align: center; font-size: .68rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; transform: rotate(7deg); }
.recipe-stats { margin: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid #cdded3; }
.recipe-stats div { padding: 14px 5px; text-align: center; }
.recipe-stats div + div { border-left: 1px solid #cdded3; }
.recipe-stats dt { color: var(--muted); font-size: .68rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.recipe-stats dd { margin: 3px 0 0; color: var(--green-900); font-family: var(--serif); font-size: .96rem; font-weight: 700; line-height: 1.2; }
.recipe-grid { display: grid; gap: 30px; }
.recipe-grid h3, .substitutions h3 { margin-bottom: 16px; font-family: var(--serif); font-size: 1.35rem; }
.ingredient-list { padding: 0; margin: 0; list-style: none; }
.ingredient-list li { padding: 9px 0; border-bottom: 1px solid #d7e4dc; color: #35443d; }
.ingredient-list span { display: inline-block; min-width: 80px; color: var(--green-700); font-weight: 800; }
.direction-list { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
.direction-list li { display: flex; align-items: flex-start; gap: 12px; }
.direction-list li > span { flex: 0 0 30px; height: 30px; display: grid; place-content: center; border-radius: 50%; background: var(--green-700); color: white; font-size: .8rem; font-weight: 800; }
.direction-list p { margin: 0; line-height: 1.55; }
.portion-note { margin-top: 30px; padding: 18px; border-left: 3px solid var(--green-500); background: var(--white); }
.portion-note strong { color: var(--green-900); }
.portion-note p { margin: 4px 0 0; font-size: .93rem; }
.substitutions { margin-top: 32px; padding-top: 28px; border-top: 1px solid #cdded3; }
.substitution-grid { display: grid; gap: 8px; }
.substitution-grid p { margin: 0; }

.content-section { padding-top: 72px; }
.content-section > h2 { max-width: 640px; margin-bottom: 18px; }
.benefit-list { margin-top: 32px; display: grid; gap: 14px; }
.benefit-list article { display: flex; gap: 18px; padding: 22px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.benefit-icon { flex: 0 0 42px; height: 42px; display: grid; place-content: center; border-radius: 50%; background: var(--green-100); color: var(--green-700); font-size: .72rem; font-weight: 800; }
.benefit-list h3 { margin-bottom: 6px; font-family: var(--serif); font-size: 1.22rem; }
.benefit-list p { margin: 0; font-size: .94rem; }
.pull-quote { margin: 60px 0 0; padding: 34px 18px; border-block: 1px solid var(--green-500); text-align: center; }
.pull-quote p { margin: 0; color: var(--green-900); font: italic 1.55rem/1.4 var(--serif); }
.routine-grid { margin-top: 30px; display: grid; gap: 12px; }
.routine-grid article { padding: 22px; border-radius: 8px; background: var(--cream); }
.routine-grid article > span { color: var(--green-500); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.routine-grid h3 { margin: 8px 0; font-family: var(--serif); font-size: 1.18rem; }
.routine-grid p { margin: 0; font-size: .92rem; line-height: 1.55; }

.medical-note { margin-top: 72px; padding: 24px 20px; display: flex; align-items: flex-start; gap: 15px; border: 1px solid #c5d9cc; border-radius: 8px; background: var(--green-50); }
.note-icon { flex: 0 0 28px; height: 28px; display: grid; place-content: center; border-radius: 50%; background: var(--green-700); color: white; font: italic 700 1rem var(--serif); }
.medical-note h2 { margin-bottom: 7px; font: 700 1.2rem var(--sans); letter-spacing: 0; }
.medical-note p { margin: 0; font-size: .88rem; line-height: 1.58; }
.cta-panel { margin-top: 56px; padding: 38px 22px; border-radius: 10px; background: var(--green-900); color: white; text-align: center; }
.cta-panel .section-label { color: #a9ceb8; }
.cta-panel h2 { max-width: 570px; margin: 0 auto 24px; color: white; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 14px 22px; border-radius: 6px; background: #f2c46f; color: #173426; text-decoration: none; font-weight: 800; box-shadow: 0 8px 22px rgba(0,0,0,.18); transition: transform .2s, background .2s; }
.primary-button:hover { transform: translateY(-2px); background: #f6cf85; }
.cta-panel > p:last-child { max-width: 500px; margin: 15px auto 0; color: #cbded3; font-size: .88rem; }

.site-footer { padding-top: 52px; background: #112f25; color: #d8e5dd; }
.footer-grid { display: grid; gap: 34px; }
.brand-footer { color: white; }
.brand-footer .brand-mark { border-color: #9fc5ae; }
.brand-footer .brand-mark::after, .brand-footer .brand-mark span { background: #9fc5ae; }
.footer-grid > div:first-child p { max-width: 330px; margin-top: 18px; }
.footer-grid h2 { margin-bottom: 12px; color: #9fc5ae; font: 800 .73rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.footer-grid p { color: #b9cdc1; font-size: .88rem; }
.footer-grid > div:not(:first-child) a { display: block; width: fit-content; padding: 3px 0; color: #e3ece7; font-size: .9rem; text-decoration-color: transparent; text-underline-offset: 3px; }
.footer-grid > div:not(:first-child) a:hover { text-decoration-color: currentColor; }
.footer-bottom { margin-top: 42px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.13); }
.footer-bottom p { margin: 3px 0; color: #8eaa9a; font-size: .74rem; }

/* Supporting pages */
.legal-main { min-height: 60vh; padding-block: 54px 80px; }
.legal-card { width: min(100% - 40px, 820px); margin-inline: auto; }
.legal-card .eyebrow { margin-bottom: 12px; }
.legal-card h1 { margin-bottom: 18px; font-size: clamp(2.5rem, 9vw, 4rem); line-height: 1.06; }
.legal-card h2 { margin-top: 42px; margin-bottom: 10px; font-size: 1.55rem; }
.legal-card p, .legal-card li { color: #45544d; }
.legal-card a { color: var(--green-700); }
.back-link { display: inline-block; margin-bottom: 30px; color: var(--green-700); text-decoration: none; font-weight: 750; }

@media (min-width: 620px) {
  .article-hero { padding-block: 76px 46px; }
  .recipe-card { margin-inline: 0; padding: 40px; }
  .recipe-badge { display: grid; }
  .recipe-grid, .substitution-grid { grid-template-columns: 1fr 1fr; }
  .routine-grid { grid-template-columns: 1fr 1fr; }
  .routine-grid article:last-child { grid-column: 1 / -1; }
  .benefit-list article { padding: 24px; }
  .cta-panel { padding: 50px 40px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
}

@media (min-width: 800px) {
  .site-header { position: sticky; top: 0; }
  .header-inner { min-height: 78px; }
  .menu-toggle { display: none; }
  .main-nav { position: static; display: flex; align-items: center; gap: 16px; padding: 0; border: 0; box-shadow: none; }
  .main-nav a { padding: 8px 4px; font-size: .9rem; }
  .hero-figure img { border-radius: 8px; }
  .article-layout { display: grid; grid-template-columns: 150px minmax(0, 760px); justify-content: center; gap: 64px; padding-top: 64px; }
  .article-aside { position: sticky; top: 110px; align-self: start; display: grid; gap: 8px; padding-left: 14px; border-left: 1px solid var(--line); }
  .aside-title { margin: 0 0 6px; color: var(--ink) !important; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .article-aside a { color: #697870; font-size: .78rem; line-height: 1.35; text-decoration: none; }
  .article-aside a:hover { color: var(--green-700); }
}

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