/* ===================================
   SiteAssurance — Design Tokens
   Palette: #FCB790 / #094C41 / #081917
   =================================== */

:root {
  /* ---- Core Palette ---- */
  --color-sand: #FCB790;
  --color-copper: #094C41;
  --color-navy: #081917;

  /* Keep aliases for backwards compat */
  --color-lime: var(--color-sand);
  --color-teal: var(--color-copper);
  --color-noir: var(--color-navy);

  /* ---- Derived shades ---- */
  /* Peach variants */
  --color-lime-bright: #FDCAAA;
  --color-lime-dim: #E89E70;
  --color-lime-muted: #F5AD82;
  --color-lime-subtle: rgba(252, 183, 144, 0.10);
  --color-lime-wash: rgba(252, 183, 144, 0.06);

  /* Teal variants */
  --color-teal-light: #0D6355;
  --color-teal-deep: #073830;
  --color-teal-pale: #E6F0EE;
  --color-teal-subtle: rgba(9, 76, 65, 0.07);

  /* Dark variants */
  --color-noir-soft: #122B27;
  --color-noir-muted: #0E2320;

  /* ---- Backgrounds ---- */
  --color-bg: #F7F9F7;
  --color-bg-alt: #EDF2EF;
  --color-bg-warm: #F1F5F2;
  --color-surface: #FFFFFF;

  /* ---- Text ---- */
  --color-ink: var(--color-navy);
  --color-text: #1A2E28;
  --color-text-secondary: #4E6358;
  --color-text-dim: #8A9B91;
  --color-text-on-dark: #E2EDE8;
  --color-text-on-lime: var(--color-navy);

  /* ---- Borders ---- */
  --color-border: #CDD8D2;
  --color-border-light: #DDE6E0;

  /* ---- Utility ---- */
  --color-red: #C0392B;
  --color-green: #27AE60;

  /* ---- Typography ---- */
  --font-display: 'Instrument Serif', 'Georgia', serif;
  --font-body: 'Outfit', 'Segoe UI', sans-serif;

  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --text-md: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.15rem, 1rem + 0.75vw, 1.35rem);
  --text-xl: clamp(1.4rem, 1.15rem + 1.25vw, 2rem);
  --text-2xl: clamp(1.8rem, 1.4rem + 2vw, 2.8rem);
  --text-3xl: clamp(2.2rem, 1.6rem + 3vw, 4rem);

  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.65;
  --leading-relaxed: 1.8;

  --tracking-tight: -0.01em;
  --tracking-normal: 0.015em;
  --tracking-wide: 0.06em;
  --tracking-wider: 0.12em;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* ---- Spacing ---- */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6rem;
  --space-section: clamp(5rem, 4rem + 5vw, 9rem);

  /* ---- Layout ---- */
  --container-max: 1140px;
  --container-narrow: 760px;
  --container-padding: clamp(1.25rem, 1rem + 2vw, 3rem);

  /* ---- Borders & Radii ---- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ---- Shadows ---- */
  --shadow-xs: 0 1px 2px rgba(8, 25, 23, 0.04);
  --shadow-sm: 0 1px 4px rgba(8, 25, 23, 0.06), 0 1px 2px rgba(8, 25, 23, 0.04);
  --shadow-md: 0 4px 12px rgba(8, 25, 23, 0.06), 0 1px 4px rgba(8, 25, 23, 0.04);
  --shadow-lg: 0 8px 28px rgba(8, 25, 23, 0.08), 0 2px 8px rgba(8, 25, 23, 0.04);
  --shadow-xl: 0 16px 48px rgba(8, 25, 23, 0.1), 0 4px 12px rgba(8, 25, 23, 0.04);

  /* ---- Transitions ---- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 450ms;
  --duration-reveal: 700ms;

  /* ---- Z-index ---- */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
}
