/* BabianVox — Anthropic-style docs (53_anthropic)
 * Brand: #8B5CF6 violet (accent only). Surface: warm cream/apricot canvas, not pure white.
 * Typography: serif headings (Tiempos/Charter/Georgia stack) + clean sans body, large generous whitespace.
 * Visual signatures (different from 14_mdn / 26_remix / 47_redis):
 *   - Cream apricot body (#FAF7F2) with a slightly warmer sidebar (#F5EFE5).
 *   - Heading typography is serif, weight 500, lots of letter-spacing.
 *   - Header is a thin horizontal bar with no border under it; centered nav row, "Login" pill on the right.
 *   - Sidebar items are PLAIN text rows with no card chrome, current item uses a subtle dark text
 *     and a tiny tan dot on the left, no full background fill. Group titles use small caps.
 *   - Hero left-aligned: "Start building with X" serif H1 + small input + 3 quick-action pills.
 *   - Section eyebrow is uppercase tracked tan label above each H2 ("PLATFORM" / "DEVELOPER JOURNEY").
 *   - Cards are large, with a giant top icon area in cream beige background, no gradient.
 *   - Floating "Ask Docs" pill in bottom-right corner of the article column.
 *   - Article page right rail is a tiny dotted-list TOC with no background.
 *   - Code blocks use a soft champagne/tan tab strip on top, not gray.
 *   - Footer is dense column of small text links on a light background, with a giant brand block on the left.
 */

:root {
  --vox-violet: #8B5CF6;
  --vox-violet-2: #7C3AED;
  --vox-violet-3: #6D28D9;
  --vox-violet-tint: rgba(139, 92, 246, 0.10);
  --vox-violet-line: rgba(139, 92, 246, 0.30);

  --vox-cream: #FAF7F2;
  --vox-cream-2: #F5EFE5;
  --vox-cream-3: #EFE7D8;
  --vox-cream-warm: #F8F2E6;
  --vox-paper: #FFFEFB;
  --vox-tan: #D6C7AB;
  --vox-tan-line: #E4D9C2;

  --vox-bg: var(--vox-cream);
  --vox-bg-side: var(--vox-cream-2);
  --vox-bg-card: var(--vox-paper);
  --vox-bg-card-hover: #FBF7EE;
  --vox-bg-icon: var(--vox-cream-3);
  --vox-bg-code: #F1ECDF;
  --vox-bg-code-tab: #EAE3D2;
  --vox-bg-callout: #F2EBDA;
  --vox-bg-callout-warn: #F4E7CD;
  --vox-bg-callout-tip: #ECE7DD;

  --vox-ink: #1C1B17;
  --vox-ink-2: #2F2D27;
  --vox-text: #3B3A35;
  --vox-text-2: #5C594F;
  --vox-text-mut: #807C70;
  --vox-text-soft: #9C9787;
  --vox-eyebrow: #B95A3E;

  --vox-line: #E4DDCB;
  --vox-line-soft: #EDE6D5;
  --vox-line-strong: #D6CDB6;

  --vox-link: #8B5CF6;
  --vox-link-hover: #6D28D9;
  --vox-link-on-cream: #6D28D9;
  --vox-link-visited: #7E5BC4;

  --vox-callout-info-line: #6E7FBE;
  --vox-callout-warn-line: #C68E2E;
  --vox-callout-tip-line: #6E9C73;
  --vox-callout-danger-line: #B94A3E;

  --vox-radius-xs: 2px;
  --vox-radius-sm: 4px;
  --vox-radius: 6px;
  --vox-radius-md: 8px;
  --vox-radius-lg: 10px;
  --vox-radius-pill: 999px;

  --vox-shadow-sm: 0 1px 2px rgba(28, 27, 23, 0.04);
  --vox-shadow: 0 4px 14px rgba(28, 27, 23, 0.06);
  --vox-shadow-card: 0 1px 0 rgba(28, 27, 23, 0.04), 0 0 0 1px rgba(28, 27, 23, 0.04);
  --vox-shadow-pill: 0 6px 18px rgba(28, 27, 23, 0.16);

  --vox-serif: "Tiempos Headline", "Charter", "Georgia", "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", serif;
  --vox-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --vox-mono: "JetBrains Mono", ui-monospace, "Menlo", "Cascadia Mono", "Source Code Pro", Consolas, monospace;

  --vox-header-h: 60px;
  --vox-sidebar-w: 250px;
  --vox-toc-w: 200px;
  --vox-content-max: 760px;
  --vox-shell-max: 1480px;
}

[data-theme="dark"] {
  --vox-bg: #1A1814;
  --vox-bg-side: #211E18;
  --vox-bg-card: #25221C;
  --vox-bg-card-hover: #2A2620;
  --vox-bg-icon: #2D281F;
  --vox-bg-code: #1F1C16;
  --vox-bg-code-tab: #25221A;
  --vox-bg-callout: #25221A;
  --vox-bg-callout-warn: #2A241A;
  --vox-bg-callout-tip: #232318;

  --vox-paper: #25221C;
  --vox-cream: #1A1814;
  --vox-cream-2: #211E18;
  --vox-cream-3: #2A261E;

  --vox-ink: #ECE5D5;
  --vox-ink-2: #DCD4C0;
  --vox-text: #C9C2AE;
  --vox-text-2: #ACA593;
  --vox-text-mut: #8C8674;
  --vox-text-soft: #6F6A5A;

  --vox-line: #322E25;
  --vox-line-soft: #2A271F;
  --vox-line-strong: #3F3A30;

  --vox-link: #B89BFF;
  --vox-link-hover: #D7C4FF;
  --vox-link-on-cream: #B89BFF;
  --vox-eyebrow: #D6896E;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--vox-bg); }
html { scroll-padding-top: 80px; }

body.vox-body {
  font-family: var(--vox-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--vox-text);
  background: var(--vox-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}

a { color: var(--vox-link-on-cream); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--vox-link-hover); text-decoration: underline; text-underline-offset: 3px; }

button { font: inherit; color: inherit; cursor: pointer; }

::selection { background: rgba(139, 92, 246, 0.18); color: var(--vox-ink); }

/* ============================== Header ============================== */
.vox-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--vox-bg);
}
.vox-header__bar {
  display: flex; align-items: center; gap: 18px;
  height: var(--vox-header-h);
  max-width: var(--vox-shell-max);
  margin: 0 auto;
  padding: 0 28px;
}
.vox-brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--vox-ink); text-decoration: none;
  font-family: var(--vox-serif);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.vox-brand:hover { text-decoration: none; color: var(--vox-ink); }
.vox-brand__icon { display: inline-flex; align-items: center; }
.vox-brand__name { white-space: nowrap; }
.vox-brand__suffix { color: var(--vox-text-mut); font-size: 13px; font-family: var(--vox-sans); margin-left: 2px; font-weight: 400; }

.vox-section-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--vox-cream-3);
  color: var(--vox-ink-2);
  border-radius: var(--vox-radius-pill);
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.vox-section-pill:hover { background: var(--vox-tan-line); color: var(--vox-ink); text-decoration: none; }
.vox-section-pill__caret { font-size: 9px; color: var(--vox-text-mut); }

.vox-topnav {
  display: flex; align-items: center; gap: 4px;
  margin: 0 auto;
}
.vox-topnav__item {
  color: var(--vox-text);
  padding: 6px 12px;
  font-size: 14px;
  border-radius: var(--vox-radius-sm);
  text-decoration: none;
  white-space: nowrap;
}
.vox-topnav__item:hover { color: var(--vox-ink); background: var(--vox-cream-2); text-decoration: none; }
.vox-topnav__item.is-active { color: var(--vox-ink); font-weight: 500; }

.vox-header__right { display: inline-flex; align-items: center; gap: 14px; margin-left: auto; }

.vox-lang { position: relative; }
.vox-lang__btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: 0;
  color: var(--vox-text);
  padding: 6px 10px;
  border-radius: var(--vox-radius-sm);
  font-size: 13px;
}
.vox-lang__btn:hover { background: var(--vox-cream-2); color: var(--vox-ink); }
.vox-lang__menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  list-style: none; margin: 0; padding: 6px;
  background: var(--vox-paper);
  border: 1px solid var(--vox-line);
  border-radius: var(--vox-radius-md);
  box-shadow: var(--vox-shadow);
  min-width: 160px;
  display: none;
  z-index: 80;
}
.vox-lang:hover .vox-lang__menu, .vox-lang:focus-within .vox-lang__menu { display: block; }
.vox-lang__menu li { list-style: none; }
.vox-lang__menu a {
  display: block; padding: 7px 10px; border-radius: var(--vox-radius-sm);
  font-size: 13px; color: var(--vox-text);
}
.vox-lang__menu a:hover { background: var(--vox-cream-2); color: var(--vox-ink); text-decoration: none; }
.vox-lang__menu a.is-current { color: var(--vox-violet-3); font-weight: 500; }

.vox-icon-btn {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0;
  color: var(--vox-text-2);
  border-radius: var(--vox-radius-sm);
}
.vox-icon-btn:hover { background: var(--vox-cream-2); color: var(--vox-ink); }
.vox-theme-light, .vox-theme-dark { display: inline-flex; }
[data-theme="light"] .vox-theme-dark { display: none; }
[data-theme="dark"] .vox-theme-light { display: none; }

.vox-login {
  display: inline-flex; align-items: center;
  background: var(--vox-ink); color: var(--vox-cream);
  padding: 7px 18px;
  border-radius: var(--vox-radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  border: 0;
}
.vox-login:hover { background: var(--vox-ink-2); color: var(--vox-cream); text-decoration: none; }

.vox-mobile-only { display: none; }

/* ============================== Shell layout ============================== */
.vox-shell {
  max-width: var(--vox-shell-max);
  margin: 0 auto;
  padding: 0 28px;
}
.vox-shell--has-sidebar {
  display: grid;
  grid-template-columns: var(--vox-sidebar-w) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.vox-main {
  min-width: 0;
  padding: 28px 0 60px;
  position: relative;
}
.vox-main--full {
  max-width: var(--vox-shell-max);
  margin: 0 auto;
  padding: 28px;
}

/* ============================== Sidebar ============================== */
.vox-sidebar {
  position: sticky;
  top: var(--vox-header-h);
  align-self: start;
  max-height: calc(100vh - var(--vox-header-h));
  overflow-y: auto;
  padding: 22px 4px 60px 0;
  font-size: 13.5px;
  scrollbar-width: thin;
  scrollbar-color: var(--vox-tan) transparent;
}
.vox-sidebar::-webkit-scrollbar { width: 6px; }
.vox-sidebar::-webkit-scrollbar-thumb { background: var(--vox-tan); border-radius: 3px; }

.vox-sidebar__filter {
  position: relative;
  margin-bottom: 18px;
}
.vox-sidebar__filter-input {
  width: 100%;
  background: var(--vox-paper);
  border: 1px solid var(--vox-line);
  border-radius: var(--vox-radius);
  padding: 7px 10px 7px 30px;
  font-size: 13px;
  color: var(--vox-ink);
  font-family: inherit;
  outline: none;
}
.vox-sidebar__filter-input::placeholder { color: var(--vox-text-soft); }
.vox-sidebar__filter-input:focus { border-color: var(--vox-violet-line); box-shadow: 0 0 0 3px var(--vox-violet-tint); }
.vox-sidebar__filter::before {
  content: ""; position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23807C70' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat center / contain;
}
.vox-sidebar__filter-kbd {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 10px;
  color: var(--vox-text-soft);
  background: var(--vox-cream-3);
  border-radius: 3px;
  padding: 1px 5px;
  font-family: var(--vox-mono);
}

.vox-sidebar__group { margin-bottom: 16px; }
.vox-sidebar__group.is-collapsed .vox-sidebar__list { display: none; }
.vox-sidebar__heading {
  display: flex; align-items: center; gap: 6px;
  color: var(--vox-ink-2);
  font-size: 13.5px;
  font-weight: 600;
  padding: 4px 8px;
  margin-bottom: 4px;
}
.vox-sidebar__heading--clickable { cursor: pointer; user-select: none; }
.vox-sidebar__heading--clickable:hover { color: var(--vox-ink); }
.vox-sidebar__chev {
  display: inline-flex;
  transition: transform .15s ease;
  color: var(--vox-text-soft);
}
.vox-sidebar__group.is-collapsed .vox-sidebar__chev { transform: rotate(-90deg); }

.vox-sidebar__list {
  list-style: none; margin: 0; padding: 0;
}
.vox-sidebar__list li { list-style: none; }
.vox-sidebar__link {
  display: block;
  color: var(--vox-text);
  padding: 4px 10px 4px 16px;
  font-size: 13.5px;
  text-decoration: none;
  border-radius: 0;
  position: relative;
  line-height: 1.55;
}
.vox-sidebar__link:hover { color: var(--vox-ink); background: transparent; text-decoration: none; }
.vox-sidebar__link.is-active {
  color: var(--vox-ink);
  font-weight: 600;
}
.vox-sidebar__link.is-active::before {
  content: ""; position: absolute; left: 4px; top: 50%; transform: translateY(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--vox-violet);
}
.vox-sidebar__link--cat {
  font-weight: 500;
  color: var(--vox-ink-2);
}

/* ============================== Article ============================== */
.vox-article { padding: 18px 0 40px; max-width: 100%; }
.vox-crumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px;
  color: var(--vox-text-mut);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.vox-crumb a { color: var(--vox-text-mut); text-decoration: none; }
.vox-crumb a:hover { color: var(--vox-ink); text-decoration: underline; }
.vox-crumb__sep { color: var(--vox-text-soft); }
.vox-crumb__current { color: var(--vox-ink); }

.vox-article__head { margin-bottom: 30px; max-width: var(--vox-content-max); position: relative; }
.vox-article__h1 {
  font-family: var(--vox-serif);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--vox-ink);
  margin: 0 0 14px;
}
.vox-article__lede {
  color: var(--vox-text-2);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 14px;
  max-width: 640px;
}
.vox-article__meta {
  display: flex; align-items: center; gap: 8px;
  color: var(--vox-text-mut);
  font-size: 13px;
  flex-wrap: wrap;
}
.vox-article__meta-sep { color: var(--vox-text-soft); }
.vox-chip {
  display: inline-flex; align-items: center;
  background: var(--vox-cream-3);
  color: var(--vox-ink-2);
  padding: 2px 10px;
  border-radius: var(--vox-radius-pill);
  font-size: 12px;
  text-decoration: none;
}
.vox-chip:hover { background: var(--vox-tan-line); color: var(--vox-ink); text-decoration: none; }

.vox-article__copy {
  position: absolute; right: 0; top: 4px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--vox-paper);
  border: 1px solid var(--vox-line);
  border-radius: var(--vox-radius-pill);
  padding: 6px 12px;
  font-size: 12.5px;
  color: var(--vox-text-2);
}

/* article body grid: prose + thin TOC */
.vox-article__body {
  display: grid;
  grid-template-columns: minmax(0, var(--vox-content-max)) var(--vox-toc-w);
  gap: 56px;
  align-items: start;
}

/* ============================== Prose typography ============================== */
.vox-prose {
  color: var(--vox-text);
  font-size: 16px;
  line-height: 1.78;
  max-width: var(--vox-content-max);
}
.vox-prose > * + * { margin-top: 1em; }
.vox-prose p { margin: 0 0 1em; }
.vox-prose h1 { display: none; }
.vox-prose h2 {
  font-family: var(--vox-serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.008em;
  color: var(--vox-ink);
  margin: 56px 0 14px;
  scroll-margin-top: 80px;
}
.vox-prose h3 {
  font-family: var(--vox-serif);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.3;
  color: var(--vox-ink);
  margin: 36px 0 10px;
  scroll-margin-top: 80px;
}
.vox-prose h4 {
  font-family: var(--vox-sans);
  font-weight: 600;
  font-size: 16px;
  color: var(--vox-ink);
  margin: 24px 0 8px;
}
.vox-prose ul, .vox-prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.vox-prose li { margin: 4px 0; }
.vox-prose ul li::marker { color: var(--vox-tan); }
.vox-prose ol li::marker { color: var(--vox-text-mut); font-variant-numeric: tabular-nums; }

.vox-prose a {
  color: var(--vox-link-on-cream);
  text-decoration: underline;
  text-decoration-color: var(--vox-violet-line);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.vox-prose a:hover { color: var(--vox-violet-3); text-decoration-color: var(--vox-violet); }

.vox-prose strong { color: var(--vox-ink); font-weight: 600; }
.vox-prose em { font-style: italic; color: var(--vox-ink-2); }

.vox-prose blockquote {
  border-left: 2px solid var(--vox-violet-line);
  padding: 4px 0 4px 18px;
  margin: 1em 0;
  color: var(--vox-text-2);
  background: var(--vox-bg-callout);
  border-radius: 0 var(--vox-radius) var(--vox-radius) 0;
  padding: 14px 18px;
  font-style: normal;
}
.vox-prose blockquote p { margin: 0 0 0.5em; }
.vox-prose blockquote p:last-child { margin: 0; }

.vox-prose hr {
  border: 0; height: 1px;
  background: var(--vox-line);
  margin: 36px 0;
}

.vox-prose code {
  font-family: var(--vox-mono);
  font-size: 0.86em;
  background: var(--vox-bg-code);
  border-radius: var(--vox-radius-xs);
  padding: 2px 6px;
  color: var(--vox-violet-3);
  border: 1px solid var(--vox-line-soft);
}
.vox-prose pre {
  background: var(--vox-bg-code);
  border: 1px solid var(--vox-line);
  border-radius: var(--vox-radius);
  padding: 16px 18px;
  overflow-x: auto;
  margin: 1em 0;
  position: relative;
  font-size: 13.5px;
  line-height: 1.62;
}
.vox-prose pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--vox-ink);
  font-size: 13.5px;
}

/* tables */
.vox-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 14.5px;
  background: var(--vox-paper);
  border-radius: var(--vox-radius);
  overflow: hidden;
  border: 1px solid var(--vox-line);
}
.vox-prose thead { background: var(--vox-cream-2); }
.vox-prose th, .vox-prose td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--vox-line-soft);
  vertical-align: top;
}
.vox-prose th {
  font-weight: 600;
  color: var(--vox-ink);
  font-size: 13px;
  letter-spacing: 0.01em;
}
.vox-prose td { color: var(--vox-text); }
.vox-prose tbody tr:last-child td { border-bottom: 0; }
.vox-prose tbody tr:hover { background: var(--vox-bg-card-hover); }

/* admonitions / callouts via blockquote first-line emoji */
.vox-prose blockquote.callout-info { border-left-color: var(--vox-callout-info-line); }
.vox-prose blockquote.callout-warn { border-left-color: var(--vox-callout-warn-line); background: var(--vox-bg-callout-warn); }
.vox-prose blockquote.callout-tip { border-left-color: var(--vox-callout-tip-line); background: var(--vox-bg-callout-tip); }

/* ============================== TOC ============================== */
.vox-toc {
  font-size: 13px;
  line-height: 1.6;
  position: sticky;
  top: calc(var(--vox-header-h) + 16px);
  align-self: start;
  max-height: calc(100vh - var(--vox-header-h) - 32px);
  overflow-y: auto;
  padding-right: 4px;
}
.vox-toc__inner { border-left: 1px solid var(--vox-line); padding-left: 14px; }
.vox-toc__head {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vox-text-mut);
  margin-bottom: 10px;
}
.vox-toc__list { list-style: none; margin: 0 0 16px; padding: 0; }
.vox-toc__list li { list-style: none; }
.vox-toc__item a {
  display: block;
  color: var(--vox-text-2);
  font-size: 13px;
  padding: 3px 0;
  text-decoration: none;
  line-height: 1.45;
}
.vox-toc__item a:hover { color: var(--vox-ink); text-decoration: none; }
.vox-toc__item--lv3 a { padding-left: 12px; color: var(--vox-text-mut); font-size: 12.5px; }
.vox-toc__item a.is-active { color: var(--vox-violet-3); font-weight: 500; }
.vox-toc__more { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--vox-line-soft); }

/* ============================== Prev / Next ============================== */
.vox-prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 56px 0 0;
  max-width: var(--vox-content-max);
}
.vox-prevnext__item {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--vox-paper);
  border: 1px solid var(--vox-line);
  border-radius: var(--vox-radius);
  padding: 14px 16px;
  color: var(--vox-text);
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.vox-prevnext__item:hover {
  border-color: var(--vox-violet-line);
  text-decoration: none;
  color: var(--vox-text);
}
.vox-prevnext__next { text-align: right; }
.vox-prevnext__lab {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vox-text-mut);
  display: inline-flex; align-items: center; gap: 4px;
}
.vox-prevnext__next .vox-prevnext__lab { justify-content: flex-end; }
.vox-prevnext__t {
  color: var(--vox-ink);
  font-family: var(--vox-serif);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.35;
}

/* ============================== Home / Hero ============================== */
.vox-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 60px;
  align-items: start;
  margin: 14px 0 60px;
  max-width: var(--vox-shell-max);
}
.vox-home-hero__eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vox-eyebrow);
  margin-bottom: 14px;
}
.vox-home-hero__title {
  font-family: var(--vox-serif);
  font-weight: 500;
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--vox-ink);
  margin: 0 0 18px;
}
.vox-home-hero__lead {
  color: var(--vox-text-2);
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 480px;
}

.vox-hero-search {
  position: relative;
  max-width: 460px;
  margin-bottom: 16px;
}
.vox-hero-search__icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--vox-text-mut);
  display: inline-flex;
}
.vox-hero-search__input {
  width: 100%;
  background: var(--vox-paper);
  border: 1px solid var(--vox-line);
  border-radius: var(--vox-radius-pill);
  padding: 10px 18px 10px 38px;
  font-size: 14.5px;
  color: var(--vox-ink);
  font-family: inherit;
  outline: none;
  transition: border-color .15s ease;
}
.vox-hero-search__input::placeholder { color: var(--vox-text-soft); }
.vox-hero-search__input:focus { border-color: var(--vox-violet-line); box-shadow: 0 0 0 3px var(--vox-violet-tint); }

.vox-quickpills {
  display: flex; flex-wrap: wrap; gap: 8px;
  max-width: 460px;
}
.vox-quickpill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--vox-paper);
  color: var(--vox-ink-2);
  border: 1px solid var(--vox-line);
  border-radius: var(--vox-radius-pill);
  padding: 6px 14px;
  font-size: 13px;
  text-decoration: none;
}
.vox-quickpill:hover { background: var(--vox-cream-2); border-color: var(--vox-tan); text-decoration: none; color: var(--vox-ink); }
.vox-quickpill__icon { color: var(--vox-text-mut); }

.vox-hero-aside {
  background: var(--vox-bg-code);
  border: 1px solid var(--vox-line);
  border-radius: var(--vox-radius);
  padding: 16px 18px 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--vox-text);
  font-family: var(--vox-mono);
}
.vox-hero-aside__tabs {
  display: flex; gap: 14px;
  border-bottom: 1px solid var(--vox-line-soft);
  margin: -8px -8px 14px;
  padding: 0 8px 6px;
  font-family: var(--vox-sans);
  font-size: 13px;
  color: var(--vox-text-mut);
  flex-wrap: wrap;
}
.vox-hero-aside__tab { padding: 4px 0; }
.vox-hero-aside__tab.is-active { color: var(--vox-ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--vox-ink); }
.vox-hero-aside__list { list-style: none; padding: 0; margin: 0; }
.vox-hero-aside__list li {
  padding: 4px 0;
  list-style: none;
  font-family: var(--vox-mono);
  font-size: 13px;
  color: var(--vox-text);
}
.vox-hero-aside__list li b { color: var(--vox-violet-3); font-weight: 500; }

/* ============================== Sections ============================== */
.vox-section { margin: 64px 0; max-width: var(--vox-shell-max); }
.vox-section__eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vox-eyebrow);
  margin-bottom: 8px;
}
.vox-section__title {
  font-family: var(--vox-serif);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--vox-ink);
  margin: 0 0 8px;
}
.vox-section__sub {
  color: var(--vox-text-2);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 30px;
  max-width: 560px;
}

/* big two-up cards (PLATFORM section) */
.vox-cardgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.vox-card {
  display: flex; flex-direction: column;
  background: var(--vox-paper);
  border: 1px solid var(--vox-line);
  border-radius: var(--vox-radius);
  text-decoration: none;
  color: var(--vox-text);
  overflow: hidden;
  transition: border-color .2s ease, transform .15s ease;
}
.vox-card:hover { border-color: var(--vox-violet-line); text-decoration: none; color: var(--vox-text); transform: translateY(-1px); }
.vox-card__icon {
  height: 130px;
  background: var(--vox-cream-3);
  display: flex; align-items: center; justify-content: center;
  color: var(--vox-tan);
}
.vox-card__icon svg { width: 56px; height: 56px; opacity: 0.85; }
.vox-card__body { padding: 22px 24px 24px; }
.vox-card__title {
  font-family: var(--vox-serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--vox-ink);
  margin: 0 0 8px;
  line-height: 1.3;
}
.vox-card__desc {
  font-size: 14px;
  color: var(--vox-text-2);
  margin: 0 0 14px;
  line-height: 1.55;
}
.vox-card__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.vox-card__list li { font-size: 13px; color: var(--vox-text-2); }
.vox-card__bullet { color: var(--vox-tan); margin-right: 6px; }

/* small pills row under cards */
.vox-pillrow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.vox-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--vox-paper);
  border: 1px solid var(--vox-line);
  border-radius: var(--vox-radius);
  padding: 8px 14px;
  font-size: 13px;
  color: var(--vox-text);
  text-decoration: none;
}
.vox-pill:hover { border-color: var(--vox-tan); background: var(--vox-cream-warm); color: var(--vox-ink); text-decoration: none; }
.vox-pill__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--vox-violet);
}

/* journey / phases section (DEVELOPER JOURNEY) */
.vox-journey { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px 16px; }
.vox-journey__phase {
  display: contents;
}
.vox-journey__num {
  font-family: var(--vox-serif);
  font-weight: 500;
  font-size: 16px;
  color: var(--vox-text-mut);
  padding-top: 8px;
}
.vox-journey__body { padding-bottom: 14px; }
.vox-journey__title {
  font-weight: 600;
  color: var(--vox-ink);
  font-size: 16px;
  margin: 0 0 10px;
}
.vox-journey__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.vox-journey__step {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--vox-paper);
  border: 1px solid var(--vox-line);
  border-radius: var(--vox-radius);
  padding: 9px 14px;
  font-size: 13.5px;
  color: var(--vox-text);
  text-decoration: none;
}
.vox-journey__step:hover { border-color: var(--vox-tan); background: var(--vox-cream-warm); color: var(--vox-ink); text-decoration: none; }
.vox-journey__step-icon { color: var(--vox-text-mut); }

/* model family-style row */
.vox-modelrow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.vox-modelcard {
  background: var(--vox-paper);
  border: 1px solid var(--vox-line);
  border-radius: var(--vox-radius);
  padding: 22px 22px 24px;
}
.vox-modelcard__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vox-eyebrow);
  margin-bottom: 8px;
}
.vox-modelcard__title {
  font-family: var(--vox-serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--vox-ink);
  margin: 0 0 6px;
  line-height: 1.25;
}
.vox-modelcard__sub {
  font-family: var(--vox-mono);
  font-size: 12px;
  color: var(--vox-text-mut);
  margin-bottom: 12px;
}
.vox-modelcard__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--vox-text-2);
}

/* resources keep-learning */
.vox-keeplearn {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.vox-keepitem {
  background: var(--vox-paper);
  border: 1px solid var(--vox-line);
  border-radius: var(--vox-radius);
  padding: 18px 20px 20px;
  text-decoration: none;
  color: var(--vox-text);
}
.vox-keepitem:hover { border-color: var(--vox-tan); background: var(--vox-cream-warm); text-decoration: none; color: var(--vox-text); }
.vox-keepitem__icon { color: var(--vox-text-mut); margin-bottom: 12px; }
.vox-keepitem__title {
  font-weight: 600;
  color: var(--vox-ink);
  font-size: 15px;
  margin: 0 0 5px;
}
.vox-keepitem__desc {
  font-size: 13.5px;
  color: var(--vox-text-2);
  line-height: 1.5;
}

/* posts list block (latest / docs) */
.vox-postlist { list-style: none; padding: 0; margin: 0; }
.vox-postlist__item {
  list-style: none;
  padding: 18px 0;
  border-bottom: 1px solid var(--vox-line-soft);
}
.vox-postlist__item:last-child { border-bottom: 0; }
.vox-postlist__title {
  display: block;
  color: var(--vox-ink);
  font-family: var(--vox-serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 5px;
  text-decoration: none;
}
.vox-postlist__title:hover { color: var(--vox-violet-3); text-decoration: none; }
.vox-postlist__meta {
  display: flex; align-items: center; gap: 10px;
  color: var(--vox-text-mut);
  font-size: 12.5px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.vox-postlist__chip {
  background: var(--vox-cream-3);
  color: var(--vox-ink-2);
  padding: 1px 9px;
  border-radius: var(--vox-radius-pill);
  font-size: 11.5px;
}
.vox-postlist__desc {
  color: var(--vox-text-2);
  font-size: 14px;
  line-height: 1.55;
  margin: 4px 0 0;
}

/* category index "more" list */
.vox-reflist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.vox-reflist li { list-style: none; padding: 12px 0; border-bottom: 1px solid var(--vox-line-soft); }
.vox-reflist a { color: var(--vox-ink); font-weight: 500; }
.vox-reflist__desc { color: var(--vox-text-mut); font-size: 13px; }

/* faq */
.vox-faq { display: flex; flex-direction: column; gap: 0; }
.vox-faq__item {
  border-bottom: 1px solid var(--vox-line);
  padding: 14px 0;
}
.vox-faq__item[open] .vox-faq__q::after { transform: rotate(45deg); }
.vox-faq__q {
  list-style: none;
  cursor: pointer;
  font-family: var(--vox-serif);
  font-weight: 500;
  font-size: 17px;
  color: var(--vox-ink);
  position: relative;
  padding-right: 32px;
}
.vox-faq__q::-webkit-details-marker { display: none; }
.vox-faq__q::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--vox-text-mut);
  transition: transform .15s ease;
  font-weight: 300;
  font-family: var(--vox-sans);
}
.vox-faq__a { padding: 10px 0 0; color: var(--vox-text); font-size: 15px; line-height: 1.65; }
.vox-faq__a p { margin: 0 0 8px; }

.vox-viewall { margin-top: 24px; }
.vox-viewall a { color: var(--vox-violet-3); font-weight: 500; font-size: 14.5px; }

/* ============================== Pager ============================== */
.vox-pager {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
  padding-top: 36px;
  margin-top: 36px;
  border-top: 1px solid var(--vox-line);
}
.vox-pager__btn, .vox-pager__num {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; min-width: 32px;
  padding: 0 10px;
  border-radius: var(--vox-radius-sm);
  font-size: 13.5px;
  color: var(--vox-text-2);
  background: var(--vox-paper);
  border: 1px solid var(--vox-line);
  text-decoration: none;
}
.vox-pager__btn:hover, .vox-pager__num:hover { background: var(--vox-cream-2); color: var(--vox-ink); border-color: var(--vox-tan); text-decoration: none; }
.vox-pager__num.is-current { background: var(--vox-ink); border-color: var(--vox-ink); color: var(--vox-cream); }
.vox-pager__btn.is-disabled { opacity: 0.45; pointer-events: none; }

/* ============================== Footer ============================== */
.vox-footer {
  background: var(--vox-bg);
  border-top: 1px solid var(--vox-line);
  padding: 56px 0 40px;
  margin-top: 80px;
}
.vox-footer__inner {
  max-width: var(--vox-shell-max);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 240px repeat(4, 1fr);
  gap: 36px;
  align-items: start;
}
.vox-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.vox-footer__logo {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--vox-ink);
  font-family: var(--vox-serif);
  font-weight: 500;
  font-size: 16px;
}
.vox-footer__social { display: flex; gap: 10px; color: var(--vox-text-mut); }
.vox-footer__social a { color: var(--vox-text-mut); }
.vox-footer__social a:hover { color: var(--vox-ink); }
.vox-footer__col { display: flex; flex-direction: column; gap: 8px; }
.vox-footer__h {
  font-size: 13px;
  font-weight: 600;
  color: var(--vox-ink);
  margin-bottom: 4px;
}
.vox-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.vox-footer__col li { list-style: none; }
.vox-footer__col a { color: var(--vox-text-2); font-size: 13px; text-decoration: none; }
.vox-footer__col a:hover { color: var(--vox-ink); text-decoration: none; }
.vox-footer__lang { display: flex; flex-wrap: wrap; gap: 8px; }
.vox-footer__lang li a { padding: 2px 10px; border-radius: var(--vox-radius-pill); background: var(--vox-cream-2); font-size: 12px; }
.vox-footer__lang li a.is-current { background: var(--vox-ink); color: var(--vox-cream); }
.vox-footer__bottom {
  max-width: var(--vox-shell-max);
  margin: 30px auto 0;
  padding: 24px 28px 0;
  border-top: 1px solid var(--vox-line-soft);
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 12px;
  color: var(--vox-text-mut);
  flex-wrap: wrap;
}

/* floating "Ask Docs" pill */
.vox-askpill {
  position: fixed;
  right: 20px; bottom: 26px;
  z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--vox-ink);
  color: var(--vox-cream);
  border-radius: var(--vox-radius-pill);
  padding: 9px 18px 9px 16px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--vox-shadow-pill);
  text-decoration: none;
}
.vox-askpill:hover { background: var(--vox-violet-3); color: #fff; text-decoration: none; }

/* 404 */
.vox-404 {
  max-width: 560px;
  margin: 90px auto;
  text-align: center;
  padding: 40px 28px;
}
.vox-404__code { font-family: var(--vox-serif); font-size: 100px; line-height: 1; color: var(--vox-tan); margin-bottom: 14px; }
.vox-404__title { font-family: var(--vox-serif); font-weight: 500; font-size: 32px; color: var(--vox-ink); margin: 0 0 14px; }
.vox-404__body { color: var(--vox-text-2); margin: 0 0 24px; font-size: 15.5px; }
.vox-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--vox-ink); color: var(--vox-cream);
  padding: 9px 18px;
  border-radius: var(--vox-radius-pill);
  font-weight: 500;
  font-size: 14px;
  border: 0;
  text-decoration: none;
}
.vox-btn:hover { background: var(--vox-violet-3); color: #fff; text-decoration: none; }

/* divider */
.vox-divider { height: 1px; background: var(--vox-line); margin: 40px 0; }

/* ============================== Responsive ============================== */
@media (max-width: 1180px) {
  .vox-toc { display: none; }
  .vox-article__body { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .vox-home-hero { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .vox-cardgrid { grid-template-columns: minmax(0, 1fr); }
  .vox-keeplearn, .vox-modelrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vox-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .vox-shell--has-sidebar { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .vox-sidebar {
    position: fixed; left: 0; top: var(--vox-header-h);
    width: 270px; height: calc(100vh - var(--vox-header-h));
    background: var(--vox-bg-side);
    box-shadow: var(--vox-shadow);
    transform: translateX(-100%);
    transition: transform .2s ease;
    z-index: 40;
    padding: 22px 18px 60px;
  }
  .vox-sidebar.is-open { transform: translateX(0); }
  .vox-mobile-only { display: inline-flex; }
  .vox-topnav { display: none; }
  .vox-home-hero__title { font-size: 40px; }
  .vox-article__h1 { font-size: 32px; }
  .vox-prevnext { grid-template-columns: 1fr; }
  .vox-journey__row { grid-template-columns: 1fr; }
  .vox-keeplearn, .vox-modelrow, .vox-cardgrid { grid-template-columns: 1fr; }
  .vox-reflist { grid-template-columns: 1fr; }
  .vox-footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .vox-header__bar { padding: 0 16px; gap: 10px; }
  .vox-shell { padding: 0 16px; }
  .vox-section__title { font-size: 28px; }
}

@media (max-width: 540px) {
  .vox-home-hero__title { font-size: 32px; }
  .vox-article__h1 { font-size: 26px; }
  .vox-prose h2 { font-size: 22px; }
  .vox-prose h3 { font-size: 18px; }
  .vox-section { margin: 44px 0; }
  .vox-section__title { font-size: 24px; }
  .vox-login { padding: 6px 14px; font-size: 12.5px; }
  .vox-section-pill { display: none; }
}

/* nav body lock (mobile sidebar open) */
body.vox-nav-open { overflow: hidden; }

/* utility: visually-hidden */
.vox-vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================== Code copy button ============================== */
.vox-prose pre {
  padding-top: 30px;
}
.vox-prose pre::before {
  content: attr(data-lang);
  position: absolute; top: 6px; left: 14px;
  font-family: var(--vox-mono);
  font-size: 11px;
  color: var(--vox-text-mut);
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

/* ============================== Print ============================== */
@media print {
  .vox-header, .vox-sidebar, .vox-toc, .vox-prevnext, .vox-footer, .vox-askpill { display: none; }
  body { background: #fff; color: #000; }
  .vox-article__body { display: block; }
}

/* small visual flourish: warm dot before brand */
.vox-brand__bullet {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--vox-violet);
  display: inline-block;
}
