/* ==========================================================================
   MARBLE BRAND & DESIGN SYSTEM TOKENS
   --------------------------------------------------------------------------
   Singular, unmistakable identity:
   Pure White (#FFFFFF) + Pure Black (#000000) + Muted Slate (#8E8E93) +
   ONE signature brand color: Marble Cobalt (#0055FF) + Liquid Glass.
   All tokens are modular so accent color or display fonts swap in 1 line.
   ========================================================================== */

:root {
  /* ------------------------------------------------------------------------
     1. STRUCTURAL CANVASES (Apple HIG Core)
     ------------------------------------------------------------------------ */
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-slate: #8E8E93;          /* HIG Muted Slate */
  --color-slate-deep: #525258;     /* High-contrast body ink on #FFFFFF */
  --color-slate-light: #A1A1A6;    /* High-contrast body ink on #000000 */

  /* Light Surfaces */
  --surface-light-canvas: #FFFFFF;
  --surface-light-card: #F5F5F7;
  --surface-light-glass: rgba(255, 255, 255, 0.74);
  --border-light-hairline: rgba(0, 0, 0, 0.08);
  --border-light-strong: rgba(0, 0, 0, 0.16);

  /* Dark Surfaces */
  --surface-dark-canvas: #000000;
  --surface-dark-card: #0E0E10;
  --surface-dark-glass: rgba(255, 255, 255, 0.08);
  --surface-dark-glass-hover: rgba(255, 255, 255, 0.12);
  --border-dark-hairline: rgba(255, 255, 255, 0.13);
  --border-dark-strong: rgba(255, 255, 255, 0.25);

  /* ------------------------------------------------------------------------
     2. SINGULAR BRAND SIGNATURE — MARBLE COBALT
     ------------------------------------------------------------------------ */
  --brand: #0055FF;
  --brand-hover: #0044CC;
  --brand-deep: #002F99;
  --brand-soft: rgba(0, 85, 255, 0.08);
  --brand-soft-border: rgba(0, 85, 255, 0.2);
  --brand-glow: rgba(0, 85, 255, 0.26);

  /* Semantic Status (Used strictly for live indicators & qualification) */
  --status-live: #19A95B;
  --status-live-soft: rgba(25, 169, 91, 0.14);
  --status-error: #D92D20;

  /* Liquid Glass Refraction */
  --glass-blur: 24px;
  --glass-saturate: 185%;
  --glass-specular-light: inset 0 1px 0 rgba(255, 255, 255, 0.92), inset 0 -1px 0 rgba(0, 0, 0, 0.03);
  --glass-specular-dark: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(255, 255, 255, 0.04);

  /* ------------------------------------------------------------------------
     3. TYPOGRAPHY (Apple HIG Sans + Editorial Signature Italic)
     ------------------------------------------------------------------------ */
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --font-signature: "Instrument Serif", Georgia, serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;

  --text-hero: clamp(2.65rem, 6.2vw, 5.15rem);
  --text-h1-sub: clamp(2.25rem, 4.9vw, 4rem);
  --text-h2: clamp(1.9rem, 3.6vw, 3.1rem);
  --text-h3: clamp(1.25rem, 1.9vw, 1.55rem);
  --text-lead: clamp(1.0625rem, 1.45vw, 1.25rem);
  --text-body: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;

  --tracking-display: -0.045em;
  --tracking-heading: -0.032em;
  --tracking-tight: -0.015em;

  /* ------------------------------------------------------------------------
     4. SPACING, RADII & MOTION
     ------------------------------------------------------------------------ */
  --container-max: 1160px;
  --container-narrow: 760px;
  --gutter: clamp(1.15rem, 3.8vw, 2.25rem);
  --section-pad: clamp(4.25rem, 8vw, 7rem);
  --bento-gap: clamp(0.95rem, 1.5vw, 1.25rem);

  --radius-pill: 9999px;
  --radius-bento: 30px;
  --radius-card: 22px;
  --radius-control: 14px;

  --shadow-light-card: 0 1px 2px rgba(0, 0, 0, 0.03), 0 12px 32px rgba(0, 0, 0, 0.04);
  --shadow-light-hover: 0 8px 24px rgba(0, 0, 0, 0.06), 0 24px 48px rgba(0, 0, 0, 0.08);
  --shadow-glass-nav: 0 10px 32px rgba(0, 0, 0, 0.08);
  --shadow-dark-elevated: 0 24px 64px rgba(0, 0, 0, 0.55);

  --ease-apple: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 180ms;
  --duration-base: 320ms;
}
