/**
 * BAIV Design Tokens — GitHub Pages Reports
 * Source: DS-ONT BAIV Instance v1.0.0
 * Brand ID: baiv | Primary: #00a4bf (Cyan/Teal)
 */

@import url('https://fonts.googleapis.com/css2?family=Jura:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* ===== PRIMARY BRAND COLORS ===== */
  --baiv-primary: #00a4bf;
  --baiv-primary-subtle: #e2f7ff;
  --baiv-primary-darker: #005260;   /* Dark teal - beaivisible.ai brand */
  --baiv-primary-rgb: 0, 164, 191;

  /* ===== SEMANTIC COLORS ===== */
  --baiv-secondary: #fc998b;        /* Coral */
  --baiv-success: #019587;          /* Teal-Green */
  --baiv-error: #cf057d;            /* Magenta */
  --baiv-warning: #cec528;          /* Golden Yellow */
  --baiv-info: #3b6fcc;            /* Steel Blue */
  --baiv-accent: #e84e1c;           /* Orange/Coral - beaivisible.ai brand */
  --baiv-neutral: #d9ebeb;          /* Cool Teal-Grey */

  /* ===== TEXT COLORS ===== */
  --baiv-text-primary: #1c1f1f;     /* Near black */
  --baiv-text-body: #303535;        /* Dark grey */
  --baiv-text-caption: #636e6e;     /* Medium grey */
  --baiv-text-muted: #768181;       /* Light grey */
  --baiv-text-inverse: #ffffff;     /* White on dark backgrounds */

  /* ===== SURFACE COLORS ===== */
  --baiv-surface-canvas: #f8fafa;   /* Page background */
  --baiv-surface-card: #ffffff;     /* Content cards */
  --baiv-surface-elevated: #ffffff; /* Elevated elements */
  --baiv-surface-subtle: #f0f6f6;   /* Subtle backgrounds */

  /* ===== BORDER COLORS ===== */
  --baiv-border-default: #e0ebeb;
  --baiv-border-subtle: #f0f6f6;
  --baiv-border-primary: var(--baiv-primary);

  /* ===== TYPOGRAPHY ===== */
  --baiv-font-heading: 'Jura', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --baiv-font-body: 'Jura', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --baiv-font-mono: 'JetBrains Mono', 'SF Mono', 'Monaco', 'Consolas', monospace;

  /* Font Sizes */
  --baiv-font-xs: 0.75rem;    /* 12px */
  --baiv-font-sm: 0.875rem;   /* 14px */
  --baiv-font-md: 1rem;       /* 16px - body default */
  --baiv-font-lg: 1.125rem;   /* 18px */
  --baiv-font-xl: 1.25rem;    /* 20px */
  --baiv-font-2xl: 1.5rem;    /* 24px */
  --baiv-font-3xl: 1.875rem;  /* 30px */

  /* Font Weights */
  --baiv-weight-light: 300;
  --baiv-weight-regular: 400;
  --baiv-weight-medium: 500;
  --baiv-weight-semibold: 600;
  --baiv-weight-bold: 700;

  /* Line Heights */
  --baiv-leading-tight: 1.25;
  --baiv-leading-normal: 1.5;
  --baiv-leading-relaxed: 1.75;

  /* ===== SPACING SCALE ===== */
  --baiv-space-xs: 4px;
  --baiv-space-sm: 8px;
  --baiv-space-md: 16px;
  --baiv-space-lg: 24px;
  --baiv-space-xl: 32px;
  --baiv-space-2xl: 48px;
  --baiv-space-3xl: 64px;

  /* ===== BORDER RADIUS ===== */
  --baiv-radius-sm: 4px;
  --baiv-radius-md: 8px;
  --baiv-radius-lg: 12px;
  --baiv-radius-xl: 16px;
  --baiv-radius-full: 9999px;

  /* ===== SHADOWS ===== */
  --baiv-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --baiv-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --baiv-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --baiv-shadow-primary: 0 4px 14px 0 rgba(0, 164, 191, 0.15);

  /* ===== STATUS COLORS (for scores & indicators) ===== */
  --baiv-status-excellent: #019587;  /* 90-100% */
  --baiv-status-good: #6cc72e;       /* 80-89% */
  --baiv-status-adequate: #cec528;   /* 70-79% */
  --baiv-status-poor: #fc998b;       /* 60-69% */
  --baiv-status-critical: #cf057d;   /* <60% */

  /* ===== SEVERITY LEVELS ===== */
  --baiv-severity-critical: #cf057d;
  --baiv-severity-high: #e54525;
  --baiv-severity-medium: #cec528;
  --baiv-severity-low: #019587;
  --baiv-severity-info: #3b6fcc;

  /* ===== PRIORITY LEVELS ===== */
  --baiv-priority-urgent: #cf057d;
  --baiv-priority-high: #fc998b;
  --baiv-priority-medium: #cec528;
  --baiv-priority-low: #019587;

  /* ===== SEMANTIC ALPHA VARIANTS ===== */
  --baiv-primary-alpha-10: rgba(0, 164, 191, 0.1);
  --baiv-primary-alpha-20: rgba(0, 164, 191, 0.2);
  --baiv-primary-alpha-30: rgba(0, 164, 191, 0.3);
  --baiv-success-alpha-10: rgba(1, 149, 135, 0.1);
  --baiv-error-alpha-10: rgba(207, 5, 125, 0.1);
  --baiv-warning-alpha-10: rgba(206, 197, 40, 0.1);
}

/* ===== DARK MODE (if needed) ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --baiv-surface-canvas: #0f1113;
    --baiv-surface-card: #1a1d27;
    --baiv-surface-elevated: #22252f;
    --baiv-surface-subtle: #2a2d37;

    --baiv-text-primary: #e0e0e0;
    --baiv-text-body: #c0c0c0;
    --baiv-text-caption: #888888;
    --baiv-text-muted: #666666;

    --baiv-border-default: #3a3d47;
    --baiv-border-subtle: #2a2d37;
  }
}