:root {
  --bg: #0e0e0e;
  --text: #ededed;
  --muted: #8a8a8a;
  --line: #262626;
  --btn: #ededed;
  --btn-text: #0e0e0e;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f6f4;
    --text: #141414;
    --muted: #6b6b6b;
    --line: #dcdcd8;
    --btn: #141414;
    --btn-text: #f6f6f4;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; }
.wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 20px; }
header { padding: 28px 0; }
header .wrap { display: flex; justify-content: space-between; align-items: center; }
.brand { font-weight: 600; letter-spacing: -0.02em; font-size: 18px; text-decoration: none; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; margin-left: 20px; }
nav a:hover { color: var(--text); }
main { flex: 1; }
.hero { padding: 12vh 0 10vh; }
.hero h1 { font-size: clamp(36px, 7vw, 56px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; }
.hero p.lead { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 30em; }
.tri { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.tri span::before { content: "— "; }
.cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 10px;
  background: var(--btn); color: var(--btn-text); text-decoration: none; font-weight: 500; font-size: 15px;
}
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.note { margin-top: 18px; font-size: 13px; color: var(--muted); max-width: 36em; }
footer { border-top: 1px solid var(--line); padding: 24px 0 32px; font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }
.doc { padding: 6vh 0 10vh; }
.doc h1 { font-size: 36px; letter-spacing: -0.03em; font-weight: 600; }
.doc .date { color: var(--muted); font-size: 14px; margin-top: 6px; }
.doc h2 { font-size: 18px; font-weight: 600; margin-top: 36px; }
.doc p, .doc li { margin-top: 10px; color: var(--text); }
.doc ul { padding-left: 20px; }
.doc .muted { color: var(--muted); }
