:root {
  color-scheme: light;
  --paper: #f8f5eb;
  --cream: #fffdf7;
  --ink: #252720;
  --olive: #3d4829;
  --moss: #54603b;
  --body: #525348;
  --line: #d9d7c8;
  --gold: #e8ba61;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
button, input, select { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #9e4a28; outline-offset: 4px; }

.shell { width: min(100% - 104px, 1312px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; top: 8px; left: 8px; background: var(--cream); padding: 10px 16px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.masthead { border-bottom: 1px solid var(--line); }
.nav, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 600 1.55rem/1.1 var(--serif); letter-spacing: -.06em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: inline-block; width: 21px; height: 21px; border: 1.5px solid var(--olive); border-radius: 50%; box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 5px var(--olive); }
.nav nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.nav-sample, footer a { text-decoration-thickness: 1px; text-underline-offset: 4px; font-size: .875rem; }
.nav-sample { text-decoration: none; }
.nav-sample:hover { text-decoration: underline; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 47px; border: 1px solid transparent; border-radius: 6px; padding: 11px 19px; font-size: .88rem; font-weight: 700; line-height: 1.25; text-decoration: none; cursor: pointer; }
.button-outline { color: var(--olive); border-color: #9ba184; }
.button-outline:hover { background: #eae9db; }
.button-primary { background: var(--olive); color: var(--cream); }
.button-primary:hover { background: #303a20; }
.button:disabled { cursor: wait; opacity: .72; }
.text-link { align-self: center; font-size: .9rem; font-weight: 650; text-underline-offset: 5px; text-decoration-thickness: 1px; white-space: nowrap; }
.text-link span { margin-left: 3px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr); align-items: center; gap: clamp(34px, 5vw, 85px); padding-block: clamp(40px, 6vw, 86px); }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--olive); font-size: .73rem; font-weight: 750; letter-spacing: .115em; line-height: 1.4; text-transform: uppercase; }
.eyebrow > span { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #a74c2f; }
h1, h2, .signup-form h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.06em; }
h1 { margin-top: 17px; font-size: clamp(3.4rem, 6.25vw, 6.15rem); line-height: .98; }
h1 em { color: var(--olive); font-weight: 400; }
.hero-description { max-width: 31rem; margin-top: 24px; color: var(--body); font-size: clamp(1.02rem, 1.3vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 23px; margin-top: 27px; }
.price-note { margin-top: 15px; color: var(--body); font-size: .87rem; }
.price-note strong { color: var(--ink); }
.hero-image { margin: 0; }
.hero-image img { width: 100%; height: auto; aspect-ratio: 1.22; object-fit: cover; border-radius: 8px; background: #d7c1a3; }
.hero-image figcaption { margin-top: 8px; color: var(--body); font-size: .78rem; }

.sample { padding-block: clamp(50px, 7vw, 100px); background: #eeecde; border-top: 1px solid var(--line); }
.sample-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.45fr); gap: clamp(25px, 6vw, 90px); }
.sample h2, .signup h2 { margin-block: 13px 15px; font-size: clamp(2.65rem, 4.6vw, 4.55rem); line-height: .99; }
.sample-intro > p:not(.eyebrow) { max-width: 31rem; color: var(--body); }
.swap { margin-top: 25px; border-left: 2px solid #aa5339; padding-left: 13px; font-size: .91rem; }
.swap strong { color: var(--ink); }
.sample-sheet { align-self: start; background: var(--cream); padding: clamp(21px, 3.1vw, 43px); border: 1px solid var(--line); border-radius: 8px; }
.dinner-list { display: grid; margin: 0; padding: 0; list-style: none; }
.dinner-list > li { display: grid; grid-template-columns: 95px minmax(0, 1fr); column-gap: 16px; row-gap: 3px; padding-block: 16px; }
.dinner-list > li + li { border-top: 1px solid var(--line); }
.dinner-list > li:first-child { padding-top: 0; }
.day { grid-row: span 2; padding-top: 2px; color: var(--olive); font-size: .72rem; font-weight: 750; letter-spacing: .085em; text-transform: uppercase; }
.sample-sheet h3 { font: 500 1.3rem/1.15 var(--serif); }
.dinner-list p { color: var(--body); font-size: .88rem; }
.grocery { border-top: 1px solid var(--line); padding-top: 15px; }
.grocery ul { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 11px 0 0; padding: 0; list-style: none; }
.grocery li { padding: 3px 9px; border: 1px solid #dedbc8; border-radius: 4px; color: var(--olive); background: #f4f2e6; font-size: .8rem; }

.signup { padding-block: clamp(53px, 7vw, 103px); background: #3c472a; color: var(--cream); }
.signup-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: clamp(26px, 7vw, 105px); }
.signup-copy .eyebrow { color: #eee2bd; }
.signup-copy .eyebrow span { background: var(--gold); }
.signup-copy > p:not(.eyebrow):not(.offer) { max-width: 31rem; color: #e6e5d5; }
.offer { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.offer strong { font: 400 3.4rem/1 var(--serif); letter-spacing: -.07em; }
.offer span { font-size: .83rem; color: #e5e4d2; line-height: 1.35; }
.signup-note { margin-top: 12px; font-size: .88rem; }
.signup-form { background: var(--cream); color: var(--ink); padding: clamp(21px, 3.7vw, 45px); border-radius: 8px; }
.signup-form h3 { margin-bottom: 19px; font-size: clamp(1.85rem, 3.3vw, 2.55rem); line-height: 1; }
.signup-form > label:not(.check) { display: block; margin-bottom: 5px; font-size: .84rem; font-weight: 650; }
.signup-form input[type="email"], .signup-form select { display: block; width: 100%; min-height: 46px; margin-bottom: 14px; padding: 8px 10px; border: 1px solid #a9aa98; border-radius: 5px; background: #fffefa; color: var(--ink); font-size: 1rem; }
.optional { color: #626454; font-size: .76rem; font-weight: 450; }
label > .optional { margin-left: 4px; }
.check { display: flex; align-items: flex-start; gap: 9px; min-height: 33px; font-size: .86rem; line-height: 1.4; }
.check input { width: 17px; height: 17px; flex: 0 0 17px; margin: 1px 0 0; accent-color: var(--olive); }
.signup-form button { width: 100%; margin-top: 8px; }
.form-note { margin-top: 9px; color: #565749; font-size: .77rem; line-height: 1.5; }
.form-status { margin-top: 8px; font-size: .85rem; font-weight: 650; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #9e351c; }
.form-status[data-state="success"] { color: var(--olive); }

footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 76px; }
.footer-inner .wordmark { font-size: 1.33rem; }

@media (max-width: 1040px) {
  .shell { width: min(100% - 64px, 1312px); }
  .hero { gap: 32px; }
  h1 { font-size: clamp(3.1rem, 6.25vw, 5.2rem); }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .nav, .footer-inner { min-height: 65px; }
  .nav-sample { display: none; }
  .nav .button { min-height: 43px; padding-inline: 13px; }
  .hero, .sample-layout, .signup-layout { grid-template-columns: 1fr; }
  .hero { gap: 27px; padding-top: 37px; }
  h1 { font-size: clamp(3.25rem, 12vw, 5.8rem); }
  .hero-description { margin-top: 18px; }
  .hero-actions { margin-top: 21px; }
  .hero-image img { aspect-ratio: 1.28; }
  .sample h2, .signup h2 { font-size: clamp(2.55rem, 9vw, 4.3rem); }
}

@media (max-width: 420px) {
  .wordmark { font-size: 1.36rem; }
  .brand-mark { width: 18px; height: 18px; box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px var(--olive); }
  .dinner-list > li { grid-template-columns: 1fr; }
  .day { grid-row: auto; }
  .dinner-list h3 { margin-block: 2px; }
}
