:root {
  color-scheme: light dark;
  --bg: #0b0c0f;
  --panel: #14161b;
  --line: #23262d;
  --text: #e8eaee;
  --muted: #9aa2ae;
  --accent: #ff4d67;
  --accent-ink: #14060a;
  --max: 52rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
header.site, main, footer.site { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
header.site {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.brand span { color: var(--accent); }
nav.site { display: flex; gap: 1.25rem; font-size: 0.925rem; }
nav.site a { color: var(--muted); }
nav.site a:hover { color: var(--text); }
main { padding-top: 3rem; padding-bottom: 4rem; }
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 1rem; }
h2 { font-size: 1.3rem; margin: 2.5rem 0 0.75rem; letter-spacing: -0.01em; }
h3 { font-size: 1.02rem; margin: 1.5rem 0 0.4rem; }
p, li { color: #cfd4dc; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 40rem; }
.cta { display: inline-block; margin-top: 0.5rem; padding: 0.7rem 1.2rem; border-radius: 0.5rem;
  background: var(--accent); color: var(--accent-ink); font-weight: 650; }
.cta:hover { text-decoration: none; filter: brightness(1.06); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 0.75rem; padding: 1.25rem 1.35rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 1.25rem; }
ol.steps { padding-left: 1.2rem; }
ol.steps li { margin: 0.45rem 0; }
table { width: 100%; border-collapse: collapse; margin-top: 0.75rem; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em;
  background: #1b1e24; border: 1px solid var(--line); border-radius: 0.3rem; padding: 0.1rem 0.35rem; }
.note { border-left: 3px solid var(--accent); padding: 0.25rem 0 0.25rem 1rem; color: var(--muted); }
footer.site {
  border-top: 1px solid var(--line); padding-top: 1.5rem; padding-bottom: 2.5rem;
  color: var(--muted); font-size: 0.9rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
}
footer.site a { color: var(--muted); }
ul.plain { padding-left: 1.1rem; }
.small { font-size: 0.9rem; color: var(--muted); }
