/* My Local Stores — website styles */

:root {
  --green: #2E7D32;
  --green-dark: #1B5E20;
  --green-deep: #143D17;
  --green-tint: #E8F5E9;
  --green-tint-2: #C8E6C9;
  --amber: #F9A825;
  --ink: #212121;
  --ink-soft: #616161;
  --line: #E0E0E0;
  --surface: #FFFFFF;
  --bg: #F7FBF7;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(27, 94, 32, 0.12);
  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; color: var(--ink); }

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1100px, 92%); margin: 0 auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; color: var(--green-dark); font-size: 1.1rem; }
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1rem;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--green); text-decoration: none; }

.btn {
  display: inline-block; padding: 11px 22px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: transparent; color: var(--green-dark); border: 2px solid var(--green-tint-2); }
.btn-outline:hover { border-color: var(--green); }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-amber { background: var(--amber); color: #fff; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--green-tint) 0%, #f0faf0 55%, var(--surface) 100%); padding: 84px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 2.7rem; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 18px; }
.hero h1 .accent { color: var(--green); }
.hero p.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 30rem; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.85rem; color: var(--ink-soft); }
.hero-note a { font-weight: 600; }

/* Phone mockup */
.phone {
  width: 300px; margin: 0 auto; border-radius: 36px; background: #fff;
  border: 10px solid var(--green-deep); box-shadow: 0 30px 60px rgba(20, 61, 23, 0.25);
  padding: 18px 14px; transform: rotate(2deg);
}
.phone-notch { width: 90px; height: 18px; background: var(--green-deep); border-radius: 0 0 12px 12px; margin: -28px auto 14px; }
.phone-title { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.phone-title span { font-weight: 500; color: var(--green); font-size: 0.8rem; }
.shop-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 10px;
  display: flex; gap: 12px; align-items: center; background: var(--surface);
}
.shop-avatar {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.2rem;
}
.shop-card h4 { font-size: 0.92rem; }
.shop-card p { font-size: 0.75rem; color: var(--ink-soft); display: flex; justify-content: space-between; }
.shop-card p b { color: var(--green); }
.badge-open { font-size: 0.68rem; font-weight: 700; color: var(--green); background: var(--green-tint); padding: 2px 8px; border-radius: 999px; }
.price-tag { color: var(--green); font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--green);
  background: var(--green-tint); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.section-head h2 { font-size: 2rem; margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; position: relative; transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.step:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.step-num {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: #fff;
  background: var(--green); width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--green-tint); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 16px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 0.92rem; }

/* Merchants */
.merchant { background: linear-gradient(135deg, var(--green-deep), var(--green-dark)); color: #fff; border-radius: 24px; padding: 64px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.merchant h2 { color: #fff; font-size: 2rem; margin-bottom: 14px; }
.merchant p { color: rgba(255, 255, 255, 0.85); margin-bottom: 24px; }
.merchant ul { list-style: none; }
.merchant li { padding: 8px 0 8px 34px; position: relative; color: rgba(255, 255, 255, 0.9); }
.merchant li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--amber); font-weight: 700; }
.merchant-card {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius); padding: 28px;
}
.merchant-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.merchant-card p { font-size: 0.9rem; margin-bottom: 0; }

/* Shop types */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; font-weight: 500; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 8px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.chip:hover { border-color: var(--green); background: var(--green-tint); }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; margin-bottom: 12px; cursor: pointer;
}
.faq summary { font-family: var(--font-display); font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--green); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--ink-soft); font-size: 0.95rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--green), var(--green-dark)); border-radius: 24px; padding: 56px 48px; text-align: center; }
.cta-band h2 { color: #fff; font-size: 1.9rem; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--green-deep); color: rgba(255, 255, 255, 0.8); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer a { color: rgba(255, 255, 255, 0.75); display: block; margin-bottom: 8px; font-size: 0.92rem; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer p { font-size: 0.9rem; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.1rem; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }
.footer-bottom a { display: inline; margin: 0; }

/* ---------- Legal pages ---------- */
.legal-hero { background: linear-gradient(160deg, var(--green-tint) 0%, var(--surface) 100%); padding: 64px 0 40px; }
.legal-hero h1 { font-size: 2.2rem; margin-bottom: 8px; }
.legal-hero p { color: var(--ink-soft); }
.legal-body { max-width: 800px; margin: 0 auto; padding: 48px 0 80px; }
.legal-body h2 { font-size: 1.3rem; margin: 36px 0 12px; color: var(--green-dark); }
.legal-body h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal-body p, .legal-body li { color: var(--ink-soft); margin-bottom: 12px; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin-bottom: 12px; }
.legal-body .updated { font-size: 0.85rem; color: var(--ink-soft); font-style: italic; margin-bottom: 8px; }
.legal-body .lead { font-size: 1.05rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid, .merchant { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
  .steps, .features { grid-template-columns: 1fr; }
  .merchant { padding: 40px 28px; }
  .cta-band { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .section { padding: 60px 0; }
}
