:root {
  --bg: #ffffff;
  --fg: #1c1f24;
  --muted: #5b6270;
  --accent: #1d4ed8;
  --card: #f5f7fa;
  --code-bg: #0f172a;
  --code-fg: #e2e8f0;
  --border: #e3e7ee;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --fg: #e6edf3;
    --muted: #9aa4b2;
    --accent: #6ea8fe;
    --card: #161b22;
    --code-bg: #010409;
    --code-fg: #e6edf3;
    --border: #30363d;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }
.top, main, footer { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.top { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; }
.brand { font-weight: 700; font-size: 1.2em; color: var(--fg); text-decoration: none; }
.top nav a { margin-left: 18px; color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--fg); }
section { padding: 36px 0; border-bottom: 1px solid var(--border); }
section:last-child { border-bottom: 0; }
.hero h1 { font-size: clamp(2em, 5vw, 3em); line-height: 1.15; margin: 0.4em 0 0.3em; }
.lead { font-size: 1.15em; color: var(--muted); max-width: 46em; }
.cta { margin-top: 1.4em; }
.button {
  display: inline-block; padding: 10px 18px; border-radius: 8px; margin: 0 10px 10px 0;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
}
.button.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.points article { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 18px; }
.points h2 { font-size: 1.15em; margin-top: 0; }
pre {
  background: var(--code-bg); color: var(--code-fg); padding: 14px 16px; border-radius: 8px;
  overflow-x: auto; font-size: 0.85em; line-height: 1.5;
}
pre code { font-size: inherit; }
footer { color: var(--muted); font-size: 0.9em; padding-bottom: 36px; }
