/* The landing site at nearest7.com — plain HTML so search engines can read it.
   Tokens are the app's *Market* palette (lib/core/theme/app_colors.dart,
   DESIGN_SYSTEM.md §0): grey ground, flat white cards, pink for brand and
   action, green for verified. Light-only, like the app. */

:root {
  --ground: #F4F4F6;
  --card: #FFFFFF;
  --hairline: #E6E6EA;
  --pink: #D70F64;
  --pink-deep: #B00D52;
  --pink-tint: #FCE8F0;
  --green: #2E7D4F;
  --green-tint: #E4F3EA;
  --ink: #1C1C1E;
  --ink-body: #4A4A4F;
  --ink-muted: #66666B;
  --r-card: 12px;
  --r-button: 10px;
  --r-tag: 6px;
  --gutter: 16px;
  --max: 1080px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink-body);
  font: 400 17px/1.6 Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

h1, h2, h3 {
  color: var(--ink);
  font-family: Manrope, Figtree, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
}
h1 { font-size: clamp(32px, 6vw, 52px); }
h2 { font-size: clamp(24px, 3.6vw, 34px); }
h3 { font-size: 19px; letter-spacing: -0.01em; }

p { margin: 0 0 14px; }
a { color: var(--pink); }
a:hover { color: var(--pink-deep); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 800 20px/1 Manrope, sans-serif;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; gap: 20px; }
.nav a {
  color: var(--ink-body);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--pink); }
@media (max-width: 720px) { .nav { display: none; } }

/* Buttons */
.button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: var(--r-button);
  background: var(--pink);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
}
.button:hover { background: var(--pink-deep); color: #FFFFFF; }
.button.small { padding: 9px 16px; font-size: 15px; }
.button.light { background: #FFFFFF; color: var(--pink); }
.button.light:hover { background: var(--pink-tint); color: var(--pink-deep); }
.button.ghost {
  background: transparent;
  color: #FFFFFF;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6);
}
.button.ghost:hover { background: rgba(255, 255, 255, .12); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Hero: the one pink band, as the app's Home header is. */
.hero {
  background: var(--pink);
  color: #FFFFFF;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero h1 { color: #FFFFFF; }
.hero p { color: rgba(255, 255, 255, .9); font-size: 19px; max-width: 34em; }
.hero.compact .wrap { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 44px; }
.windows { width: 100%; max-width: 360px; justify-self: end; }
@media (max-width: 720px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; }
  .windows { display: none; }
}

/* Sections */
section { padding: 48px 0; }
section + section { padding-top: 0; }
.lede { font-size: 19px; max-width: 40em; }

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 24px;
}
.card {
  background: var(--card);
  border-radius: var(--r-card);
  padding: 22px;
}
.card p:last-child { margin-bottom: 0; }

.step-number {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pink-tint);
  color: var(--pink);
  font: 800 16px/1 Manrope, sans-serif;
  margin-bottom: 12px;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.tags li {
  background: var(--card);
  border-radius: var(--r-tag);
  padding: 6px 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.promise h3 { display: flex; align-items: center; gap: 8px; }
.promise h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

.note {
  background: var(--green-tint);
  border-radius: var(--r-card);
  padding: 22px;
  color: var(--ink);
}
.note h2, .note h3 { color: var(--ink); }

.callout {
  background: var(--card);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}
.callout > div { max-width: 40em; }
.callout p { margin: 0; }

/* FAQ */
.faq { max-width: 760px; }
.faq h2 { margin-top: 40px; }
.faq details {
  background: var(--card);
  border-radius: var(--r-card);
  margin-top: 10px;
}
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--ink);
  list-style-position: outside;
}
.faq details > div { padding: 0 22px 18px; }

/* Shop pages: nearest7.com/s/<slug>, rendered by the shopPage function
   (functions-web/shop_page.js) with this stylesheet. */
.kicker {
  margin: 0 0 8px;
  font-size: 15px !important;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  opacity: .85;
}
.shop-photo {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: var(--r-card);
  justify-self: end;
  background: var(--pink-deep);
}
@media (max-width: 720px) { .shop-photo { justify-self: stretch; max-width: none; } }

.items {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.item {
  background: var(--card);
  border-radius: var(--r-card);
  overflow: hidden;
}
.item img, .item-photo-empty {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: repeating-linear-gradient(135deg, var(--ground) 0 10px, var(--hairline) 10px 20px);
}
.item-body { padding: 14px 16px 16px; }
.item h3 { font-size: 17px; margin-bottom: 6px; }
.item p { margin: 0; }
.price { color: var(--pink); font-weight: 700; }
.unit { color: var(--ink-muted); font-size: 15px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--card);
  padding: 32px 0;
  font-size: 15px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}
.site-footer a { color: var(--ink-body); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--pink); }
.site-footer .copy { margin-left: auto; color: var(--ink-muted); }

@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color .15s ease; }
}
