/* Theme tokens — dark (default) and light, switched by homepage-theme.js */
:root {
  --bg: #14110a;
  --bg-2: #1e1a10;
  --card: #262013;
  --card-hover: #30281a;
  --text: #fff6dc;
  --muted: #b8a983;
  --accent: #ffd23f;
  --accent-ink: #1b1400;
  --line: #3a3120;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #fffbea;
  --bg-2: #fff3c4;
  --card: #ffffff;
  --card-hover: #fff7d6;
  --text: #2a2100;
  --muted: #7a6a3d;
  --accent: #f2b705;
  --accent-ink: #1b1400;
  --line: #f0e2a8;
  --shadow: 0 6px 18px rgba(120,90,0,.12);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { background: var(--bg); color: var(--text); }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.45;
  min-height: 100vh;
  transition: background .25s, color .25s;
}
a { color: var(--accent); }
button { font: inherit; color: inherit; }
.btn {
  background: var(--accent); color: var(--accent-ink); border: 0;
  padding: .55rem 1rem; border-radius: 999px; font-weight: 700; cursor: pointer;
}
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.linklike { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0; text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
