/* Strollopia splash page — base stylesheet
   Override :root variables in each site's inline <style> block */

/* ── Variables (defaults — override per site) ──────── */
:root {
  --color-primary:      #1b5e52;
  --color-primary-dark: #124039;
  --color-accent:       #c8a84b;
  --color-text:         #1a1a1a;
  --color-text-muted:   #5a5a5a;
  --color-bg:           #fafaf8;
  --color-card-bg:      #ffffff;
  --color-border:       rgba(0, 0, 0, 0.07);
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Header ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-primary);
  color: #fff;
  padding: 0.875rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.site-header .logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.btn-header {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  padding: 0.45rem 1.2rem;
  border-radius: 2rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: opacity 0.15s;
}

.btn-header:hover { opacity: 0.85; }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  background: var(--color-primary);
  color: #fff;
  padding: 7rem 2rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.07), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero .tagline {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  opacity: 0.88;
  max-width: 520px;
  margin: 0 auto 2.75rem;
}

.btn-primary {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  padding: 1rem 2.75rem;
  border-radius: 3rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

/* ── How it works ──────────────────────────────────── */
.how-it-works {
  padding: 5.5rem 2rem;
  text-align: center;
}

.section-eyebrow {
  display: block;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.how-it-works h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 3.5rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2.5rem 1.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.step-num {
  width: 52px;
  height: 52px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.step h3 {
  font-size: 1.2rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.6rem;
}

.step p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Map CTA ───────────────────────────────────────── */
.map-cta {
  background: var(--color-primary-dark);
  color: #fff;
  text-align: center;
  padding: 5.5rem 2rem;
}

.map-cta h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

.map-cta p {
  opacity: 0.82;
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

/* ── Footer ────────────────────────────────────────── */
.site-footer {
  background: #111;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  padding: 2rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.8rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.site-footer a:hover { color: #fff; }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 600px) {
  .site-header  { padding: 0.875rem 1.25rem; }
  .hero         { padding: 4.5rem 1.25rem 4rem; }
  .how-it-works { padding: 4rem 1.25rem; }
  .steps        { grid-template-columns: 1fr; max-width: 420px; }
  .map-cta      { padding: 4rem 1.25rem; }
}
