/* css/base.css — design tokens, reset, base typography */

:root {
  --paper: #f5f1e8;
  --paper-deep: #ebe5d3;
  --ink: #1a1611;
  --ink-soft: #3d342a;
  --rule: #2a2520;
  --accent: #a8341f;
  --accent-soft: #c45a3f;
  --muted: #6b6358;
  --card: #fbf8f0;
  --line: #d9d2c1;
  --line-strong: #b9b09c;
  --good: #2d6a4f;
  --warn: #b8860b;
  --bad: #8b2a1a;
  --shadow-sm: 0 1px 0 rgba(26,22,17,0.04), 0 4px 12px -6px rgba(26,22,17,0.10);
  --shadow-md: 0 1px 0 rgba(26,22,17,0.04), 0 8px 24px -12px rgba(26,22,17,0.14);

  --font-serif: 'Crimson Pro', 'Iowan Old Style', Georgia, serif;
  --font-display: 'Libre Caslon Display', 'Crimson Pro', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 18% 8%, rgba(168,52,31,0.04) 0%, transparent 38%),
    radial-gradient(circle at 82% 92%, rgba(26,22,17,0.05) 0%, transparent 48%);
  background-attachment: fixed;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
input, textarea, select, button { font-family: inherit; font-size: 15px; color: inherit; }

::selection { background: var(--accent); color: var(--paper); }

button { cursor: pointer; background: none; border: none; }

a { color: var(--accent); text-decoration: none; border-bottom: 1px solid currentColor; }
a:hover { color: var(--accent-soft); }
