/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #FFFBF5;
  --tangerine: #FF6B35;
  --forest: #2D6A4F;
  --forest-light: #52B788;
  --ink: #1a1a2e;
  --muted: #6B7280;
  --surface: #F5EDE4;
  --border: #E8DDD3;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow-soft: 0 4px 24px rgba(26, 26, 46, 0.08);
  --shadow-card: 0 2px 16px rgba(26, 26, 46, 0.12);
  --font-head: 'Nunito', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== NAV ===== */
.nav {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
}
.nav-tagline {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ===== HERO ===== */
.hero {
  padding: 80px 40px 80px;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tangerine);
  margin-bottom: 16px;
}
.hero-text h1 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-lede {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 440px;
}
.hero-app-mockup {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}
.hero-app-mockup img { width: 100%; }

/* Hero visual - card stack */
.hero-visual { display: flex; flex-direction: column; gap: 16px; }
.hero-card-stack { display: flex; flex-direction: column; gap: 12px; }

.receipt-card, .list-preview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-soft);
}
.receipt-label, .list-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}
.receipt-store {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.receipt-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.receipt-items span {
  background: var(--surface);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.8rem;
  color: var(--ink);
}
.receipt-count {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--tangerine);
  font-weight: 600;
}
.list-items { display: flex; flex-direction: column; gap: 8px; }
.list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.list-item.muted { color: var(--muted); font-style: italic; }
.freq-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--tangerine);
  flex-shrink: 0;
}
.freq-tag {
  font-size: 0.75rem;
  background: var(--forest);
  color: white;
  border-radius: 10px;
  padding: 2px 7px;
  margin-left: auto;
}
.hero-cta-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(45, 106, 79, 0.08);
  border: 1px solid rgba(45, 106, 79, 0.2);
  border-radius: 30px;
  padding: 10px 18px;
  font-size: 0.85rem;
  color: var(--forest);
  font-weight: 500;
  width: fit-content;
}

/* ===== SECTIONS COMMON ===== */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tangerine);
  margin-bottom: 12px;
}
section h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
}
section p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 80px 0;
  background: var(--surface);
}
.how-it-works h2 { text-align: center; margin-bottom: 48px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  position: relative;
}
.step-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--surface);
  line-height: 1;
  user-select: none;
}
.step-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 107, 53, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.step h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p { font-size: 0.9rem; color: var(--muted); }

/* ===== PANTRY INSIGHT ===== */
.pantry-insight { padding: 80px 0; }
.pantry-insight .section-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.pantry-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}
.pantry-visual img { width: 100%; }
.pantry-text h2 { margin-bottom: 16px; }
.pantry-text > p { margin-bottom: 28px; }
.insight-list { display: flex; flex-direction: column; gap: 16px; }
.insight-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink);
}
.insight-list li svg { flex-shrink: 0; margin-top: 2px; }

/* ===== LIST BUILDER ===== */
.list-builder { padding: 80px 0; background: var(--surface); }
.list-builder .section-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.list-text h2 { margin-bottom: 16px; }
.list-text > p { margin-bottom: 32px; }
.list-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}
.list-visual img { width: 100%; }

/* List editor mockup */
.list-editor-mockup {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  font-size: 0.9rem;
}
.mockup-header {
  background: var(--ink);
  color: white;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mockup-title { font-weight: 700; font-size: 0.95rem; }
.mockup-count { font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.mockup-items { padding: 0; }
.mockup-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.mockup-item.checked { text-decoration: line-through; color: var(--muted); }
.check-icon { width: 16px; height: 16px; flex-shrink: 0; color: var(--forest); font-size: 0.75rem; }
.store-badge {
  margin-left: auto;
  font-size: 0.7rem;
  background: var(--surface);
  color: var(--muted);
  border-radius: 10px;
  padding: 2px 8px;
}
.mockup-item.add-more {
  color: var(--tangerine);
  font-weight: 600;
  cursor: pointer;
  justify-content: center;
}

/* ===== INSTACART PUSH ===== */
.instacart-push { padding: 80px 0; }
.instacart-push .section-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.push-graphic {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}
.push-graphic img { width: 100%; }
.push-text h2 { margin-bottom: 16px; }
.push-text > p { margin-bottom: 28px; }
.push-steps { display: flex; flex-direction: column; gap: 14px; }
.push-step {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.push-step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  color: white;
  background: var(--tangerine);
  border-radius: 6px;
  padding: 4px 10px;
  min-width: 40px;
  text-align: center;
}

/* ===== SOCIAL PROOF ===== */
.social-proof { padding: 80px 0; background: var(--surface); }
.social-proof h2 { text-align: center; margin-bottom: 48px; }
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.stars { color: #F59E0B; font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial blockquote {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 16px;
}
.testimonial cite { font-size: 0.8rem; color: var(--muted); font-style: normal; }

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 100px 0;
  background: var(--ink);
  color: white;
  text-align: center;
}
.manifesto-content { max-width: 680px; margin: 0 auto; }
.manifesto h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 28px;
}
.manifesto p { color: rgba(255,255,255,0.7); font-size: 1.1rem; line-height: 1.8; margin-bottom: 20px; }
.manifesto-callout {
  font-family: var(--font-head);
  font-size: 1.5rem !important;
  font-weight: 800;
  color: var(--tangerine) !important;
  margin-top: 32px;
}

/* ===== FOOTER ===== */
.footer {
  background: #111127;
  color: rgba(255,255,255,0.7);
  padding: 60px 40px 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner,
  .pantry-insight .section-inner,
  .list-builder .section-inner,
  .instacart-push .section-inner { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .push-graphic { order: -1; }
  .nav-tagline { display: none; }
  .hero { padding: 48px 24px; }
  .section-inner { padding: 0 24px; }
  .how-it-works, .list-builder, .social-proof { padding: 60px 0; }
  .pantry-insight, .instacart-push { padding: 60px 0; }
  .manifesto { padding: 72px 0; }
  .footer { padding: 48px 24px 24px; }
}

@media (max-width: 600px) {
  h2 { font-size: 1.75rem; }
  .manifesto-callout { font-size: 1.2rem !important; }
  .footer-links { flex-direction: column; gap: 24px; }
}