/*
 * Design Tokens — Valley Laundry Inc.
 * All visual properties controlled from here.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

:root {
  /* Colors — Primary (trust, heritage navy) */
  --color-primary: #1B3F5E;
  --color-primary-light: #2A6A9E;
  --color-primary-dark: #0F2A42;

  /* Colors — Accent (heritage gold) */
  --color-accent: #C4961A;
  --color-accent-light: #DDB44D;
  --color-accent-dark: #7A5E10;

  /* Colors — Warm Neutrals */
  --color-text: #2A2622;
  --color-text-light: #5C554E;
  --color-text-muted: #6A625A;
  --color-text-inverse: #FFFFFF;

  /* Colors — Backgrounds */
  --color-bg: #FDFCFA;
  --color-bg-alt: #F6F2EC;
  --color-bg-dark: #1A1714;
  --color-bg-warm: #EDE6DA;

  /* Colors — UI */
  --color-border: #D4CCC2;
  --color-border-light: #E8E2D8;
  --color-success: #2F855A;
  --color-error: #C53030;
  --color-error-light: #FED7D7;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  --leading-tight: 1.25;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

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

  /* Spacing */
  --space-2xs: 0.125rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 72rem;
  --container-narrow: 48rem;
  --container-padding: 1.5rem;

  /* Borders */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07),
    0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08),
    0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08),
    0 10px 10px -5px rgba(0, 0, 0, 0.03);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;

  /* Focus */
  --focus-ring: 0 0 0 3px rgba(42, 106, 158, 0.5);
  --focus-ring-offset: 0 0 0 2px var(--color-bg), var(--focus-ring);
}
