/* v7 long-form pages: blog posts, benchmark reports and their two indexes. The words, figures and tables
   are the live pages' own; this sheet sets them in the prototype's layout. A post runs in one reading
   column under a cover; a report adds a contents column on the left; an index is a header over cards.

   Chart colour follows the system: the grey is the baseline, green the outcome with LeoTrace, and
   nothing else in a chart takes a hue. */

.article { position: relative; padding-bottom: 96px; }

/* The Leo matrix band behind the top of the page, fading down into the canvas */
.tx-band {
  position: absolute;
  inset: 0 0 auto;
  height: 340px;
  pointer-events: none;
  color: color-mix(in srgb, var(--fg-4) 60%, var(--bg));
  -webkit-mask-image: linear-gradient(180deg, black 0, color-mix(in srgb, black 60%, transparent) 40%, transparent 100%);
  mask-image: linear-gradient(180deg, black 0, color-mix(in srgb, black 60%, transparent) 40%, transparent 100%);
}
.tx-band canvas { display: block; width: 100%; height: 100%; }
.article > :not(.tx-band) { position: relative; }

/* ── The reading column ───────────────────────────────────────────────────── */

.article__wrap { max-width: calc(720px + 2 * 40px); }
.article--report .article__wrap {
  max-width: calc(var(--content) + 2 * 40px);
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  justify-content: start;
  column-gap: 72px;
}
.article--report .article__wrap > :not(.rtoc) { grid-column: 2; }
.article--index .article__wrap { max-width: calc(var(--content) + 2 * 40px); }

/* ── Header ───────────────────────────────────────────────────────────────── */

.article__head { display: grid; gap: 20px; justify-items: start; padding-block: 184px 40px; }
.article--report .article__head { padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 14px; line-height: 20px; color: var(--fg-4); }
.crumbs a { color: var(--fg-3); transition: color 120ms ease; }
.crumbs a:hover { color: var(--fg); }
.article__title { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.125; font-weight: 700; color: var(--fg); }
.article__stand { font-size: 18px; line-height: 28px; color: var(--fg-3); max-width: 720px; }
.byl { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.byl__av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; background: var(--bg-sunken); }
.byl__av img { display: block; width: 100%; height: 100%; object-fit: cover; }
.byl__av--mark { border-radius: 10px; display: grid; place-items: center; }
.byl__av--mark img { width: 22px; height: 22px; object-fit: contain; }
.byl__t { display: grid; font-size: 14px; line-height: 20px; }
.byl__t strong { font-weight: 600; color: var(--fg); }
.byl__t span { color: var(--fg-3); }

.article__cover { margin-bottom: 48px; }
.article__cover .cv { height: 400px; }

/* ── Covers: a halftone on the hue's own row tints, drawn by js/v7/covers.js ─ */

.cv { position: relative; display: block; overflow: hidden; border-radius: 12px; }
.cv--hero { border-radius: 16px; }
.cv--sm { width: 100%; height: 100%; border-radius: 8px; }
.cv--ht { background: var(--ht-bg); }
.cv--ht canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.cv--ht[data-hue='blue'] { --ht-bg: var(--lt-blue-fill-row); --ht-soft: var(--lt-blue-outline-row); --ht-ink: var(--lt-blue-accent); }
.cv--ht[data-hue='green'] { --ht-bg: var(--lt-green-fill-row); --ht-soft: var(--lt-green-outline-row); --ht-ink: var(--lt-green-accent); }
.cv--ht[data-hue='purple'] { --ht-bg: var(--lt-purple-fill-row); --ht-soft: var(--lt-purple-outline-row); --ht-ink: var(--lt-purple-accent); }
.cv--ht[data-hue='orange'] { --ht-bg: var(--lt-orange-fill-row); --ht-soft: var(--lt-orange-outline-row); --ht-ink: var(--lt-orange-accent); }
.cv--ht[data-hue='yellow'] { --ht-bg: var(--lt-yellow-fill-row); --ht-soft: var(--lt-yellow-outline-row); --ht-ink: var(--lt-yellow-accent); }

/* ── Contents, on a report ────────────────────────────────────────────────── */

.rtoc { grid-column: 1; grid-row: 1 / span 20; align-self: start; position: sticky; top: calc(var(--nav-h) + 32px); margin-top: 184px; display: grid; gap: 12px; }
.rtoc__h { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--fg-4); }
.rtoc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.rtoc a { position: relative; display: block; padding: 6px 0 6px 16px; font-size: 14px; line-height: 20px; color: var(--fg-4); transition: color 120ms ease; }
.rtoc a::before { content: ''; position: absolute; left: -1px; top: 6px; bottom: 6px; width: 2px; background: var(--fg); transform: scaleY(0); transition: transform 150ms ease; }
.rtoc a:hover { color: var(--fg-2); }
.rtoc a[aria-current='true'] { color: var(--fg); }
.rtoc a[aria-current='true']::before { transform: scaleY(1); }

/* ── Body ─────────────────────────────────────────────────────────────────── */

.post__body { display: grid; gap: 20px; font-size: 16px; line-height: 27px; color: var(--fg-2); }
.post__body > * { min-width: 0; }
.post__body h2 { margin-top: 32px; font-size: 24px; line-height: 32px; font-weight: 600; color: var(--fg); scroll-margin-top: calc(var(--nav-h) + 32px); }
.post__body h3 { margin-top: 12px; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--fg); }
.post__body ul, .post__body ol { margin: 0; padding-left: 24px; display: grid; gap: 10px; }
.post__body ul { list-style: square; }
.post__body li::marker { color: var(--fg-4); }
.post__body b, .post__body strong { font-weight: 600; color: var(--fg); }
.post__body a:not(.btn) { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-interactive); transition: text-decoration-color 120ms ease; }
.post__body a:not(.btn):hover { text-decoration-color: var(--fg); }
.post__body code { font-family: var(--mono); font-size: 0.85em; color: var(--fg); }
.post__body blockquote { margin: 8px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--fg); font-size: 22px; line-height: 32px; font-weight: 600; color: var(--fg); }

/* Key figures: each stands alone, so it is Geist, not mono */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--line); }
.stat { display: grid; align-content: start; gap: 8px; padding-top: 20px; }
.stat__n { font-size: 36px; line-height: 40px; font-weight: 700; color: var(--fg); }
.stat__l { font-size: 14px; line-height: 21px; color: var(--fg-3); }

/* Figures: bar charts drawn as HTML rows (label, bar, value), as the prototype does, so the labels stay
   14px at every width instead of scaling with a drawing. A bar's length is its value (--w, set by
   js/v7/article.js from data-w); the bar is the system's default 8px mark with round ends, the empty
   remainder is Container/Recessed, and the series are the baseline grey and the green with LeoPrevent. */
.fig { margin: 8px 0; padding: 24px 28px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); display: grid; gap: 16px; }
.fig figcaption { font-size: 13px; line-height: 20px; color: var(--fg-3); }
.bars { display: grid; gap: 20px; }
.bars__set { display: grid; gap: 10px; }
.bars__group { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--fg-4); }
.bars__row { display: grid; grid-template-columns: 140px minmax(0, 1fr) 48px; gap: 16px; align-items: center; min-height: 24px; }
.bars > .bars__row + .bars__row { margin-top: -6px; }
.bars--pairs .bars__row { grid-template-columns: 72px minmax(0, 1fr) 48px; }
/* A row with no label is the second bar of a pair, so it sits close under the first */
.bars__set > .bars__row:has(> .bars__label:empty) { margin-top: -8px; }
.bars__label { font-size: 14px; line-height: 20px; color: var(--fg-2); }
.bars__track { position: relative; height: 8px; border-radius: 4px; background: var(--lt-container-recessed); overflow: hidden; }
.bars__bar { position: absolute; inset: 0 auto 0 0; width: calc(var(--w, 0) * 1%); border-radius: 4px; background: var(--line-interactive); }
.bars__bar--lp { background: var(--lt-green-fg-status); }
.bars__value { font-family: var(--mono); font-size: 14px; line-height: 20px; color: var(--fg); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Tables: a strong rule on top, hairlines between rows, figures in mono and right aligned */
.tablewrap { overflow-x: auto; border-top: 1px solid var(--fg); }
.post__body table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.post__body th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 11px; line-height: 16px; color: var(--fg-4); padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.post__body tbody th[scope='row'] { font-family: var(--sans); font-size: 14px; line-height: 20px; color: var(--fg); white-space: normal; }
.post__body td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); color: var(--fg-2); vertical-align: top; }
.post__body tr:last-child > td, .post__body tr:last-child > th[scope='row'] { border-bottom: 0; }
.post__body td.num, .post__body th.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Code: side by side when two runs are compared, on the recessed surface */
.code-comparison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.code-example { margin: 0; min-width: 0; display: grid; gap: 10px; align-content: start; }
.code-example figcaption { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--fg-4); }
.code-example pre { margin: 0; padding: 16px; overflow-x: auto; white-space: pre; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); font-family: var(--mono); font-size: 13px; line-height: 20px; color: var(--fg); }

/* Folded detail: the full listings, and the full method and limitations */
.methodology { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.methodology > summary { cursor: pointer; padding: 14px 20px; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--fg); list-style-position: inside; }
.methodology > summary:hover { color: var(--fg); background: var(--hover); border-radius: 12px; }
.methodology[open] > summary { border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; }
.methodology > .post__body { padding: 20px; }

/* Notes: the small print of a report, on a recessed panel */
.post__notes { margin-top: 56px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-soft); display: grid; gap: 16px; font-size: 14px; line-height: 22px; color: var(--fg-3); }
.post__notes h2 { font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 400; color: var(--fg-4); }
.post__notes ol, .post__notes ul { margin: 0; padding-left: 20px; display: grid; gap: 12px; }
.post__notes li::marker { color: var(--fg-4); }
.post__notes a { color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-interactive); }
.post__notes b, .post__notes strong { font-weight: 600; color: var(--fg-2); }
.post__notes code { font-family: var(--mono); font-size: 0.85em; }

/* ── Keep reading ─────────────────────────────────────────────────────────── */

.keep { max-width: calc(720px + 2 * 40px); margin-top: 80px; display: grid; gap: 20px; }
.article--report .keep { max-width: calc(var(--content) + 2 * 40px); }
.keep__t { font-size: 24px; line-height: 32px; font-weight: 700; color: var(--fg); }
.cards2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.article--report .cards2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcard { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: center; gap: 18px; padding: 14px; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--surface); transition: border-color 120ms ease; }
.pcard:hover { border-color: var(--line-interactive); }
.pcard__cover { height: 104px; }
.pcard__body { display: grid; gap: 6px; }
.pcard__meta { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--fg-4); }
.pcard strong { font-size: 18px; line-height: 26px; font-weight: 600; color: var(--fg); }

/* ── Index pages ──────────────────────────────────────────────────────────── */

.index__head { display: grid; gap: 20px; justify-items: start; padding-block: 184px 64px; }
.index__title { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.125; font-weight: 700; color: var(--fg); }
.index__lead { font-size: 18px; line-height: 28px; color: var(--fg-3); max-width: 640px; }
.index__lead a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-interactive); }
.index__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.index__card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); transition: border-color 120ms ease; }
.index__card:hover { border-color: var(--line-strong); }
.index__cover { display: block; aspect-ratio: 16 / 9; }
.index__cover .cv { border-radius: 0; }
.index__text { display: grid; align-content: start; gap: 8px; padding: 24px 28px 28px; }
.index__cardmeta { font-size: 14px; line-height: 20px; color: var(--fg-3); }
.index__cardtitle { font-size: 18px; line-height: 26px; font-weight: 600; color: var(--fg); }
.index__cardsum { font-size: 15px; line-height: 24px; color: var(--fg-3); }
.article--index .post__body { max-width: 720px; margin-top: 96px; }

/* ── Narrow ───────────────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .article--report .article__wrap { grid-template-columns: minmax(0, 1fr); }
  .article--report .article__wrap > :not(.rtoc) { grid-column: 1; }
  .rtoc { grid-row: 2; position: static; margin: 0 0 48px; }
  /* Above a phone the contents stays: two even columns of 40px rows, not a ragged wrap */
  .rtoc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-left: 0; }
  .rtoc a { display: flex; align-items: center; min-height: 40px; padding: 0; }
  .rtoc a::before { display: none; }
  .article--report .article__head { grid-row: 1; }
  .article--report .cards2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .article__title { font-size: 32px; line-height: 40px; }
  /* As on the prototype: on a phone the report goes straight to its text, without the contents list */
  .rtoc { display: none; }
  .article__head, .index__head { padding-top: 104px; }
  .tx-band { height: 240px; }
  .article__cover .cv { height: 220px; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .code-comparison { grid-template-columns: minmax(0, 1fr); }
  .index__list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .index__text { padding: 20px 20px 24px; }
}
@media (max-width: 640px) {
  .pcard { grid-template-columns: minmax(0, 1fr); }
  .pcard__cover { height: 140px; }
  .fig { padding: 16px; }
}

/* A single headline figure in a figure panel: a number standing alone, so Geist Bold, with its
   statement under it */
.fig__n { font-size: 48px; line-height: 56px; font-weight: 700; color: var(--fg); }
.fig__n + p { font-size: 16px; line-height: 24px; color: var(--fg); }
.index__results-heading { margin-bottom: 8px; font-size: 24px; line-height: 32px; font-weight: 700; color: var(--fg); }

/* ── Phones and tablets: report header, charts and tables ─────────────────────
   The header's 184px drop and 400px cover are sized for a desktop window: a tablet takes them in
   proportion. */
@media (min-width: 761px) and (max-width: 1023px) {
  .article__head, .index__head { padding-top: 128px; }
  .article__cover .cv { height: 320px; }
}
/* Where the contents is still a column beside the report, it starts level with the shorter header */
@media (min-width: 961px) and (max-width: 1023px) {
  .rtoc { margin-top: 128px; }
}

/* Tables on phones and tablets: a figure never breaks inside itself ("17 of / 114"), and a text column
   keeps enough width to read rather than one word a line. Mono headers come up to the 12px floor. */
@media (max-width: 1023px) {
  .post__body th { font-size: 12px; }
  .post__body td.num, .post__body tbody th[scope='row'] ~ td { white-space: nowrap; }
  .post__body td:not(.num) { min-width: 112px; }
  .post__body tbody th[scope='row'] ~ td { min-width: 0; }
  /* A matrix of figures scrolls anyway, so its text columns take a wider measure and its rows stay short;
     a column of challenge numbers needs none */
  .tablewrap--wide td:not(.num):nth-child(2) { min-width: 168px; }
  .tablewrap--wide td:not(.num):first-child { min-width: 0; white-space: nowrap; }
}

/* A table too wide for its column scrolls, and says so: while more of it lies to the right the edge
   fades and a small arrow sits on the header row (js/v7/article.js sets .is-more). */
.tablewrap__frame { position: relative; }
.tablewrap__hint { display: none; }
@media (max-width: 1023px) {
  .tablewrap__frame.is-more .tablewrap {
    -webkit-mask-image: linear-gradient(90deg, black calc(100% - 56px), transparent);
    mask-image: linear-gradient(90deg, black calc(100% - 56px), transparent);
  }
  .tablewrap__hint {
    position: absolute;
    top: 8px;
    right: 0;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease;
  }
  .tablewrap__hint::before { content: ''; width: 6px; height: 6px; margin-left: -3px; border-top: 1.5px solid var(--fg-3); border-right: 1.5px solid var(--fg-3); transform: rotate(45deg); }
  .tablewrap__frame.is-more .tablewrap__hint { opacity: 1; }
}
@media (max-width: 760px) {
  /* A chart's label goes above its bar, so the bar keeps the column's width; a pair keeps its short
     Without and With labels beside the bars */
  .fig { gap: 20px; }
  .bars__row { grid-template-columns: minmax(0, 1fr) 48px; gap: 6px 12px; }
  .bars__row > .bars__label { grid-column: 1 / -1; }
  .bars__row > .bars__label:empty { display: none; }
  .bars > .bars__row + .bars__row { margin-top: 0; }
  .bars__set > .bars__row:has(> .bars__label:empty) { margin-top: -6px; }
  .bars--pairs .bars__row { grid-template-columns: 56px minmax(0, 1fr) 48px; }
  .bars--pairs .bars__row > .bars__label { grid-column: auto; }

  /* A narrow table becomes one card a row: the first cell is the card's title, every other cell its
     column heading and value. A wide matrix of figures stays a table and scrolls (above). */
  .tablewrap--stack table, .tablewrap--stack tbody, .tablewrap--stack thead { display: block; }
  .tablewrap--stack thead, .tablewrap--stack tr:first-child:has(> th:not([scope='row'])) { display: none; }
  .tablewrap--stack tr { display: grid; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .tablewrap--stack tr:last-child { border-bottom: 0; }
  .post__body .tablewrap--stack td, .post__body .tablewrap--stack th { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 16px; min-width: 0; padding: 0; border: 0; text-align: left; }
  .post__body .tablewrap--stack tr > :first-child { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--fg); }
  .post__body .tablewrap--stack td[data-label]::before { content: attr(data-label); font-family: var(--sans); font-size: 14px; line-height: 20px; color: var(--fg-3); white-space: normal; }
  .post__body .tablewrap--stack td.num { text-align: right; }
}

/* Code keeps its columns: it scrolls sideways rather than wrapping mid expression, at the block's own size */
.post__body pre code { font-size: inherit; }

/* A call to action inside the text is a primary button that may wrap, never a line wider than a phone */
.post__body .btn { height: auto; min-height: 44px; max-width: 100%; padding-block: 10px; white-space: normal; text-align: center; text-decoration: none; }

/* A table that reads well as a table on most phones, but not at 320, becomes cards only there */
@media (max-width: 400px) {
  .tablewrap--stack-sm table, .tablewrap--stack-sm tbody, .tablewrap--stack-sm thead { display: block; }
  .tablewrap--stack-sm thead, .tablewrap--stack-sm tr:first-child:has(> th:not([scope='row'])) { display: none; }
  .tablewrap--stack-sm tr { display: grid; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .tablewrap--stack-sm tr:last-child { border-bottom: 0; }
  .post__body .tablewrap--stack-sm td, .post__body .tablewrap--stack-sm th { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 16px; min-width: 0; padding: 0; border: 0; text-align: left; }
  .post__body .tablewrap--stack-sm tr > :first-child { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--fg); }
  .post__body .tablewrap--stack-sm td[data-label]::before { content: attr(data-label); font-family: var(--sans); font-size: 14px; line-height: 20px; color: var(--fg-3); white-space: normal; }
  .post__body .tablewrap--stack-sm td.num { text-align: right; }
}

/* A crumb is a 20px line; on touch its target reaches 40px without the line moving */
@media (max-width: 1023px) {
  .crumbs a { position: relative; }
  .crumbs a::after { content: ''; position: absolute; inset: -10px -4px; }
}

/* ══ Benchmarks and the blog to the website standard (Johnny, 11 Nov; the skill leotrace-website) ════════════
   Layout and type only. The index titles take the display role and the long report and post titles the
   headline role, both Medium with negative tracking, so a report title no longer runs to six lines; section
   heads in the body take the column weight; the figures and card titles follow; the heads sit 128 below the
   nav and the gaps come onto the scale. The Benchmarks eyebrow keeps its date without the box; the blog's
   "Blog" over "Blog" goes. ══════════════════════════════════════════════════════════════════════════════════ */
.article .index__title { font: var(--t-display); letter-spacing: var(--tr-display); text-wrap: balance; }
.article .article__title { font: var(--t-headline); letter-spacing: var(--tr-headline); text-wrap: balance; }
.article .index__eyebrow { font: var(--t-eyebrow); color: var(--fg-4); }
.article .index__head { gap: 16px; padding-block: 128px 48px; }
.article .article__head { gap: 16px; padding-top: 128px; }
.article--report .article__head { padding-bottom: 48px; margin-bottom: 48px; }
.article--report .article__wrap { column-gap: 64px; }
.article .post__body h2, .article .index__results-heading { font: 520 24px/30px var(--sans); letter-spacing: var(--tr-headline-col); }
.article .post__body h3 { font-weight: 500; }
.article .stat__n { font-weight: 520; letter-spacing: var(--tr-headline-col); }
.article .fig__n { font: 520 48px/50px var(--sans); letter-spacing: var(--tr-headline); }
.article :is(.pcard strong, .index__cardtitle) { font: var(--t-title); }
.article .post__body :is(ul, ol) { gap: 8px; }
.article .fig { padding: 24px 32px; }
.article .methodology > summary { padding: 16px 20px; }
@media (max-width: 760px) {
  .article .index__head { padding-block: 64px 32px; }
  .article .article__head { padding-top: 64px; }
  .article--report .article__head { padding-bottom: 32px; margin-bottom: 32px; }
  .article .fig { padding: 16px; }
}
.article ~ * .keep__t, .keep .keep__t { font: 520 24px/30px var(--sans); letter-spacing: var(--tr-headline-col); }
.article .post__notes { margin-top: 48px; padding: 24px 32px; }

/* SVG bar charts (BaxBench, 12 Nov): the results pages draw most charts as HTML bars (.bars); a chart that arrives
   as SVG takes the same colours: grey without LeoPrevent, green with it, quiet labels and gridlines */
.fig svg { display: block; width: 100%; height: auto; }
.fig svg .bar--raw { fill: var(--line-interactive); }
.fig svg .bar--lp { fill: var(--lt-green-fg-status); }
.fig svg .bar--track { fill: var(--lt-container-recessed); }
.fig svg .chart-label { fill: var(--fg-2); font-family: var(--sans); font-size: 14px; }
.fig svg .chart-value { fill: var(--fg); font-family: var(--mono); font-size: 13px; }
.fig svg .chart-group { fill: var(--fg-4); font-family: var(--mono); font-size: 11px; }
.fig svg .chart-legend { fill: var(--fg-3); font-family: var(--sans); font-size: 13px; }
.fig svg .chart-grid { stroke: var(--line); stroke-width: 1; }
/* On the benchmarks index the findings end on their call to action, then the results open with room above */
.post__body + .index__results-heading { margin-top: 72px; }
