:root {
  --bg: #09090b;
  --surface: #141417;
  --ink: #ece8e1;
  --muted: #a1a1aa;
  --accent: #38a0ff;
  --line: rgba(63, 63, 70, 0.6);
  color-scheme: dark;
}
:root.light {
  --bg: #ece8e1;
  --surface: #f7f5f1;
  --ink: #0f1923;
  --muted: #525963;
  --accent: #005ce6;
  --line: rgba(150, 142, 128, 0.45);
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 16px;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink);
  font: 700 18px/1 'Chakra Petch', Inter, sans-serif; white-space: nowrap; }
.brand b { color: var(--accent); font-weight: 700; }
.back { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; }
.back:hover { color: var(--accent); }
main { max-width: 720px; margin: 0 auto; padding: 40px 16px 64px; }
h1 { font: 700 34px/1.15 'Chakra Petch', Inter, sans-serif; margin: 0; text-transform: uppercase; overflow-wrap: break-word; hyphens: auto; }
h2 { font: 600 18px/1.3 'Chakra Petch', Inter, sans-serif; margin: 0 0 10px; }
.updated { margin: 8px 0 0; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.intro { margin: 20px 0 0; color: var(--muted); }
section { margin-top: 32px; }
section p { margin: 0 0 10px; font-size: 15px; color: var(--muted); }
.card {
  margin-top: 48px; padding: 20px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--line);
}
footer { border-top: 1px solid var(--line); padding: 28px 16px; text-align: center; color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; font-size: 13px; font-weight: 500; }
footer nav a { text-decoration: none; color: var(--muted); }
footer nav a:hover { color: var(--accent); }
footer .langs { margin-top: 14px; gap: 14px; font-size: 12px; letter-spacing: 0.08em; }
footer .langs [aria-current] { color: var(--ink); }
footer p { margin: 14px 0 0; font-size: 12px; }
@media (max-width: 480px) { h1 { font-size: 28px; } main { padding-top: 28px; } }
