:root {
  color-scheme: dark;
  --bg: #131417; --panel: #1d1e21; --panel-2: #26272b; --border: #37393f; --border-strong: #46484f;
  --text: #d9dadd; --strong: #f1f2f4; --muted: #aeb0b7; --accent: #2f6fb8; --accent-hover: #3b7fcb; --link: #7db4f0;
  --ok: #4fc08d; --no: #e58a92;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, video:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
code { font: 0.92em Consolas, ui-monospace, "SF Mono", monospace; background: var(--panel-2); border: 1px solid var(--border); border-radius: 3px; padding: 0 4px; overflow-wrap: anywhere; }
h1, h2, h3 { color: var(--strong); line-height: 1.2; margin: 0; text-wrap: balance; }
h1 code, h2 code { font-size: 0.86em; }
h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 700; }
h2 { font-size: clamp(23px, 3vw, 28px); font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
p { margin: 0 0 12px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 800px; }
section { padding: 44px 0; border-top: 1px solid var(--border); }
.gh { width: 16px; height: 16px; fill: currentColor; flex: none; }

.top { position: sticky; top: 0; z-index: 10; background: var(--panel); border-bottom: 1px solid var(--border); }
.top-in { display: flex; align-items: center; gap: 8px; height: 52px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--strong); font-size: 17px; font-weight: 700; margin-right: 12px; }
.brand:hover { text-decoration: none; }
.top nav { display: flex; gap: 18px; margin-right: auto; }
.top nav a { color: var(--muted); font-size: 14px; }
.top nav a:hover { color: var(--strong); text-decoration: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 0 12px; border: 1px solid var(--border-strong); border-radius: 4px; background: var(--panel-2); color: var(--strong); font-size: 14px; font-weight: 600; white-space: nowrap; }
.btn:hover { background: #303137; text-decoration: none; }
.btn.is-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.is-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.is-quiet { background: none; border-color: transparent; color: var(--muted); }
.btn.is-quiet:hover { color: var(--strong); }
.btn.is-lg { min-height: 42px; padding: 0 18px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 14px; }

.hero { border-top: 0; padding: 48px 0 44px; text-align: center; }
.hero .lede { margin-left: auto; margin-right: auto; }
.hero .actions { justify-content: center; }
.lede { max-width: 680px; margin-top: 14px; color: var(--muted); font-size: 19px; }
.note { color: var(--muted); font-size: 14px; }
.video { margin-top: 28px; border: 1px solid var(--border-strong); border-radius: 6px; overflow: hidden; background: #0d1117; }
.video video { width: 100%; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding: 14px 16px; background: var(--panel); border: 1px solid var(--border); border-radius: 4px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 8px; border-radius: 4px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; }
.steps strong { display: block; color: var(--strong); }
.steps span { color: var(--muted); font-size: 15px; }

.feature { display: grid; grid-template-columns: 2fr 3fr; gap: 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--border); }
.feature:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-text p { margin: 0; color: var(--muted); }
.shot { border: 1px solid var(--border-strong); border-radius: 4px; overflow: hidden; background: var(--panel); }
.shot img { width: 100%; }
.shot.is-popups { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border-strong); }

.table { overflow-x: auto; margin-bottom: 14px; border: 1px solid var(--border); border-radius: 4px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--panel); }
th, td { padding: 8px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { background: var(--panel-2); color: var(--strong); }
tbody th { font-weight: 600; color: var(--strong); }
td.y { color: var(--ok); font-weight: 600; }
td.n { color: var(--no); }
.facts th { width: 34%; }

.faq { margin: 0; }
.faq dt { margin-top: 16px; color: var(--strong); font-weight: 600; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 2px 0 0; color: var(--muted); }

.cta { text-align: center; background: var(--panel); }
.cta .actions { justify-content: center; margin-bottom: 0; }
.cta p { color: var(--muted); }
.cta h2 { margin-bottom: 8px; }

.doc { padding: 28px 0 44px; }
.doc .wrap > .table, .doc .wrap > .shot { margin-top: 20px; }
.doc h2 { margin-top: 34px; }
.crumbs { margin-bottom: 14px; color: var(--muted); font-size: 14px; }
.plain { margin: 0 0 12px; padding-left: 22px; }
.plain li { margin-bottom: 4px; }
.related { display: flex; flex-wrap: wrap; gap: 6px 16px; }

.foot { padding: 24px 0; border-top: 1px solid var(--border); background: var(--panel); color: var(--muted); font-size: 14px; }
.foot-in { display: grid; gap: 8px; }
.foot strong { color: var(--strong); }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.foot-links a:hover { color: var(--strong); }

@media (max-width: 820px) {
  .top nav, .top-gh { display: none; }
  .brand { margin-right: auto; }
  .feature { grid-template-columns: 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr; }
  section { padding: 34px 0; }
  .hero { padding: 32px 0; }
  .lede { font-size: 17px; }
  .facts th { width: 40%; }
}
