:root {
  color-scheme: dark;
  --bg: #0e1013;
  --bg-2: #121418;
  --panel: #15181d;
  --panel-2: #1c2027;
  --border: #272c34;
  --border-2: #3a414b;
  --fg: #f2f4f7;
  --fg-2: #d3d8df;
  --muted: #a3acb8;
  --accent: #f2a33a;
  --accent-hover: #f6b45c;
  --accent-fg: #15181d;
  --accent-text: #f2a33a;
  --ok: #4cc38a;
  --warn: #f2a33a;
  --bad: #f06a6e;
  --shadow: 0 30px 80px rgba(0,0,0,.5);
  --nav-bg: rgba(14,16,19,.86);
  --syn-k: #d2a8ff; --syn-s: #a5d6a7; --syn-f: #79c0ff; --syn-c: #7d8590; --syn-ln: #4b525c;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 10px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f6f7f9;
  --panel: #f8f9fb;
  --panel-2: #eef0f3;
  --border: #e3e6ea;
  --border-2: #cfd4db;
  --fg: #111827;
  --fg-2: #2b3442;
  --muted: #5b6573;
  --accent: #d97a06;
  --accent-hover: #c06c05;
  --accent-fg: #ffffff;
  --accent-text: #b5640a;
  --ok: #15803d;
  --warn: #b45309;
  --bad: #b91c1c;
  --shadow: 0 24px 60px rgba(17,24,39,.12);
  --nav-bg: rgba(255,255,255,.88);
  --syn-k: #8250df; --syn-s: #0a7a3d; --syn-f: #0550ae; --syn-c: #6e7781; --syn-ln: #9aa3ad;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #ffffff; --bg-2: #f6f7f9; --panel: #f8f9fb; --panel-2: #eef0f3; --border: #e3e6ea; --border-2: #cfd4db;
    --fg: #111827; --fg-2: #2b3442; --muted: #5b6573;
    --accent: #d97a06; --accent-hover: #c06c05; --accent-fg: #ffffff; --accent-text: #b5640a;
    --ok: #15803d; --warn: #b45309; --bad: #b91c1c;
    --shadow: 0 24px 60px rgba(17,24,39,.12); --nav-bg: rgba(255,255,255,.88);
    --syn-k: #8250df; --syn-s: #0a7a3d; --syn-f: #0550ae; --syn-c: #6e7781; --syn-ln: #9aa3ad;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: 'cv11', 'ss01', 'liga'; transition: background-color .15s, color .15s; }
h1, h2, h3, h4 { color: var(--fg); font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--border-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
code, pre { font-family: var(--mono); }
code { background: var(--panel-2); border: 1px solid var(--border); padding: 1px 6px; border-radius: 6px; font-size: 0.88em; color: var(--fg); }
pre { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; color: var(--fg-2); }
pre code { background: none; border: none; padding: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 8px; font-weight: 600; font-size: 15px; border: 1px solid var(--border-2); color: var(--fg); background: var(--panel); text-decoration: none; transition: background .12s, border-color .12s; }
.btn:hover { background: var(--panel-2); border-color: var(--muted); text-decoration: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-sm { padding: 7px 14px; font-size: 14px; }
.btn-block { display: flex; justify-content: center; width: 100%; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px); background: var(--nav-bg); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--fg); letter-spacing: -0.01em; text-decoration: none; }
.brand img { border-radius: 7px; }
.links { display: flex; align-items: center; gap: 22px; }
.links a { color: var(--fg-2); font-weight: 500; font-size: 15px; text-decoration: none; }
.links a:hover { color: var(--fg); }
.links .gh { display: inline-flex; }
.theme-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel); color: var(--fg-2); cursor: pointer; }
.theme-btn:hover { color: var(--fg); border-color: var(--border-2); }
.theme-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .sun { display: none; }
:root[data-theme="light"] .theme-btn .sun { display: block; }
:root[data-theme="light"] .theme-btn .moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-btn .sun { display: block; }
  :root:not([data-theme="dark"]) .theme-btn .moon { display: none; }
}
.menu-btn { display: none; background: none; border: none; color: var(--fg); cursor: pointer; }
@media (max-width: 820px) {
  .links { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 24px 20px; gap: 14px; }
  body.nav-open .links { display: flex; }
  .menu-btn { display: inline-flex; }
}

/* hero */
.hero { padding: 88px 0 56px; text-align: center; border-bottom: 1px solid var(--border); background: radial-gradient(900px 400px at 50% -10%, var(--panel-2) 0%, transparent 70%); }
.hero .logo { display: block; width: 88px; height: 88px; margin: 0 auto 28px; border-radius: 20px; box-shadow: var(--shadow); }
.hero h1 { font-size: clamp(36px, 6vw, 62px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -0.03em; font-weight: 800; }
.hero h1 span { color: var(--accent-text); }
.hero p.sub { font-size: clamp(17px, 2.2vw, 20px); color: var(--fg-2); max-width: 700px; margin: 0 auto 32px; }
.cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta .note { width: 100%; color: var(--muted); font-size: 13px; margin-top: 12px; }
.cta .note a { color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel); color: var(--fg-2); font-size: 13px; margin-bottom: 24px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(76,195,138,.18); }

/* real screenshots */
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border-2); box-shadow: var(--shadow); background: #1f1f1f; }
.shot figcaption { margin-top: 10px; color: var(--muted); font-size: 13.5px; text-align: center; }
.hero-shot { max-width: 1120px; margin: 48px auto 0; text-align: left; }

/* tour: uniform screenshot cards */
.tour-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tour-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .15s, transform .15s; }
.tour-card:hover { border-color: var(--border-2); }
.tour-card .shot img { border: 0; border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none; }
.tour-body { padding: 18px 22px 22px; }
.tour-body h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.01em; }
.tour-body p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.sub-head { display: flex; align-items: center; gap: 16px; margin: 48px 0 20px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sub-head::before, .sub-head::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.tour-small { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tour-small .shot { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 18px 18px 16px; }
.tour-small .shot img { max-height: 420px; width: auto; max-width: 100%; margin: 0 auto; border-radius: 10px; box-shadow: none; }
.tour-small figcaption { text-align: left; margin-top: 14px; }
.tour-small figcaption b { color: var(--fg); }
@media (max-width: 820px) { .tour-grid, .tour-small { grid-template-columns: 1fr; } .tour-small .shot img { max-height: 360px; } }

/* grouped features */
.feature-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feature-group { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.fg-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.fg-head .ico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--border); flex: none; }
.fg-head .ico svg { width: 17px; height: 17px; fill: none; stroke: var(--accent-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fg-head h3 { margin: 0; font-size: 16px; letter-spacing: -0.01em; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.feature-list li { position: relative; padding-left: 18px; }
.feature-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.feature-list b { display: block; font-size: 15px; color: var(--fg); margin-bottom: 3px; }
.feature-list span { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.feature-list code { font-size: 0.9em; padding: 0 4px; }
@media (max-width: 1000px) { .feature-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-groups { grid-template-columns: 1fr; } }

/* cost facts + trust check strip */
.facts { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--fg-2); font-size: 14.5px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 16px; height: 16px; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.fine { text-align: center; margin: 16px auto 0; max-width: 820px; }
.check-strip { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.check-strip li { display: flex; gap: 12px; align-items: flex-start; background: var(--panel); border: 1px solid var(--accent); border-radius: var(--radius); padding: 16px 18px; font-size: 14.5px; color: var(--fg-2); line-height: 1.5; }
.check-strip li b { color: var(--fg); }
.check-strip .num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; font-weight: 800; font-size: 13px; margin-top: 1px; }
.trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust-grid .card h3 { font-size: 16px; }
.trust-grid .card p { font-size: 14.5px; }
.trust-grid .card a { color: var(--accent-text); }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .check-strip { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .trust-grid { grid-template-columns: 1fr; } }

/* works-with strip */
.strip { padding: 22px 0; border-bottom: 1px solid var(--border); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; color: var(--muted); font-size: 14px; }
.strip .wrap span { display: inline-flex; align-items: center; gap: 8px; }
.strip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border-2); }
.strip .strip-label { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* sections */
section { padding: 80px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
section.alt + section.alt { border-top: 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
@media (max-width: 640px) { section { padding: 56px 0; } }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 12px; letter-spacing: -0.02em; }
.section-head p { color: var(--fg-2); font-size: 17px; margin: 0; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: border-color .15s; }
.card:hover { border-color: var(--border-2); }
.card .ico { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--border); margin-bottom: 14px; }
.card .ico svg { width: 18px; height: 18px; fill: none; stroke: var(--accent-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
a.card-link { display: block; text-decoration: none; color: inherit; }
a.card-link:hover { border-color: var(--accent); }
a.card-link h3::after { content: ' →'; color: var(--accent-text); }

.steps { counter-reset: s; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px 22px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -14px; left: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.step h3 { margin: 4px 0 8px; font-size: 16.5px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.step pre { margin: 14px 0 0; font-size: 12.5px; padding: 10px 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.steps .step { display: flex; flex-direction: column; }
.steps .step p { flex: 1; }

.compare { overflow-x: auto; }
.compare th:first-child, .compare td:first-child { position: sticky; left: 0; background: var(--panel); z-index: 1; }
.compare th:first-child { background: var(--bg-2); }
.compare table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.compare th { background: var(--bg-2); color: var(--fg-2); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.compare td.y { color: var(--ok); font-weight: 600; }
.compare td.n { color: var(--bad); }
.compare td.p { color: var(--warn); }
.compare tr:last-child td { border-bottom: none; }
.compare td:first-child { font-weight: 500; }
.compare th:nth-child(2), .compare td:nth-child(2) { background: var(--panel-2); }

.faq details { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: '+'; color: var(--muted); font-weight: 400; font-size: 20px; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 16px; color: var(--fg-2); }
.faq a { color: var(--accent-text); }

.cta-band { text-align: center; padding: 72px 0; background: radial-gradient(700px 320px at 50% 110%, var(--panel-2) 0%, transparent 70%), var(--panel); border-top: 1px solid var(--border); }
.cta-band h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 12px; letter-spacing: -0.02em; }
.cta-band p { color: var(--muted); margin: 0 0 24px; }

/* ask AI */
.ask-ai { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.ask-ai--page { margin: 0 0 28px; padding: 12px 14px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); }
.ask-ai-label { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.ask-ai-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-ai-btn { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--bg); color: var(--fg); font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: border-color .12s, background .12s, transform .12s; }
.ask-ai-btn:hover { border-color: var(--accent); background: var(--panel-2); text-decoration: none; transform: translateY(-1px); }
.ask-ai-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ask-ai-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ask-ai-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent); flex: none; }
.content .ask-ai-btn { color: var(--fg); }
@media (max-width: 640px) { .ask-ai-label { width: 100%; } }

/* footer */
.footer { padding: 0 0 32px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); background: var(--bg-2); }
.footer-ask { padding: 22px 0; border-bottom: 1px solid var(--border); }
.footer-ask .ask-ai-label { color: var(--fg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px 28px; padding: 40px 0 32px; }
.footer-col { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.footer-col h4 { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); }
.footer-col .footer-h4-gap { margin-top: 16px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.45; }
.footer-col a:hover { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--fg) !important; text-decoration: none; }
.footer-brand img { border-radius: 7px; }
.footer-tagline { margin: 12px 0 8px; color: var(--fg-2); font-size: 14.5px; line-height: 1.6; max-width: 380px; }
.footer-meta { margin: 0 0 14px; }
.footer-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-cta .btn { color: var(--fg); }
.footer-cta .btn-primary { color: var(--accent-fg); }
.footer-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.footer-topics-label { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.footer-topic { display: inline-block; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel); color: var(--fg-2); font-size: 13px; text-decoration: none; }
.footer-topic:hover { border-color: var(--accent); color: var(--fg); text-decoration: none; }
.footer-bottom { padding-top: 18px; }
.footer-bottom p { margin: 0 0 6px; line-height: 1.6; }
.footer-bottom a { color: var(--muted); text-decoration-color: var(--border-2); }
.footer-bottom a:hover { color: var(--fg); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand-col { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; } }

/* docs layout */
.docs-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; padding-top: 32px; padding-bottom: 64px; }
.sidebar { position: sticky; top: 80px; align-self: start; max-height: calc(100vh - 96px); overflow-y: auto; }
.sidebar-title { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.sidebar ul { list-style: none; margin: 0 0 18px; padding: 0; }
.sidebar li a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--fg-2); font-size: 15px; text-decoration: none; }
.sidebar li a:hover { color: var(--fg); background: var(--panel); }
.sidebar li a.active { color: var(--fg); background: var(--panel-2); font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
.sidebar-foot { display: grid; gap: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.sidebar-foot .muted { color: var(--muted); }
.content { min-width: 0; max-width: 780px; }
.content h1 { font-size: 38px; letter-spacing: -0.02em; margin: 0 0 8px; line-height: 1.15; }
.content .lead { font-size: 18.5px; color: var(--fg-2); margin: 0 0 28px; }
.content h2 { font-size: 25px; margin: 44px 0 12px; padding-top: 14px; border-top: 1px solid var(--border); letter-spacing: -0.01em; }
.content h3 { font-size: 19px; margin: 30px 0 8px; }
.content p, .content li { font-size: 16px; line-height: 1.7; color: var(--fg-2); }
.content li { margin: 4px 0; }
.content strong { color: var(--fg); }
.content a { color: var(--accent-text); text-decoration-color: transparent; }
.content a:hover { text-decoration-color: var(--accent-text); }
.content table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; display: block; overflow-x: auto; }
.content th, .content td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; vertical-align: top; color: var(--fg-2); }
.content th { background: var(--panel); color: var(--fg); font-weight: 600; }
.content blockquote { margin: 16px 0; padding: 10px 16px; border-left: 3px solid var(--accent); background: var(--panel); border-radius: 0 8px 8px 0; color: var(--fg-2); }
.content kbd { font-family: var(--mono); font-size: 12.5px; background: var(--panel-2); border: 1px solid var(--border-2); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; color: var(--fg); }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border); font-weight: 600; }
.pager a { color: var(--fg); text-decoration: none; }
.pager a:hover { color: var(--accent-text); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } body, .btn, .card { transition: none; } }
@media (max-width: 900px) {
  .docs-grid { grid-template-columns: 1fr; gap: 24px; }
  .sidebar { position: static; max-height: none; }
  .sidebar ul { display: flex; flex-wrap: wrap; gap: 4px; }
  .sidebar-foot { display: none; }
}
