/* Design tokens: the one place to change colors, type, and spacing. */
:root {
  /* Light page */
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --ink: #0F1113;
  --ink-soft: #2E3237;
  --muted: #5E636B;
  --line: #E7E5E0;
  --line-strong: #D6D3CC;

  /* Dark demo panel */
  --panel: #0E1012;
  --panel-raised: #171A1D;
  --panel-line: #2A2E33;
  --panel-text: #EDEEEF;
  --panel-muted: #A3A8AE;

  /* Work order paper (inside the dark panel) */
  --paper: #FBFAF7;
  --paper-line: #DEDBD3;

  /* Single accent: missed-call marker, "Callback needed" stamp, focus ring */
  --accent: #C2410C;
  --accent-on-dark: #F28C45;
  --accent-tint: #FCEEE6;

  /* Type */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --text-xs: 0.875rem;   /* 14px, smallest size we use */
  --text-sm: 0.9375rem;  /* 15px */
  --text-base: 1.0625rem; /* 17px */
  --text-lg: 1.25rem;    /* 20px */
  --text-display: clamp(2.375rem, 1.6rem + 3vw, 4rem); /* 38px to 64px */

  /* Spacing (4px scale) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Shape */
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 16px;

  /* Layout */
  --container: 1120px;
  --gutter: 20px;
  --nav-height: 56px;

  /* Space between page sections */
  --section-space: 80px;
}

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
}

@media (min-width: 1024px) {
  :root {
    --section-space: 128px;
  }
}
