:root {
  --bg: #f7f6f2;
  --surface: #ffffff;
  --text: #1c1d1f;
  --muted: #5d6066;
  --line: #e4e2dc;
  --accent: #2f6fe4;
  --accent-soft: #e6eefc;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111214;
    --surface: #1a1c1f;
    --text: #eceae5;
    --muted: #a3a6ad;
    --line: #2a2d31;
    --accent: #7aa7ff;
    --accent-soft: #1d2a42;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 700; font-size: 19px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover, nav a[aria-current] { color: var(--text); }

main { padding: 56px 0 72px; }
h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; }
h2 { font-size: 22px; margin: 40px 0 8px; letter-spacing: -0.01em; }
h3 { font-size: 18px; margin: 24px 0 4px; }
p, li { color: var(--muted); }
strong { color: var(--text); }
.lead { font-size: 20px; max-width: 34em; }
.updated { font-size: 14px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin: 32px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.icon {
  flex: none;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 26px;
}
.card h2 { margin: 0 0 4px; }
.card p { margin: 0 0 12px; }
.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
}
@media (prefers-color-scheme: dark) { .button { color: #0c1220; } }
.links a { margin-right: 16px; font-size: 15px; }

ul { padding-left: 20px; }
li { margin: 6px 0; }

footer { border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer .wrap { padding: 24px 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 560px) {
  h1 { font-size: 32px; }
  .card { flex-direction: column; }
  nav a { margin-left: 12px; }
}
