/* Vella — concept D, round 2. Centred reading axis, proof as visuals, support visible. */
:root {
  color-scheme: dark;
  --bg: #0b0a10;
  --bg-2: #121019;
  --panel: #16131f;
  --line: rgba(196, 181, 253, .13);
  --line-2: rgba(196, 181, 253, .26);
  --text: #f4f2fb;
  --dim: #a9a5bf;
  --lav: #c4b5fd;
  --lav-deep: #9d8cf0;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1200px;
  --gutter: 1.25rem;
  --r: 10px;
}
@media (min-width: 700px) { :root { --gutter: 2.5rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.55 var(--sans); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; padding: .5rem 1rem; background: var(--lav); color: var(--bg); border-radius: 6px; }
.skip:focus { top: 1rem; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.center { text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: var(--r); font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn-primary { background: var(--lav); color: #15121f; }
.btn-primary:hover { background: #d4c9fe; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--lav); }
.btn-sm { height: 32px; padding: 0 14px; font-size: .8125rem; border-radius: 8px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 1.0625rem; border-radius: 12px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; height: 56px; background: rgba(11, 10, 16, .78); backdrop-filter: saturate(150%) blur(16px); -webkit-backdrop-filter: saturate(150%) blur(16px); border-bottom: 1px solid var(--line); }
.nav-in { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 600; text-decoration: none; letter-spacing: -.01em; }
.brand img { border-radius: 5px; }
.nav nav { display: flex; align-items: center; gap: 1.4rem; font-size: .875rem; }
.nav nav a:not(.btn) { color: var(--dim); text-decoration: none; }
.nav nav a:not(.btn):hover { color: var(--text); }
.nav nav .btn-ghost { margin-left: .2rem; }
@media (max-width: 760px) { .nav nav a:not(.btn) { display: none; } .nav nav { gap: .5rem; } }

/* hero: one vertical axis — waveform, headline, claim, action */
.hero { position: relative; padding-bottom: clamp(4rem, 10vh, 7rem); }
.wave-stage { position: relative; height: clamp(200px, 34vh, 360px); }
.wave { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-copy { position: relative; display: grid; justify-items: center; text-align: center; gap: 1.4rem; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; max-width: 13em; }
.claim { font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.3; letter-spacing: -.015em; color: var(--dim); text-wrap: balance; }
.claim b { color: var(--lav); font-weight: 600; }
.install { margin-top: .6rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; width: min(100%, 44rem); text-align: left; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.install pre { margin: 0; padding: 1rem 1.2rem; font: 500 .82rem/1.65 var(--mono); color: var(--text); white-space: pre-wrap; overflow-wrap: normal; }
.install .nb { white-space: nowrap; }
.copy { border: 0; border-left: 1px solid var(--line); background: rgba(196, 181, 253, .06); color: var(--lav); font: 600 .875rem var(--sans); padding: 0 1.3rem; cursor: pointer; transition: background-color .15s ease; }
.copy:hover { background: rgba(196, 181, 253, .14); }
.copy.done { background: var(--lav); color: #15121f; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1.2rem; }
.facts { font-size: .875rem; color: var(--dim); }

/* section headings */
h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; }
section + section { margin-top: clamp(5.5rem, 13vh, 9rem); }
.basis { margin: .9rem auto 0; text-align: center; font-size: 1.125rem; color: var(--dim); max-width: 44rem; text-wrap: balance; }
.basis span { display: inline-block; margin-left: .5rem; padding: .1rem .6rem; border: 1px solid var(--line-2); border-radius: 6px; color: var(--lav); font-size: .9375rem; }

.full { margin: 2.5rem auto 0; max-width: 60rem; }
.full summary { cursor: pointer; color: var(--lav); font-weight: 600; font-size: .9375rem; width: max-content; margin-inline: auto; list-style: none; }
.full summary::-webkit-details-marker { display: none; }
.full summary::after { content: " ↓"; }
.full[open] summary::after { content: " ↑"; }
.table-wrap { margin-top: 1.2rem; border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; background: var(--bg-2); }
.bench { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.bench th, .bench td { text-align: left; padding: .85rem .85rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.bench thead th { font-size: .8125rem; font-weight: 500; color: var(--dim); }
.bench tbody tr:last-child > * { border-bottom: 0; }
.bench tbody th { font-weight: 600; }
.bench td { font: 500 .9rem var(--mono); }
.bench td:nth-child(2) { font-family: var(--sans); color: var(--dim); }
.method { margin-top: 1rem; font-size: .9375rem; color: var(--dim); line-height: 1.55; }
.method a { color: var(--lav); text-underline-offset: .2em; }

.foot { margin-top: 4rem; padding: 2rem 0 3rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .875rem; color: var(--dim); }
.foot a { color: var(--dim); text-underline-offset: .2em; }
.foot a:hover { color: var(--text); }

@media (max-width: 700px) {
  .joules li { grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 1rem; }
  .j-bar { grid-column: 1 / -1; grid-row: 2; }
  .j-meta { display: none; }
  .basis span { display: table; margin: .5rem auto 0; }
  .install pre { font-size: .72rem; }
  h1 { font-size: 2.45rem; }
  .wave-stage { height: clamp(170px, 24vh, 220px); }
}

/* ---- round 4 ---- */
/* logo: exact Vella icon; bars follow the hero waveform's level, symmetric like the icon */
.logo .lb { transform-box: fill-box; transform-origin: center; transform: scaleY(calc(1 + var(--lv, 0) * var(--k))); }
.logo .b1 { --k: .55; } .logo .b2 { --k: .35; } .logo .b3 { --k: .18; }

/* privacy: audio stops at the edge of the Mac */
.border-scene { position: relative; margin-top: 2.5rem; height: 180px; }
.border-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.side { position: absolute; bottom: 0; font-size: .875rem; color: var(--dim); }
.side.mac { right: calc(38% + 1rem); color: var(--lav); }
.side.net { left: calc(62% + 1rem); }
.private-facts { margin-top: 1.4rem; text-align: center; font-size: 1.0625rem; color: var(--text); }
.private-facts i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--lav); margin: 0 1rem; vertical-align: middle; }

@media (max-width: 520px) { .side.mac { right: calc(38% + .5rem); } .side.net { left: calc(62% + .5rem); } }




.heart-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--text); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.heart-link svg { width: 18px; height: 18px; fill: none; stroke: var(--lav); stroke-width: 2; transition: fill .2s ease, transform .2s ease; }
.heart-link:hover svg { fill: var(--lav); transform: scale(1.12); }

/* support: the last line is the link; the voice under it wakes when the pointer comes near */
.support { text-align: center; padding: clamp(3rem, 8vh, 5rem) 0 clamp(2rem, 5vh, 3rem); }
.give-line { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }
.give { position: relative; display: inline-block; color: var(--lav); text-decoration: none; padding-bottom: .35em; transition: color .25s ease, text-shadow .25s ease; }
.give-wave { position: absolute; left: 0; right: 0; bottom: -.15em; width: 100%; height: .55em; pointer-events: none; }
.support.live .give { color: #e4dcff; text-shadow: 0 0 28px rgba(196, 181, 253, .55); }
.give:focus-visible { outline: 2px solid var(--lav); outline-offset: 6px; border-radius: 6px; }

/* ---- r7: the approved table, finished ---- */
.tuned h2, .battery h2 { margin-bottom: 2.6rem; }
.r-head, .race li { display: grid; grid-template-columns: 13.5rem minmax(0, 1fr) 9rem; gap: 1.25rem; align-items: center; }
.r-head { padding-bottom: .7rem; font-size: .8125rem; color: var(--dim); border-bottom: 1px solid var(--line); }
.r-head span:nth-child(3) { text-align: right; }
.k { display: inline-block; width: 16px; height: 6px; border-radius: 3px; margin: 0 .45rem 0 0; vertical-align: 1px; }
.k.stock { background: rgba(169, 165, 191, .45); } .k.vella { background: var(--lav); margin-left: 1.1rem; }
.race li { padding: 1.05rem 0; border-bottom: 1px solid var(--line); transition: opacity .25s ease; outline: none; }
.r-name { display: grid; }
.r-name strong { font-weight: 600; }
.r-name span { font-size: .8125rem; color: var(--dim); }
.r-bars { display: grid; gap: .55rem; padding-right: 4rem; }
.bar { position: relative; display: block; height: 9px; border-radius: 5px; }
.bar em { position: absolute; left: calc(100% + .6rem); top: 50%; transform: translateY(-50%); font-size: .95rem; font-weight: 600; font-style: normal; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bar.stock { width: var(--stock); background: rgba(169, 165, 191, .32); } .bar.stock em { color: var(--dim); font-weight: 500; }
.bar.vella { width: 100%; background: var(--lav); } .bar.vella em { color: var(--text); }
.r-gain { text-align: right; line-height: 1.15; }
.r-gain b { display: block; font-size: 1.25rem; font-weight: 700; letter-spacing: -.03em; color: var(--lav); font-variant-numeric: tabular-nums; }
.r-gain small { display: block; font-size: .8125rem; font-weight: 600; color: #9fe3c0; white-space: nowrap; }
.r-energy { text-align: right; font-size: 1.2rem; font-weight: 650; color: #9fe3c0; font-variant-numeric: tabular-nums; line-height: 1.1; }
.r-energy small { display: block; font-size: .7rem; font-weight: 500; color: var(--dim); }
.r-energy.none { color: rgba(169, 165, 191, .5); font-weight: 400; }
.js .race .bar { transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .race.in .bar { transform: scaleX(1); }
.js .race.in li:nth-child(2) .bar { transition-delay: .07s; } .js .race.in li:nth-child(3) .bar { transition-delay: .14s; }
.js .race.in li:nth-child(4) .bar { transition-delay: .21s; } .js .race.in li:nth-child(5) .bar { transition-delay: .28s; }
.js .race .bar em { opacity: 0; transition: opacity .3s ease .8s; } .js .race.in .bar em { opacity: 1; }
.race.user.linking li { opacity: .45; } .race.linking li.hit { opacity: 1; }


.battery h2 em { font-style: normal; color: var(--lav); }
.cells-wrap { max-width: 56rem; margin-inline: auto; }
.c-head, .cells li { display: grid; grid-template-columns: 16rem minmax(0, 1fr) 5.5rem 6.5rem; gap: 1.4rem; align-items: center; }
.c-head span:nth-child(3) { text-align: right; } .c-head span:first-child { grid-column: 1 / 3; }
.c-head span:nth-child(2) { display: none; }
.c-st { text-align: right; font-size: 1.05rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.c-head { padding-bottom: .7rem; font-size: .8125rem; color: var(--dim); border-bottom: 1px solid var(--line); }
.c-head span:last-child { text-align: right; color: var(--lav); }
.cells li { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.cells li:first-child { border-top: 1px solid var(--line); }
.cells li.over .cell::after { background: var(--lav); }
.c-name { font-weight: 600; }
.c-val { text-align: right; font-size: 1.35rem; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cell { position: relative; height: 30px; border: 1.5px solid rgba(196, 181, 253, .35); border-radius: 7px; padding: 4px; margin-right: 6px; }
.cell canvas { display: block; width: 100%; height: 100%; }
.cell::after { content: ""; position: absolute; right: -6px; top: 9px; width: 3px; height: 9px; border-radius: 0 2px 2px 0; background: rgba(196, 181, 253, .35); }
.cell i { display: block; height: 100%; width: var(--f); min-width: 5px; border-radius: 2px; background: var(--lav); }
.js .cells .cell i { transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.js .cells.in .cell i { transform: scaleX(1); }
.js .cells.in li:nth-child(n) .cell i { transition-delay: calc(var(--n, 0) * 70ms); }
.full { max-width: 56rem; margin: 1.8rem auto 0; }
.full summary { margin-inline: auto; }

@media (max-width: 700px) {
  .r-head { display: flex; justify-content: space-between; gap: 1rem; } .r-head span:nth-child(3) { display: none; }
  .race li { grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1rem; }
  .r-bars, .lanes { grid-column: 1 / -1; grid-row: 2; }
  .c-head, .cells li { grid-template-columns: minmax(0, 1fr) auto auto; gap: .4rem 1rem; }
  .c-head span:first-child { grid-column: 1; }
  .cell { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 600px) { .install { grid-template-columns: 1fr; } .install pre { white-space: pre-wrap; word-break: normal; overflow-wrap: normal; font-size: .7rem; padding: .9rem 1rem; } .copy { border-left: 0; border-top: 1px solid var(--line); padding: .7rem; } }


/* ===== 2.0 ===== */
.facts { margin-top: .2rem; }
.race-wrap { max-width: 60rem; margin-inline: auto; }

/* the breakdown */
.how h2 { max-width: 20em; margin-inline: auto; }
.result { max-width: 46rem; margin: 2.6rem auto 0; }
.r-cols, .metric { display: grid; grid-template-columns: minmax(0, 1fr) 7rem 7rem 8.5rem; align-items: baseline; gap: 1.2rem; }
.r-cols { padding-bottom: .6rem; font-size: .8125rem; line-height: 1.35; color: var(--dim); border-bottom: 1px solid var(--line); align-items: end; }
.r-cols span:first-child { font-size: 1rem; font-weight: 600; color: var(--text); }
.r-cols span:last-child { color: var(--lav); }
.r-cols span:nth-child(n+2) { text-align: right; }
.metric { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.m-label { font-weight: 600; }
.m-a, .m-b { text-align: right; font-size: 1.2rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.m-b { color: #e2a4a4; }
.m-vella { text-align: right; font-size: 1.85rem; font-weight: 700; letter-spacing: -.03em; color: var(--lav); font-variant-numeric: tabular-nums; }

/* battery names carry the precision */
.c-name small { white-space: nowrap; margin-left: .5rem; font-size: .8125rem; font-weight: 500; color: var(--dim); }

/* cloud reference rows in the full table: accuracy only */
.bench tr.ref td small { display: block; margin-top: .15rem; color: var(--dim); font-size: .75rem; } /* range under the estimate, so the table fits the panel */
.bench td.na { font-family: var(--sans); color: var(--dim); }
.bench tr.ref th { white-space: normal; }

/* agents */
.agents { --agents: 78rem; width: min(var(--agents), 100% - 2 * var(--gutter)); }
.agent-grid { margin: 2.6rem auto 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr) minmax(0, 1.1fr); gap: 1.1rem; align-items: stretch; }
.card { position: relative; display: grid; grid-template-rows: auto 1fr; gap: .9rem; padding: 1.1rem 1.3rem 1.3rem; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s ease; }
.card:hover { border-color: rgba(196, 181, 253, .35); }
.card-k { font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: var(--dim); }
.card pre { margin: 0; font: 500 .76rem/1.75 var(--mono); color: var(--text); overflow-x: auto; white-space: pre; }
.card .p, .card .kw { color: var(--lav); } .card .o { color: var(--dim); } .card .s { color: #9fe3c0; }
.ask { border-color: rgba(196, 181, 253, .4); background: color-mix(in srgb, var(--lav) 7%, var(--panel)); grid-template-rows: auto 1fr auto; justify-items: center; text-align: center; padding: 1.3rem 1.6rem 1.6rem; }
.ask .card-k { color: var(--lav); }
.ask-text { margin: 0; align-self: center; max-width: 24em; font-size: 1.35rem; line-height: 1.45; letter-spacing: -.015em; color: var(--text); }
.ask-text a { color: var(--lav); text-underline-offset: .2em; }
/* copy: Vella's own level bars; they speak on hover and settle into a check-mint when copied */
.ask-copy { display: inline-flex; align-items: center; gap: .75rem; padding: .7rem 1.35rem .7rem 1.1rem; border: 1px solid rgba(196, 181, 253, .55); border-radius: 10px; background: rgba(196, 181, 253, .08); color: var(--text); font: 600 .9375rem var(--sans); cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.ask-copy:hover { border-color: var(--lav); background: rgba(196, 181, 253, .16); }
.ask-copy:focus-visible { outline: 2px solid var(--lav); outline-offset: 3px; }
.lv { display: inline-flex; align-items: center; gap: 3px; height: 20px; }
.lv i { display: block; width: 3.5px; border-radius: 2px; background: var(--lav); transition: background-color .2s ease, height .2s ease; }
.lv i:nth-child(1), .lv i:nth-child(5) { height: 7px; } .lv i:nth-child(2), .lv i:nth-child(4) { height: 13px; } .lv i:nth-child(3) { height: 20px; }
.ask-copy:hover .lv i { animation: lv .9s ease-in-out infinite; }
.lv i:nth-child(2) { animation-delay: -.25s; } .lv i:nth-child(3) { animation-delay: -.5s; } .lv i:nth-child(4) { animation-delay: -.15s; } .lv i:nth-child(5) { animation-delay: -.4s; }
@keyframes lv { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }
.ask-copy.done { border-color: #9fe3c0; background: rgba(159, 227, 192, .12); color: #9fe3c0; }
.ask-copy.done .lv i { animation: none; height: 3px; background: #9fe3c0; }
@media (prefers-reduced-motion: reduce) { .ask-copy:hover .lv i { animation: none; } }
.agent-line { margin-top: 1.2rem; text-align: center; color: var(--dim); }
.agent-line code { font: 500 .9em var(--mono); color: var(--text); }
.agent-line a { color: var(--lav); text-underline-offset: .2em; margin-left: .4rem; }

@media (max-width: 1000px) {
  .lanes { padding-right: 3.8rem; }
  .agent-grid { grid-template-columns: minmax(0, 1fr); } .ask { order: -1; } .ask-text { font-size: 1.1rem; }
  
}
@media (max-width: 600px) {
  .r-cols, .metric { grid-template-columns: minmax(0, 1fr) 3.8rem 3.8rem 4.8rem; gap: .5rem; }
  .m-a, .m-b { font-size: .875rem; } .m-label { font-size: .875rem; }
  .m-vella { font-size: 1.15rem; }
  .card pre { font-size: .7rem; }
}

/* lanes: speech moving through each bar at the measured speed */
.lanes { display: grid; gap: .5rem; padding-right: 4.6rem; }
.lane { position: relative; display: block; height: 18px; }
.lane canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lane em { position: absolute; left: calc(var(--f) * 100% + .7rem); top: 50%; transform: translateY(-50%); font-size: .95rem; font-weight: 600; font-style: normal; white-space: nowrap; font-variant-numeric: tabular-nums; transition: opacity .4s ease .7s; }
.lane.stock em { color: var(--dim); font-weight: 500; } .lane.vella em { color: var(--text); font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.js .race:not(.in) .lane em { opacity: 0; }
.prec-wrap { margin-top: 2.6rem; }
.prec li .r-name strong { font-size: 1.125rem; }
.prec .r-gain b { font-size: 1.6rem; }

/* anatomy: where the model's weights are, and what stock MLX and Vella do with each part */
.anatomy { max-width: 60rem; margin: 5.5rem auto 0; }
.a-list { list-style: none; margin: 0; padding: 0; }
.a-row { display: grid; grid-template-columns: 19rem minmax(0, 1fr) minmax(0, 1fr); gap: 2.2rem; align-items: start; }
.a-head { padding-bottom: .7rem; font-size: .8125rem; color: var(--dim); border-bottom: 1px solid var(--line); }
.a-head span:last-child { color: var(--lav); }
.a-list .a-row { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.a-part { display: grid; gap: .7rem; }
.a-part strong { font-weight: 600; transition: color .2s ease; }
.a-part strong b { margin-left: .35rem; font-weight: 700; color: var(--lav); font-variant-numeric: tabular-nums; }
.a-bars { display: flex; gap: 2px; height: 26px; width: calc(var(--w) * 100%); min-width: 14px; }
.a-bars i { flex: 1 1 0; min-width: 1px; border-radius: 2px; background: var(--lav); opacity: .5; transform: scaleY(.55); transform-origin: 50% 50%;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .2s ease; transition-delay: 0s; }
.a-row p { margin: 0; font-size: .9375rem; line-height: 1.5; }
.a-row .st { color: var(--dim); } .a-row .ve { color: var(--text); }
.a-list .a-row:hover strong { color: var(--lav); }
.a-list .a-row:hover .a-bars i { opacity: 1; transform: scaleY(1); transition-delay: var(--d, 0s); }
.a-list.lit .a-row:not(:hover) { opacity: .5; }
.a-list .a-row { transition: opacity .2s ease; }
.a-link { margin-top: 1.4rem; }
.a-link a { color: var(--lav); text-underline-offset: .2em; }

/* rows answer the pointer */
.race li, .cells li { transition: background-color .2s ease; }
.race li:hover .r-name strong, .cells li:hover .c-name, .cells li:hover .c-val { color: var(--lav); }
.race li:hover .lane.vella em { color: var(--lav); }
@media (max-width: 700px) {
  .a-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8rem 1.2rem; }
  .a-head span:first-child, .a-part { grid-column: 1 / -1; }
  .a-row p { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) { .a-bars i { transition: none; } }
/* anatomy: bar length = share of weights, feed-forward = 1 */
.a-list .a-row:nth-child(1) { --w: 1; } .a-list .a-row:nth-child(2) { --w: .3126; } .a-list .a-row:nth-child(3) { --w: .1883; } .a-list .a-row:nth-child(4) { --w: .045; }
/* 404 */
.nf { display: grid; place-items: center; min-height: 100vh; margin: 0; }
.nf a { color: var(--lav); }
/* measured bar lengths, written by scripts/data.py from benchmarks.json */
/*@bars*/
#u16 .stock { --f: 0.5003; } #u16 .vella { --f: 0.9705; }
#u8 .stock { --f: 0.4685; } #u8 .vella { --f: 0.9856; }
#u4 .stock { --f: 0.4722; } #u4 .vella { --f: 1.0000; }
#m-nemotron-3-5-streaming-0-6b .stock { --f: 0.2092; } #m-nemotron-3-5-streaming-0-6b .vella { --f: 1.0000; }
#m-parakeet-v3-ultra .stock { --f: 0.5155; } #m-parakeet-v3-ultra .vella { --f: 1.0000; }
#m-parakeet-v3 .stock { --f: 0.5213; } #m-parakeet-v3 .vella { --f: 1.0000; }
#m-whisper-large-v3-turbo .stock { --f: 0.7252; } #m-whisper-large-v3-turbo .vella { --f: 1.0000; }
#m-qwen3-asr-0-6b .stock { --f: 0.8028; } #m-qwen3-asr-0-6b .vella { --f: 1.0000; }
#m-whisper-large-v3 .stock { --f: 0.8453; } #m-whisper-large-v3 .vella { --f: 1.0000; }
#m-qwen3-asr-1-7b .stock { --f: 0.8986; } #m-qwen3-asr-1-7b .vella { --f: 1.0000; }
#e-nemotron-3-5-streaming-0-6b { --s: 0.2605; }
#e-parakeet-v3-ultra { --s: 0.7242; }
#e-parakeet-v3 { --s: 0.7412; }
#e-qwen3-asr-1-7b { --s: 0.9024; }
#e-qwen3-asr-0-6b { --s: 0.9205; }
#e-whisper-large-v3 { --s: 0.9583; }
#e-whisper-large-v3-turbo { --s: 0.9512; }
/*/@bars*/
