:root {
  --bg: #f7f8fb; --surface: #ffffff; --text: #141a2e; --muted: #5a6280; --line: #e3e6ef;
  --accent: #e8562b; --accent-ink: #ffffff; --code-bg: #0f1528; --code-text: #e8ecf8; --good: #13915f;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1020; --surface: #121a31; --text: #eef1fa; --muted: #9aa3c0; --line: #233056;
    --accent: #ff6a3d; --accent-ink: #0b1020; --code-bg: #060a16; --code-text: #e8ecf8; --good: #3ddc97;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1020; --surface: #121a31; --text: #eef1fa; --muted: #9aa3c0; --line: #233056;
  --accent: #ff6a3d; --accent-ink: #0b1020; --code-bg: #060a16; --code-text: #e8ecf8; --good: #3ddc97;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
header.top { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; gap: 12px; }
.brand { font-weight: 700; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; background: var(--code-bg); display: grid; place-items: center; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover { color: var(--text); }
.hero { padding: 48px 0 32px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5.5vw, 54px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.02em; max-width: 16ch; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 56ch; margin: 0 0 28px; }
.install { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.cmd { display: flex; align-items: center; gap: 10px; background: var(--code-bg); color: var(--code-text); border-radius: 12px; padding: 14px 16px; font: 15px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; max-width: 100%; overflow-x: auto; }
.cmd .p { color: #ff8a65; user-select: none; }
.copy { background: transparent; border: 1px solid #33406a; color: var(--code-text); border-radius: 8px; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.btn { display: inline-flex; align-items: center; padding: 14px 20px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.note { color: var(--muted); font-size: 14px; margin-top: 12px; }
section { padding: 44px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 10px; letter-spacing: -0.01em; }
.sub { color: var(--muted); margin: 0 0 26px; max-width: 60ch; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ask { font-style: italic; color: var(--text) !important; }
.status { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.status code { font: 14px ui-monospace, Menlo, Consolas, monospace; background: var(--bg); border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.status span { color: var(--muted); font-size: 15px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 60px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.figure { margin-top: 22px; background: #0b1020; border-radius: 14px; padding: 12px; }
.figure img { width: 100%; height: auto; display: block; }
.apps { display: flex; flex-wrap: wrap; gap: 8px; }
.apps span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
@media (max-width: 560px) { nav a:not(.gh) { display: none; } .hero { padding-top: 28px; } }

.page h1{max-width:22ch}
table.cmp{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;font-size:15px}
table.cmp th,table.cmp td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
table.cmp th{font-size:14px;color:var(--muted)}
.tablewrap{overflow-x:auto}
.yes{color:var(--good);font-weight:600}
pre{background:var(--code-bg);color:var(--code-text);border-radius:12px;padding:14px 16px;overflow-x:auto;font:14px/1.5 ui-monospace,Menlo,Consolas,monospace}
.crumbs{font-size:14px;color:var(--muted);margin:8px 0 0}
.crumbs a{color:var(--muted)}
