:root {
  --green: #027058;
  --green-deep: #014c3b;
  --green-ink: #06231c;
  --bg: #ffffff;
  --surface: #fbfcfb;
  --surface-2: #f4f7f4;
  --line: #e8ebe7;
  --line-soft: #f0f2ef;
  --ink: #16201b;
  --muted: #5f6b64;
  --expired: #c0392b;
  --soon: #e08a1e;
  --fresh: #2f8f5b;
  --shadow: 0 30px 70px -40px rgba(2, 76, 59, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.82); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line-soft); }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 15px 32px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-ink); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-cta { text-decoration: none; color: #fff; background: var(--green); font-weight: 600; font-size: 14px; padding: 9px 18px; border-radius: 999px; transition: background .15s; }
.nav-cta:hover { background: var(--green-deep); }

/* hero */
.hero { max-width: 1120px; margin: 0 auto; padding: 100px 32px 104px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); background: var(--surface-2); padding: 6px 12px; border-radius: 999px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(46px, 7vw, 82px); font-weight: 600; color: var(--green-ink); margin-bottom: 24px; }
.lede { font-size: 19px; color: var(--muted); max-width: 32ch; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary { display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; padding: 14px 28px; border-radius: 999px; transition: background .15s, transform .15s, box-shadow .15s; box-shadow: 0 12px 24px -12px rgba(2,112,88,0.6); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(2,112,88,0.55); }
.btn-primary.big { font-size: 18px; padding: 18px 42px; }
.btn-ghost { display: inline-block; color: var(--green-ink); text-decoration: none; font-weight: 600; font-size: 16px; padding: 14px 22px; border-radius: 999px; border: 1px solid var(--line); transition: border-color .15s, background .15s; }
.btn-ghost:hover { border-color: var(--green); background: var(--surface-2); }

/* hero shelf card */
.shelf { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.shelf-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.items { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface-2); border-radius: 14px; }
.item .dot { width: 8px; height: 40px; border-radius: 4px; flex: none; }
.item .name { font-weight: 500; flex: 1; }
.item .days { font-size: 14px; font-weight: 600; }
.item.expired .dot { background: var(--expired); } .item.expired .days { color: var(--expired); }
.item.soon .dot { background: var(--soon); } .item.soon .days { color: var(--soon); }
.item.fresh .dot { background: var(--fresh); } .item.fresh .days { color: var(--fresh); text-transform: capitalize; }

/* how */
.how { background: var(--green-ink); color: #fff; padding: 92px 32px; }
.section-eyebrow { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #7fc3a6; margin-bottom: 52px; }
.steps { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { border-top: 1px solid rgba(255,255,255,0.18); padding-top: 24px; }
.step-n { font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 600; color: #7fc3a6; }
.step h3 { font-size: 25px; color: #fff; margin: 14px 0 10px; font-weight: 500; }
.step p { color: #adc3b8; font-size: 16px; }

/* split */
.split { max-width: 1120px; margin: 0 auto; padding: 104px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-text h2 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 600; color: var(--green-ink); margin-bottom: 20px; }
.split-text p { font-size: 18px; color: var(--muted); max-width: 34ch; }
.split-panel { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.list-head { font-family: "Space Grotesk", sans-serif; font-size: 21px; font-weight: 600; color: var(--green-ink); margin-bottom: 20px; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 24px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 16px; }
.checklist .box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line); flex: none; }
.checklist .checked { color: var(--muted); text-decoration: line-through; }
.checklist .checked .box { background: var(--green); border-color: var(--green); position: relative; }
.checklist .checked .box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.suggest { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; font-size: 14px; font-weight: 600; color: var(--green-deep); }

/* cta */
.cta { text-align: center; padding: 108px 32px 116px; background: var(--surface); border-top: 1px solid var(--line-soft); }
.cta h2 { font-size: clamp(34px, 5vw, 54px); font-weight: 600; color: var(--green-ink); margin-bottom: 34px; }
.cta-note { margin-top: 18px; color: var(--muted); font-size: 15px; }

/* footer */
.foot { background: var(--bg); border-top: 1px solid var(--line); }
.foot-inner { max-width: 1120px; margin: 0 auto; padding: 44px 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--green-ink); }
.foot-brand img { width: 26px; height: 26px; border-radius: 7px; }
.foot-links { display: flex; gap: 24px; margin-left: auto; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .15s; }
.foot-links a:hover { color: var(--green); }
.foot-copy { width: 100%; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line-soft); padding-top: 22px; }

/* content pages */
.doc { max-width: 720px; margin: 0 auto; padding: 60px 32px 96px; }
.doc h1 { font-size: 42px; color: var(--green-ink); margin-bottom: 8px; font-weight: 600; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.doc h2 { font-size: 22px; color: var(--green-ink); margin: 36px 0 10px; font-weight: 600; }
.doc p, .doc li { color: var(--ink); margin-bottom: 12px; }
.doc ul { padding-left: 22px; }
.doc a { color: var(--green); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 60px 24px 68px; }
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .step { border-top: none; border-left: 1px solid rgba(255,255,255,0.18); padding: 4px 0 4px 20px; margin-bottom: 26px; }
  .split { grid-template-columns: 1fr; gap: 40px; padding: 68px 24px; }
  .nav-inner, .hero, .steps, .split, .foot-inner { padding-left: 24px; padding-right: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary:hover { transform: none; }
}
