/* volAgent developer portal - light theme (founder, 2026-10-06), gold accents from vol-ai.com. */
:root {
  --bg: #ffffff;
  --card: #ffffff;
  --card-2: #f6f7f9;
  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.18);
  --gold: #A06A12;          /* accent text and links: the house gold, deepened to read on white */
  --gold-hover: #7f540c;
  --gold-fill: #D4A053;     /* filled buttons and selected chips: the house gold, dark text on it */
  --gold-fill-hover: #E5B266;
  --gray: #374151;
  --text: #0f172a;
  --muted: #6b7280;
  --ok: #15803d;
  --warn: #b45309;
  --bad: #c2410c;
  --nav-bg: rgba(255, 255, 255, 0.94);
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  --maxw: 1180px;
  --bar-h: 64px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'Inconsolata', ui-monospace, Consolas, 'Courier New', monospace;
  --brand-font: 'Gugi', var(--font);
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-padding-top: calc(var(--bar-h) + 16px); margin: 0; }
body {
  margin: 0; padding-top: var(--bar-h); background: var(--bg); color: var(--text); font-family: var(--font);
  line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold-fill); color: #111; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.offscreen { position: fixed; left: -9999px; top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.small { font-size: 13px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.accent { color: var(--gold); }
[hidden] { display: none !important; }

/* ---------- top bar: fixed at top:0, body has the same top padding ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--bar-h); z-index: 50; background: var(--nav-bg);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border);
}
.bar { display: flex; align-items: center; gap: 24px; height: var(--bar-h); }
.brandrow { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand { font-family: var(--brand-font); font-weight: 400; font-size: 22px; letter-spacing: -0.5px; color: var(--text); line-height: 1; display: inline-flex; align-items: center; gap: 8px; }
.brandmark { width: 28px; height: 28px; border-radius: 7px; display: block; border: 1.5px solid var(--gold); }
.brandname { white-space: nowrap; }
.brand:hover { text-decoration: none; color: var(--text); }
.nav { display: flex; gap: 22px; align-items: center; flex: 1 1 auto; }
.nav a { color: var(--gray); font-size: 14px; font-weight: 600; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.barright { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: auto; }
.menu-btn {
  display: none; background: transparent; color: var(--text); border: 1px solid var(--border-strong);
  border-radius: 8px; padding: 6px 12px; font: 600 13px var(--font); cursor: pointer;
}

.pill {
  display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  border: 1px solid var(--border-strong); color: var(--gray); font-family: var(--mono); white-space: nowrap;
}
a.pill:hover { text-decoration: none; color: var(--text); }
.pill-ok { color: var(--ok); border-color: var(--ok); }
.pill-warn { color: var(--warn); border-color: var(--warn); }
.pill-bad { color: var(--bad); border-color: var(--bad); }
.pill-mute { color: var(--muted); }
.claudepill { font-size: 11px; }
.keybtn {
  background: transparent; cursor: pointer; padding: 6px 14px; border-radius: 999px; font: 600 13px var(--mono);
  border: 1px solid var(--border-strong); max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.keybtn.pill-mute { color: var(--gold); border-color: var(--gold); }
.keybtn:hover { background: rgba(212, 160, 83, 0.12); }
.keybtn[aria-expanded="true"] { background: rgba(212, 160, 83, 0.18); }
.keybtn.pill-ok { color: var(--ok); border-color: var(--ok); }
.keybtn.pill-warn { color: var(--warn); border-color: var(--warn); }
.keybtn.pill-bad { color: var(--bad); border-color: var(--bad); }

/* key popover */
.keypop {
  position: absolute; top: calc(var(--bar-h) + 8px); right: max(16px, calc((100% - var(--maxw)) / 2 + 24px));
  width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - var(--bar-h) - 24px); overflow: auto;
  background: var(--card); border: 1px solid var(--border-strong); border-radius: 14px; padding: 18px 20px;
  box-shadow: var(--shadow); z-index: 60;
}
.keypop-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.keypop h2 { font-size: 18px; margin: 0; }
.adv { margin-top: 12px; border-top: 1px solid var(--border); padding-top: 10px; }
.adv summary { color: var(--gray); font-size: 14px; }
.keyform .field { margin-bottom: 12px; }

.mockbanner {
  background: rgba(229, 178, 102, 0.1); color: var(--warn); border-bottom: 1px solid var(--warn);
  font-size: 13px; padding: 6px 24px; text-align: center;
}

/* ---------- layout ---------- */
.main { padding-top: 32px; padding-bottom: 72px; min-height: 70vh; outline: none; }
.pagehead { margin-bottom: 20px; }
.pagehead h1 { margin-bottom: 6px; }
.pagehead p { margin: 0; }

h1 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; letter-spacing: -0.8px; line-height: 1.15; margin: 0 0 16px; }
h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; margin: 0 0 12px; letter-spacing: -0.4px; line-height: 1.25; }
h3 { font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.h3 { font-size: 17px; letter-spacing: 0; }
.sect { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 600; margin: 4px 0 10px; }
p { margin: 0 0 14px; }
.lead { color: var(--gray); font-size: 18px; max-width: 720px; }
.fade { animation: fadeIn 0.4s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.card.inner { background: var(--card-2); margin-top: 16px; padding: 16px 18px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 16px 0 0; }
.row.tight { gap: 8px; margin-top: 10px; }
.textlink { color: var(--muted); text-decoration: underline; }
.textlink:hover { color: var(--gold-hover); }

/* home */
.hero { padding: 24px 0 8px; }
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); max-width: 860px; }
.samplecard { margin-top: 20px; padding: 14px 18px 18px; }
.samplehead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.mini { padding: 16px 18px; }
.mini p { margin: 0; font-size: 14px; }
.mini h2 { margin-bottom: 4px; }

/* forms */
.field { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; color: var(--gray); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.field.check { flex-direction: row; align-items: center; gap: 10px; }
.field.check label { font-weight: 400; }
.fname { font-family: var(--mono); font-size: 13px; color: var(--text); }
.badges { display: inline-flex; gap: 6px; }
.badge {
  display: inline-block; font: 600 11px var(--mono); color: var(--muted); border: 1px solid var(--border-strong);
  border-radius: 6px; padding: 0 6px; line-height: 18px; white-space: nowrap;
}
.badge-req { color: var(--gold); border-color: var(--gold); }
.badge-opt { margin-left: 10px; color: var(--muted); font-size: 11px; vertical-align: middle; }
.badge-tag { color: var(--gray); }
.badge-live { color: var(--ok); border-color: var(--ok); }
.badge-jobs { color: var(--warn); border-color: var(--warn); }
.badge-write { color: var(--bad); border-color: var(--bad); }
.badge-coming-soon { color: var(--warn); border-color: var(--warn); }
.toolref { margin-bottom: 18px; }
input[type="text"], input[type="password"], input[type="search"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; background: #ffffff; color: var(--text); border: 1px solid var(--border-strong);
  border-radius: 8px; padding: 9px 11px; font: 400 14px var(--mono);
}
input:disabled, select:disabled { opacity: 0.5; cursor: not-allowed; }
textarea { resize: vertical; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--gold); flex: 0 0 auto; }
.btn {
  display: inline-block; background: var(--gold-fill); color: #111; border: 1px solid var(--gold-fill); border-radius: 10px;
  padding: 10px 20px; font: 700 14px var(--font); cursor: pointer; text-decoration: none; line-height: 1.3;
}
.btn:hover { background: var(--gold-fill-hover); border-color: var(--gold-fill-hover); color: #111; text-decoration: none; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--gold); }
.btn-ghost:hover { background: rgba(212, 160, 83, 0.12); color: var(--gold-hover); }
.btn-danger { background: transparent; color: var(--bad); border-color: var(--bad); }
.btn-danger:hover { background: rgba(255, 123, 114, 0.12); color: var(--bad); border-color: var(--bad); }
.btn-small { padding: 5px 12px; font-size: 13px; }
.btn-run { padding: 11px 34px; font-size: 15px; }

/* alerts, results */
.result { margin-top: 12px; }
.alert { border: 1px solid var(--border-strong); border-radius: 10px; padding: 10px 14px; margin: 10px 0; background: var(--card-2); font-size: 14px; }
.alert-ok { border-color: var(--ok); }
.alert-warn { border-color: var(--warn); }
.alert-error { border-color: var(--bad); }
.alert strong { display: block; margin-bottom: 4px; }
.statusline { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 10px; }
.kv { display: grid; grid-template-columns: minmax(90px, 140px) minmax(0, 1fr); gap: 4px 14px; margin: 10px 0; }
.kv dt { color: var(--muted); font-size: 13px; }
.kv dd { margin: 0; word-break: break-word; font-size: 13px; }
.bar-fill { display: block; height: 100%; width: 40%; background: var(--gold); border-radius: 4px; animation: slide 1.4s ease-in-out infinite; }
.bar-track, .jobpanel .bar, .bar[role="progressbar"] { height: 6px; background: var(--card-2); border-radius: 4px; overflow: hidden; margin: 10px 0; }
@keyframes slide { from { margin-left: -40%; } to { margin-left: 100%; } }
.jobhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* code */
.codewrap { position: relative; margin: 10px 0; }
.codewrap-tools { position: absolute; top: 8px; right: 8px; }
pre.code {
  margin: 0; background: var(--card-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px;
  padding-top: 42px; overflow: auto; max-height: 420px; font: 400 13px/1.55 var(--mono); color: var(--gray); white-space: pre;
}
code.ic { background: var(--card-2); border: 1px solid var(--border); border-radius: 4px; padding: 1px 5px; font: 400 0.9em var(--mono); }
details { margin: 10px 0; }
summary { cursor: pointer; color: var(--gray); }

/* tables */
.tblwrap { overflow-x: auto; margin: 10px 0; border: 1px solid var(--border); border-radius: 10px; max-width: 100%; }
.tbl { border-collapse: collapse; width: 100%; font-size: 13px; }
.tbl th, .tbl td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.tbl th { color: var(--gray); font-weight: 600; background: var(--card-2); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.wrapcell { overflow-wrap: anywhere; min-width: 120px; }

/* tabs */
.tablist { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 1px solid var(--border); }
.tab {
  background: transparent; color: var(--gray); border: 0; border-bottom: 2px solid transparent; padding: 8px 12px;
  font: 600 13px var(--font); cursor: pointer;
}
.tab[aria-selected="true"] { color: var(--gold); border-bottom-color: var(--gold); }
.tab:hover { color: var(--text); }
.tabpanel { padding-top: 6px; }

/* segmented picker */
.segmented { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.seg {
  background: var(--card-2); color: var(--gray); border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 7px 14px; font: 600 13px var(--font); cursor: pointer;
}
.seg:hover { color: var(--text); }
.seg[aria-checked="true"] { color: #111; background: var(--gold-fill); border-color: var(--gold-fill); }

/* markdown */
.md { overflow-wrap: anywhere; }
.md h2, .md h3, .md h4, .md h5, .md h6 { margin: 26px 0 10px; }
.md > h2:first-child { margin-top: 0; }
.md h2 { font-size: 26px; }
.md h3 { font-size: 20px; }
.md ul, .md ol { padding-left: 24px; margin: 0 0 14px; }
.md li { margin-bottom: 4px; }
.md blockquote { margin: 0 0 14px; padding: 6px 16px; border-left: 3px solid var(--gold); color: var(--gray); }
.md hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }

/* ---------- quickstart flow ---------- */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.step { position: relative; border: 1px solid var(--border); background: var(--card); border-radius: 14px; padding: 20px 22px; margin-bottom: 16px; }
.step[aria-current="step"] { border-color: var(--gold); }
.step.is-locked { opacity: 0.92; }
.step-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.step-head h2 { margin: 0; font-size: 20px; }
.step-num {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-strong); color: var(--gray);
  display: inline-flex; align-items: center; justify-content: center; font: 700 14px var(--mono); flex: 0 0 auto;
}
.step.is-done .step-num { background: var(--ok); border-color: var(--ok); color: #fff; }
.step[aria-current="step"] .step-num { border-color: var(--gold); color: var(--gold); }
.step-state { margin-left: auto; font-size: 12px; color: var(--muted); font-family: var(--mono); }
.step.is-done .step-state { color: var(--ok); }
.step[aria-current="step"] .step-state { color: var(--gold); }
.skillcard { margin-top: 20px; }
.clientpanel { margin-bottom: 8px; }

/* ---------- explore: three columns ---------- */
.ex { display: grid; grid-template-columns: 250px minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; align-items: start; }
.ex-tree { position: sticky; top: calc(var(--bar-h) + 16px); max-height: calc(100vh - var(--bar-h) - 32px); overflow: auto; padding-right: 4px; }
.ex-form, .ex-run { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; min-width: 0; }
.ex-pickwrap { display: none; }
.entryhead h2 { margin-bottom: 2px; }
.entrydesc { color: var(--gray); font-size: 14px; margin-top: 10px; }
.argref { margin-top: 14px; }
.reqline { color: var(--gray); margin-bottom: 6px; overflow-wrap: anywhere; }
.runbar { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; margin: 12px 0; }
.lockmsg { color: var(--warn); font-size: 14px; }
.resp { margin-top: 18px; }

/* tree */
.tree { margin-top: 6px; }
.tg { margin: 0 0 6px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); }
.tg > summary { padding: 8px 12px; font-weight: 600; font-size: 13px; color: var(--gray); display: flex; align-items: center; gap: 8px; list-style: none; }
.tg > summary::-webkit-details-marker { display: none; }
.tg > summary::before { content: "+"; color: var(--gold); font-family: var(--mono); width: 10px; }
.tg[open] > summary::before { content: "-"; }
.count { margin-left: auto; font: 400 11px var(--mono); color: var(--muted); }
.tl { list-style: none; margin: 0; padding: 0 6px 6px; }
.ti {
  display: block; width: 100%; text-align: left; background: transparent; color: var(--gray); border: 1px solid transparent;
  border-radius: 8px; padding: 6px 8px; cursor: pointer; font: 400 13px var(--font);
}
.ti:hover { background: var(--card-2); color: var(--text); }
.ti[aria-current="true"] { background: rgba(212, 160, 83, 0.12); border-color: var(--gold); color: var(--text); }
.ti-title { display: block; font-weight: 600; overflow-wrap: anywhere; }
.ti-name { display: block; font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.ti-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 3px; }
.tlink { display: block; padding: 3px 8px; font-size: 13px; color: var(--gray); overflow-wrap: anywhere; }
.tlink.lvl2 { padding-left: 18px; }
.restnote { margin-top: 10px; }

/* skeletons (locked state) */
.skel { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #eef0f3 0%, #e2e5ea 50%, #eef0f3 100%); background-size: 200% 100%; animation: shimmer 2.2s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }
.skelrows { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 14px; }
.skelrow { border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.skelfields { display: grid; gap: 14px; margin: 18px 0; }
.skelfield { display: grid; gap: 6px; }
.skelbox { height: 36px; border-radius: 8px; }
.sampletool h2 { color: var(--muted); }
.lockednote { margin: 10px 0; }
.lockline { color: var(--warn); font-size: 14px; margin-bottom: 8px; }
.lockedcard .skelrows { margin-top: 16px; }

/* dialog */
.dlg { background: var(--card); color: var(--text); border: 1px solid var(--border-strong); border-radius: 14px; padding: 20px; width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); }
.dlg::backdrop { background: rgba(15, 23, 42, 0.45); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.dlg-head h2 { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.dlg pre.code { padding-top: 14px; max-height: calc(100vh - 220px); }

/* ---------- docs ---------- */
.dc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.dc-left { position: sticky; top: calc(var(--bar-h) + 16px); max-height: calc(100vh - var(--bar-h) - 32px); overflow: auto; }
.dc-mid { min-width: 0; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px 26px; }
.hits { margin: 0; padding-left: 20px; font-size: 14px; }

.footer { border-top: 1px solid var(--border); padding: 20px 0; }
.footrow { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .dc { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (max-width: 1000px) {
  .ex { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ex-tree { position: static; max-height: none; overflow: visible; }
  .ex-tree .tree, .ex-tree .field:has(#ex-search), .ex-tree .expand-btn { display: none; }
  .ex-pickwrap { display: flex; }
  .dc { grid-template-columns: minmax(0, 1fr); }
  .dc-left { position: static; max-height: none; }
  .trio { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .bar { gap: 10px; }
  .menu-btn { display: inline-block; }
  .claudepill { display: none; }
  .keybtn { max-width: 170px; padding: 5px 10px; font-size: 12px; }
  .nav {
    display: none; position: absolute; top: var(--bar-h); left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; gap: 0; padding: 4px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .card, .ex-form, .ex-run, .dc-mid, .step { padding: 16px; }
  .kv { grid-template-columns: minmax(0, 1fr); }
  .main { padding-top: 20px; }
  .step-state { margin-left: 0; width: 100%; }
  .mockbanner { padding: 6px 16px; }
  .keypop { right: 16px; left: 16px; width: auto; }
}

/* refinements after the browser review */
.ex-form .row { margin-bottom: 14px; }
.sampletool .skel { margin-bottom: 8px; }
.sampletool .skelfield .skel { margin-bottom: 0; }
@media (max-width: 720px) {
  .brand { font-size: 19px; }
  .brandrow { gap: 6px; }
  .keybtn { max-width: 118px; }
  .bar { gap: 8px; }
  .menu-btn { padding: 5px 10px; }
}

/* ---------- public catalog: breadth strip, plain tool copy ---------- */
.breadth { margin-top: 28px; }
.bstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bstat { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 16px 14px; text-align: center; }
.bnum { display: block; font: 700 clamp(28px, 4vw, 44px) var(--font); letter-spacing: -1px; color: var(--gold); line-height: 1.05; font-variant-numeric: tabular-nums; }
.blabel { display: block; margin-top: 6px; font-size: 13px; color: var(--gray); }
.cover .sect { margin-top: 26px; }
.covergrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .covergrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .covergrid { grid-template-columns: minmax(0, 1fr); } }
.covercard { display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; color: var(--text); }
.covercard:hover { border-color: var(--gold); text-decoration: none; color: var(--text); }
.cc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cc-name { font-weight: 600; }
.cc-n { font: 400 12px var(--mono); color: var(--gold); white-space: nowrap; }
.cc-line { font-size: 13px; color: var(--muted); line-height: 1.45; }
.cc-list { margin: 2px 0 0; padding-left: 16px; font-size: 13px; color: var(--gray); line-height: 1.6; }
.cc-list li::marker { color: var(--gold); }
.derivedcard { display: flex; align-items: center; gap: 28px; background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: 14px; padding: 22px 28px; margin-bottom: 12px; }
.dnum { font: 800 clamp(56px, 9vw, 96px) var(--font); letter-spacing: -3px; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dpct { font-size: 0.5em; letter-spacing: 0; margin-left: 4px; }
.dhead { margin: 0; font-size: clamp(18px, 2.2vw, 24px); font-weight: 600; color: var(--text); }
.dsub { margin: 6px 0 0; font-size: 14px; }
.solvercard { margin-top: 20px; padding: 22px 28px; border-left: 3px solid var(--gold); }
.solvercard h2 { margin: 8px 0 4px; font-size: clamp(22px, 2.6vw, 30px); }
.solvercard .muted { margin: 0 0 8px; }
.sv-list { margin-bottom: 14px; font-size: 14px; }
@media (max-width: 640px) { .solvercard { padding: 18px; } }
@media (max-width: 640px) { .derivedcard { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; } }
.famfold { margin-top: 26px; }
.famfold > .fam { padding: 8px 12px 12px; }
.fam { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; }
.famcard { display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; color: var(--text); }
.famcard:hover { border-color: var(--gold); }
.fam-main { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; color: var(--text); }
.fam-main:hover { text-decoration: none; color: var(--text); }
.fam-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12px; }
.fam-tools-l { color: var(--muted); }
.chip { display: inline-block; font-size: 11px; padding: 1px 7px; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--gold); }
.chip:hover { border-color: var(--gold); text-decoration: none; }
.fam-name { font-size: 13px; color: var(--gold); font-weight: 700; }
.fam-n { font: 400 11px var(--mono); color: var(--muted); align-self: center; }
.fam-line { grid-column: 1 / -1; font-size: 12px; color: var(--muted); line-height: 1.4; }

.tsummary { font-weight: 600; font-size: 16px; line-height: 1.45; margin: 12px 0 6px; color: var(--text); }
.tbullets { margin: 0 0 6px; padding-left: 18px; color: var(--gray); font-size: 14px; }
.tbullets li { margin: 2px 0; }
.arglist { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; }
.arglist li { border-left: 2px solid var(--border-strong); padding: 2px 0 2px 10px; }
.arglist .an { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.arglist .ad { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.badge-opt2 { color: var(--muted); border-color: var(--border); font-weight: 400; }
.ex-form .sect { margin-top: 16px; }
.treebar { display: flex; justify-content: space-between; align-items: center; margin: 6px 0; }
.textbtn { background: none; border: 0; color: var(--gold); cursor: pointer; padding: 0; font: inherit; text-decoration: underline; }
.publicnote { margin: 0 0 8px; }
.mockoffer { margin: 4px 0 12px; align-items: center; flex-wrap: wrap; }
.mockbanner .textbtn { margin-left: 4px; }
.fulldesc { margin-top: 14px; }
.lockeddocs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
.lockeddocs li { display: flex; justify-content: space-between; gap: 8px; border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; }
.publiclists { margin-top: 18px; }
.publicdocs .pubdoc { margin-top: 18px; }
.dslist { padding-left: 18px; color: var(--gray); font-size: 14px; }
@media (max-width: 720px) {
  .bstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* home: numbers, solver, one jobs panel */
.home .bstats { margin-top: 28px; }
.home .solvercard { margin-top: 16px; }
.home .solvercard p { max-width: 760px; }
.jobpanel { margin-top: 16px; padding: 20px 24px; }
.jobhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.jobhead h2 { margin: 0; }
.joblist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.jobrow { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--border); color: var(--text); }
.jobrow:hover { text-decoration: none; color: var(--text); }
.jobrow:hover .jr-name { color: var(--gold); }
.jr-name { font-weight: 600; }
.jr-n { font: 400 12px var(--mono); color: var(--gold); margin-left: 8px; }
.jr-line { font-size: 13px; color: var(--muted); }
@media (max-width: 700px) { .joblist { grid-template-columns: minmax(0, 1fr); } }

/* ---- breathing room for Start, Explore and Docs (founder, 2026-10-06): slightly smaller,
   tighter type; more space between blocks ---- */
.start, .explore-page, .docs-page { font-size: 14px; line-height: 1.43; }
.start p, .explore-page p, .docs-page p { margin: 0 0 12px; }
.start .pagehead, .explore-page .pagehead, .docs-page .pagehead { margin-bottom: 36px; }
.start .pagehead p, .explore-page .pagehead p, .docs-page .pagehead p { margin-top: 4px; }
.start .step { padding: 28px 32px; margin-bottom: 28px; }
.start .step-head { margin-bottom: 16px; }
.start .field { margin-bottom: 18px; }
.start .row { margin-top: 20px; }
.explore-page .ex { gap: 32px; }
.explore-page .ex-form, .explore-page .ex-run { padding: 28px 30px; }
.explore-page .ex-form .sect, .explore-page .ex-run .sect { margin-top: 26px; margin-bottom: 12px; }
.explore-page .tsummary { margin: 16px 0 10px; font-size: 15px; }
.explore-page .tree { margin-top: 12px; }
.explore-page .tg { margin-bottom: 10px; }
.explore-page .ti { margin-bottom: 4px; }
.docs-page .dc { gap: 44px; }
.docs-page .dc-mid { padding: 34px 40px; }
.docs-page .md h2 { margin-top: 44px; margin-bottom: 14px; font-size: 22px; }
.docs-page .md h3 { margin-top: 32px; margin-bottom: 10px; font-size: 17px; }
.docs-page .md > h1:first-child, .docs-page .md > h2:first-child { margin-top: 0; }
.docs-page .md li { margin-bottom: 6px; }
.docs-page .md ul, .docs-page .md ol { margin-bottom: 18px; }
.docs-page .tblwrap { margin: 16px 0 22px; }
.docs-page .tbl th, .docs-page .tbl td { padding: 10px 14px; }
.docs-page .md pre, .docs-page .codeblock { margin: 14px 0 24px; }
.docs-page .tl { padding-bottom: 10px; }
.docs-page .tlink { padding: 5px 10px; }
.docs-page .lockeddocs { gap: 10px; margin-top: 16px; }
.explore-page .tbullets { margin-bottom: 14px; }
.explore-page .tbullets li { margin: 6px 0; }
.explore-page .arglist { gap: 14px; margin-bottom: 14px; }
.explore-page .arglist li { padding: 2px 0 2px 12px; }
.explore-page .arglist .ad { margin-top: 3px; }
.docs-page .md h4 { border-top: 1px solid var(--border); padding-top: 28px; margin-top: 36px; font-size: 16px; }
.docs-page .md h3 + h4 { border-top: 0; padding-top: 0; margin-top: 18px; }
.docs-page .tbl td code, .docs-page .tbl td:first-child { white-space: nowrap; }
@media (max-width: 900px) {
  .start .step { padding: 20px; }
  .explore-page .ex-form, .explore-page .ex-run { padding: 20px; }
  .docs-page .dc-mid { padding: 22px 20px; }
}

/* ---- calmer pages (2026-10-06): fold what the reader has not asked for ---- */
.start .step-head { cursor: pointer; margin-bottom: 0; }
.start .step-head:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.start .step { padding: 20px 28px; margin-bottom: 14px; }
.start .step.is-open { padding: 28px 32px; margin-bottom: 24px; }
.start .step.is-open .step-head { margin-bottom: 18px; }
.start .step:not(.is-open) .step-body { display: none; }
.start .step-state { font-family: var(--font); }
.explore-page .ti { padding: 7px 10px; }
.explore-page details.about { margin-top: 26px; border-top: 1px solid var(--border); padding-top: 14px; }
.explore-page details.about > summary { font-weight: 600; color: var(--gray); }
.explore-page details.about[open] > summary { margin-bottom: 8px; }
.docs-page details.toolfold { border-top: 1px solid var(--border); }
.docs-page details.toolfold > summary { list-style: none; cursor: pointer; padding: 14px 0; display: flex; flex-direction: column; gap: 3px; }
.docs-page details.toolfold > summary::-webkit-details-marker { display: none; }
.docs-page details.toolfold > summary .tf-title { font-weight: 600; color: var(--text); }
.docs-page details.toolfold > summary .tf-title::before { content: "+ "; color: var(--gold); font-family: var(--mono); }
.docs-page details.toolfold[open] > summary .tf-title::before { content: "- "; }
.docs-page details.toolfold > summary .tf-sum { font-size: 14px; color: var(--muted); }
.docs-page details.toolfold > summary:hover .tf-title { color: var(--gold); }
.docs-page details.toolfold[open] { padding-bottom: 18px; }
.docs-page details.toolfold .tf-head { display: none; }
.docs-page .md h3 + details.toolfold { border-top: 0; }


/* ---- type, option A (founder, 2026-10-06; modelled on Databento): Inter 14/20 for reading,
   semibold headings, Inconsolata for code and names ---- */
.start .pagehead h1, .explore-page .pagehead h1, .docs-page .pagehead h1 { font-size: 32px; font-weight: 600; letter-spacing: -0.5px; }
.explore-page .entryhead h2 { font-size: 22px; font-weight: 600; }
.start .step-head h2 { font-weight: 600; }
.start pre, .explore-page pre, .docs-page pre, .start code, .explore-page code, .docs-page code { font-size: 13.5px; }
.explore-page .fname, .docs-page .fname { font-size: 14px; }

/* ---- footer legal row and the legal pages ---- */
.footlegal { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.footer a { color: var(--gray); }
.footer a:hover { color: var(--gold); }
.footer [aria-current="page"] { color: var(--text); font-weight: 600; }
.legal { max-width: 760px; font-size: 15px; line-height: 1.6; }
.legal h1 { font-size: 32px; font-weight: 600; letter-spacing: -0.5px; margin-bottom: 4px; }
.legal h2 { font-size: 18px; font-weight: 600; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--gray); }
.legal ul { padding-left: 20px; margin: 0 0 14px; }
.legal li { margin-bottom: 6px; }
.legal-body .nav { display: flex; }

/* ---- request-access form ---- */
.access { max-width: 620px; }
.accessform { padding: 28px 30px; }
.accessform .field-err { color: var(--bad); min-height: 0; }
.accessform .field-err:empty { display: none; }
.accessform .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.turnstile-host { margin: 6px 0 4px; min-height: 0; }

.accessform .field:has(.field-err:not(:empty)) small.muted { display: none; }

/* ---- home: who builds volAgent ---- */
.home .pedigree { margin: 56px 0 8px; padding-top: 40px; border-top: 1px solid var(--border); max-width: 820px; }
.home .pedigree h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; margin-bottom: 14px; }
.home .pedigree p { color: var(--gray); font-size: 16px; line-height: 1.65; margin: 0; }

