/* ==========================================================================
   StockSense AI — A!thera design tokens
   Source of truth for colour, type, and spacing. Pulled verbatim from the
   A!thera Partners visual system (references/formats-html.md). Do not
   redefine these values elsewhere — reference the variables and classes.
   ========================================================================== */

:root {
  /* Primary palette */
  --athera-blue: #5FB8D6;
  --athera-blue-light: #A8D9EC;
  --athera-blue-deep: #2A8FB0;
  --athera-charcoal: #374151;
  --athera-charcoal-light: #4B5563;
  --athera-grey: #6B7280;
  --athera-grey-light: #9CA3AF;
  --athera-navy: #0F172A;
  --athera-navy-mid: #1E2B42;

  /* Surfaces */
  --athera-white: #FFFFFF;
  --athera-off-white: #F8F7F4;
  --athera-surface: #F1EEE8;

  /* Extended palette (charts / rare callouts only) */
  --athera-amber: #C8955A;
  --athera-amber-light: #E8C49A;
  --athera-steel: #8AA5BE;
  --athera-mist: #D4DFE8;

  /* Lines */
  --athera-line: rgba(55, 65, 81, 0.12);
  --athera-line-light: rgba(55, 65, 81, 0.06);
  --athera-line-dark: rgba(255, 255, 255, 0.08);
  --athera-line-dark-light: rgba(255, 255, 255, 0.06);

  /* Typography */
  --athera-display: 'Cormorant Garamond', Georgia, serif;
  --athera-sans: 'DM Sans', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --athera-mono: 'DM Mono', 'Consolas', 'Monaco', monospace;

  /* Spacing scale (8 → 120) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 80px;
  --space-8: 120px;

  /* Layout */
  --page-max: 1200px;
  --page-pad: 48px;

  /* Motion */
  --ease: 0.2s ease;
}

/* --------------------------------------------------------------------------
   Type scale (CSS classes) — from the A!thera HTML reference
   -------------------------------------------------------------------------- */

.athera-display-xl { font-family: var(--athera-display); font-size: clamp(64px, 9vw, 120px); font-weight: 300; line-height: 0.95; letter-spacing: -0.02em; }
.athera-display-lg { font-family: var(--athera-display); font-size: clamp(40px, 6vw, 72px); font-weight: 300; line-height: 1; letter-spacing: -0.015em; }
.athera-display-md { font-family: var(--athera-display); font-size: clamp(28px, 4vw, 48px); font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; }
.athera-display-sm { font-family: var(--athera-display); font-size: clamp(20px, 3vw, 32px); font-weight: 400; line-height: 1.2; }

.athera-body-lg { font-family: var(--athera-sans); font-size: 18px; font-weight: 300; line-height: 1.7; color: var(--athera-charcoal-light); }
.athera-body { font-family: var(--athera-sans); font-size: 15px; font-weight: 400; line-height: 1.65; color: var(--athera-charcoal); }
.athera-body-sm { font-family: var(--athera-sans); font-size: 13px; font-weight: 400; line-height: 1.55; color: var(--athera-grey); }

.athera-label { font-family: var(--athera-sans); font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--athera-grey); }
.athera-label-blue { font-family: var(--athera-sans); font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--athera-blue-deep); }
.athera-mono { font-family: var(--athera-mono); font-size: 11px; font-weight: 400; line-height: 1.6; color: var(--athera-grey-light); }
