:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1c1b19;
  --muted: #5d5a54;
  --line: #e4e0d8;
  --accent: #0b6e69;
  --accent-soft: #e3f2f0;
  --pixel: #ff5a36;
  --max: 46rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121211;
    --surface: #1b1a19;
    --text: #ece9e3;
    --muted: #a8a39a;
    --line: #2e2c29;
    --accent: #4fc4bb;
    --accent-soft: #15302e;
    --pixel: #ff7a5c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
header.site .wrap {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem;
  align-items: center; justify-content: space-between;
  padding-top: .8rem; padding-bottom: .8rem;
}
.brand {
  font-weight: 700; color: var(--text); text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem; letter-spacing: -.01em;
}
.brand .dots { display: inline-grid; grid-template-columns: repeat(3, 5px); gap: 2px; }
.brand .dots i { width: 5px; height: 5px; background: var(--pixel); border-radius: 1px; }
.brand .dots i:nth-child(even) { background: var(--accent); }
nav.site a { color: var(--muted); text-decoration: none; margin-right: 1rem; font-size: .95rem; }
nav.site a:last-child { margin-right: 0; }
nav.site a[aria-current="page"], nav.site a:hover { color: var(--text); }
main { padding: 2rem 0 3rem; }
h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.15; letter-spacing: -.02em; margin: .2rem 0 1rem; }
h2 { font-size: 1.45rem; line-height: 1.25; margin: 2.4rem 0 .6rem; letter-spacing: -.01em; }
h3 { font-size: 1.12rem; margin: 1.6rem 0 .4rem; }
p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: .35rem; }
.kicker { color: var(--muted); font-size: .9rem; margin: 0; }
.answer {
  background: var(--accent-soft); border-left: 4px solid var(--accent);
  padding: 1rem 1.1rem; border-radius: 6px; margin: 1.2rem 0 1.6rem;
}
.answer p:last-child { margin-bottom: 0; }
.note {
  border: 1px dashed var(--line); padding: .8rem 1rem; border-radius: 6px;
  color: var(--muted); font-size: .95rem;
}
.table-scroll { overflow-x: auto; margin: 0 0 1.2rem; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; min-width: 32rem; }
th, td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--line); }
th { font-weight: 600; background: var(--surface); }
dl.faq dt { font-weight: 650; margin-top: 1.1rem; }
dl.faq dd { margin: .3rem 0 0; }
.cards { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 1rem 0 1.5rem; }
.card {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: .9rem 1rem; color: var(--text); text-decoration: none;
}
.card strong { display: block; margin-bottom: .2rem; }
.card span { color: var(--muted); font-size: .92rem; }
.card:hover { border-color: var(--accent); }
ol.sources { font-size: .9rem; color: var(--muted); }
ol.sources a { word-break: break-word; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; padding: 1.4rem 0 2.4rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--surface); border: 1px solid var(--line); padding: .05rem .3rem; border-radius: 4px; }
