:root {
  --bg: #fdfcfa;
  --surface: #ffffff;
  --ink: #1f2430;
  --muted: #5b6472;
  --rule: #e6e2db;
  --accent: #3f6bd8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171d;
    --surface: #1b1f27;
    --ink: #e9ecf1;
    --muted: #9aa3b2;
    --rule: #2b313b;
    --accent: #8fb0ff;
  }
}

* { box-sizing: border-box; }

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

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

header {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2.5rem;
}

.brand {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.6rem;
}

h1 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

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

h2 {
  font-size: 1.15rem;
  margin: 2.75rem 0 0.75rem;
  letter-spacing: -0.01em;
}

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

p, li { color: var(--ink); }

ul, ol { padding-inline-start: 1.35rem; }

li { margin-bottom: 0.4rem; }

a {
  color: var(--accent);
  text-underline-offset: 2px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

th, td {
  text-align: start;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--rule);
}

th {
  font-weight: 600;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

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

footer a { margin-inline-end: 1rem; }
