@charset "UTF-8";
:root, :root[data-theme=boilerplate-dark] {
  color-scheme: dark;
  /* Surfaces — slate dark ramp */
  --paper: #0f172a;
  --paper-raised: #1e293b;
  --paper-sunk: #020617;
  --paper-glass: rgba(15, 23, 42, 0.85);
  /* Ink — inverted slate */
  --ink: #f8fafc;
  --ink-soft: #e2e8f0;
  --ink-faint: #94a3b8;
  --graphite: #f1f5f9;
  --muted: #64748b;
  /* Lines — dark slate borders */
  --guide: #334155;
  --guide-soft: #1e293b;
  --hair: #1e293b;
  --hair-soft: #0f172a;
  /* Primary accent — brighter blue for dark surfaces */
  --ai: #3b82f6;
  --ai-ink: #60a5fa;
  --ai-wash: #1e3a8a;
  /* Seal — red */
  --shu: #ef4444;
  --shu-wash: #450a0a;
  /* Tertiary — amber */
  --ochre: #f59e0b;
  --ochre-wash: #422006;
  /* Code — neutral dark syntax surface */
  --code-bg: #020617;
  --code-ink: #e2e8f0;
  --code-muted: #708198;
  --code-accent: #fb923c;
  --code-green: #4ade80;
  --code-blue: #60a5fa;
  /* Typography — system stacks only (no @import) */
  --font-display: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-script: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  /* Radius */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  /* Shadow — heavier on dark, neutral black */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .30);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, .40);
  --shadow-lg: 0 6px 16px -4px rgba(0, 0, 0, .55);
  --shadow-xl: 0 16px 32px -8px rgba(0, 0, 0, .65);
  --shadow-2xl: 0 24px 48px -12px rgba(0, 0, 0, .75);
  /* Blur */
  --blur-sm: none;
  --blur-md: none;
  --blur-lg: none;
  /* Glow */
  --glow-sm: 0 0 0 transparent;
  --glow-md: 0 0 0 transparent;
  --glow-lg: 0 0 0 transparent;
  /* Motion */
  --duration-fast: 120ms;
  --duration-normal: 180ms;
  --duration-slow: 280ms;
  --ease: cubic-bezier(.4, 0, .2, 1);
  /* Backgrounds */
  --background-default: var(--paper);
  --background-subtle: var(--paper-sunk);
  --background-navbar: var(--paper-raised);
  /* Surfaces (semantic) */
  --surface-default: var(--paper);
  --surface-raised: var(--paper-raised);
  --surface-sunk: var(--paper-sunk);
  --surface-muted: var(--paper-sunk);
  --surface-subtle: var(--paper-raised);
  --surface-emphasis: var(--ink);
  --surface-glass: var(--paper-glass);
  /* Text */
  --text-primary: var(--ink);
  --text-secondary: var(--ink-soft);
  --text-muted: var(--ink-faint);
  --text-tertiary: var(--muted);
  --text-inverse: var(--paper);
  --text-link: var(--ai);
  --text-link-hover: var(--ai-ink);
  /* Borders */
  --border-default: var(--hair);
  --border-subtle: var(--hair-soft);
  --border-emphasis: var(--guide);
  --border-focus: var(--ai);
  /* Interactive overlays — light wash on dark */
  --interactive-hover: rgba(248, 250, 252, 0.05);
  --interactive-active: rgba(248, 250, 252, 0.10);
  /* Brand */
  --brand-primary: var(--ai);
  --brand-primary-hover: var(--ai-ink);
  /* Action triplets */
  --action-primary-default: var(--ai);
  --action-primary-hover: var(--ai-ink);
  --action-primary-active: var(--ai-ink);
  --action-primary-wash: var(--ai-wash);
  --action-secondary-default: var(--shu);
  --action-secondary-hover: var(--shu);
  --action-secondary-active: var(--shu);
  --action-secondary-wash: var(--shu-wash);
  --action-tertiary-default: var(--ochre);
  --action-tertiary-hover: var(--ochre);
  --action-tertiary-active: var(--ochre);
  --action-tertiary-wash: var(--ochre-wash);
  /* Feedback */
  --feedback-info: var(--ai);
  --feedback-success: #22c55e;
  --feedback-warning: var(--ochre);
  --feedback-error: var(--shu);
  /* Status — info */
  --info-default: var(--ai);
  --info-subtle: var(--ai-wash);
  --info-text: #85BFFF;
  /* Status — success */
  --success-default: #22c55e;
  --success-subtle: #14532d;
  --success-text: #4ade80;
  /* Status — warning */
  --warning-default: var(--ochre);
  --warning-subtle: var(--ochre-wash);
  --warning-text: #fbbf24;
  /* Status — error */
  --error-default: var(--shu);
  --error-subtle: var(--shu-wash);
  --error-text: #fca5a5;
  /* Space scale */
  --space-2xs: 0.25rem;
  --space-xs: var(--space-1);
  --space-sm: var(--space-2);
  --space-md: var(--space-4);
  --space-lg: var(--space-5);
  --space-xl: var(--space-6);
  --space-2xl: var(--space-7);
  --space-3xl: var(--space-8);
  --space-4xl: var(--space-9);
  /* Radius alias */
  --radius-sm: var(--r-sm);
  --radius-md: var(--r-md);
  --radius-lg: var(--r-lg);
  --radius-xl: 12px;
  --radius-full: 9999px;
  /* Typography */
  --font-primary: var(--font-sans);
  --font-size-base: 1rem;
  --line-height-normal: 1.5;
  --font-weight-medium: 500;
  /* Z-index layers */
  --z-sticky: 1020;
  --z-dropdown: 1030;
  --z-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  /* Spacing rhythm — THE knob for how dense or airy this theme feels.
     The numbered scale is the source of truth: every component reads
     var(--space-N), and the t-shirt aliases (--space-md, --space-lg …)
     are emitted by the library as references to these, so they follow
     automatically. Change a value here and the whole page re-proportions. */
  --space-0: 0;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 0.875rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
}
