@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@400;600;700&display=swap');

:root {
  --green:       #1a5c38;
  --green-dark:  #133f27;
  --green-light: #7ab893;
  --gold:        #c9962a;
  --gold-light:  #f0d898;
  --cream:       #f5f2ed;
  --surface:     #f9f7f3;
  --text:        #1c2b1e;
  --muted:       #6b7565;
  --border:      #ddd9d0;
  --error:       #dc2626;
  --success:     #059669;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--cream); line-height: 1.6; }
a { color: var(--green); }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.3; font-weight: 700; }
h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.4rem; margin: 1.5rem 0 0.5rem; }
h3 { font-size: 1.1rem; margin: 1rem 0 0.25rem; }
p { margin-bottom: 0.75rem; }
ul { padding-left: 1.5rem; margin-bottom: 0.75rem; }
li { margin-bottom: 0.25rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); padding: 0.75rem 1.5rem; background: #fff; }
.nav-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.2rem; color: var(--green); text-decoration: none; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text); font-size: 0.95rem; }
.btn-nav {
  background: var(--green); color: #fff !important; padding: 0.5rem 1.1rem;
  border-radius: 6px; font-weight: 600; min-height: 44px;
  display: inline-flex; align-items: center;
}
.btn-nav:hover { background: var(--green-dark); }

/* Main */
main { max-width: 960px; margin: 0 auto; padding: 2rem 1.5rem; }

/* Buttons */
.btn-primary {
  display: inline-block; background: var(--green); color: #fff;
  padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer; font-size: 1rem;
  min-height: 48px; transition: background 0.15s, box-shadow 0.15s;
}
.btn-primary:hover { background: var(--green-dark); box-shadow: 0 2px 8px rgba(26,92,56,0.25); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
.btn-secondary {
  display: inline-block; border: 2px solid var(--green); color: var(--green);
  padding: 0.65rem 1.4rem; border-radius: 8px; font-weight: 600;
  text-decoration: none; background: transparent; margin-left: 0.5rem;
  min-height: 48px; transition: background 0.15s, color 0.15s;
}
.btn-secondary:hover { background: var(--green); color: #fff; }
.btn-danger { background: var(--error); color: #fff; padding: 0.5rem 1rem; border-radius: 6px; border: none; cursor: pointer; font-weight: 600; min-height: 44px; }
.btn-link { background: none; border: none; color: var(--green); cursor: pointer; font-size: 1rem; text-decoration: underline; padding: 0; }

/* Hero */
.hero { text-align: center; padding: 3.5rem 1rem 2.5rem; }
.hero-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.6rem; }
.hero h1 { font-size: 2.8rem; color: var(--green); max-width: 700px; margin: 0 auto 1rem; }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 600px; margin: 0 auto 2rem; font-family: 'Inter', sans-serif; }
.hero-trust { font-size: 0.88rem; color: var(--muted); margin-top: 1rem; }
.hero-trust strong { color: var(--text); }
.hero-moat { font-size: 0.88rem; color: var(--muted); max-width: 580px; margin: 1rem auto 0; line-height: 1.5; }
.time-strip { background: #fff; border: 1px solid var(--border); padding: 1rem 1.5rem; text-align: center; border-radius: 8px; margin: 1.5rem 0; font-weight: 600; color: var(--green); }

/* How it works */
.how-it-works { margin: 2.5rem 0; }
.how-it-works h2 { text-align: center; margin-bottom: 1.5rem; font-size: 1.5rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.step { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; text-align: center; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--gold); color: #fff; border-radius: 50%; font-weight: 700; font-size: 0.9rem; margin-bottom: 0.6rem; }
.step h3 { font-size: 0.95rem; margin: 0 0 0.3rem; font-family: 'Inter', sans-serif; font-weight: 600; }
.step p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin: 2rem 0; }
.feature { padding: 1.25rem; border: 1px solid var(--border); border-radius: 12px; background: #fff; transition: box-shadow 0.15s; }
.feature:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.feature-sub { font-size: 0.82rem; color: var(--muted); margin-top: 0.25rem; margin-bottom: 0; }

/* vs-ai comparison */
.vs-ai { background: #fff; border-radius: 16px; padding: 2rem 1.5rem; margin: 2.5rem 0; border: 1px solid var(--border); }
.vs-ai h2 { text-align: center; margin-bottom: 0.4rem; font-size: 1.5rem; }
.vs-ai-intro { text-align: center; color: var(--muted); margin-bottom: 1.5rem; }
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.vs-col { background: var(--surface); border-radius: 10px; padding: 1.25rem; border: 1px solid var(--border); }
.vs-col h3 { font-size: 1rem; margin: 0 0 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border); font-family: 'Inter', sans-serif; }
.vs-col--chatgpt { opacity: 0.85; }
.vs-col--chatgpt h3 { color: var(--muted); }
.vs-col--wnl { border: 2px solid var(--green); background: #fff; }
.vs-col--wnl h3 { color: var(--green); border-color: var(--green-light); }

/* Home closing CTA */
.home-cta { background: var(--green); color: #fff; border-radius: 16px; padding: 2.5rem 1.5rem; text-align: center; margin: 2.5rem 0; }
.home-cta h2 { color: #fff; font-size: 1.5rem; margin-bottom: 0.75rem; }
.home-cta p { color: rgba(255,255,255,0.85); margin-bottom: 1.25rem; }
.home-cta .btn-primary { background: var(--gold); color: #fff; font-weight: 700; border: none; }
.home-cta .btn-primary:hover { background: #a87b1e; }
.home-cta-sub { font-size: 0.88rem; margin-top: 1rem; margin-bottom: 0; }
.home-cta-sub a { color: rgba(255,255,255,0.9); }

.examples-teaser { background: var(--cream); padding: 1.5rem; border-radius: 12px; text-align: center; margin: 2rem 0; }

/* Testimonials */
.testimonials { margin: 2.5rem 0; }
.testimonials h2 { text-align: center; margin-bottom: 1.25rem; font-size: 1.4rem; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.testimonial-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; }
.testimonial-text { font-size: 0.95rem; line-height: 1.55; margin-bottom: 0.75rem; color: var(--text); }
.testimonial-author { font-size: 0.85rem; font-weight: 600; color: var(--muted); }

/* Forms */
.form-row { margin-bottom: 1rem; }
label { display: block; font-weight: 600; margin-bottom: 0.3rem; font-size: 0.9rem; }
input[type="text"], input[type="email"], input[type="url"], input[type="number"], textarea {
  width: 100%; padding: 0.7rem 0.9rem; border: 1px solid var(--border);
  border-radius: 8px; font-size: 1rem; font-family: inherit; min-height: 44px;
  background: #fff;
}
input:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.req { color: var(--error); }
.optional { color: var(--muted); font-weight: 400; font-size: 0.85rem; }

/* Household size select */
.household-size-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.household-size-row label { margin-bottom: 0; white-space: nowrap; }
.household-size-row select {
  padding: 0.65rem 0.9rem; border: 1px solid var(--border); border-radius: 8px;
  font-size: 1rem; font-family: inherit; min-height: 44px; background: #fff; cursor: pointer;
}
.household-size-row select:focus { outline: 2px solid var(--green); outline-offset: 1px; }

/* Errors / success */
.error { color: var(--error); background: #fef2f2; padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem; }
.success { color: var(--success); background: #ecfdf5; padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem; }

/* Auth */
.auth-box { max-width: 420px; margin: 3rem auto; }
.auth-box h1 { margin-bottom: 1.5rem; }
.auth-note { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }

/* Pricing */
.pricing-page { max-width: 860px; margin: 0 auto; }
.pricing-sub { text-align: center; color: var(--muted); margin-bottom: 2rem; font-size: 1rem; }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2rem; align-items: start; }
.price-card { border: 1px solid var(--border); border-radius: 16px; padding: 1.75rem 1.5rem; text-align: center; background: #fff; }
.price-card--featured { border: 2px solid var(--green); box-shadow: 0 4px 16px rgba(26,92,56,0.12); position: relative; }
.price-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.75rem; }
.price-card--featured .price-label { color: var(--green); }
.price-amount { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: var(--green); }
.price-amount span { font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--muted); font-weight: 400; }
.price-savings { font-size: 0.85rem; color: var(--gold); font-weight: 600; margin: 0.5rem 0 1rem; }
.price-features { text-align: left; margin: 1.25rem 0 1.5rem; list-style: none; padding: 0; }
.price-features li { font-size: 0.88rem; padding: 0.3rem 0; border-bottom: 1px solid var(--border); color: var(--text); }
.price-features li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.price-features li:last-child { border-bottom: none; }
.pricing-trial-note { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; margin: 2rem 0; }
.pricing-trial-note h2 { margin-top: 0; font-size: 1.2rem; }
.pricing-trial-note ol { padding-left: 1.25rem; }
.pricing-trial-note li { margin-bottom: 0.5rem; font-size: 0.95rem; }
.pricing-roi { color: var(--muted); font-size: 0.9rem; text-align: center; margin-top: 1rem; }

/* Examples */
.examples-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.example-card { display: block; border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; text-decoration: none; color: var(--text); transition: border-color 0.15s, box-shadow 0.15s; background: #fff; }
.example-card:hover { border-color: var(--green); box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.example-card h2 { font-size: 1rem; color: var(--green); margin-bottom: 0.4rem; font-family: 'Inter', sans-serif; }
.time-saved { font-size: 0.8rem; background: var(--gold-light); padding: 0.2rem 0.5rem; border-radius: 4px; color: #7a5a10; font-weight: 600; }
.examples-cta { text-align: center; padding: 2rem; background: var(--cream); border: 1px solid var(--border); border-radius: 12px; margin-top: 2rem; }

/* Plan view / weekly dashboard */
.plan-view { max-width: 860px; }
.plan-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.plan-actions { display: flex; gap: 0.5rem; flex-shrink: 0; flex-wrap: wrap; }
.plan-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }
.plan-pending { background: var(--surface); border: 1px solid var(--border); padding: 2rem 1.5rem; border-radius: 12px; text-align: center; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--green); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 1rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.plan-intro { color: var(--muted); margin-bottom: 1.5rem; }
.plan-footer-link { margin-top: 2.5rem; font-size: 0.9rem; color: var(--muted); }
.plan-footer { font-size: 0.8rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 2rem; }
.example-cta { text-align: center; background: var(--cream); padding: 2rem; border-radius: 12px; margin: 2rem 0; border: 1px solid var(--border); }

/* Recipe list (vertical cards) */
.recipe-list { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2rem; }
.recipe-card-row {
  display: flex; gap: 1.25rem; align-items: flex-start;
  border: 1px solid var(--border); border-radius: 12px;
  padding: 1rem 1.25rem; text-decoration: none; color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fff;
}
.recipe-card-row:hover { border-color: var(--green); box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.rcr-left { flex: 0 0 auto; min-width: 140px; max-width: 200px; }
.rcr-domain { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.25rem; }
.rcr-title { display: block; font-size: 1rem; font-weight: 700; line-height: 1.3; color: #111; }
.rcr-right { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.rcr-summary { font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.rcr-cta { font-size: 0.85rem; font-weight: 600; color: var(--green); }
@media (max-width: 600px) {
  .recipe-card-row { flex-direction: column; gap: 0.5rem; padding: 1rem; }
  .rcr-left { max-width: 100%; }
}

/* Recipe detail page */
.recipe-page { max-width: 720px; }
.recipe-breadcrumb { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; }
.recipe-breadcrumb a { color: var(--green); min-height: 44px; display: inline-flex; align-items: center; padding: 0.2rem 0; }
.recipe-page-domain { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.25rem; }
.recipe-page-title { font-size: 1.75rem; margin-bottom: 0.4rem; }
.recipe-page-summary { color: var(--muted); margin-bottom: 1.5rem; line-height: 1.6; font-size: 1rem; }
.recipe-serves { display: inline-block; background: var(--gold-light); color: #7a5a10; font-size: 0.9rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 20px; margin-bottom: 1.25rem; }
.recipe-page-body { display: grid; grid-template-columns: 1fr 1.8fr; gap: 2rem; margin-bottom: 1.5rem; }
.recipe-col-head { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; margin: 0 0 0.6rem; }
.ingredient-list { list-style: none; padding: 0; margin: 0; }
.ingredient-list li { padding: 0.4rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.step-list { padding-left: 1.25rem; margin: 0 0 0.75rem; }
.step-list li { padding: 0.35rem 0; font-size: 0.95rem; line-height: 1.6; }
.recipe-timing-tips { list-style: none; padding: 0; margin: 0.75rem 0 0; }
.recipe-timing-tips li { font-size: 0.88rem; color: var(--muted); padding: 0.25rem 0; }
.recipe-source-block { border-top: 1px solid var(--border); padding-top: 1.25rem; margin-top: 1.5rem; }
.recipe-source-block p { margin-bottom: 0.75rem; font-size: 0.9rem; }
.recipe-source-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.75rem; }

/* Ad units */
.ad-unit { margin: 1.5rem 0; text-align: center; }
.ad-label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: #bbb; margin-bottom: 4px; }
.ad-slot {
  display: inline-block; min-height: 50px; min-width: 300px;
  max-width: 728px; width: 100%;
  background: #f9f9f9; border: 1px dashed #ddd; border-radius: 4px;
}
.ad-unit--grocery .ad-slot { min-height: 50px; min-width: 300px; }

/* Grocery (secondary / collapsed) */
.grocery-secondary { border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 2rem; background: #fff; }
.grocery-details summary.grocery-summary-toggle {
  font-weight: 700; cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem;
  min-height: 44px;
}
.grocery-details summary.grocery-summary-toggle::before { content: "▶"; font-size: 0.65rem; color: var(--muted); transition: transform 0.15s; }
.grocery-details[open] summary.grocery-summary-toggle::before { transform: rotate(90deg); }
.grocery-details-body { margin-top: 1rem; }
.grocery-cat {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted); margin: 1rem 0 0.3rem;
  position: sticky; top: 0; background: #fff; padding: 0.4rem 0; z-index: 1;
}
.grocery-items { list-style: none; padding: 0; margin: 0; }
.grocery-items li { padding: 0.4rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.pantry-assumptions { opacity: 0.7; }
.grocery-shop-btn { display: inline-block; margin-top: 1rem; }

/* Mobile grocery page */
.grocery-mobile { max-width: 480px; }
.grocery-mobile-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.grocery-mobile h1 { margin: 0; font-size: 1.5rem; }
.back-link { font-size: 0.9rem; white-space: nowrap; color: var(--green); min-height: 44px; display: inline-flex; align-items: center; }
.grocery-progress { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; }
.grocery-mobile .grocery-cat {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--muted); margin: 1rem 0 0.3rem;
  position: sticky; top: 0; background: var(--cream); padding: 0.5rem 0 0.3rem;
  z-index: 10; border-bottom: 1px solid var(--border);
}
.grocery-checklist { list-style: none; padding: 0; margin: 0; }
.grocery-checklist li { border-bottom: 1px solid var(--border); }
.grocery-checklist li label {
  display: flex; align-items: center; gap: 0.75rem; cursor: pointer;
  min-height: 52px; padding: 0.5rem 0; font-size: 1rem;
}
.grocery-checklist li label.checked { text-decoration: line-through; color: var(--muted); }
.grocery-checklist input[type=checkbox] { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--green); cursor: pointer; }

/* Warnings and hints */
.warning-banner { background: #fff8e1; border: 1px solid #ffe082; border-radius: 8px; padding: 0.85rem 1rem; margin-bottom: 1.25rem; font-size: 0.9rem; }
.field-hint { font-size: 0.85rem; color: var(--muted); margin: 0.2rem 0 0.4rem; }
.site-compat-note { margin-bottom: 1rem; }
.account-section-desc { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }

/* Jobs list */
.job-list { list-style: none; padding: 0; }
.job-list-item { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.65rem 0; border-bottom: 1px solid var(--border); }
.job-list-title { font-weight: 600; color: var(--green); text-decoration: none; font-size: 0.95rem; }
.job-list-title:hover { text-decoration: underline; }
.job-list-meta { font-size: 0.85rem; color: var(--muted); }

/* Recipe source / copyright */
.recipe-source-intro { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.75rem; }
.recipe-source-intro a { color: var(--green); }
.recipe-copyright { font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 2rem; }

/* Logo */
.logo { display: flex; align-items: center; gap: 0.4rem; }
.logo-icon { display: block; flex-shrink: 0; }

/* FAQ */
.faq-entry { margin-bottom: 1.75rem; }
.faq-entry h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; }
.quick-answer { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--gold); padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 2rem; font-weight: 600; }

/* App */
.app-page { max-width: 640px; }
.run-status { background: var(--surface); border: 1px solid var(--border); padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1.5rem; font-weight: 600; }
.plan-form { margin: 1.5rem 0; }
.run-history { margin-top: 2.5rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }
.job-list li { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--border); }
.job-status { font-size: 0.85rem; color: var(--muted); }

/* Account */
.account-page { max-width: 540px; }
.account-page hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* Legal */
.legal-page h2 { margin-top: 2rem; font-size: 1.2rem; }
.legal-page p, .legal-page ul { max-width: 680px; }

/* About */
.about-page { max-width: 680px; }
.about-lead { font-size: 1.15rem; font-weight: 600; color: var(--green); margin-bottom: 1.25rem; line-height: 1.5; }
.about-page h2 { margin-top: 2rem; font-size: 1.3rem; }
.about-cta { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 1.5rem; text-align: center; color: var(--muted); font-size: 0.88rem; background: #fff; }
.footer-legal { max-width: 600px; margin: 0.5rem auto 0; font-size: 0.8rem; }

/* ── Mobile (≤ 640px) ──────────────────────────────────── */
@media (max-width: 640px) {
  .site-header { padding: 0.75rem 1rem; }
  main { padding: 1.25rem 1rem; }

  .nav-links { gap: 0.75rem; }
  .nav-links a:not(.btn-nav) { font-size: 0.88rem; }

  .hero { padding: 2rem 0.5rem 1.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero .btn-primary,
  .hero .btn-secondary { display: block; width: 100%; text-align: center; margin: 0 0 0.6rem; }

  .steps { grid-template-columns: 1fr; gap: 0.75rem; }
  .features { grid-template-columns: 1fr; }
  .vs-grid { grid-template-columns: 1fr; }

  .home-cta { padding: 2rem 1rem; }
  .home-cta h2 { font-size: 1.25rem; }

  .testimonial-grid { grid-template-columns: 1fr; }
  .examples-grid { grid-template-columns: 1fr; }

  .plan-actions { flex-direction: column; align-items: stretch; }
  .plan-actions .btn-primary,
  .plan-actions .btn-secondary { margin-left: 0; text-align: center; }

  .recipe-page-body { grid-template-columns: 1fr; }

  .price-cards { grid-template-columns: 1fr; }
  .price-amount { font-size: 2.25rem; }

  .ad-slot,
  .ad-unit--grocery .ad-slot { min-width: unset; width: 100%; }

  .plan-form .btn-primary { display: block; width: 100%; text-align: center; }

  input[type="text"], input[type="email"], input[type="url"], input[type="number"], textarea {
    padding: 0.75rem 0.9rem;
  }
}

/* Very small screens (≤ 400px): hide non-essential nav, keep Pricing + Sign in */
@media (max-width: 400px) {
  .nav-links a:not(.btn-nav):not(.nav-pricing) { display: none; }
}

/* Print */
@media print {
  .site-header, .site-footer, .plan-actions, .ad-unit, .plan-footer-link { display: none; }
}

/* Analytics consent banner */
#wl-consent-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1000;
  max-width: 480px; margin: 0 auto;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 1rem 1.25rem; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  font-size: 0.88rem; color: var(--ink, #1a1a1a);
}
#wl-consent-banner[hidden] { display: none; }
#wl-consent-banner p { margin-bottom: 0.75rem; }
.wl-consent-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.wl-consent-actions button {
  padding: 0.5rem 1rem; border-radius: 6px; font-size: 0.85rem; cursor: pointer;
  border: 1px solid var(--border);
}
.wl-consent-actions button[data-wl-consent="grant"] {
  background: var(--green); color: #fff; border-color: var(--green);
}
.wl-consent-actions button[data-wl-consent="deny"] { background: #fff; }
#wl-consent-reopen {
  background: none; border: none; padding: 0; font: inherit; color: inherit;
  text-decoration: underline; cursor: pointer;
}
