/* Frenetic Design System v2.0 — Mineral Editorial Tokens
 * Canonical source: frenetic-base/design-assets/tokens.css
 */

:root,
html[data-theme="light"] {
  /* Core Surfaces */
  --bg: #FAF9F6;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F2F1EC;

  /* Structural Hairlines */
  --border: #E3E1D9;
  --border-strong: #CECBC0;

  /* Typography Ink */
  --ink: #131715;
  --ink-secondary: #5B635E;
  --ink-muted: #7C847F;

  /* Brand Emerald (Botanical Pine) */
  --brand: #1E6B52;
  --brand-hover: #175440;
  --brand-soft: #EBF3EE;
  --brand-ink: #FFFFFF;

  /* Earthy Functional Signals (UI Only — Never inside Logo) */
  --clay: #B55239;
  --clay-soft: #F9ECE8;
  --ochre: #9B742E;
  --ochre-soft: #F7F1E3;

  /* Atmospheric UI Frame Pads */
  --frame-grad-1: linear-gradient(145deg, #DCE7E0 0%, #ECEFE9 52%, #E5E3DA 100%);
  --frame-grad-2: linear-gradient(145deg, #E8E3D9 0%, #EFECE5 52%, #DFEAE3 100%);
  --nav-bg: rgba(250, 249, 246, 0.88);

  /* Dramatic Contrast Bands (Editorial Dark Sections) */
  --band-dark: #101312;
  --band-dark-surface: #161B19;
  --band-dark-border: #262E2B;
  --band-dark-ink: #F1F2EE;
  --band-dark-muted: #95A09A;
  --band-dark-brand: #5EB88E;
  --band-dark-ochre: #C9A25B;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Layout & Spacing */
  --container-max: 1200px;
  --gutter-x: 24px;
  --section-py: 128px;
  --section-py-sm: 88px;
  --radius-frame: 24px;
  --radius-window: 14px;
  --radius-card: 16px;
}

html[data-theme="dark"] {
  /* Core Surfaces (Smoked Basalt) */
  --bg: #101312;
  --bg-surface: #151917;
  --bg-subtle: #1B201E;

  /* Structural Hairlines */
  --border: #252D29;
  --border-strong: #34403A;

  /* Typography Ink */
  --ink: #F1F2EE;
  --ink-secondary: #9EA8A2;
  --ink-muted: #78847E;

  /* Brand Emerald (Weathered Sage-Emerald) */
  --brand: #5EB88E;
  --brand-hover: #74C9A1;
  --brand-soft: rgba(94, 184, 142, 0.12);
  --brand-ink: #0E1311;

  /* Earthy Functional Signals */
  --clay: #D87B62;
  --clay-soft: rgba(216, 123, 98, 0.14);
  --ochre: #C9A25B;
  --ochre-soft: rgba(201, 162, 91, 0.14);

  /* Atmospheric UI Frame Pads */
  --frame-grad-1: linear-gradient(145deg, #1B2A23 0%, #161D1A 52%, #1E2320 100%);
  --frame-grad-2: linear-gradient(145deg, #25211D 0%, #181C1A 52%, #192620 100%);
  --nav-bg: rgba(16, 19, 18, 0.88);

  /* Deep Contrast Bands */
  --band-dark: #0A0C0B;
  --band-dark-surface: #121614;
  --band-dark-border: #222926;
  --band-dark-ink: #F1F2EE;
  --band-dark-muted: #95A09A;
  --band-dark-brand: #5EB88E;
  --band-dark-ochre: #C9A25B;
}
