:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #5c5c5c;
  --rule: #e4e4e7;
  --accent: #0a7ea4;
  --card: #f7f7f8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d0f;
    --fg: #ececee;
    --muted: #a1a1aa;
    --rule: #26262b;
    --accent: #38bdf8;
    --card: #17171a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 3rem 1.25rem 6rem;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main { max-width: 44rem; margin: 0 auto; }

h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin: 3rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

h3 { font-size: 1.05rem; margin: 1.75rem 0 0.5rem; }

p, li { color: var(--fg); }
strong { font-weight: 650; }

a { color: var(--accent); }

.effective {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 2.5rem;
}

.lede {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 0 0 1rem;
}

.lede h2 {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

ul { padding-left: 1.25rem; }
li { margin: 0.4rem 0; }

/* Wide content scrolls inside itself; the page never scrolls sideways. */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 10px;
  margin: 1.25rem 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;
  font-size: 0.94rem;
}

th, td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

th {
  font-weight: 600;
  background: var(--card);
  white-space: nowrap;
}

tr:last-child td { border-bottom: none; }

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