:root {
  --ink: #2b2521;
  --ink-soft: #5a4f45;
  --paper: #faf7f2;
  --panel: #f2ede4;
  --accent: #b8583f;
  --accent-ink: #ffffff;
  --muted: #8a7f74;
  --line: #e4ddd3;
  --good: #5c7a5a;
  --warn: #a87a2e;

  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #ece5db;
    --ink-soft: #cfc5b8;
    --paper: #1c1815;
    --panel: #241f1b;
    --accent: #e08a6f;
    --accent-ink: #1c1815;
    --muted: #a89d8f;
    --line: #362f28;
    --good: #8caa8a;
    --warn: #d1a256;
  }
}
:root[data-theme="dark"] {
  --ink: #ece5db;
  --ink-soft: #cfc5b8;
  --paper: #1c1815;
  --panel: #241f1b;
  --accent: #e08a6f;
  --accent-ink: #1c1815;
  --muted: #a89d8f;
  --line: #362f28;
  --good: #8caa8a;
  --warn: #d1a256;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-display); }

a { color: var(--accent); }

.btn {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn-ghost { background: transparent; }
