/* ============================================
   VitroWorks — Design Tokens
   Sampled from client-provided mockups
   ============================================ */

:root {
  /* Color.
     2026-08-06: cyan and orange darkened one step from the sampled mockup
     values (#34c7fa / #fb9902) as a readability compromise; the shades that
     actually pass WCAG text contrast live in the prefers-contrast block at
     the bottom of this file. */
  --color-cyan: #21b8ea;
  --color-cyan-light: #b0e9fb;
  --color-cyan-lighter: #85e0ff;
  --color-orange: #ec9002;
  --color-orange-hover: #e08a00;
  --color-navy: #3e4c55;
  --color-navy-soft: #5b6b74;
  --color-off-white: #f6f6f7;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-border: #e2e6e8;
  --color-cream: #fdf3e3;
  /* Slightly darker than --color-off-white; kept ≥4.5:1 contrast with
     --color-navy-soft text (checked: ~4.6:1) for the footer background. */
  --color-footer-bg: #e9ebec;

  /* Required-field marker */
  --color-required: #e5342a;

  /* Type */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Anton', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 2.75rem;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --lh-tight: 1.1;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;

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

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(62, 76, 85, 0.08);
  --shadow-md: 0 8px 24px rgba(62, 76, 85, 0.12);
  --shadow-focus: 0 0 0 3px rgba(33, 184, 234, 0.45);

  /* Layout */
  --container-max: 1200px;
  --content-max: 750px;
  --container-pad: 1.25rem;

  /* Motion */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-base: 220ms;
}

@media (min-width: 768px) {
  :root {
    --container-pad: 2rem;
    --fs-2xl: 2.75rem;
    --fs-3xl: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0ms;
    --duration-base: 0ms;
  }
}

/* Visitors who ask their OS for more contrast get shades that clear WCAG
   4.5:1 as text on white: cyan #047faa (4.54:1) and orange #a96702 (4.54:1,
   and white ON it is 4.51:1, so filled buttons pass without touching their
   label). The footer goes white because on the grey both shades land just
   under 4.5:1 (3.99 and 4.05). The light cyan tints become navy-family tones
   of the same lightness so the illustrations gain edge contrast without
   turning into silhouettes — the SVG files carry the same mapping in their
   own embedded prefers-contrast block, since page CSS cannot reach into
   <img>-loaded SVGs. */
@media (prefers-contrast: more) {
  :root {
    --color-cyan: #047faa;
    --color-cyan-light: #b6c2c9;
    --color-cyan-lighter: #8fa1ab;
    --color-orange: #a96702;
    --color-orange-hover: #8f5700;
    --color-footer-bg: #ffffff;
    --shadow-focus: 0 0 0 3px rgba(4, 127, 170, 0.5);
  }
}
