/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif; line-height: 1.2; margin: 0 0 .5em; }

/* ---------- Design tokens ---------- */
:root {
  --bg: #FFFBF5;
  --surface: #FFFFFF;
  --ink: #33313D;
  --ink-soft: #6B6877;
  --primary: #FF9F6B;
  --primary-dark: #F27D42;
  --secondary: #4FC3A1;
  --accent-yellow: #FFD166;
  --accent-blue: #6BB8FF;
  --accent-pink: #FF8FB1;
  --border: #F0E6D8;
  --focus: #2F6FED;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1120px;
}

/* ---------- Accessibility ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 0; top: -60px;
  background: var(--primary-dark); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0; z-index: 1000; transition: top .2s ease;
}
.skip-link:focus { top: 0; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-weight: 700;
}
.brand__name {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.25rem;
  color: var(--ink);
}
.brand__swatches { display: inline-flex; gap: 3px; }
.swatch { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.swatch--1 { background: var(--primary); }
.swatch--2 { background: var(--secondary); }
.swatch--3 { background: var(--accent-blue); }

.site-nav ul { display: flex; gap: 1.75rem; }
.site-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-soft);
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle__bar {
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  border-radius: 2px;
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 1rem 1.5rem 1.5rem; }
  .site-nav a { display: block; padding: .75rem 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  min-height: 48px;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 0 var(--primary-dark);
}
.btn--primary:hover { background: var(--primary-dark); transform: translateY(2px); box-shadow: 0 4px 0 var(--primary-dark); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary-dark); }

/* ---------- Hero ---------- */
.hero { padding: 4rem 0 3rem; }
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}
.hero__text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
}
.hero__lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__art { display: flex; justify-content: center; }
.crayon-ring {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px dashed var(--border);
}
.crayon {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 14px 14px 4px 4px;
}
.crayon--1 { background: var(--primary); top: 6%; left: 50%; transform: translateX(-50%) rotate(-8deg); }
.crayon--2 { background: var(--secondary); top: 32%; right: 2%; transform: rotate(20deg); }
.crayon--3 { background: var(--accent-blue); bottom: 8%; right: 20%; transform: rotate(70deg); }
.crayon--4 { background: var(--accent-yellow); bottom: 8%; left: 18%; transform: rotate(-70deg); }
.crayon--5 { background: var(--accent-pink); top: 32%; left: 2%; transform: rotate(-20deg); }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lede { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__art { order: -1; }
  .crayon-ring { width: 200px; height: 200px; }
}

/* ---------- Features ---------- */
.features { padding: 3rem 0; }
.features h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 2rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
}
.feature-card__icon {
  font-size: 2rem;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: var(--bg);
  border-radius: 50%;
}
.feature-card h3 { font-size: 1.15rem; }
.feature-card p { color: var(--ink-soft); margin: 0; }

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

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--secondary);
  color: #fff;
  padding: 3rem 0;
  margin-top: 2rem;
  border-radius: var(--radius-lg);
}
.cta-band__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-bottom: 1.5rem; opacity: .95; }
.cta-band .btn--primary { background: #fff; color: var(--secondary); box-shadow: 0 6px 0 rgba(0,0,0,.15); }
.cta-band .btn--primary:hover { background: #F5F5F5; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 3.5rem 0 1.5rem; text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.page-hero__lede { color: var(--ink-soft); font-size: 1.1rem; max-width: 56ch; margin: 0 auto; }

/* ---------- Prose ---------- */
.prose-section { padding: 1.5rem 0 4rem; }
.prose { max-width: 760px; margin: 0 auto; }
.prose--narrow { max-width: 560px; }
.prose h2 { margin-top: 2rem; font-size: 1.4rem; }
.prose p { color: var(--ink-soft); }
.prose a { color: var(--primary-dark); font-weight: 600; }
.prose-list { list-style: disc; padding-left: 1.4rem; color: var(--ink-soft); display: flex; flex-direction: column; gap: .5rem; }
.prose-list strong { color: var(--ink); }

/* ---------- Contact form ---------- */
.form-note {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  font-size: .95rem;
  color: var(--ink-soft);
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field label { font-weight: 700; font-size: .95rem; }
.form-field input,
.form-field textarea {
  font: inherit;
  padding: .8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--primary); }
.form-field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { align-self: flex-start; }

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.alert p { margin: 0; }
.alert--success { background: #E5F7F0; color: #1E7A5B; }
.alert--error { background: #FDECEC; color: #B3261E; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding: 2.5rem 0 2rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-footer__brand p { color: var(--ink-soft); max-width: 32ch; margin: .35rem 0 0; }
.site-footer__links ul { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer__links a { text-decoration: none; color: var(--ink-soft); font-weight: 600; }
.site-footer__links a:hover { color: var(--primary-dark); }
.site-footer__copy { width: 100%; color: var(--ink-soft); font-size: .875rem; margin-top: 1rem; }

@media (max-width: 720px) {
  .site-footer__inner { flex-direction: column; }
}
