/**
 * dshost.vn — DST design tokens
 * Palette: warm dark / parchment ink / old gold (Don't Starve Together lean)
 * Illustrations omitted — structure + color + line only.
 */

:root {
  /* Surfaces */
  --ds-bg: #14110e;
  --ds-bg-raised: #1c1814;
  --ds-bg-sunken: #0e0c0a;
  --ds-surface: #221e19;
  --ds-surface-2: #2a241e;
  --ds-paper: #2f2922;

  /* Ink / text */
  --ds-ink: #e8dcc4;
  --ds-ink-muted: #b8a88a;
  --ds-ink-faint: #7a6e58;
  --ds-ink-inverse: #1a1410;

  /* Accent — old gold */
  --ds-gold: #e8b84a;
  --ds-gold-bright: #f1c65c;
  --ds-gold-deep: #c4922e;
  --ds-gold-dim: rgba(232, 184, 74, 0.18);

  /* Semantic (desaturated, earthy) */
  --ds-success: #6b8f4e;
  --ds-success-bg: #24301c;
  --ds-success-ink: #c5d9a8;
  --ds-warning: #c4843a;
  --ds-warning-bg: #322416;
  --ds-warning-ink: #e8c898;
  --ds-danger: #8b3a2f;
  --ds-danger-bg: #2e1816;
  --ds-danger-ink: #e8b4a8;
  --ds-danger-solid: #7a3228;
  --ds-info: #4a6a7a;
  --ds-info-bg: #1a242a;
  --ds-info-ink: #a8c4d4;

  /* Line */
  --ds-line: #c4b08a;
  --ds-line-dim: #6a5c48;
  --ds-line-gold: var(--ds-gold);

  /* Type — fonts with Vietnamese (diacritics). Style via weight/tracking, not exotic faces. */
  --ds-font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --ds-font-ui: "Inter", system-ui, -apple-system, sans-serif;
  --ds-font-body: "Inter", system-ui, -apple-system, sans-serif;
  --ds-font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Rhythm */
  --ds-radius: 2px;
  --ds-space-1: 0.25rem;
  --ds-space-2: 0.5rem;
  --ds-space-3: 0.75rem;
  --ds-space-4: 1rem;
  --ds-space-5: 1.5rem;
  --ds-space-6: 2rem;
  --ds-space-8: 3rem;

  --ds-ease: 120ms steps(3, end);
  --ds-shadow-ink: 3px 3px 0 rgba(0, 0, 0, 0.55);

  /* Icons — Lucide stroke (see ICONS.md) */
  --ds-icon-sm: 1rem;
  --ds-icon-md: 1.25rem;
  --ds-icon-lg: 1.5rem;
  --ds-icon-xl: 2rem;
  --ds-icon-stroke: 1.75;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --ds-ease: 0ms;
  }
}
