:root{color-scheme:light;--blue:#064bf3;--ink:#1c1c1e;--muted:#656570;--line:#e4e4ea;--paper:#fff;--page:#f2f2f7;--code:#10192e}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:28px}
body{margin:0;background:var(--page);color:var(--ink);font:16px/1.65 -apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
a{color:#0758d8;text-underline-offset:3px}
a:hover{color:#0284c7}
button{font:inherit}
.shell{max-width:1160px;margin:auto;padding:28px 24px 64px}
.top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:30px}
.brand{display:inline-flex;align-items:center;gap:12px;color:var(--ink);font-weight:750;font-size:17px;text-decoration:none;letter-spacing:-.02em}
.brand:hover{color:var(--ink)}
.brand img{width:42px;height:42px;border-radius:10px}
.top-actions{display:flex;align-items:center;gap:20px}
.back{font-size:14px;font-weight:600;color:var(--muted);text-decoration:none}
.lang-switcher{display:inline-flex;background:#e5e7ec;border-radius:999px;padding:3px;gap:2px}
.lang-btn{border:0;background:none;color:#656570;border-radius:999px;padding:6px 13px;font-size:13px;font-weight:650;cursor:pointer}
.lang-btn.active{background:#fff;color:var(--ink);box-shadow:0 1px 5px #1112}
.hero{background:var(--blue);color:#fff;border-radius:26px;padding:42px 48px 44px;position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;width:340px;height:340px;border:1px solid #ffffff35;border-radius:50%;right:-80px;top:-130px;box-shadow:0 0 0 76px #ffffff08,0 0 0 152px #ffffff08;pointer-events:none}
.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:800;opacity:.78;margin:0 0 13px}
h1{font-size:clamp(32px,5vw,52px);line-height:1.08;letter-spacing:-.045em;max-width:730px;margin:0 0 18px}
.lede{font-size:18px;line-height:1.55;max-width:720px;margin:0;color:#eef2ff}
.hero-note{margin-top:25px;display:inline-flex;align-items:center;gap:9px;padding:8px 13px;background:#ffffff1e;border:1px solid #ffffff35;border-radius:999px;font-size:13px;font-weight:650}
.layout{display:grid;grid-template-columns:220px minmax(0,1fr);align-items:start;gap:26px;margin-top:28px}
.toc{position:sticky;top:24px;padding:20px 8px}
.toc-title{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.13em;color:#7a7a83;padding:0 12px;margin-bottom:10px}
.toc a{display:block;padding:8px 12px;border-radius:10px;color:#4f525c;font-size:14px;font-weight:550;text-decoration:none;line-height:1.35}
.toc a:hover,.toc a:focus-visible{color:var(--blue);background:#e8ecff}
.article{min-width:0}
.section{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:32px 36px;margin-bottom:18px;box-shadow:0 1px 2px #10182808}
.section h2{font-size:26px;line-height:1.22;letter-spacing:-.03em;margin:0 0 18px}
.section h3{font-size:18px;line-height:1.3;letter-spacing:-.015em;margin:25px 0 9px}
.section p{margin:0 0 15px}
.section p:last-child,.section ul:last-child,.section ol:last-child{margin-bottom:0}
.section ul,.section ol{padding-left:22px;margin:0 0 17px}
.section li{padding-left:3px;margin:6px 0}
.step{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;margin-right:8px;background:#e9eeff;color:var(--blue);border-radius:9px;font-size:14px;font-weight:800;vertical-align:2px}
.requirements{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}
.requirement{padding:16px;background:#f6f7fb;border:1px solid #e9ebf2;border-radius:13px}
.requirement strong{display:block;font-size:14px;margin-bottom:3px}
.requirement span{display:block;color:var(--muted);font-size:13px;line-height:1.4}
.callout{background:#eff4ff;border-left:3px solid var(--blue);border-radius:0 11px 11px 0;padding:14px 17px;margin:18px 0;color:#263451;font-size:14px;line-height:1.55}
.callout.warning{background:#fff7e9;border-color:#e49a18;color:#5b421d}
.callout p{margin:0}
.code{position:relative;margin:14px 0 22px;border-radius:14px;overflow:hidden;background:var(--code);box-shadow:0 8px 20px #0b1c3b12}
.code-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 12px 8px 17px;background:#1c2943;border-bottom:1px solid #ffffff16;color:#c2cee8;font-size:12px;font-weight:700;letter-spacing:.02em}
.copy-btn{background:#ffffff14;color:#fff;border:1px solid #ffffff29;border-radius:8px;padding:4px 10px;font-size:12px;font-weight:700;cursor:pointer;min-width:56px}
.copy-btn:hover,.copy-btn:focus-visible{background:#ffffff2c}
pre{margin:0;padding:17px 18px 20px;overflow:auto;color:#eaf2ff;font:13px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;tab-size:2}
code{font:0.88em ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;background:#eef0f5;border-radius:4px;padding:2px 4px;overflow-wrap:anywhere}
pre code{font:inherit;background:none;padding:0;overflow-wrap:normal}
.placeholder{color:#ffc877}
.code .comment{color:#92a6c9}
.flow{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:18px 0;color:#4e5c75;font-size:13px;font-weight:700}
.flow span{padding:8px 11px;background:#f2f5fb;border:1px solid #e3e8f2;border-radius:9px}
.flow b{font-size:16px;color:var(--blue)}
.source-list{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.source-list a{display:inline-block;padding:7px 10px;border:1px solid #dbe4ff;background:#f6f8ff;border-radius:9px;font-size:13px;font-weight:650;text-decoration:none}
.footer{margin:28px 4px 0;color:#71717a;font-size:13px}
.footer a{color:#0758d8}
@media(max-width:820px){.layout{grid-template-columns:1fr}.toc{position:static;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 16px;display:flex;flex-wrap:wrap;gap:3px 6px}.toc-title{width:100%;margin:0}.toc a{padding:6px 9px}.requirements{grid-template-columns:1fr}}
@media(max-width:600px){.shell{padding:16px 12px 40px}.top{align-items:flex-start}.top-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}.back{font-size:12px}.brand{font-size:15px}.brand img{width:35px;height:35px}.hero{border-radius:20px;padding:32px 23px}.lede{font-size:16px}.section{padding:25px 20px;border-radius:16px}.section h2{font-size:23px}.toc a{font-size:12px}pre{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
