/* FamilyConnection brochure — brand values borrowed from frontend/src/styles/tokens.css
   (--ink, --nina as primary accent, --teal as secondary, Archivo) without importing
   that file wholesale; this page needs its own marketing layout, not app chrome. */

:root {
  --ink: #201e1d;
  --ground: #f3f2f2;
  --surface: #ffffff;
  --muted: #605d5d;
  --accent: #ec3013;
  --accent-ink: #ffffff;
  --teal: #17a08c;
  --nina: #ec3013;
  --sebastian: #f2a208;
  --morne: #3d5ccc;
  --yolandi: #8a4fd6;
  --font-family: 'Archivo', system-ui, sans-serif;
  --radius: 20px;
  --border: 2px solid var(--ink);
  --shadow: 0 6px 0 var(--ink);
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-family);
  color: var(--ink);
  background: var(--ground);
  line-height: 1.5;
}

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

a { color: inherit; }

h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0 0 12px; }

p { margin: 0 0 12px; color: var(--muted); }

/* Header */

.site-header {
  border-bottom: var(--border);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.wordmark {
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
  margin-right: auto;
}

.site-nav {
  display: flex;
  gap: 20px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--muted);
}

.site-nav a:hover { color: var(--ink); }

.site-header__actions {
  display: flex;
  gap: 10px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 20px;
  border: var(--border);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow);
}

.btn--primary:hover { filter: brightness(1.05); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--lg { padding: 14px 28px; font-size: 17px; }

/* Hero */

.hero { padding: 72px 0 56px; }

.hero__inner { text-align: center; max-width: 760px; }

.hero h1 { font-size: 44px; }

.hero__sub {
  font-size: 19px;
  max-width: 560px;
  margin: 0 auto 28px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero__avatars {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: var(--border);
}

.dot--nina { background: var(--nina); }
.dot--sebastian { background: var(--sebastian); }
.dot--morne { background: var(--morne); }
.dot--yolandi { background: var(--yolandi); }

/* Section title */

.section-title {
  text-align: center;
  font-size: 30px;
  margin-bottom: 36px;
}

/* Features */

.features { padding: 56px 0; }

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

.feature-card {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ground);
  color: var(--accent);
  margin-bottom: 14px;
}

.feature-card__icon svg { width: 22px; height: 22px; }

.feature-card h3 { font-size: 18px; margin-bottom: 8px; }

.feature-card p { margin: 0; font-size: 15px; }

/* How it works */

.how { padding: 56px 0; background: var(--surface); border-top: var(--border); border-bottom: var(--border); }

.how__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}

.how__steps li {
  display: flex;
  gap: 16px;
}

.how__num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how__steps h3 { font-size: 17px; margin-bottom: 4px; }

.how__steps p { margin: 0; font-size: 15px; }

/* Trust strip */

.trust { padding: 28px 0; }

.trust__inner { text-align: center; }

.trust p { margin: 0; font-size: 15px; }

/* Final CTA */

.cta-final {
  padding: 64px 0;
  background: var(--ink);
  color: #fff;
}

.cta-final h2 {
  text-align: center;
  color: #fff;
  font-size: 28px;
  margin-bottom: 24px;
}

.cta-final .btn--ghost {
  color: #fff;
  border-color: #fff;
}

/* Footer */

.site-footer { padding: 28px 0; }

.site-footer p { margin: 0; font-size: 13px; text-align: center; }

/* Responsive */

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .how__steps { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-nav { display: none; }
  .hero h1 { font-size: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
}
