/* ==========================================================================
   KIDO · Design tokens
   Hệ màu giữ nguyên bản sắc: navy #194789 + amber #EEA82F
   Bổ sung sắc trời/dịu để hợp hướng giao diện thân thiện với trẻ.
   ========================================================================== */

:root {
  /* Brand */
  --navy: #194789;
  --navy-900: #0b2444;
  --navy-800: #102f5a;
  --navy-700: #143a6e;
  --navy-500: #2a5fa8;
  --navy-300: #7fa8da;
  --navy-200: #bcd3ec;
  --navy-100: #dce8f7;
  --navy-50: #eff6ff;

  --amber: #eea82f;
  --amber-600: #d4871a;
  --amber-700: #a86410;
  --amber-300: #f7c873;
  --amber-200: #fbd79f;
  --amber-100: #fdeccd;
  --amber-50: #fff7e8;

  /* Sắc phụ cho khối minh hoạ */
  --sky: #5aa9f0;
  --sky-100: #d9ecff;
  --sky-50: #eaf5ff;
  --mint: #3f8f7f;
  --mint-50: #e3f4ee;
  --peach: #f6a97e;
  --peach-50: #ffede0;
  --lilac: #8b7bc4;
  --lilac-50: #efe9fb;
  --coral: #e2725b;

  /* Neutrals */
  --ink: #10233f;
  --ink-soft: #2b3c56;
  --body: #48586f;
  --muted: #73839a;
  --line: #e4ebf4;
  --line-strong: #cfdaea;
  --white: #fff;
  --cream: #fbf8f3;

  /* Type */
  --font: "Be Vietnam Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, Arial, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-base: 0.9375rem;
  --fs-body: 1rem;
  --fs-md: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --fs-h4: clamp(1.25rem, 1.12rem + 0.6vw, 1.5rem);
  --fs-h3: clamp(1.5rem, 1.25rem + 1vw, 1.9rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --fs-h1: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem);
  --fs-display: clamp(2.15rem, 1.5rem + 2.5vw, 3.15rem);

  --lh-tight: 1.08;
  --lh-snug: 1.25;
  --lh-normal: 1.62;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-7: 2rem;
  --sp-8: 2.5rem;
  --sp-9: 3rem;
  --sp-10: 4rem;
  --sp-11: 5rem;
  --sp-12: 6rem;

  /* Radius — bo tròn rộng theo tinh thần thân thiện */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --r-2xl: 44px;
  --r-pill: 999px;

  /* Shadow — nhuộm navy, alpha thấp */
  --shadow-xs: 0 1px 2px rgba(11, 36, 68, 0.06);
  --shadow-sm: 0 2px 10px rgba(11, 36, 68, 0.07);
  --shadow-md: 0 12px 30px -14px rgba(11, 36, 68, 0.22), 0 2px 6px rgba(11, 36, 68, 0.05);
  --shadow-lg: 0 30px 60px -30px rgba(11, 36, 68, 0.32), 0 8px 18px rgba(11, 36, 68, 0.06);
  --shadow-amber: 0 14px 28px -14px rgba(238, 168, 47, 0.7);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --header-h: 88px;
  --gutter: clamp(1.25rem, 3vw, 1.75rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.7, 0.28, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-1: 150ms;
  --dur-2: 250ms;
  --dur-3: 450ms;
}

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