@font-face {
  font-family: "Geist";
  src: url("/shared/fonts/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/shared/fonts/newsreader-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-editorial: "Newsreader", Georgia, serif;
  --color-canvas: #f7f6f2;
  --color-surface: #ffffff;
  --color-surface-subtle: #f1f0eb;
  --color-border: #e7e4dd;
  --color-border-strong: #d5d1c8;
  --color-ink: #20201e;
  --color-muted: #6d6a63;
  --color-accent: #563c52;
  --color-accent-hover: #44303f;
  --color-accent-soft: #f0e8ee;
  --color-success: #356254;
  --color-warning: #8a6428;
  --color-danger: #9b433f;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-short: 0 1px 2px rgb(32 32 30 / 8%);
  --focus-ring: 0 0 0 3px rgb(86 60 82 / 20%);
  --motion-fast: 140ms;
  --motion-base: 200ms;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { color: var(--color-ink); background: var(--color-canvas); font-family: var(--font-sans); }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.tabular { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

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