
:root {
color-scheme: light dark;
--bg: #ffffff; --surface: #f6f7f9; --surface-2: #eef1f5; --border: #e3e6eb; --text: #2a2e38; --strong: #0b1315; --muted: #5b6270;
--accent: #1a4a97; --accent-weak: #e8f0fb; --accent-line: rgba(26,74,151,.28); --ai: #7d2ae8; --ok: #18794e;
--btn-bg: #0b1315; --btn-fg: #ffffff; --btn-hover: #26302f; --shadow: 0 1px 2px rgba(11,19,21,.06), 0 12px 32px rgba(11,19,21,.08);
--r: 14px; --wrap: 1120px; --gut: 16px;
--font: "Inter Variable", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
.brand svg rect { fill: #f2f4f7; } .brand svg path { stroke: #0b1315; }
:root { --bg: #0d1214; --surface: #141a1d; --surface-2: #1b2327; --border: #263034; --text: #d3d9de; --strong: #ffffff; --muted: #9aa4ad;
--accent: #8dbbff; --accent-weak: #13233b; --accent-line: rgba(141,187,255,.35); --ai: #b78bff; --ok: #4cc38a;
--btn-bg: #f2f4f7; --btn-fg: #0b1315; --btn-hover: #ffffff; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.45); }
}
@font-face { font-family: "Inter Variable"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/_s/f/inter-cyrillic.d83a479425.woff2) format("woff2-variations"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/_s/f/inter-cyrillic-ext.64f37addfe.woff2) format("woff2-variations"); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/_s/f/inter-latin-ext.ee0ebd2ef0.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/_s/f/inter-latin.d740241675.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.65 var(--font); font-feature-settings: "cv11", "ss03"; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { color: var(--strong); line-height: 1.2; letter-spacing: -.015em; margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.ic { width: 20px; height: 20px; flex: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.bar { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.125rem; color: var(--strong); text-decoration: none; letter-spacing: -.01em; }
.brand svg { width: 30px; height: 30px; }
.nav { display: none; margin-left: 12px; gap: 4px; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-2); color: var(--strong); }
.actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.actions .btn { display: none; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.lang { position: relative; }
.lang summary, .menu summary { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: .9rem; color: var(--text); border: 1px solid var(--border); background: var(--bg); }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); min-width: 150px; }
.lang li a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--text); text-decoration: none; font-size: .92rem; }
.lang li a:hover, .lang li a[aria-current="true"] { background: var(--surface-2); }
.menu { position: static; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: 8px var(--gut) 16px; }
.menu-panel a { display: block; padding: 12px 8px; color: var(--strong); text-decoration: none; font-weight: 600; border-radius: 8px; }
.menu-panel a:hover { background: var(--surface-2); }
.menu-panel .btn { margin-top: 8px; text-align: center; }
@media (min-width: 900px) { .nav { display: flex; } .actions .btn { display: inline-flex; } .menu { display: none; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--strong); }
.btn-ghost:hover { border-color: var(--accent-line); background: var(--accent-weak); }
.hero { padding: 48px 0 24px; background: radial-gradient(1000px 420px at 70% -10%, var(--accent-weak), transparent 70%); }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 750; max-width: 24ch; letter-spacing: -.03em; }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 62ch; margin: 18px 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .tldr { margin-top: 28px; }
.shot.hero-shot { margin: 44px 0 0; }
.phead { padding: 28px 0 8px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--border); }
.crumbs a { color: var(--muted); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-weak); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.phead h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); font-weight: 750; letter-spacing: -.025em; max-width: 24ch; }
.phead .lead { font-size: 1.15rem; color: var(--muted); max-width: 66ch; margin: 14px 0 0; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 14px; font-size: .88rem; color: var(--muted); }
.tldr { border: 1px solid var(--accent-line); background: var(--accent-weak); border-radius: var(--r); padding: 16px 18px; max-width: 78ch; margin-top: 22px; }
.tldr b { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.tldr p { margin: 0; color: var(--strong); }
main { display: block; }
.content { padding: 24px 0 8px; }
.blk { margin: 0 0 56px; }
.blk > h2, .cta h2, .faq > h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 720; margin-bottom: 16px; }
.blk .intro { color: var(--muted); max-width: 70ch; margin-bottom: 22px; }
.prose > :not(h2) { max-width: 72ch; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 8px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .35em 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 5px; }
.toc { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); padding: 14px 18px; margin: 0 0 40px; max-width: 72ch; }
.toc summary { font-weight: 700; color: var(--strong); }
.toc ol { margin: 10px 0 0; padding-left: 1.2em; }
.toc a { color: var(--text); }
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; transition: border-color .15s, transform .15s; }
.card-link:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.card-ic { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: var(--accent-weak); color: var(--accent); margin-bottom: 14px; }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card h3 a { color: var(--strong); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.card p { margin: 0; color: var(--muted); font-size: .96rem; }
.steps { list-style: none; counter-reset: st; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.steps li { counter-increment: st; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; }
.steps li::before { content: counter(st); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; font-size: .9rem; margin-bottom: 12px; }
.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .96rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--surface); color: var(--strong); font-weight: 700; }
tbody th { font-weight: 600; color: var(--strong); }
tbody tr:last-child > * { border-bottom: 0; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 72ch; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.ck { color: var(--ok); margin-top: 3px; stroke-width: 2.6; }
.glossary { margin: 0; display: grid; gap: 14px; max-width: 72ch; }
.glossary dt { font-weight: 700; color: var(--strong); }
.glossary dd { margin: 2px 0 0; color: var(--muted); }
.shot { margin: 0 0 56px; }
.shot img { width: 100%; height: auto; border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow); background: #fff; }
.shot figcaption { margin-top: 10px; color: var(--muted); font-size: .9rem; text-align: center; }
.cta { background: var(--btn-bg); color: var(--btn-fg); border-radius: 20px; padding: clamp(28px, 5vw, 48px); margin: 0 0 56px; }
.cta h2 { color: var(--btn-fg); }
.cta p { color: color-mix(in srgb, var(--btn-fg) 80%, transparent); max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.cta .btn-primary { background: var(--btn-fg); color: var(--btn-bg); }
.cta .btn-primary:hover { background: color-mix(in srgb, var(--btn-fg) 88%, var(--btn-bg)); }
.cta .btn-ghost { color: var(--btn-fg); border-color: color-mix(in srgb, var(--btn-fg) 35%, transparent); }
.cta .btn-ghost:hover { background: color-mix(in srgb, var(--btn-fg) 12%, transparent); border-color: var(--btn-fg); }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; font-weight: 600; color: var(--strong); }
.faq summary:hover { color: var(--accent); }
.chev { transition: transform .2s; color: var(--muted); }
.faq details[open] .chev { transform: rotate(180deg); }
.ans { padding: 0 4px 18px; max-width: 72ch; color: var(--text); }
.ans p:last-child { margin: 0; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.related a { display: block; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--strong); font-weight: 600; }
.related a:hover { border-color: var(--accent-line); background: var(--accent-weak); }
.related small { display: block; font-weight: 400; color: var(--muted); margin-top: 2px; }
.hub-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin: 0; padding: 0; list-style: none; }
.hub-list .card { height: 100%; }
.hub-list .meta { margin-top: 12px; }
.site-footer { margin-top: 56px; border-top: 1px solid var(--border); background: var(--surface); padding: 48px 0 28px; font-size: .94rem; }
.fgrid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .fgrid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.fcol h2 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fcol a { color: var(--text); text-decoration: none; }
.fcol a:hover { color: var(--accent); text-decoration: underline; }
.fbrand p { color: var(--muted); max-width: 34ch; margin-top: 12px; }
.fine { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: .86rem; display: grid; gap: 6px; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--accent-line); color: var(--accent); background: var(--accent-weak); padding: 2px 8px; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cta, .toc { display: none; } body { color: #000; background: #fff; } }
