/* ==========================================================================
   Kids Corner — Base element styles & a few brand utilities
   ========================================================================== */

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
  color: var(--text-body);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--text-strong);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }

p { margin: 0 0 var(--space-4); text-wrap: pretty; }
a { color: var(--shade-blue); text-underline-offset: 3px; }

strong, b { font-weight: var(--weight-bold); color: var(--text-strong); }

/* --- Brand utility surfaces -------------------------------------------- */

/* warm paper page with subtle fiber texture */
.kc-paper {
  background-color: var(--paper);
}

/* the signature sticker card: paper fill, thick ink outline, hard offset shadow */
.kc-sticker {
  background: var(--surface-card);
  border: var(--border-bold) solid var(--border-ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sticker);
}

/* hand-printed marker caption */
.kc-caption {
  font-family: var(--font-accent);
  color: var(--text-muted);
  font-size: var(--text-lg);
}

/* small-caps bold label */
.kc-eyebrow {
  font-family: var(--font-body);
  font-weight: var(--weight-black);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  font-size: var(--text-xs);
}

:where(button, [role="button"]) { font-family: var(--font-body); }

:focus-visible {
  outline: var(--border-line) solid var(--focus-ring);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
