:root {
  --bg: #0b1120;
  --panel: #111a2e;
  --line: #1f2b45;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-ink: #04121f;
  --warn: #fbbf24;
  --max: 46rem;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8fafc;
    --panel: #ffffff;
    --line: #e2e8f0;
    --text: #0f172a;
    --muted: #475569;
    --accent: #0369a1;
    --accent-ink: #ffffff;
    --warn: #b45309;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
nav a { color: var(--muted); text-decoration: none; margin-left: 1rem; font-size: 0.95rem; }
nav a:first-child { margin-left: 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
main { padding: 2.5rem 0 3rem; }
h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 1rem; }
h2 { font-size: 1.3rem; margin: 2.2rem 0 0.6rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; }
p, li { color: var(--text); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36rem; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  padding: 0.7rem 1.2rem; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.steps { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.75rem; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; }
.steps b { display: block; margin-bottom: 0.2rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.75rem; margin: 1rem 0; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; }
.card h3 { margin-top: 0; }
.note { border-left: 3px solid var(--warn); padding: 0.4rem 0 0.4rem 1rem; color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1rem 0; }
th, td { text-align: left; vertical-align: top; padding: 0.55rem 0.5rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0.8rem 1.1rem; margin: 0.6rem 0; }
summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 0.4rem; }
footer.site { border-top: 1px solid var(--line); padding: 1.5rem 0 2.5rem; color: var(--muted); font-size: 0.9rem; }
footer.site a { color: var(--muted); margin-right: 1rem; }
