:root {
  --green: #1B4332;
  --green-soft: #EAF3DE;
  --green-soft-text: #27500A;
  --cream: #FAF7F1;
  --card: #FFFFFF;
  --border: #ECE9E2;
  --text: #1F2A24;
  --sub: #6B6B65;
  --muted: #9A9A93;
  --purple-soft: #EDE9FE;
  --purple-soft-text: #4A3A8C;
  --star: #F0B429;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site {
  border-bottom: 1px solid var(--border);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
}

.nav .logo img { height: 28px; width: auto; }

.nav a.logo-link { display: flex; align-items: center; text-decoration: none; }

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  color: var(--sub);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-soft-text);
}

.pill.purple {
  background: var(--purple-soft);
  color: var(--purple-soft-text);
}

.hero h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero p.lead {
  font-size: 18px;
  color: var(--sub);
  max-width: 560px;
  margin: 0 auto 32px;
}

.store-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
}

.store-badge .store-icon { font-size: 20px; }

.store-badge .store-text small {
  display: block;
  font-weight: 500;
  font-size: 11px;
  color: var(--muted);
}

/* Search bar (visual only) */
.search-bar {
  display: flex;
  align-items: center;
  gap: 2px;
  max-width: 560px;
  margin: 0 auto 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.06);
}

.search-field {
  flex: 1;
  text-align: left;
  padding: 10px 16px;
  border-radius: 12px;
}

.search-field .search-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-field .search-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.search-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border);
  margin: 6px 0;
}

.search-go {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-right: 4px;
}

/* Listing cards */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.listing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.listing-thumb {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}

.listing-body {
  padding: 16px;
}

.listing-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}

.listing-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.listing-cat {
  font-size: 12px;
  color: var(--sub);
  margin: 0 0 10px;
}

.listing-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.listing-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

.listing-rating {
  font-size: 12px;
  color: var(--sub);
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Benefits */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-item {
  text-align: center;
  padding: 8px;
}

.benefit-item .benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 12px;
}

.benefit-item h3 {
  font-size: 14px;
  margin: 0 0 4px;
}

.benefit-item p {
  font-size: 13px;
  color: var(--sub);
  margin: 0;
}

/* Sections */
section { padding: 48px 0; }

section h2 {
  font-size: 26px;
  margin: 0 0 8px;
  text-align: center;
}

section p.section-sub {
  text-align: center;
  color: var(--sub);
  max-width: 500px;
  margin: 0 auto 36px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.card .icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.card p {
  font-size: 14px;
  color: var(--sub);
  margin: 0;
}

/* Category strip */
.category-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.category-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px 10px 10px;
  font-size: 13px;
  font-weight: 600;
}

.category-chip .swatch {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

/* CTA */
.cta {
  text-align: center;
  background: var(--green);
  color: #fff;
  border-radius: 24px;
  padding: 56px 24px;
  margin: 0 24px;
}

.cta h2 { color: #fff; }
.cta p.section-sub { color: rgba(255,255,255,0.75); }

.cta .store-badge {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
}
.cta .store-badge .store-text small { color: rgba(255,255,255,0.6); }

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  margin-top: 56px;
  padding: 32px 0;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a { text-decoration: none; color: var(--sub); font-weight: 600; }
.footer-links a:hover { color: var(--green); }

/* Legal pages */
.legal {
  padding: 56px 0 80px;
}

.legal h1 {
  font-size: 30px;
  margin: 0 0 6px;
}

.legal .updated {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 32px;
}

.legal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  font-size: 15px;
  color: var(--text);
  white-space: pre-line;
}

.legal-content strong {
  display: block;
  margin-top: 22px;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.legal-content strong:first-child { margin-top: 0; }

@media (max-width: 720px) {
  .hero h1 { font-size: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .search-bar { flex-direction: column; align-items: stretch; }
  .search-divider { display: none; }
  .search-go { width: 100%; margin: 0; }
  .cta { margin: 0; border-radius: 0; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
