/* =========================================================
   Vision Care Optometry — Design Tokens
   Palette: White / Sky Mist / Clear Sky Blue / Amber Gold / Deep Navy
   ========================================================= */

:root {
  /* Brand colors */
  --color-white: #ffffff;
  --color-mint: #e6f2fb;
  --color-mint-soft: #f3f9fd;
  --color-teal: #2596e8;
  --color-teal-deep: #14548c;
  --color-teal-soft: #cde8fb;
  --color-navy: #0f2a43;
  --color-navy-deep: #081a2c;
  --color-coral: #e8a23d;
  --color-coral-deep: #c17f1f;
  --color-coral-soft: #f7dfae;
  --color-sand: #f5f8fb;

  /* Semantic neutrals */
  --color-ink: #12222f;
  --color-ink-soft: #47606f;
  --color-muted: #7890a0;
  --color-line: #d8e6f0;
  --color-line-soft: #eaf3f9;
  --color-bg: #fbfdfe;
  --color-bg-warm: #f4f9fc;
  --color-surface: #ffffff;

  /* Status */
  --color-success: #2f9e6e;
  --color-warn: #d18a1f;
  --color-danger: #d1503f;

  /* Typography */
  --font-display: "Poppins", "Segoe UI", -apple-system, sans-serif;
  --font-serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Type scale */
  --fs-xxxl: clamp(2.6rem, 1.7rem + 4vw, 4.6rem);
  --fs-xxl:  clamp(1.9rem, 1.4rem + 2.2vw, 3.2rem);
  --fs-xl:   clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem);
  --fs-lg:   clamp(1.2rem, 1rem + 0.7vw, 1.5rem);
  --fs-md:   1.0625rem;
  --fs-sm:   0.9375rem;
  --fs-xs:   0.8125rem;

  /* Line heights */
  --lh-tight: 1.15;
  --lh-snug:  1.3;
  --lh-base:  1.65;
  --lh-loose: 1.8;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 42, 67, 0.05);
  --shadow-sm: 0 4px 14px rgba(15, 42, 67, 0.07);
  --shadow-md: 0 14px 30px rgba(15, 42, 67, 0.10), 0 2px 8px rgba(15, 42, 67, 0.05);
  --shadow-lg: 0 26px 52px rgba(15, 42, 67, 0.12), 0 4px 14px rgba(15, 42, 67, 0.06);
  --shadow-glow: 0 0 0 6px rgba(37, 150, 232, 0.10);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --dur-slow: 560ms;

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
}

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