:root {
  --bg: #f3f6f1;
  --card: #ffffff;
  --text: #1d2a1f;
  --muted: #5d6e60;
  --primary: #2f7d4f;
  --primary-hover: #24633e;
  --accent: #d9a441;
  --border: #dce5da;
  --border-strong: #c4d3c1;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --font-head: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 18px;
}

.brand:hover {
  text-decoration: none;
}

.brand-icon {
  display: block;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-link:hover {
  color: var(--primary);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn:focus-visible {
  outline: 3px solid rgba(47, 125, 79, 0.35);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  text-decoration: none;
}

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

/* Hero & Sections */
.hero-section {
  padding: 32px 0 48px;
}

.hero-head {
  margin-bottom: 24px;
}

.hero-head h1 {
  font-family: var(--font-head);
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 400;
  color: var(--text);
}

.hero-lead {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
  max-width: 70ch;
}

.section {
  padding: 48px 0;
}

.section-alt {
  background: #eaf0e7;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-family: var(--font-head);
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 400;
}

.section-lead {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 70ch;
}

/* Steps */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.step-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.step-item strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}

.step-item p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Age group cards */
.age-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

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

.age-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #1c5b35;
  background: #e6f2ea;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.age-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

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

.age-points {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text);
}

.age-points li + li {
  margin-top: 6px;
}

/* Features 2x3 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
  margin-top: 24px;
}

.feature-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.feature-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--text);
}

.feature-item p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* Prose */
.prose-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.prose h1 {
  font-family: var(--font-head);
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 400;
}

.prose h2 {
  font-family: var(--font-head);
  font-size: 24px;
  line-height: 1.25;
  margin: 32px 0 12px;
  font-weight: 400;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 24px 0 8px;
}

.prose p,
.prose li {
  max-width: 70ch;
}

.prose p {
  margin: 0 0 14px;
}

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.prose li + li {
  margin-top: 6px;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 28px 0;
}

.page-lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 24px;
}

.page-cta {
  margin-top: 28px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--primary);
  font-weight: 400;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 70ch;
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-tagline {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
  max-width: 48ch;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .steps-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .age-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
    gap: 10px;
  }
  .site-nav {
    gap: 14px;
  }
  .hero-section {
    padding: 24px 0 36px;
  }
  .hero-head h1,
  .prose h1 {
    font-size: 30px;
  }
  .section {
    padding: 36px 0;
  }
  .steps-list,
  .features-grid {
    grid-template-columns: 1fr;
  }
  .prose-card {
    padding: 20px;
  }
  .btn {
    width: 100%;
  }
}