/* Variant A — app shell + pages styles. Scoped to .vAa-root */

.vAa-root {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
  background: #f5f2ea;
  color: #1a1813;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  line-height: 1.55;
}
.vAa-root *, .vAa-root *::before, .vAa-root *::after { box-sizing: border-box; }
.vAa-root h1, .vAa-root h2, .vAa-root p, .vAa-root dl, .vAa-root dd { margin: 0; font-weight: normal; }
.vAa-root button { font-family: inherit; }

/* sidebar */
.vAa-side {
  background: #ede7d7;
  border-right: 1px solid #1a1813;
  padding: 24px 20px 20px;
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
}
.vAa-mark { font-size: 14px; font-weight: 500; cursor: pointer; }
.vAa-mark span { color: #5a5448; font-weight: 400; }
.vAa-env {
  margin-top: 20px; padding: 10px 0;
  border-top: 1px solid #c9c1ab; border-bottom: 1px solid #c9c1ab;
  font-size: 11px; color: #5a5448; line-height: 1.7;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.vAa-dot { width: 6px; height: 6px; border-radius: 50%; background: #5a9560; display: inline-block; }
.vAa-acc { color: #b8860b; }
.vAa-nav { margin-top: 20px; display: flex; flex-direction: column; gap: 2px; }
.vAa-nav a {
  padding: 6px 10px; color: #2a2620; font-size: 12px; cursor: pointer;
  border-left: 2px solid transparent; margin-left: -12px;
  transition: background .12s, border-color .12s, color .12s;
}
.vAa-nav a:hover { background: #e3dbc3; color: #1a1813; }
.vAa-nav a.on { background: #1a1813; color: #f5f2ea; border-left-color: #b8860b; }
.vAa-foot { margin-top: auto; font-size: 11px; }
.vAa-link { color: #b8860b; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.vAa-link:hover { color: #1a1813; }

/* main */
.vAa-main { padding: 40px 48px 80px; overflow-x: hidden; }

.vAa-breadcrumb { font-size: 11px; color: #5a5448; margin-bottom: 10px; }
.vAa-breadcrumb span { color: #1a1813; }
.vAa-phdr { border-bottom: 1px solid #1a1813; padding-bottom: 20px; margin-bottom: 28px; }
.vAa-h1 {
  font-size: 42px; letter-spacing: -0.03em; line-height: 1.1;
  font-weight: 500;
}
.vAa-sub { color: #5a5448; font-size: 13px; margin-top: 8px; }

/* stat cards */
.vAa-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: #1a1813; border: 1px solid #1a1813; margin-bottom: 40px;
}
.vAa-stat { background: #f5f2ea; padding: 16px 18px; }
.vAa-stat .lbl { font-size: 10px; color: #5a5448; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.vAa-stat .num { font-size: 30px; line-height: 1; letter-spacing: -0.02em; font-weight: 500; font-variant-numeric: tabular-nums; }
.vAa-stat .cap { color: #5a5448; font-size: 11px; margin-top: 4px; }
.vAa-stat .dl { color: #b8860b; font-size: 11px; margin-top: 8px; }

/* section */
.vAa-section {
  padding: 28px 0 8px;
  border-top: 1px solid #c9c1ab;
  margin-bottom: 12px;
}
.vAa-sec-hd {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 11px; color: #1a1813; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 20px;
}
.vAa-sec-hd > div:last-child { color: #5a5448; }

/* spark (pass rate bars) */
.vAa-spark { display: flex; flex-direction: column; }
.vAa-row {
  display: grid; grid-template-columns: 120px 1fr 60px 60px; gap: 12px;
  align-items: center;
  padding: 8px 0; border-top: 1px dashed #c9c1ab; font-size: 12px;
}
.vAa-row:first-child { border-top: 1px solid #1a1813; }
.vAa-row:last-child { border-bottom: 1px solid #1a1813; }
.vAa-row .nm { color: #1a1813; }
.vAa-row .bar-wrap { position: relative; height: 14px; background: #ebe4d0; border: 1px solid #d9d0b4; overflow: hidden; }
.vAa-row .bar-wrap .ark {
  position: absolute; left:0; top:0; bottom:0; background: #1a1813;
  animation: vAa-grow 1s cubic-bezier(.2,.7,.2,1) both;
  transform-origin: left;
}
.vAa-row .bar-wrap .pws {
  position: absolute; left:0; top:4px; height: 4px;
  background: #b8860b; opacity: .7;
  animation: vAa-grow 1s cubic-bezier(.2,.7,.2,1) .15s both;
  transform-origin: left;
}
@media (prefers-reduced-motion: no-preference) {
  .vAa-row .bar-wrap .ark, .vAa-row .bar-wrap .pws { animation-fill-mode: both; }
}
@keyframes vAa-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vAa-row .num { text-align: right; font-variant-numeric: tabular-nums; }
.vAa-row .num.dim { color: #b8860b; }
.vAa-legend {
  margin-top: 12px; display: flex; gap: 20px;
  font-size: 11px; color: #5a5448;
}
.vAa-legend i.sw { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
.vAa-legend i.ark { background: #1a1813; }
.vAa-legend i.pws { background: #b8860b; height: 3px; margin-bottom: 3px; }

/* tables */
.vAa-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.vAa-table th {
  text-align: left; padding: 8px 12px;
  border-bottom: 1px solid #1a1813; color: #5a5448;
  font-weight: 500; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
}
.vAa-table th.num { text-align: right; }
.vAa-table td {
  padding: 9px 12px; border-bottom: 1px dashed #c9c1ab;
  font-variant-numeric: tabular-nums;
}
.vAa-table td.num { text-align: right; }
.vAa-table td.mono { font-family: 'JetBrains Mono', monospace; }
.vAa-table td.acc { color: #b8860b; }
.vAa-table td.dim { color: #5a5448; }
.vAa-table tr:hover td { background: #ede7d7; cursor: pointer; }
.vAa-table.full { border: 1px solid #1a1813; }

/* badges */
.vAa-badge {
  display: inline-block; padding: 2px 8px; font-size: 10px;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid currentColor;
}
.vAa-badge.ok   { color: #3a7548; background: #dfe8d6; border-color: #3a7548; }
.vAa-badge.bad  { color: #9e3434; background: #ecdada; border-color: #9e3434; }
.vAa-badge.idle { color: #5a5448; background: #ebe4d0; border-color: #5a5448; }

/* code blocks in console */
.vAa-quick { display: grid; grid-template-columns: 1fr 280px; gap: 24px; }
.vAa-code {
  background: #1a1813; color: #dbd5c5; padding: 18px 22px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; line-height: 1.7;
  overflow: auto; margin: 0;
  white-space: pre;
}
.vAa-code .cm { color: #6e6a5e; font-style: italic; }
.vAa-code .str { color: #a7b88b; }
.vAa-code .dim { color: #6e6a5e; font-style: italic; }
.vAa-quick-side p { font-size: 12px; color: #2a2620; margin-bottom: 10px; }

/* toolbar (sessions) */
.vAa-toolbar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0 14px; border-bottom: 1px solid #1a1813;
  margin-bottom: 20px;
}
.vAa-search {
  display: flex; align-items: center; gap: 6px;
  background: #ede7d7; border: 1px solid #c9c1ab;
  padding: 5px 10px; min-width: 320px;
  font-family: inherit;
}
.vAa-search span { color: #b8860b; }
.vAa-search input {
  border: none; background: transparent; font-family: inherit; font-size: 12px;
  color: #1a1813; flex: 1; outline: none;
}
.vAa-segment { display: flex; border: 1px solid #1a1813; }
.vAa-segment button {
  padding: 5px 12px; background: transparent; border: none; font-size: 11px;
  color: #1a1813; cursor: pointer; border-right: 1px solid #1a1813;
  text-transform: lowercase;
}
.vAa-segment button:last-child { border-right: none; }
.vAa-segment button.on { background: #1a1813; color: #f5f2ea; }

.vAa-btn {
  background: transparent; border: 1px solid #1a1813;
  padding: 6px 14px; font-size: 11px; cursor: pointer; color: #1a1813;
  text-transform: lowercase; letter-spacing: 0.02em;
  transition: background .12s, color .12s;
}
.vAa-btn:hover { background: #1a1813; color: #f5f2ea; }
.vAa-btn.primary { background: #b8860b; color: #1a1813; border-color: #b8860b; }
.vAa-btn.primary:hover { background: #1a1813; color: #b8860b; }
.vAa-btn.danger { border-color: #9e3434; color: #9e3434; }
.vAa-btn.danger:hover { background: #9e3434; color: #f5f2ea; }

/* session detail */
.vAa-tabs {
  display: flex; gap: 0; border-bottom: 1px solid #1a1813;
  margin-bottom: 24px;
}
.vAa-tabs a {
  padding: 10px 16px; font-size: 12px; color: #5a5448; cursor: pointer;
  border: 1px solid transparent; border-bottom: none; margin-bottom: -1px;
}
.vAa-tabs a:hover { color: #1a1813; }
.vAa-tabs a.on {
  border-color: #1a1813; background: #f5f2ea; color: #1a1813;
}
.vAa-grid2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.vAa-tl { display: flex; flex-direction: column; font-size: 11px; line-height: 1.5; }
.vAa-te {
  display: grid; grid-template-columns: 56px 30px 1fr; gap: 10px;
  padding: 6px 0; border-top: 1px dashed #c9c1ab;
}
.vAa-te:first-child { border-top: 1px solid #1a1813; }
.vAa-te .t { color: #5a5448; font-variant-numeric: tabular-nums; }
.vAa-te .k {
  font-size: 9px; padding: 2px 4px; text-align: center; align-self: start;
  line-height: 1; background: #ede7d7;
}
.vAa-te.nav .k { background: #d0dbe8; color: #2a4a80; }
.vAa-te.dom .k { background: #d0dbe8; color: #2a4a80; }
.vAa-te.eye .k { background: #ebd0e0; color: #7a2a5a; }
.vAa-te.mov .k { background: #d6e4c8; color: #3a7548; }
.vAa-te.key .k { background: #e8dcba; color: #8a6a10; }
.vAa-te.tab .k { background: #e8dcba; color: #8a6a10; }
.vAa-te.clk .k { background: #ecdada; color: #9e3434; }
.vAa-te.ok .k  { background: #d6e4c8; color: #3a7548; }
.vAa-te .tx { color: #1a1813; }

.vAa-meta { display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; font-size: 12px; }
.vAa-meta dt { color: #5a5448; font-size: 11px; }
.vAa-meta dd { color: #1a1813; font-variant-numeric: tabular-nums; word-break: break-all; }
.vAa-meta dd.mono { font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.vAa-meta dd.small { font-size: 10px; }

.vAa-trace { border: 1px solid #1a1813; padding: 12px 14px; background: #f5f2ea; }

/* usage chart */
.vAa-chart {
  display: grid; grid-template-columns: repeat(30, 1fr); gap: 2px;
  height: 160px; align-items: end;
  border-top: 1px solid #1a1813; border-bottom: 1px solid #1a1813;
  padding: 8px 0;
}
.vAa-bar { background: #1a1813; width: 100%; min-height: 2px; transition: background .12s; }
.vAa-bar:hover { background: #b8860b; }
.vAa-chart-axis {
  display: flex; justify-content: space-between; margin-top: 6px;
  font-size: 10px; color: #5a5448;
}

/* forms */
.vAa-form { display: grid; grid-template-columns: 160px 1fr; gap: 14px 20px; font-size: 12px; max-width: 620px; }
.vAa-form dt { color: #5a5448; padding-top: 8px; }
.vAa-form dd input, .vAa-form dd select {
  width: 100%; background: #ede7d7; border: 1px solid #c9c1ab;
  padding: 6px 10px; font-family: inherit; font-size: 12px; color: #1a1813;
  outline: none;
}
.vAa-form dd input:focus, .vAa-form dd select:focus { border-color: #b8860b; }
.vAa-form dd label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: #1a1813; }

.vAa-danger {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; border: 1px solid #9e3434; background: #f5e8e5;
  margin-bottom: 12px;
}
.vAa-danger strong { color: #9e3434; font-weight: 500; }
.vAa-danger p { font-size: 11px; color: #5a5448; margin-top: 4px; }

/* ==================== landing + pricing/docs (scoped separately) ==================== */
/* These extend the already-defined .vA-root from variant_a.jsx.
   Adding styles here for NEW landing-linked pages: pricing, docs */

.vA-page {
  width: 1280px;
  min-height: 100vh;
  background: #f5f2ea;
  color: #1a1813;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 14px; line-height: 1.6;
  margin: 0 auto;
}
.vA-page * { box-sizing: border-box; }
.vA-page h1, .vA-page h2, .vA-page h3, .vA-page p { margin: 0; font-weight: normal; }
.vA-page .hdr {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 24px 64px; border-bottom: 1px solid #1a1813;
  font-size: 13px;
}
.vA-page .nav a { margin-left: 32px; color: #1a1813; text-decoration: none; cursor: pointer; }
.vA-page .nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.vA-page .nav a.on { color: #b8860b; }
.vA-page .breadcrumb {
  padding: 12px 64px; border-bottom: 1px solid #1a1813;
  font-size: 12px; color: #5a5448;
}
.vA-page .title {
  padding: 72px 64px 40px; border-bottom: 1px solid #1a1813;
}
.vA-page .title .kicker { font-size: 11px; color: #5a5448; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.vA-page .title h1 { font-size: 64px; letter-spacing: -0.03em; line-height: 1.05; font-weight: 500; }
.vA-page .title p { max-width: 620px; color: #2a2620; margin-top: 16px; }

.vA-page .body { padding: 48px 64px; border-bottom: 1px solid #1a1813; }

/* pricing-specific */
.vA-pricing .tiers {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid #1a1813;
}
.vA-pricing .tier {
  padding: 32px 28px; border-right: 1px solid #1a1813;
  display: flex; flex-direction: column; min-height: 460px;
}
.vA-pricing .tier:last-child { border-right: none; }
.vA-pricing .tier.featured { background: #1a1813; color: #f5f2ea; }
.vA-pricing .tier.featured .acc { color: #d0b06a; }
.vA-pricing .tier.featured hr { border-color: #3a3832; }
.vA-pricing .tier h3 { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; font-weight: 500; }
.vA-pricing .tier .price { font-size: 42px; line-height: 1; letter-spacing: -0.02em; margin: 12px 0 8px; font-weight: 500; }
.vA-pricing .tier .price small { font-size: 14px; color: #5a5448; font-weight: 400; }
.vA-pricing .tier.featured .price small { color: #8a8472; }
.vA-pricing .tier .sub { font-size: 12px; color: #5a5448; }
.vA-pricing .tier.featured .sub { color: #a8a094; }
.vA-pricing .tier hr { border: none; border-top: 1px dashed #c9c1ab; margin: 20px 0 16px; }
.vA-pricing .tier ul { margin: 0; padding: 0; list-style: none; font-size: 12px; flex: 1; }
.vA-pricing .tier ul li { padding: 5px 0; padding-left: 16px; position: relative; }
.vA-pricing .tier ul li::before { content: '→'; position: absolute; left: 0; color: #b8860b; }
.vA-pricing .tier.featured ul li::before { color: #d0b06a; }
.vA-pricing .tier .cta { margin-top: 18px; }

.vA-calc {
  margin-top: 48px; padding: 28px;
  border: 1px solid #1a1813; background: #ede7d7;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.vA-calc h3 { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.vA-calc .slider-row { margin-bottom: 20px; }
.vA-calc .slider-row label { font-size: 11px; color: #5a5448; display: flex; justify-content: space-between; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.vA-calc input[type=range] {
  width: 100%; accent-color: #b8860b;
}
.vA-calc .total {
  font-size: 52px; letter-spacing: -0.02em; color: #1a1813; font-weight: 500;
}
.vA-calc .total small { font-size: 13px; color: #5a5448; font-weight: 400; }
.vA-calc .breakdown { font-size: 11px; color: #5a5448; line-height: 1.8; margin-top: 16px; }

/* docs-specific */
.vA-docs { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.vA-docs .docs-nav {
  border-right: 1px solid #1a1813; padding: 32px 28px;
  background: #ede7d7; position: sticky; top: 0; height: 100vh;
}
.vA-docs .docs-nav h5 { font-size: 11px; color: #5a5448; letter-spacing: 0.1em; text-transform: uppercase; margin: 18px 0 6px; font-weight: 500; }
.vA-docs .docs-nav h5:first-child { margin-top: 0; }
.vA-docs .docs-nav a { display: block; padding: 4px 0; font-size: 12px; color: #2a2620; cursor: pointer; }
.vA-docs .docs-nav a:hover { color: #b8860b; }
.vA-docs .docs-nav a.on { color: #b8860b; }
.vA-docs .docs-body { padding: 48px 64px 80px; max-width: 820px; }
.vA-docs h2 { font-size: 36px; letter-spacing: -0.02em; margin-bottom: 16px; font-weight: 500; line-height: 1.1; }
.vA-docs h3 { font-size: 20px; margin: 32px 0 10px; letter-spacing: -0.01em; font-weight: 500; }
.vA-docs p { max-width: 640px; color: #2a2620; margin-bottom: 14px; }
.vA-docs p code, .vA-docs li code { background: #e8e2d3; padding: 1px 5px; font-family: inherit; font-size: 12px; }
.vA-docs ul { padding-left: 20px; margin-bottom: 14px; }
.vA-docs ul li { margin-bottom: 4px; }
.vA-docs .code-block {
  background: #1a1813; color: #dbd5c5; padding: 18px 22px;
  font-size: 12px; line-height: 1.7; margin: 16px 0;
  overflow: auto; white-space: pre;
}
.vA-docs .code-block .kw { color: #d4a373; }
.vA-docs .code-block .str { color: #a7b88b; }
.vA-docs .code-block .cm { color: #6e6a5e; font-style: italic; }
.vA-docs .code-block .fn { color: #c9b37e; }

.vA-docs .callout {
  border-left: 3px solid #b8860b; background: #ede7d7;
  padding: 14px 18px; margin: 20px 0; font-size: 13px; color: #2a2620;
}
.vA-docs .callout strong { color: #b8860b; }

.vA-docs .toc-next {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid #1a1813;
}
.vA-docs .toc-next a {
  padding: 14px 18px; border: 1px solid #1a1813; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px;
}
.vA-docs .toc-next a:hover { background: #ede7d7; }
.vA-docs .toc-next .dir { font-size: 10px; color: #5a5448; letter-spacing: 0.1em; text-transform: uppercase; }
.vA-docs .toc-next .nm { font-size: 14px; color: #1a1813; }

/* =========================================================================
   ===== LANDING (Variant A) =============================================
   =========================================================================
   Developer-docs / sepia / monospace aesthetic for the variant_a.jsx
   landing. Scoped under .vA-root so landing styles never leak into the
   .vAa-* app shell above. All animations are gated behind
   @media (prefers-reduced-motion: no-preference) — the reduced-motion
   default is the final/visible state. Do NOT place emoji, gradients,
   dark-mode tokens, or rounded cards here — this is a book, not a SaaS.
   ========================================================================= */

/* ----- root wrapper: typography, color, rhythm ----- */
.vA-root {
  background: #f3ecd5;
  color: #1a1813;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02", "calt";
}
.vA-root *, .vA-root *::before, .vA-root *::after { box-sizing: border-box; }
.vA-root h1, .vA-root h2, .vA-root h3, .vA-root p, .vA-root dl, .vA-root dd {
  margin: 0; font-weight: normal;
}

/* ----- top masthead + nav ----- */
.vA-hdr {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 20px 64px; border-bottom: 1px solid #c9c1ab;
  font-size: 13px; color: #1a1813;
}
.vA-nav { display: inline-flex; align-items: baseline; }
.vA-nav a {
  margin-left: 32px; color: #1a1813; text-decoration: none;
  font-size: 13px; cursor: pointer;
}
.vA-nav a:hover { color: #b8860b; text-decoration: underline; text-underline-offset: 2px; }

/* ----- breadcrumb strip under header ----- */
.vA-breadcrumb {
  display: flex; gap: 16px; padding: 10px 64px;
  border-bottom: 1px solid #c9c1ab;
  font-size: 11px; color: #8a8572;
  letter-spacing: 0.04em;
}
.vA-breadcrumb .vA-acc { color: #b8860b; }

/* ----- generic content bar (full-bleed spacer/divider with 64px gutter) ----- */
.vA-bar {
  padding: 0 64px;
  border-bottom: 1px solid #c9c1ab;
}

/* ----- hero block ----- */
.vA-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  padding: 88px 64px 72px;
  max-width: 1280px;
  border-bottom: 1px solid #c9c1ab;
}
@media (max-width: 900px) {
  .vA-hero { grid-template-columns: 1fr; padding: 56px 32px 40px; gap: 32px; }
}

/* ----- display headline (the only Fraunces italic touch) ----- */
.vA-h1 {
  font-family: 'Fraunces', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(44px, 6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #1a1813;
  margin-bottom: 24px;
  font-feature-settings: "ss01", "dlig", "liga";
}
.vA-h1 em { font-style: italic; color: #b8860b; }

/* ----- lede (intro paragraph under h1) ----- */
.vA-lede {
  font-size: 17px; line-height: 1.55;
  color: #2a2620;
  max-width: 620px;
  margin-bottom: 28px;
}
.vA-lede a { color: #b8860b; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.vA-lede a:hover { color: #1a1813; }

/* ----- section container + number label + h2 ----- */
.vA-section {
  padding: 72px 64px;
  border-bottom: 1px solid #c9c1ab;
  max-width: 1280px;
}
@media (max-width: 900px) { .vA-section { padding: 48px 32px; } }

.vA-sec-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #b8860b;
  margin-bottom: 10px;
}
.vA-h2 {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 21px; line-height: 1.35;
  letter-spacing: 0;
  font-weight: 500;
  color: #1a1813;
  margin-bottom: 20px;
  max-width: 760px;
}

/* ----- body paragraphs, inline code, accent ----- */
.vA-p {
  font-size: 14.5px; line-height: 1.65;
  color: #1a1813;
  max-width: 720px;
  margin-bottom: 14px;
}
.vA-p + .vA-p { margin-top: 0; }
.vA-code-inline,
.vA-root code,
.vA-p code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.92em;
  background: #e8e0c7;
  color: #1a1813;
  padding: 1px 5px;
  border-radius: 2px;
}
.vA-acc { color: #b8860b; }

/* ----- links (yellow, underlined, subtle) ----- */
.vA-link,
.vA-root a {
  color: #b8860b;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}
.vA-link:hover,
.vA-root a:hover { color: #5a3d00; }

/* ----- tables (patches list, rate card, etc.) ----- */
.vA-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  margin: 16px 0 24px;
  border-top: 1px solid #c9c1ab;
  border-bottom: 1px solid #c9c1ab;
}
.vA-table thead tr { border-bottom: 1px solid #c9c1ab; }
.vA-table th {
  text-align: left;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b8860b;
  padding: 10px 12px;
  border-bottom: 1px solid #c9c1ab;
}
.vA-table th.num { text-align: right; }
.vA-table td {
  padding: 9px 12px;
  color: #1a1813;
  font-variant-numeric: tabular-nums;
  border-bottom: none;
}
.vA-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.vA-table td.dim { color: #5a5448; }
.vA-table tr + tr td { border-top: 1px dashed #d9d1b6; }
.vA-table tbody tr:hover td { background: transparent; }

/* ----- ASCII / bar-chart block ----- */
.vA-ascii {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px; line-height: 1.35;
  color: #1a1813;
  background: #e8e0c7;
  padding: 16px 20px;
  border-radius: 2px;
  white-space: pre;
  overflow-x: auto;
  margin: 16px 0;
}

/* ----- CLI / terminal block ----- */
.vA-cli {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px; line-height: 1.55;
  background: #1a1813;
  color: #f3ecd5;
  padding: 16px 20px;
  border-radius: 2px;
  white-space: pre;
  overflow-x: auto;
  margin: 16px 0;
}
.vA-cli .dol,
.vA-cli .cmd,
.vA-cli .vA-acc { color: #b8860b; }
.vA-cli .cm { color: #8a8572; font-style: italic; }

/* ----- full-width code block (multi-line) ----- */
.vA-code {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px; line-height: 1.65;
  background: #1a1813;
  color: #dbd5c5;
  padding: 18px 22px;
  border-radius: 2px;
  overflow-x: auto;
  white-space: pre;
  margin: 16px 0;
}
.vA-code .kw { color: #d4a373; }
.vA-code .str { color: #a7b88b; }
.vA-code .cm  { color: #8a8572; font-style: italic; }
.vA-code .fn  { color: #c9b37e; }

/* ----- footnote marker + block ----- */
.vA-fn {
  font-size: 11.5px; line-height: 1.6; color: #5a5448;
}
.vA-fn sup, sup.vA-fn {
  color: #b8860b;
  font-size: 0.75em;
  vertical-align: super;
  line-height: 0;
  margin: 0 2px;
  font-weight: 500;
}
.vA-footnotes {
  padding: 40px 64px 72px;
  border-top: 1px solid #c9c1ab;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px; line-height: 1.7;
  color: #5a5448;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  max-width: 1280px;
}
.vA-footnotes .vA-fn { color: #5a5448; }
.vA-footnotes .vA-fn sup { color: #b8860b; margin-right: 4px; }
@media (max-width: 900px) { .vA-footnotes { grid-template-columns: 1fr 1fr; padding: 32px; } }
@media (max-width: 600px) { .vA-footnotes { grid-template-columns: 1fr; } }

/* ----- git-log commit rows ----- */
.vA-commit {
  display: grid;
  grid-template-columns: 80px 110px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0 10px;
  border-top: 1px solid #c9c1ab;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px;
  color: #1a1813;
}
.vA-commit:first-of-type { border-top: 1px solid #c9c1ab; }
.vA-commit:last-of-type { border-bottom: 1px solid #c9c1ab; }
.vA-commit .sha {
  color: #b8860b;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.vA-commit .when {
  color: #8a8572;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.vA-commit .msg { color: #1a1813; }
@media (max-width: 700px) {
  .vA-commit { grid-template-columns: 1fr; gap: 2px; }
  .vA-commit .when { font-size: 11px; }
}

/* ----- margin sidenote (small, italic, yellow edge) ----- */
.vA-sidenote {
  border-left: 3px solid #b8860b;
  background: #e8e0c7;
  padding: 12px 16px;
  font-size: 12.5px; line-height: 1.65;
  color: #5a5448;
  font-style: italic;
  margin: 12px 0;
}
.vA-sidenote hr { border: none; border-top: 1px solid #c9c1ab; margin: 10px 0; }
.vA-sidenote .vA-acc { color: #b8860b; font-style: normal; }

/* ----- larger aside (key/value metadata list) ----- */
.vA-aside {
  border-left: 3px solid #b8860b;
  background: #e8e0c7;
  padding: 18px 22px;
  font-size: 13px; line-height: 1.7;
  color: #2a2620;
  margin: 16px 0;
}
.vA-aside dt {
  color: #8a8572;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 10px;
}
.vA-aside dt:first-child { margin-top: 0; }
.vA-aside dd { color: #1a1813; margin-top: 2px; }

/* ----- highlighted inline span (yellow highlighter effect) ----- */
.vA-highlight {
  background: linear-gradient(90deg, #f5dc7a 0%, #f5dc7a 100%);
  background-size: 100% 55%;
  background-repeat: no-repeat;
  background-position: 0 85%;
  padding: 0 2px;
  border-radius: 1px;
  color: #1a1813;
}

/* ----- two-column grid layout ----- */
.vA-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 800px) {
  .vA-two { grid-template-columns: 1fr; gap: 24px; }
}

/* ----- reveal / fade / type: reduced-motion defaults visible,
         animations only inside prefers-reduced-motion: no-preference ----- */
.vA-reveal,
.vA-fade,
.vA-type {
  opacity: 1;
  transform: none;
  clip-path: none;
  max-width: none;
}

@media (prefers-reduced-motion: no-preference) {
  .vA-reveal {
    opacity: 0;
    transform: translateY(6px);
    animation: vA-kf-reveal .6s cubic-bezier(.2,.7,.2,1) forwards;
  }
  @keyframes vA-kf-reveal {
    to { opacity: 1; transform: none; }
  }
  .vA-fade {
    opacity: 0;
    animation: vA-kf-fade .7s ease-out forwards;
  }
  @keyframes vA-kf-fade {
    to { opacity: 1; }
  }
  .vA-type {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    max-width: 0;
    animation: vA-kf-type 1.2s steps(36, end) .15s forwards;
  }
  @keyframes vA-kf-type {
    to { max-width: 40em; }
  }
}

/* ----- root-level max-width nicety: if the landing is inserted into a
         wider frame, prevent content bleed on ultrawide screens ----- */
@media (min-width: 1320px) {
  .vA-root > .vA-hdr,
  .vA-root > .vA-breadcrumb,
  .vA-root > .vA-hero,
  .vA-root > .vA-section,
  .vA-root > .vA-footnotes { max-width: 1280px; margin-left: auto; margin-right: auto; }
}

