/**
 * Murmur Landing Page — Design Tokens
 * Warm editorial palette, no glass morphism
 */

:root {
  color-scheme: light;

  /* Typography */
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Font sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-5xl: 3.5rem;
  --text-6xl: 5rem;

  /* Line heights */
  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-normal: 1.5;
  --lh-relaxed: 1.7;

  /* Font weights */
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Colors — Light */
  --color-bg: #faf9f6;
  --color-bg-alt: #f2f0eb;
  --color-text: #1a1a18;
  --color-text-secondary: #6b6963;
  --color-accent: #c4552a;
  --color-accent-hover: #a8461f;
  --color-accent-light: rgba(196, 85, 42, 0.08);
  --color-border: #e0ddd6;
  --color-border-strong: #c8c4bb;

  /* Spacing (8px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* Shadows — no blur-heavy glass, just subtle depth */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 150ms var(--ease-out);
  --transition-base: 250ms var(--ease-out);
  --transition-slow: 400ms var(--ease-out);
}

/* Dark theme */
[data-theme="dark"] {
  color-scheme: dark;

  --color-bg: #161614;
  --color-bg-alt: #1e1e1b;
  --color-text: #eae8e3;
  --color-text-secondary: #9b978f;
  --color-accent: #e06b3a;
  --color-accent-hover: #f07d4e;
  --color-accent-light: rgba(224, 107, 58, 0.1);
  --color-border: #2e2d29;
  --color-border-strong: #3f3d37;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;

    --color-bg: #161614;
    --color-bg-alt: #1e1e1b;
    --color-text: #eae8e3;
    --color-text-secondary: #9b978f;
    --color-accent: #e06b3a;
    --color-accent-hover: #f07d4e;
    --color-accent-light: rgba(224, 107, 58, 0.1);
    --color-border: #2e2d29;
    --color-border-strong: #3f3d37;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
