:root {
  color-scheme: light;
  --green: #2c5c42;
  --ink: #243c2c;
  --muted: #56655b;
  --line: #dae3db;
  --wash: #f1f6ef;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: #fcfdf9; color: var(--ink); font: 1rem/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: #163c27; }
a:focus-visible { outline: 3px solid #ab6b11; outline-offset: 5px; border-radius: 3px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
.wrap, .site-header, .site-footer, .legal { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 10; background: white; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 27px; }
.brand { display: flex; gap: .65rem; align-items: center; font-size: 1.12rem; font-weight: 750; text-decoration: none; letter-spacing: -.03em; }
.brand img { border-radius: 12px; }
.site-header nav { display: flex; align-items: center; gap: 2rem; font-size: .94rem; font-weight: 600; }
.site-header nav a { text-decoration: none; }
.nav-cta { border: 1px solid var(--line); padding: .55rem 1rem; border-radius: 100px; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 6%; padding-block: 83px 105px; }
.eyebrow { color: var(--green); font-size: .88rem; font-weight: 700; letter-spacing: .025em; margin-bottom: 1.2rem; }
h1 { font-size: clamp(2.7rem, 4.8vw, 4.1rem); font-weight: 750; }
h1 span { color: var(--green); }
.intro { max-width: 490px; font-size: 1.15rem; line-height: 1.7; color: var(--muted); margin-top: 1.6rem; }
.button { display: inline-block; color: white; background: var(--green); border-radius: 100px; padding: .95rem 1.45rem; text-decoration: none; font-weight: 650; margin-top: 2rem; }
.button:hover { background: #204832; color: white; }
.small { font-size: .88rem; color: var(--muted); }
.hero-note { margin-top: 1rem; }
.example { position: relative; background: var(--wash); border: 1px solid #e0e9dd; border-radius: 32px; padding: 30px; transform: rotate(2deg); }
.example-top { display: flex; align-items: center; justify-content: space-between; }
.example-label { font-size: .88rem; color: var(--green); font-weight: 650; }
.sparkle { font-size: 2rem; line-height: 1; color: #8d651c; }
.prompt { margin-block: 1.25rem 1.5rem; font-size: 1.8rem; letter-spacing: -.03em; font-weight: 650; line-height: 1.3; }
.basket-list { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding-inline: 18px; }
.basket-list > div { display: flex; align-items: center; gap: 14px; padding-block: 15px; }
.basket-list > div + div { border-top: 1px solid #edf0eb; }
.food { font-size: 1.9rem; width: 44px; text-align: center; }
.basket-list small { display: block; font-size: .88rem; color: var(--muted); }
.check { margin-left: auto; color: var(--green); border-radius: 50%; background: var(--wash); width: 26px; height: 26px; display: grid; place-items: center; font-size: .9rem; }
.example-bottom { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: 18px; font-size: .88rem; font-weight: 600; }
.example-bottom img { border-radius: 12px; }
.example-caption { position: absolute; left: 0; right: 0; bottom: -33px; text-align: center; font-size: .8rem; color: var(--muted); }
.how { border-top: 1px solid var(--line); padding-block: 60px 56px; }
h2 { font-size: clamp(2rem, 3vw, 2.7rem); }
.section-heading .eyebrow { margin-bottom: .9rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 40px; }
.step-symbol { display: grid; place-items: center; width: 39px; height: 39px; background: #e8efe3; border-radius: 12px; font-size: 1.5rem; color: var(--green); margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
.steps p { color: var(--muted); }
.shopping-note { color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 36px; }
.app-section { padding-block: 18px 76px; }
.app-panel { background: var(--green); color: white; border-radius: 26px; padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.app-panel .eyebrow { color: #d6e7cc; margin-bottom: .8rem; }
.app-panel h2 { margin-bottom: 1.1rem; }
.app-panel p:not(.eyebrow) { max-width: 590px; }
.app-status { margin-top: .8rem; color: #e1eadf; font-size: .94rem; }
.app-icon { border-radius: 30px; flex: 0 0 160px; }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 30px; border-top: 1px solid var(--line); padding-block: 32px; color: var(--muted); font-size: .88rem; }
.footer-brand { color: var(--ink); font-size: 1.05rem; font-weight: 700; text-decoration: none; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: start; gap: .6rem 1.3rem; max-width: 570px; }
.copyright { grid-column: 1 / -1; font-size: .8rem; }
.legal { max-width: 800px; padding-block: 45px 80px; overflow-wrap: anywhere; }
.legal > a:first-child { display: inline-block; margin-bottom: 1.25rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.legal h3 { margin-top: 1.5rem; }
.legal p, .legal ul, .legal ol { margin-bottom: 1rem; }
.legal li + li { margin-top: .5rem; }
.legal .notice, .legal-notice { padding: 1rem 1.3rem; background: var(--wash); border-left: 3px solid var(--green); border-radius: 0 12px 12px 0; }

@media (max-width: 800px) {
  .wrap, .site-header, .site-footer, .legal { width: min(600px, calc(100% - 40px)); }
  .site-header { gap: 12px; padding-block: 20px; }
  .site-header nav { gap: 0; }
  .site-header nav a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; gap: 52px; padding-block: 45px 70px; }
  .hero-copy { max-width: 550px; }
  .example { transform: none; max-width: 440px; width: 100%; justify-self: center; }
  .steps { grid-template-columns: 1fr; gap: 30px; margin-top: 32px; }
  .steps article { position: relative; padding-left: 60px; }
  .step-symbol { position: absolute; left: 0; top: 0; }
  .how { padding-block: 42px; }
  .app-panel { padding: 32px; gap: 24px; }
  .app-icon { width: 100px; flex-basis: 100px; border-radius: 22px; }
  .site-footer { grid-template-columns: 1fr; gap: 22px; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 450px) {
  .brand { font-size: .94rem; gap: .3rem; }
  .brand img { width: 36px; }
  .nav-cta { padding: .45rem .7rem; font-size: .88rem; }
  h1 { font-size: 2.55rem; }
  .intro { font-size: 1.05rem; }
  .example { padding: 22px; }
  .prompt { font-size: 1.6rem; }
  .app-panel { flex-direction: column-reverse; align-items: flex-start; padding: 28px; }
  .app-icon { flex-basis: auto; width: 80px; }
  .site-footer nav { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
