/* ============================================================================
   ELECT playground — site-tokens.css
   The PRESENTATION page's own palette (STRATEGY §8c): warm, very light beige,
   colored greys, dark-grey buttons. These --site-* tokens dress the playground
   chrome only — the charts inside the preview are themed by --elect-* tokens
   generated from the user's brand. The one file here allowed literal values.
   2026-10-04 (owner): the site chrome is the ALARIC DS. Where a page loads Alaric's app.css (the playground), colours,
   type, radii and shadows come from Alaric's tokens; the literal after each var() is the old value, a fallback for the
   pages that don't load it yet (the landing, the benches). Spacing and layout sizes stay ELECT's.
   ============================================================================ */
:root {
  --site-bg:          var(--bg-primary, #f7f3ec);   /* warm, very light beige */
  --site-panel:       var(--bg-card, #fbf9f5);   /* settings panel, a step lighter */
  --site-card:        var(--bg-card, #ffffff);
  --site-line:        var(--border, #e4ddd1);   /* hairlines */
  --site-line-strong: var(--border-control, #cfc6b7);
  --site-text:        var(--text-primary, #2b2826);   /* warm dark grey (not black) */
  --site-text-2:      var(--text-secondary, #5f5850);   /* secondary, ≥ 4.5:1 on --site-bg */
  --site-text-3:      var(--text-label, #756d63);   /* labels, ≥ 4.5:1 on --site-panel */
  --site-button:      var(--accent, #34302c);   /* dark-grey buttons */
  --site-button-text: var(--on-accent, #fbf9f5);
  --site-button-soft: var(--secondary, #ebe5da);   /* secondary buttons */
  /* the section you are in (panels): HALFWAY between the panel and the segmented track — not Alaric's --bg-hover itself,
     which IS the track's colour, so the controls inside would vanish (owner, 2026-10-04). Without app.css: #f3efe8, as before. */
  --site-hover:       color-mix(in oklab, var(--bg-card, #fbf9f5), var(--bg-hover, #ebe5da));
  --site-focus:       var(--focus-ring, #34302c);
  --site-inherited:   var(--info-strong, #2f6f8f);   /* the "from your DS" mark (≥ 4.5:1 as text on --site-panel) */
  --site-inherited-bg:var(--info-bg, #e3eef3);
  --site-warn:        var(--warning-strong, #8a4b00);   /* a11y corrections (≥ 4.5:1 as text) */
  --site-warn-bg:     var(--warning-bg, #fbeedd);

  --site-font: var(--font, "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif);
  --site-text-xs: var(--text-xs, 12px);
  --site-text-sm: var(--text-ui, 13px);
  --site-text-md: var(--text-ui, 14px);
  --site-text-lg: 18px;
  --site-text-xl: 28px;
  --site-weight: var(--weight-regular, 400);
  --site-weight-medium: var(--weight-medium, 500);
  --site-weight-bold: var(--weight-semibold, 600);
  --site-space-half: 2px;
  --site-space-1: 4px;
  --site-space-2: 8px;
  --site-space-3: 12px;
  --site-space-4: 16px;
  --site-space-5: 24px;
  --site-space-6: 32px;
  --site-radius: var(--radius-surface, 10px);
  --site-radius-sm: var(--radius-control, 6px);
  --site-radius-xs: 2px;
  --site-radius-pill: 999px;
  --site-recede: 0.75;             /* the charts that are not the active one (0.9 did not show — owner) */
  --site-header-height: 60px;      /* the site header (landing + playground) */
  --site-panel-width: 380px;
  --site-inspector-width: 300px;   /* the active chart's options (playground layout D) */
  --site-shadow-sm: var(--shadow-sm, 0 1px 2px rgb(43 40 38 / 0.12));
  --site-shadow-lg: var(--shadow-hover, 0 24px 64px rgb(43 40 38 / 0.25));

  /* The ELECT logo — FIXED colors, one per letter (owner's pick, 2026-09-30: outlined bars,
     square corners, a very light fill). It does NOT follow the chart theme / brand color. */
  --site-logo-1-stroke: #cc6d26;  --site-logo-1-fill: #f5dfd3;   /* E — orange */
  --site-logo-2-stroke: #732a82;  --site-logo-2-fill: #ead8df;   /* L — plum */
  --site-logo-3-stroke: #d68a1c;  --site-logo-3-fill: #f7e4d4;   /* E — amber */
  --site-logo-4-stroke: #9b311f;  --site-logo-4-fill: #efd8d1;   /* C — brick */
  --site-logo-5-stroke: #a171d6;  --site-logo-5-fill: #f0e1ea;   /* T — lavender */

  /* Landing page scale */
  --site-text-2xl: 22px;
  --site-text-3xl: 44px;
  --site-text-4xl: 64px;
  --site-space-7: 56px;
  --site-space-8: 96px;
  --site-content-width: 1120px;
}
