/* rgit website — shared styles for index.html and docs.html */

:root {
  --navy: #153040;
  --navy-deep: #0f2431;
  --navy-raised: #1b3b4e;
  --navy-high: #234a61;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --amber: #ffc619;
  --amber-hover: #ffd451;
  --amber-soft: rgba(255, 198, 25, 0.12);
  --amber-line: rgba(255, 198, 25, 0.35);
  --text: #e9f0f4;
  --muted: #a3b6c2;
  --term-bg: #0b1b25;
  --term-text: #d2dde4;
  --term-green: #7ee2a8;
  --term-cyan: #7cc7e8;
  --term-red: #ff8a80;
  --term-dim: #6f8795;
  --radius: 14px;
  --max: 1160px;
  --nav-h: 64px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-hover); }
img, svg { display: block; }
code, pre, kbd { font-family: var(--mono); }
:not(pre) > code {
  font-size: .9em; padding: .12em .4em; border-radius: 6px;
  background: rgba(255, 255, 255, .07); color: #f3dfa0;
}
kbd { font-size: .85em; padding: .1em .45em; border-radius: 5px; border: 1px solid var(--line-strong); border-bottom-width: 2px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--amber); color: var(--navy); }
[hidden] { display: none !important; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--amber); color: var(--navy); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(21, 48, 64, .82);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.nav-inner { display: flex; align-items: center; gap: 16px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand img { width: 32px; height: 32px; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand small { font: 600 11px var(--mono); color: var(--navy); background: var(--amber); padding: 2px 7px; border-radius: 999px; letter-spacing: 0; }
.nav-links { display: none; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav-cta { margin-left: auto; }
.menu-btn {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  background: transparent; border: 1px solid var(--line-strong); color: var(--text); cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { margin-left: 8px; }
  .menu-btn { display: none; }
}
.mobile-menu {
  display: grid; gap: 4px; padding: 8px 16px 16px; border-bottom: 1px solid var(--line);
  background: var(--navy);
}
.mobile-menu a { color: var(--text); padding: 12px; border-radius: 10px; font-weight: 500; }
.mobile-menu a:hover { background: rgba(255, 255, 255, .06); }
@media (min-width: 900px) { .mobile-menu { display: none !important; } }

.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--amber); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 11px; border: 1px solid transparent;
  font: 600 15px/1.2 var(--font); cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--amber); color: var(--navy); box-shadow: 0 10px 30px -12px rgba(255, 198, 25, .55); }
.btn-primary:hover { background: var(--amber-hover); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--amber); color: var(--text); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Common blocks ---------- */
section { padding: 88px 0; }
section.alt { background: var(--navy-deep); }
.section-head { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.kicker { color: var(--amber); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.section-head h2 { margin: 10px 0 12px; font-size: clamp(28px, 4.2vw, 42px); line-height: 1.15; letter-spacing: -.025em; }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.card {
  background: var(--navy-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: border-color .25s, transform .35s var(--ease), box-shadow .35s;
}
.card.hover:hover { border-color: var(--amber-line); transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8); }
.card h3 { margin: 16px 0 8px; font-size: 18px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--amber-soft); color: var(--amber); flex: none; }
.icon svg { width: 22px; height: 22px; }

.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pill-muted { background: rgba(255, 255, 255, .08); color: var(--muted); }
.pill-amber { background: var(--amber); color: var(--navy); }

/* ---------- Terminal ---------- */
.terminal {
  background: var(--term-bg); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 198, 25, .05);
  overflow: hidden; min-width: 0;
}
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.terminal-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #2e4655; }
.terminal-bar .title { margin-left: 8px; font: 500 12px var(--mono); color: var(--term-dim); }
.terminal pre { margin: 0; padding: 20px; font-size: 13.5px; line-height: 1.7; overflow-x: auto; color: var(--term-text); }
.t-prompt { color: var(--amber); user-select: none; }
.t-ok, .t-new { color: var(--term-green); }
.t-step, .t-ask { color: var(--term-cyan); }
.t-err { color: var(--term-red); }
.t-dim { color: var(--term-dim); }
.t-hash, .t-mod { color: var(--amber); }
.cursor { display: inline-block; width: 8px; height: 1.1em; vertical-align: -2px; background: var(--amber); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Code blocks with copy buttons ---------- */
.code { position: relative; margin: 14px 0; }
.code pre {
  margin: 0; padding: 14px 52px 14px 16px; border-radius: 11px; background: var(--term-bg);
  border: 1px solid var(--line); font-size: 13.5px; line-height: 1.65; overflow-x: auto; color: var(--term-text);
}
.code.wrap pre { white-space: pre-wrap; word-break: break-all; }
.copy {
  position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--navy-raised); color: var(--muted); cursor: pointer;
  display: grid; place-items: center; transition: color .15s, border-color .15s;
}
.copy:hover { color: var(--amber); border-color: var(--amber); }
.copy svg { width: 16px; height: 16px; }
.copy.done { color: var(--term-green); border-color: var(--term-green); }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; cursor: pointer; border: 1px solid var(--amber-line);
  background: var(--navy-raised); color: var(--amber);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* =====================================================================
   Landing page
   ===================================================================== */

.hero { position: relative; padding: 64px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -260px; right: -220px; width: 760px; height: 760px; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 198, 25, .15), transparent 62%);
  animation: glow 9s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-60px, 40px) scale(1.08); } }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); } .hero { padding: 96px 0 104px; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--amber-soft); color: var(--amber); font-size: 13px; font-weight: 600; border: 1px solid rgba(255, 198, 25, .25);
}
.eyebrow b { background: var(--amber); color: var(--navy); border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.hero h1 { margin: 20px 0 16px; font-size: clamp(40px, 7vw, 70px); line-height: 1.03; letter-spacing: -.04em; font-weight: 800; }
.hero h1 .accent { color: var(--amber); position: relative; white-space: nowrap; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; border-radius: 4px;
  background: var(--amber); opacity: .35; transform-origin: 0 50%; animation: underline 1s .6s var(--ease) both;
}
@keyframes underline { from { transform: scaleX(0); } }
.hero .lead { margin: 0 0 28px; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 33em; }

/* Download card in the hero */
.get {
  background: var(--navy-raised); border: 1px solid var(--line-strong); border-radius: 16px; padding: 18px;
  max-width: 540px; box-shadow: 0 24px 60px -34px rgba(0, 0, 0, .8);
}
.get-main { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.get-main .btn { padding: 14px 22px; font-size: 16px; }
.get-file { font: 12.5px var(--mono); color: var(--muted); line-height: 1.5; }
.get-file strong { display: block; font: 600 13px var(--font); color: var(--text); }
.get .code { margin: 14px 0 0; }
.get-others { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.get-others p { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text); font-size: 13px; font-weight: 500;
  transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--amber); background: var(--amber-soft); color: var(--text); }
.chip svg { width: 14px; height: 14px; color: var(--amber); }

/* Typing terminal */
.typer pre { min-height: 330px; }
.typer-tabs { display: flex; gap: 6px; margin-left: auto; }
.typer-tabs button {
  width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: #2e4655; transition: background .2s, width .3s var(--ease);
}
.typer-tabs button[aria-current="true"] { background: var(--amber); width: 22px; border-radius: 99px; }

/* Stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--navy-deep); }
.stats ul { list-style: none; margin: 0 auto; padding: 28px 16px; display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); text-align: center; }
@media (min-width: 720px) { .stats ul { grid-template-columns: repeat(4, 1fr); } }
.stats strong { display: block; font-size: clamp(30px, 4vw, 40px); font-weight: 800; color: var(--amber); letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats span { color: var(--muted); font-size: 14px; font-weight: 500; }

/* Comparison */
.compare { display: grid; gap: 20px; }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare .terminal pre { font-size: 13px; }
.compare-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; font-weight: 600; }

/* Command tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.tab {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--muted); font: 600 14px var(--font); cursor: pointer; transition: color .15s, background .15s, border-color .15s;
}
.tab:hover { color: var(--text); border-color: var(--line-strong); }
.tab[aria-selected="true"] { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.cmd-list { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); animation: fadeIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }
.cmd {
  display: grid; gap: 6px; padding: 18px 20px; border-radius: 12px; background: var(--navy-raised);
  border: 1px solid var(--line); color: var(--text); transition: border-color .2s, transform .25s var(--ease);
}
.cmd:hover { border-color: var(--amber-line); transform: translateY(-2px); color: var(--text); }
.cmd code { color: var(--amber); font-size: 14.5px; font-weight: 500; }
.cmd span { color: var(--muted); font-size: 14.5px; }
.center-link { text-align: center; margin-top: 28px; }

/* Download section */
.os-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.os-tab {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px; cursor: pointer;
  background: var(--navy-raised); border: 1px solid var(--line); color: var(--muted); font: 600 15px var(--font);
  transition: color .15s, border-color .15s, background .15s;
}
.os-tab svg { width: 18px; height: 18px; }
.os-tab:hover { color: var(--text); }
.os-tab[aria-selected="true"] { color: var(--navy); background: var(--amber); border-color: var(--amber); }
.os-panel { max-width: 860px; margin: 0 auto; animation: fadeIn .35s var(--ease); }
.os-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.os-steps > li {
  counter-increment: s; position: relative; padding: 20px 22px 20px 70px;
  background: var(--navy-raised); border: 1px solid var(--line); border-radius: var(--radius);
}
.os-steps > li::before {
  content: counter(s); position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--amber); color: var(--navy); font-weight: 800; font-size: 15px;
}
.os-steps h3 { margin: 3px 0 6px; font-size: 17px; }
.os-steps p { margin: 0; color: var(--muted); font-size: 15px; }
.os-steps .code { margin-bottom: 0; }
.dl-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 14px 0 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }

.files { margin: 40px auto 0; max-width: 860px; }
.files h3 { font-size: 18px; margin: 0 0 12px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; background: rgba(255, 255, 255, .02); }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: rgba(255, 255, 255, .03); }
td a { font-family: var(--mono); font-size: 13.5px; word-break: break-all; }
.files-foot { margin-top: 12px; color: var(--muted); font-size: 14px; text-align: center; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--navy-raised); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--amber-line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font-size: 22px; font-weight: 400; line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }
.faq details[open] p { animation: fadeIn .3s var(--ease); }

/* Call to action */
.cta-box {
  position: relative; overflow: hidden; padding: 56px 24px; border-radius: 20px; text-align: center;
  background: var(--navy-raised); border: 1px solid var(--amber-line);
}
.cta-box::before { content: ""; position: absolute; right: -120px; bottom: -220px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(255, 198, 25, .16), transparent 65%); }
.cta-box > * { position: relative; }
.cta-box img { width: 64px; height: 64px; margin: 0 auto 20px; }
.cta-box h2 { margin: 0 0 12px; font-size: clamp(26px, 4vw, 38px); letter-spacing: -.02em; }
.cta-box p { margin: 0 auto 28px; color: var(--muted); max-width: 32em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* =====================================================================
   Documentation page
   ===================================================================== */

.docs-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 32px 0 80px; }
@media (min-width: 980px) { .docs-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; padding-top: 48px; } }

.sidebar { display: none; }
@media (min-width: 980px) {
  .sidebar { display: block; position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; max-height: calc(100vh - var(--nav-h) - 48px); overflow-y: auto; padding-right: 8px; }
}
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 3px; }
.search { display: block; position: relative; margin-bottom: 18px; }
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; padding: 10px 12px 10px 36px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--navy-deep); color: var(--text); font: 14px var(--font);
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--amber); }
.toc-group { margin-bottom: 18px; }
.toc-group p { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.toc-group ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a {
  display: block; padding: 5px 12px; margin-left: -1px; border-left: 2px solid transparent;
  color: var(--muted); font-size: 14px; transition: color .15s, border-color .15s;
}
.toc a:hover { color: var(--text); }
.toc a.active { color: var(--amber); border-left-color: var(--amber); font-weight: 600; }
.toc-empty { color: var(--muted); font-size: 14px; }

.mobile-toc { display: block; margin-bottom: 8px; }
@media (min-width: 980px) { .mobile-toc { display: none; } }
.mobile-toc select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--navy-raised); color: var(--text); font: 15px var(--font);
}

.doc h1 { font-size: clamp(32px, 5vw, 46px); letter-spacing: -.03em; line-height: 1.1; margin: 10px 0 14px; }
.doc .intro { color: var(--muted); font-size: 18px; margin: 0 0 8px; max-width: 42em; }
.doc-section { padding: 36px 0 12px; border-top: 1px solid var(--line); margin-top: 36px; }
.doc-section:first-of-type { border-top: 0; margin-top: 12px; }
.doc h2 { font-size: 28px; letter-spacing: -.02em; margin: 0 0 12px; }
.doc h3 { font-size: 20px; margin: 30px 0 8px; letter-spacing: -.01em; }
.doc h4 { font-size: 15px; margin: 22px 0 6px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.doc p, .doc li { color: #cfdbe2; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc .hash { margin-left: 8px; color: var(--muted); opacity: 0; font-weight: 400; transition: opacity .15s; }
.doc h2:hover .hash, .doc h3:hover .hash, .doc .hash:focus { opacity: 1; }

.cmd-doc { padding: 22px 0 4px; border-top: 1px dashed var(--line); }
.cmd-doc:first-of-type { border-top: 0; }
.cmd-doc h3 { margin-top: 6px; font-family: var(--mono); font-size: 21px; color: var(--amber); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.meta span { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--muted); }
.meta b { color: var(--text); font-weight: 600; font-family: var(--mono); }

.callout {
  display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; margin: 16px 0;
  background: var(--amber-soft); border: 1px solid rgba(255, 198, 25, .25); color: #f1e3b5; font-size: 15px;
}
.callout svg { width: 20px; height: 20px; flex: none; color: var(--amber); margin-top: 2px; }
.callout p { margin: 0; color: inherit; }

.doc table { font-size: 14.5px; }
.doc td code, .doc th code { white-space: nowrap; }
.no-results { padding: 40px 0; color: var(--muted); text-align: center; }
.doc-foot { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
