:root {
  --bg: #07110f;
  --surface: #0d1a17;
  --line: #1d2e2a;
  --text: #e6efec;
  --muted: #9db3ad;
  --mint: #3fd9b0;
  --on-mint: #00382b;
  --max: 46rem;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6faf8;
    --surface: #ffffff;
    --line: #d7e3df;
    --text: #0d1f1b;
    --muted: #4b625c;
    --mint: #0f6e5c;
    --on-mint: #ffffff;
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--mint); text-underline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
header.site {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.brand-mark { width: 1.6rem; height: 1.6rem; border-radius: .45rem; background: var(--mint); color: var(--on-mint); display: grid; place-items: center; font-size: .95rem; font-weight: 800; }
nav.site a { color: var(--muted); text-decoration: none; margin-left: 1rem; font-size: .95rem; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }
main { padding: 2.5rem 0 3rem; }
h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5rem; }
h2 { font-size: 1.25rem; margin: 2.25rem 0 .5rem; letter-spacing: -.01em; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 .25rem; }
p, ul, ol, table { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li { margin: .25rem 0; }
.lede { color: var(--muted); font-size: 1.05rem; }
.meta { color: var(--muted); font-size: .9rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.card > :last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .55rem .5rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }
footer.site { border-top: 1px solid var(--line); padding: 1.5rem 0 2.5rem; color: var(--muted); font-size: .9rem; }
footer.site a { color: var(--muted); }
.hero { padding: 3rem 0 1rem; }
.hero h1 { font-size: 2.6rem; }
.badge { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: .2rem .7rem; font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  .hero h1 { font-size: 2.1rem; }
  nav.site a { margin-left: .75rem; }
}
