:root {
  --bg: #0f1418; --surface: #172026; --text: #e6edf1; --muted: #9aa8b1;
  --accent: #4fd1a5; --border: #24313a;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #f6f8f9; --surface: #ffffff; --text: #14202a; --muted: #52616b; --accent: #127a5a; --border: #dde3e7; }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }
header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
header .mark {
  width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: var(--bg);
  display: grid; place-items: center; font: 700 18px/1 ui-monospace, monospace;
}
header a { color: var(--text); text-decoration: none; font-weight: 600; }
nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"], nav a:hover { color: var(--accent); }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 1.25rem; margin: 32px 0 8px; }
p, li { color: var(--text); }
.lead { color: var(--muted); font-size: 1.1rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin: 16px 0; }
a { color: var(--accent); }
code { font-family: ui-monospace, monospace; font-size: 0.9em; }
footer { margin-top: 48px; color: var(--muted); font-size: 0.9rem; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.point { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.point h3 { margin: 0 0 6px; font-size: 1.02rem; }
.point p { margin: 0; color: var(--muted); }
header .langs { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
header .langs a { font-size: 0.85rem; font-weight: 500; color: var(--muted); text-decoration: none; border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; }
header .langs a:hover { color: var(--accent); }
@media (max-width: 560px) { header .langs { margin-left: 0; width: 100%; } }
