:root {
  --text: #111;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --bg: #fff;
  --link: #111;
}
@media (prefers-color-scheme: dark) {
  :root { --text: #ededed; --muted: #8f8f8f; --line: #262626; --bg: #0b0b0b; --link: #ededed; }
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font: 16px/1.65 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.wrap { width: 100%; max-width: 680px; margin: 0 auto; padding: 0 24px; }

header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 600; letter-spacing: -0.02em; text-decoration: none; color: var(--text); font-size: 17px; }
.brand::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--text); margin-right: 8px; vertical-align: 1px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 24px; font-size: 14px; }
nav a:hover { color: var(--text); }

main { flex: 1; padding: 72px 0 96px; }
h1 { font-size: 2.4rem; line-height: 1.15; letter-spacing: -0.035em; font-weight: 600; margin: 0 0 16px; }
h2 { font-size: 1rem; font-weight: 600; margin: 40px 0 8px; letter-spacing: -0.01em; }
p, li { color: var(--text); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; }
.muted { color: var(--muted); font-size: 14px; }
a { color: var(--link); text-underline-offset: 3px; }

footer { border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 24px; }
footer a { color: var(--muted); text-decoration: none; margin-left: 16px; }
footer a:first-child { margin-left: 0; }
