/* boringdocs Design Tokens — Default Skin */
:root {
  /* Colors */
  --color-primary: #111111;
  --color-secondary: #555555;
  --color-tertiary: #999999;
  --color-accent: #2563EB;
  --color-neutral: #FAFAFA;
  --color-neutral-dark: #1A1A1A;
  --color-code-bg: #F5F5F5;
  --color-code-border: #E0E0E0;
  --color-success: #16A34A;
  --color-warning: #EAB308;
  --color-error: #DC2626;
  --color-white: #FFFFFF;

  /* Typography — Font Families */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  /* Typography — Font Sizes */
  --font-size-h1: 2.5rem;
  --font-size-h2: 1.75rem;
  --font-size-h3: 1.25rem;
  --font-size-body-lg: 1.125rem;
  --font-size-body-md: 1rem;
  --font-size-body-sm: 0.875rem;
  --font-size-code: 0.875rem;
  --font-size-label: 0.75rem;

  /* Typography — Font Weights */
  --font-weight-bold: 700;
  --font-weight-semibold: 600;
  --font-weight-regular: 400;

  /* Typography — Line Heights */
  --line-height-tight: 1.15;
  --line-height-heading: 1.25;
  --line-height-subheading: 1.35;
  --line-height-body: 1.7;
  --line-height-body-sm: 1.6;

  /* Typography — Letter Spacing */
  --letter-spacing-tight: -0.02em;
  --letter-spacing-snug: -0.01em;
  --letter-spacing-wide: 0.05em;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Layout */
  --max-width-content: 720px;
  --max-width-layout: 1120px;
  --sidebar-width: 240px;

  /* Shadows */
  --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --color-primary: #E5E5E5;
    --color-secondary: #A3A3A3;
    --color-tertiary: #737373;
    --color-accent: #3B82F6;
    --color-neutral: #1A1A1A;
    --color-neutral-dark: #0D0D0D;
    --color-code-bg: #262626;
    --color-code-border: #404040;
    --color-white: #1A1A1A;
  }
}
