:root {
  --ink: #1d2633;
  --muted: #56606d;
  --cream: #f7f1e7;
  --paper: #fffdf8;
  --orange: #b83a12;
  --orange-soft: #fbe2d2;
  --green: #1f6f56;
  --yellow: #f4bd50;
  --line: #ded8cc;
  --shadow: 0 18px 50px rgba(35, 42, 47, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
button, a { font: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 0 6vw; background: rgba(255, 253, 248, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; gap: 12px; align-items: center; font-size: 18px; font-weight: 750; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.brand__mark { display: grid; width: 40px; height: 40px; place-items: center; color: white; background: var(--orange); border-radius: 50% 50% 48% 52% / 52% 48% 54% 46%; font-family: Georgia, serif; font-style: italic; }
.brand b { color: var(--orange); }
.topbar__actions { display: flex; align-items: center; gap: 22px; }
.topbar__actions a { color: var(--muted); text-decoration: none; }
.print-button { padding: 10px 18px; color: white; background: var(--ink); border: 0; border-radius: 999px; cursor: pointer; }

main { overflow: hidden; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .65fr); gap: 7vw; align-items: end; min-height: 590px; padding: 95px 8vw 88px; background: var(--cream); border-bottom: 1px solid var(--line); }
.hero::before { position: absolute; top: -140px; right: 17%; width: 330px; height: 330px; content: ''; background: var(--yellow); border-radius: 47% 53% 63% 37% / 41% 40% 60% 59%; opacity: .28; transform: rotate(18deg); }
.hero::after { position: absolute; bottom: -180px; left: -100px; width: 340px; height: 340px; content: ''; border: 55px solid var(--orange-soft); border-radius: 50%; }
.hero__copy, .hero__summary { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 12px; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 850px; margin-bottom: 24px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(52px, 7vw, 108px); font-weight: 500; letter-spacing: -.055em; line-height: .91; }
h1 em { color: var(--orange); font-weight: 500; }
.hero__lead { max-width: 690px; color: #4f5965; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.hero__tags span, .signal { padding: 8px 13px; background: white; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.hero__summary { padding: 28px; color: white; background: var(--green); border-radius: 24px 24px 70px 24px; box-shadow: var(--shadow); }
.hero__summary > strong { display: block; font-family: Georgia, serif; font-size: 76px; font-weight: 500; line-height: 1; }
.hero__summary > span { display: block; max-width: 170px; margin-top: 4px; color: #d9eee7; line-height: 1.4; }
.summary__kicker { color: #a9d3c5; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.summary__rule { height: 1px; margin: 28px 0 18px; background: rgba(255, 255, 255, .2); }
.hero__summary p { margin-bottom: 8px; color: #d9eee7; font-size: 14px; }

.signals { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: center; padding: 56px 8vw; background: var(--ink); color: white; }
.signals h2, .section-heading h2, .prep h2, .portions h2 { margin-bottom: 0; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 58px); font-weight: 500; letter-spacing: -.035em; }
.signals__list { display: flex; flex-wrap: wrap; gap: 9px; }
.signals .eyebrow { color: var(--yellow); }
.signal { color: #eaf1ef; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); }
.signal strong { color: var(--yellow); }

.plan { padding: 90px 8vw 110px; }
.section-heading { display: flex; gap: 30px; align-items: end; justify-content: space-between; margin-bottom: 48px; }
.week-filter { display: flex; padding: 5px; background: var(--cream); border-radius: 999px; }
.week-filter button { padding: 10px 16px; color: var(--muted); background: transparent; border: 0; border-radius: 999px; cursor: pointer; }
.week-filter button.is-active { color: white; background: var(--green); }
.schedule { display: grid; gap: 14px; }
.day-card { display: grid; grid-template-columns: 110px 1fr; background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 5px 18px rgba(35, 42, 47, .035); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.day-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.day-card[hidden] { display: none; }
.day-card__number { display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; background: var(--orange); }
.day-card:nth-child(3n + 2) .day-card__number { background: var(--green); }
.day-card:nth-child(3n) .day-card__number { color: var(--ink); background: var(--yellow); }
.day-card__number span { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.day-card__number strong { font-family: Georgia, serif; font-size: 44px; font-weight: 500; line-height: 1; }
.day-card__meals { display: grid; grid-template-columns: repeat(3, 1fr); }
.meal { min-height: 160px; padding: 24px 26px; border-right: 1px solid var(--line); }
.meal:last-child { border-right: 0; }
.meal__label { display: flex; gap: 7px; align-items: center; margin-bottom: 18px; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.meal h3 { margin-bottom: 8px; font-family: Georgia, serif; font-size: 22px; font-weight: 600; line-height: 1.1; }
.meal p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.prep { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; padding: 88px 8vw; background: var(--cream); }
.prep__intro { padding-right: 5vw; }
.prep article { padding: 28px; background: white; border: 1px solid var(--line); border-radius: 22px; }
.prep article > span { display: inline-grid; width: 40px; height: 40px; margin-bottom: 40px; place-items: center; color: white; background: var(--orange); border-radius: 50%; font-weight: 800; }
.prep article:nth-child(3) > span { background: var(--green); }
.prep article h3 { margin-bottom: 12px; font-family: Georgia, serif; font-size: 25px; }
.prep article p { margin-bottom: 0; color: var(--muted); line-height: 1.6; }

.portions { display: grid; grid-template-columns: .75fr 1.25fr; gap: 40px; align-items: center; padding: 75px 8vw; color: white; background: var(--orange); }
.portions > div { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.portions span { padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.portions b { display: block; font-family: Georgia, serif; font-size: 25px; }
footer { padding: 28px 8vw; color: #a7adb5; background: var(--ink); font-size: 13px; }
footer p { margin: 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero__summary { max-width: 360px; }
  .signals, .prep, .portions { grid-template-columns: 1fr; }
  .day-card { grid-template-columns: 80px 1fr; }
  .day-card__meals { grid-template-columns: 1fr; }
  .meal { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .meal:last-child { border-bottom: 0; }
}

@media (max-width: 620px) {
  .topbar { padding: 0 20px; }
  .topbar__actions a { display: none; }
  .hero, .signals, .plan, .prep, .portions { padding-left: 22px; padding-right: 22px; }
  h1 { font-size: 52px; }
  .section-heading { align-items: start; flex-direction: column; }
  .week-filter { width: 100%; }
  .week-filter button { flex: 1; padding: 9px; }
  .day-card { grid-template-columns: 1fr; }
  .day-card__number { flex-direction: row; gap: 8px; padding: 13px; }
  .day-card__number strong { font-size: 30px; }
  .portions > div { grid-template-columns: 1fr; }
}

@media print {
  .topbar, .hero__summary, .signals, .prep, .portions, footer, .week-filter { display: none; }
  .hero { min-height: auto; padding: 24px; background: white; }
  .hero h1 { font-size: 46px; }
  .plan { padding: 20px; }
  .day-card { break-inside: avoid; box-shadow: none; }
}
