@font-face { font-family: "Instrument Sans"; src: url(/fonts/instrument-sans-latin-standard-normal.woff2) format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }
:root { --night: #0e1620; --text: #17202a; --muted: #5a6776; --line: #dbe1e8; --paper: #f2f4f6; --accent: #2f5d8c; color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 17px/1.65 "Instrument Sans", "Helvetica Neue", Arial, sans-serif; }
header { background: var(--night); position: sticky; top: 0; z-index: 5; }
header .wrap { display: flex; align-items: center; gap: 20px; height: 64px; }
header a { color: #e9eef4; text-decoration: none; }
header .brand { font-weight: 600; margin-right: auto; }
header .brand span { color: #6f9bd0; font-weight: 500; }
header .lang { font-size: 14px; opacity: .8; }
header .cta { font-size: 15px; font-weight: 600; background: #6f9bd0; color: #0e1620; padding: 7px 16px; border-radius: 999px; }
.wrap { max-width: 900px; margin: 0 auto; padding: 0 24px; }
main { padding: 56px 0 88px; }
h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.03em; font-stretch: 85%; margin: 0 0 14px; }
.lead { font-size: 20px; color: #2c3742; margin: 0 0 8px; max-width: 46em; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 24px; columns: 2; column-gap: 32px; margin: 0 0 24px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
section { padding-top: 24px; scroll-margin-top: 72px; }
h2 { font-size: 28px; letter-spacing: -0.02em; margin: 40px 0 10px; display: flex; gap: 12px; align-items: baseline; }
h2 .n { color: #6f9bd0; font-variant-numeric: tabular-nums; font-size: 20px; }
h3 { font-size: 19px; margin: 28px 0 6px; }
p, li { color: #2c3742; }
ul.steps li { margin: 6px 0; }
figure { margin: 22px 0 8px; }
figure a { display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(14, 22, 32, .12), 0 12px 32px rgba(14, 22, 32, .14); background: #1b1b1b; }
figure img { display: block; width: 100%; height: auto; }
figure.narrow { max-width: 640px; }
figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }
.tip { background: #e8eef5; border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 12px 16px; margin: 16px 0; }
kbd { font: 13px/1 ui-monospace, "JetBrains Mono", monospace; background: #fff; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 2px 6px; }
a { color: var(--accent); }
.top { font-size: 14px; }
footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 14px; }
@media (max-width: 640px) { .toc { columns: 1; } header .lang { display: none; } h2 { font-size: 24px; } }
