
:root {
  --ink: #111418;
  --muted: #5d636b;
  --line: #e6e8eb;
  --bg: #fbfbfc;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  font-size: 17px; line-height: 1.65; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #000; }
.shell { max-width: 760px; margin: 0 auto; padding: 48px 24px 96px; }
header.site { display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
header.site .brand { font-weight: 700; letter-spacing: 0.2px; }
header.site .brand a { text-decoration: none; color: var(--ink); }
header.site nav a { margin-left: 18px; font-size: 14px; color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--ink); }
h1 { font-size: 30px; line-height: 1.2; margin: 16px 0 8px; letter-spacing: -0.3px; }
h2 { font-size: 20px; line-height: 1.3; margin: 40px 0 12px; letter-spacing: -0.2px; }
h3 { font-size: 17px; line-height: 1.4; margin: 28px 0 8px; }
p { margin: 12px 0; }
ul, ol { padding-left: 22px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
footer.site { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer.site a { color: var(--muted); }
.hero h1 { font-size: 36px; margin-top: 8px; }
.card-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
@media (max-width: 640px) { .card-list { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: 8px; padding: 20px; background: #fff;
  text-decoration: none; display: block; }
.card:hover { border-color: #bfc3c8; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
code { background: #f1f2f4; padding: 2px 6px; border-radius: 4px; font-size: 14px; }
table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 14px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: #f4f5f7; }

/* Root landing-only */
.home { max-width: 620px; margin: 0 auto; padding: 96px 24px; text-align: center; }
.home h1 { font-size: 34px; letter-spacing: -0.3px; margin: 0 0 10px; }
.home p.tagline { color: var(--muted); margin: 0 0 32px; }
.home .links a { margin: 0 12px; font-size: 14px; color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; }
.home .links a:hover { color: var(--ink); border-bottom-color: var(--line); }
