/**
 * Base Theme — Standard Variable Contract (43 variables)
 *
 * All themes inherit these defaults. Active themes override
 * only the variables they want to change in their theme.css.
 *
 * Variable groups: Colors (18), Typography (11), Spacing (5),
 *                  Effects (6), Layout (3)
 */

:root {
  /* ── COLORS (18) ── */
  --text: #2e2e2e;
  --text-light: #555;
  --muted: #888;
  --bg: #fff;
  --bg-alt: #f8f9fa;
  --border: #e1e4e8;

  --link: #0066cc;
  --link-hover: #004499;

  --accent: #ff7a59;
  --accent-hover: #e56840;
  --accent-light: rgba(255, 122, 89, 0.1);

  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --info: #2563eb;

  --nav-bg: #fff;
  --header-bg: #fff;
  --footer-bg: #f8f9fa;

  /* ── TYPOGRAPHY (11) ── */
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: var(--font-body);
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.0625rem;
  --text-xl: clamp(1.15rem, 1rem + 0.3vw, 1.25rem);
  --text-2xl: clamp(1.35rem, 1.1rem + 0.6vw, 1.563rem);
  --text-3xl: clamp(1.6rem, 1.2rem + 1vw, 1.953rem);
  --text-4xl: clamp(1.9rem, 1.3rem + 1.5vw, 2.441rem);

  /* ── SPACING (5) ── */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 4.5rem;

  /* ── EFFECTS (6) ── */
  --radius: 6px;
  --radius-sm: 4px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

  /* ── LAYOUT (3) ── */
  --content-width: 700px;
  --wide-width: 1100px;
  --transition: 0.2s ease;
}
