/* ============================================================
   Tier 1 TRT — Design Tokens (Cyan brand)
   Palette derived from updated T1 chevron logo:
     - White (#FFFFFF) — page surface, T1 letterforms
     - Cyan (#00A8E8) — chevrons, primary brand accent
     - Matte black (#0F0F0F) — header/footer ground
     - Bone (#E8E1CE) — supporting warm neutral
   Accent: signal orange (#E26A2C) — sparingly for alerts.
   ============================================================ */

:root,
[data-theme='light'] {
  /* Surfaces — pure white with neutral grays for contrast (no olive tint) */
  --color-bg: #FFFFFF;
  --color-surface: #FAFAFA;
  --color-surface-2: #F1F1F1;
  --color-surface-offset: #E5E5E5;
  --color-surface-offset-2: #D4D4D4;
  --color-surface-dynamic: #A3A3A3;
  --color-divider: #E5E5E5;
  --color-border: #D4D4D4;

  /* Text — true neutral, no green tint */
  --color-text: #1A1A1A;
  --color-text-strong: #0F0F0F;
  --color-text-muted: #4A4A4A;
  --color-text-faint: #757575;
  --color-text-inverse: #FFFFFF;

  /* Primary Accent — Cyan (sampled from logo chevrons) */
  --color-primary: #00A8E8;
  --color-primary-hover: #008FCC;
  --color-primary-active: #0077AD;
  --color-primary-deep: #005C85;
  --color-primary-soft: #B8E4F4;
  --color-primary-highlight: #E0F2FA;

  /* Bone (named alias for inline SVG and accents) */
  --color-bone: #E8E1CE;
  --color-bone-deep: #D6CDB1;

  /* Legacy olive aliases — repointed to cyan so any unswept reference still renders on-brand */
  --color-olive: #00A8E8;
  --color-olive-deep: #0077AD;

  /* Cyan-named aliases (forward-looking) */
  --color-cyan: #00A8E8;
  --color-cyan-deep: #0077AD;

  --color-bg-deep: #0F0F0F;

  /* Signal accent — used SPARINGLY (alerts, secondary CTAs) */
  --color-signal: #E26A2C;
  --color-signal-hover: #C4571F;
  --color-signal-soft: #F4D9C5;

  /* Charcoal panels (for dark CTA blocks in light mode) — neutral, no green tint */
  --color-charcoal: #1A1A1A;
  --color-charcoal-2: #0F0F0F;
  --color-charcoal-3: #2A2A2A;

  /* Semantic */
  --color-success: #1F8A4C;
  --color-success-soft: #C7E9D5;
  --color-warning: #B5731A;
  --color-warning-soft: #EAD9B8;
  --color-error: #A83A2A;
  --color-error-soft: #ECCBC2;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2.75rem, 0.5rem + 6vw, 6rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius — softened from the previous tactical sharp scale */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 500ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows — softer to pair with rounded corners */
  --shadow-sm: 0 1px 2px rgb(15 20 16 / 0.06);
  --shadow-md: 0 2px 4px rgb(15 20 16 / 0.06), 0 8px 16px rgb(15 20 16 / 0.06);
  --shadow-lg: 0 4px 8px rgb(15 20 16 / 0.08), 0 16px 32px rgb(15 20 16 / 0.10);
  --shadow-glow: 0 0 0 3px rgb(0 168 232 / 0.30);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 1080px;
  --content-wide: 1280px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Oswald', 'Bebas Neue', 'Impact', system-ui, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;
}

/* Dark mode removed — light theme only. */
:root,
[data-theme='dark'] {
  color-scheme: light;
}
