/* index.css — the generated deck index (site/index.html.tmpl). Tokens only; two palettes chosen
   by the reader's colour-scheme preference (light: Catppuccin Latte, dark: Catppuccin Mocha). */
:root {
  --base: #eff1f5; --surface: #e6e9ef; --border: #ccd0da;
  --text: #4c4f69; --muted: #6c6f85; --accent: #1e66f5;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 4px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --base: #1e1e2e; --surface: #313244; --border: #45475a;
    --text: #cdd6f4; --muted: #a6adc8; --accent: #89b4fa;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--base); color: var(--text); font-family: var(--font); line-height: 1.5; }
.page { max-width: 760px; margin: 0 auto; padding: 48px 16px; }
.page-head h1 { margin: 0 0 8px; font-size: 1.8rem; font-weight: 700; }
.lead { margin: 0 0 32px; color: var(--muted); }
kbd { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 4px; font-size: 0.85em; }
.decks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.deck { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; }
.deck-link { display: block; color: var(--accent); font-weight: 600; text-decoration: none; }
.deck-link:hover, .deck-link:focus-visible { text-decoration: underline; }
.deck-meta { display: block; margin-top: 4px; color: var(--muted); font-size: 0.9rem; }
.chip { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 6px; font-size: 0.75rem; font-weight: 600; }
