/* Design tokens — SEOWiser brand system v1.0
   Paper/Ink/Signal/Cobalt/Muted palette + editorial/technical type roles. */

:root {
  /* Color */
  --color-paper: #f4f1e8;
  --color-paper-raised: #ffffff;
  --color-ink: #171717;
  --color-ink-soft: #2b2b28;
  --color-signal: #d8f000;
  --color-signal-ink: #171717;
  --color-cobalt: #2457ff;
  --color-muted: #666666;
  --color-line: rgba(23, 23, 23, 0.12);
  --color-line-strong: rgba(23, 23, 23, 0.24);

  --color-bg: var(--color-paper);
  --color-bg-inverse: var(--color-ink);
  --color-text: var(--color-ink);
  --color-text-inverse: var(--color-paper);
  --color-text-muted: var(--color-muted);
  --color-accent: var(--color-signal);
  --color-interactive: var(--color-cobalt);

  /* Type families */
  --font-display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Type scale (fluid via clamp, content-based breakpoints later) */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-display-sm: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  --text-display-md: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
  --text-display-lg: clamp(3rem, 2rem + 4.5vw, 6.5rem);

  --leading-tight: 1.05;
  --leading-snug: 1.25;
  --leading-normal: 1.6;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* Layout */
  --content-max: 1280px;
  --content-narrow: 780px;
  --radius-sm: 2px;
  --radius-md: 4px;

  --duration-fast: 150ms;
  --duration-base: 300ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* The editorial system is intentionally a single warm-paper theme;
       dark-section blocks are done per-component (.is-inverse), not via
       a full site-wide dark mode. */
  }
}
