:root {
  --bg: #ffffff; --surface: #f6f5fb; --text: #15141c; --muted: #5d5a6b;
  --line: #e6e3ef; --accent: #6340d6; --radius: 12px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111017; --surface: #1a1922; --text: #f2f2f5; --muted: #a09cae; --line: #2c2a36; --accent: #a78bfa; }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; padding-bottom: 8px; }
header .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); text-decoration: none; }
header .brand img { width: 28px; height: 28px; border-radius: 7px; }
header nav { display: flex; gap: 18px; font-size: 15px; }
header nav a { color: var(--muted); text-decoration: none; }
header nav a:hover, header nav a[aria-current] { color: var(--text); }
main { padding-top: 32px; padding-bottom: 48px; }
h1 { font-size: 34px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 8px; }
h2 { font-size: 21px; margin: 40px 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 17px; margin: 24px 0 6px; }
p, li { color: var(--muted); }
strong, h1, h2, h3 { color: var(--text); }
ul { padding-left: 22px; }
.updated { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.lede { font-size: 19px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 20px 0; }
.card p { margin: 6px 0; }
.big { font-size: 22px; font-weight: 600; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--text); font-weight: 600; }
td { color: var(--muted); }
footer { border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 40px; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer a { color: var(--muted); }
@media (max-width: 560px) { h1 { font-size: 28px; } header { flex-direction: column; align-items: flex-start; gap: 10px; } }

/* Crossfade between the site's pages (see FIRST_PAINT in vite.config.ts). */
@view-transition { navigation: auto; }
