*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --text: #1a1a1a;
  --muted: #666;
  --border: #e0e0e0;
  --bg: #fafafa;
  --max: 680px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  padding: 3rem 1.5rem 6rem;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

header {
  margin-bottom: 3rem;
}

header a {
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
}

header a:hover { text-decoration: underline; }

h1 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 0.25rem;
}

.meta {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
}

p { margin-bottom: 1rem; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

ul {
  margin: 0 0 1rem 1.25rem;
}

li { margin-bottom: 0.25rem; }

.table-wrap {
  margin: 1rem 0;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.45;
}

th,
td {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  font-weight: 600;
  background: #f2f2f2;
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

footer a { color: var(--muted); }
