/* ============================================================
   Proton Controls — design tokens (v2, "refined cobalt")
   Shared by protonctrl.com and quotes.protonctrl.com.
   Change values here only; components read these variables.
   ============================================================ */

:root {
  /* Grounds — near-black with a faint cool tint.
     Deliberately NOT neutral graphite, so HMI screenshots
     (PSC stylesheet bg #101013) read as their own objects. */
  --bg:            #080B14;
  --alt:           #0B0F1C;
  --surface:       #10162A;
  --raised:        #172038;
  --border:        #222C48;
  --border-strong: #36426A;

  /* Text */
  --text:   #FFFFFF;
  --text-2: #D5DAE3;   /* body copy inside cards */
  --muted:  #BCC3D1;   /* secondary text */
  --dim:    #8C94A6;   /* small labels, captions */

  /* Accents — each has ONE job */
  --hi:          #A8BBFF;  /* periwinkle: eyebrows, icons, links, highlight word, focus */
  --hi-hover:    #C5D2FF;
  --cobalt:      #2346D6;  /* block color: featured card, steps, contact, quote total */
  --on-cobalt:   #FFFFFF;
  --on-cobalt-2: #DCE3FF;
  --primary:       #C8372D; /* signal red: primary buttons + logo dot ONLY */
  --primary-hover: #B12F26;
  --on-primary:    #FFFFFF;

  /* Light band (once per page) */
  --band:      #F2F4F8;
  --band-text: #080B14;
  --band-2:    #3F4657;

  /* Status / validation */
  --error: #FF8A80;
  --hmi-lime: #C4F02A;     /* only for the HMI caption dot */
  --hmi-frame: #05060A;    /* black frame around HMI screenshots */

  /* Effects */
  --grid: rgba(130, 150, 200, 0.06);       /* (legacy square grid) */
  --texture-dot: rgba(150, 170, 230, 0.16); /* dot grid in hero, page heroes and contact */
  --texture-glow: rgba(35, 70, 214, 0.22);  /* soft cobalt glow behind hero content */
  --texture-dot-on-cobalt: rgba(255, 255, 255, 0.12);
  --focus-ring: rgba(168, 187, 255, 0.25);
  --shadow-hmi: 0 0 0 1px rgba(255,255,255,.08), 0 40px 90px rgba(0,0,0,.55), 0 0 80px rgba(120,150,255,.12);
  --shadow-panel: 0 24px 50px rgba(0,0,0,.35);

  /* Type */
  --font-display: 'IBM Plex Sans Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'Consolas', monospace;

  --fs-h1:      clamp(42px, 5.4vw, 70px);
  --fs-h2:      clamp(34px, 4vw, 48px);
  --fs-feature: 34px;
  --fs-h3:      22px;
  --fs-lead:    20px;
  --fs-body:    17px;
  --fs-small:   15px;
  --fs-eyebrow: 13px;
  --fs-label:   12px;

  /* Layout */
  --container: 1200px;
  --gutter: 32px;
  --section-y: 104px;
  --gap: 20px;
  --col-gap: 56px;
  --card-pad: 32px;

  /* Radius */
  --r-card: 20px;
  --r-card-sm: 16px;
  --r-input: 10px;
  --r-tile: 14px;
  --r-pill: 999px;
}

@media (max-width: 767px) {
  :root { --section-y: 64px; --col-gap: 40px; }
}
@media (max-width: 599px) {
  :root { --gutter: 20px; --card-pad: 24px; }
}

/* Print: paper colors. quote.css adds the page layout. */
@media print {
  :root {
    --bg: #FFFFFF; --alt: #FFFFFF; --surface: #FFFFFF; --raised: #F1F3F5;
    --border: #C9D0D7; --border-strong: #9AA5B0;
    --text: #0E1118; --text-2: #262D35; --muted: #333B44; --dim: #4A5561;
    --hi: #2346D6;
  }
}
