/* ==========================================================================
   Design tokens — Anabell's Group Family Daycare
   These names map 1:1 to Wix Studio "Site Styles" (colors + text themes).
   Brand colors are client-provided; tints/shades are derived for UI use.
   ========================================================================== */

:root {
  /* Brand palette (client-provided) */
  --cream: #FFFDF8;   /* Warm white — page background */
  --sky: #A9D5FF;     /* Sky blue — hero, bands, feature surfaces */
  --royal: #3656D8;   /* Royal blue — buttons, links, emphasis */
  --sun: #FFD646;     /* Sunny yellow — accent */
  --pink: #F9A4C6;    /* Soft pink — accent */
  --green: #11AD5C;   /* Green — accent, grass */
  --orange: #FF8B49;  /* Orange — accent */
  --purple: #704DE7;  /* Purple — accent */
  --navy: #172033;    /* Dark navy — text */

  /* Supporting tints & shades (derived) */
  --white: #FFFFFF;
  --sky-50: #F3F9FF;
  --sky-100: #E3F1FF;
  --sky-200: #CBE5FF;
  --royal-50: #ECF0FD;
  --royal-700: #2942B8;
  --sun-50: #FFF7D6;
  --sun-700: #9A7300;
  --pink-50: #FEEEF5;
  --pink-700: #C23E77;
  --green-50: #E4F7ED;
  --green-700: #0A7D45;
  --orange-50: #FFF0E6;
  --orange-700: #C9531A;
  --purple-50: #F0ECFD;
  --purple-700: #5A36D4;
  --grass-100: #E2F5EA;
  --grass-200: #B8E6CB;

  /* Text & lines (all text colors pass WCAG AA on cream, white and sky) */
  --ink: var(--navy);
  --ink-soft: #4A5470;
  --line: rgba(23, 32, 51, 0.1);
  --line-strong: rgba(23, 32, 51, 0.18);
  --field-border: #8A93A8; /* 3:1 against white for form controls */
  --error: #B42318;

  /* Typography */
  --font-body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ui: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.6rem, 1.45rem + 4.2vw, 4.6rem);
  --fs-h1: clamp(2.3rem, 1.5rem + 3vw, 3.75rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.4rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --fs-body: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Spacing */
  --gutter: clamp(1.25rem, 0.8rem + 2vw, 2rem);
  --container: 1200px;
  --section-pad: clamp(3.25rem, 2.25rem + 3.5vw, 5.5rem);
  --hills-h: clamp(56px, 8vw, 120px);

  /* Shape */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  /* Soft, blue-tinted shadows */
  --shadow-sm: 0 1px 2px rgba(23, 32, 51, 0.04), 0 6px 18px rgba(54, 86, 216, 0.07);
  --shadow-md: 0 2px 6px rgba(23, 32, 51, 0.04), 0 16px 36px rgba(54, 86, 216, 0.12);
  --shadow-lg: 0 4px 10px rgba(23, 32, 51, 0.05), 0 32px 64px -20px rgba(54, 86, 216, 0.3);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 150ms;
  --dur: 240ms;

  --header-h: 72px;
}

@media (min-width: 768px) {
  :root { --header-h: 80px; }
}

/* Accent "tones" — set --tint / --deep / --accent on a component */
.tone-sky    { --tint: var(--sky-100);    --deep: var(--royal);      --accent: var(--sky); }
.tone-royal  { --tint: var(--royal-50);   --deep: var(--royal);      --accent: var(--royal); }
.tone-sun    { --tint: var(--sun-50);     --deep: var(--sun-700);    --accent: var(--sun); }
.tone-pink   { --tint: var(--pink-50);    --deep: var(--pink-700);   --accent: var(--pink); }
.tone-green  { --tint: var(--green-50);   --deep: var(--green-700);  --accent: var(--green); }
.tone-orange { --tint: var(--orange-50);  --deep: var(--orange-700); --accent: var(--orange); }
.tone-purple { --tint: var(--purple-50);  --deep: var(--purple-700); --accent: var(--purple); }
