/* Long-form insight articles (static, data-driven). Self-contained: the
   article brings its own type and components, so it looks the same inside
   any site chrome. Selectors are scoped under .insight-page (the body class)
   so they win over the shared sheets on specificity rather than on order. */
.insight-page {
  --ink: #1a1a14;
  --ink-2: #575750;
  --ink-3: #6a6a61;
  --gold: #F5B800;
  --gold-text: #7d5f00;
  --paper: #f5f5f3;
  --paper-2: #eaeae5;
  --rule: rgba(26, 26, 20, .12);
  --rule-2: rgba(26, 26, 20, .24);
  --gutter: clamp(20px, 5vw, 40px);
  --col: 700px;
  --wide: 1140px;
  --better: #F5B800;
  --same: #cfcfc4;
  --worse: #1a1a14;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
/* The site-wide scanline and grid overlays would sit on top of the charts. */
body.insight-page::before, body.insight-page::after { display: none; }
.insight-page .insight { font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); -webkit-font-smoothing: antialiased; }
.insight-page .insight :is(h1, h2, h3, h4) { font-family: var(--font-body); font-weight: 600; text-transform: none; text-wrap: balance; }
.insight-page .insight-cta .btn { min-height: 48px; padding: 14px 25px; border-radius: 100px; font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; box-shadow: none; }
.insight-page .insight-cta .btn-primary { color: var(--ink); background: var(--gold); border: 1px solid var(--gold); }
.insight-page .insight-cta .btn-primary:hover { background: #e1a900; border-color: #e1a900; box-shadow: none; }
.insight-page .product-text-link { padding: 8px 0; border-bottom: 1px solid transparent; color: var(--ink); font-size: 16px; font-weight: 500; text-decoration: none; }
.insight-page .product-text-link:hover { border-bottom-color: currentColor; }
.insight-page .product-text-link span { margin-left: 8px; }
.insight-page .visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.insight-page .insight-col { width: min(var(--col), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.insight { padding-bottom: 72px; }

/* Opening */
.insight-page .insight-hero { padding: clamp(118px, 13vw, 168px) 0 0; }
.insight-page .insight-kicker { display: flex; gap: 10px; align-items: baseline; margin: 0 0 24px; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--ink-2); }
.insight-page .insight-kicker a { color: var(--gold-text); text-decoration: none; border-bottom: 1px solid transparent; }
.insight-page .insight-kicker a:hover { border-bottom-color: currentColor; }
.insight-page .insight-kicker span { color: var(--ink-3); font-weight: 400; }
.insight-page .insight-hero h1 { margin: 0 0 26px; font-size: clamp(40px, 5.4vw, 74px); line-height: 1.02; letter-spacing: -.055em; font-weight: 600; text-wrap: balance; }
.insight-page .insight-dek { margin: 0; font-size: clamp(19px, 1.75vw, 23px); line-height: 1.5; color: var(--ink-2); }
.insight-page .insight-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 26px 0 0; font-size: 14px; color: var(--ink-3); }
.insight-page .insight-meta span { color: var(--rule-2); }
.insight-hero-figure { width: min(var(--wide), calc(100% - 2 * var(--gutter))); margin: clamp(40px, 6vw, 64px) auto 0; }
.weights-field { position: relative; container-type: inline-size; }
.weights-canvas { display: block; width: 100%; height: auto; aspect-ratio: 200 / 50; }
/* Same breakpoints as the grid sizes in components/weight-edit-study.js. */
@container (max-width: 899.98px) { .weights-canvas { aspect-ratio: 125 / 80; } }
@container (max-width: 559.98px) { .weights-canvas { aspect-ratio: 1 / 1; } }
.weights-callout { position: absolute; left: var(--cx, 60%); top: var(--cy, 50%); margin: 0; padding: 10px 14px; transform: translate(-50%, calc(-100% - 22px)); background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.35; white-space: nowrap; border-radius: 8px; opacity: 0; transition: opacity .6s ease, transform .6s ease; pointer-events: none; }
.weights-callout::after { content: ''; position: absolute; left: 50%; bottom: -16px; height: 16px; border-left: 1px solid var(--ink); }
.weights-callout strong { display: block; font-weight: 600; color: var(--gold); }
.weights-callout span { color: #c9cabf; }
.weights-field.is-lit .weights-callout { opacity: 1; transform: translate(-50%, calc(-100% - 16px)); }
.weights-field.is-flipped .weights-callout { transform: translate(-50%, 22px); }
.weights-field.is-flipped.is-lit .weights-callout { transform: translate(-50%, 16px); }
.weights-field.is-flipped .weights-callout::after { bottom: auto; top: -16px; }
.insight-hero-figure figcaption { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--ink-3); max-width: 760px; }

/* Reading column */
.insight-page .insight-col > p, .insight-page .insight-col > ul > li, .insight-page .insight-col > ol > li, .insight-page .insight-lessons p { font-size: 19px; line-height: 1.72; color: var(--ink); }
.insight-page .insight-col > p { margin: 0 0 22px; }
.insight-page .insight-body figure p { margin: 0; }
.insight-page .insight-body h2 { margin: 84px 0 22px; font-size: clamp(30px, 3.3vw, 42px); line-height: 1.1; letter-spacing: -.045em; font-weight: 600; text-wrap: balance; }
.insight-page .insight-body h3 { margin: 46px 0 14px; font-size: 23px; line-height: 1.25; letter-spacing: -.025em; font-weight: 600; }
.insight-page .insight-body a:not(.btn):not(.product-text-link) { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.insight-page .insight-body a:not(.btn):not(.product-text-link):hover { text-decoration-color: var(--ink); }
.insight-page .insight-body strong { font-weight: 600; }
/* Long bare URLs (the Hugging Face link) must wrap on phones. */
.insight-page .insight-body a { overflow-wrap: break-word; }
.insight-page .insight-questions, .insight-page .insight-steps, .insight-page .insight-list { margin: 0 0 26px; padding: 0; list-style: none; counter-reset: q; }
.insight-page .insight-questions li, .insight-page .insight-steps li { position: relative; padding: 16px 0 16px 46px; border-top: 1px solid var(--rule); counter-increment: q; }
.insight-page .insight-questions li:last-child, .insight-page .insight-steps li:last-child { border-bottom: 1px solid var(--rule); }
.insight-page .insight-questions li::before, .insight-page .insight-steps li::before { content: counter(q); position: absolute; left: 0; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 14px; font-weight: 700; line-height: 28px; text-align: center; }
.insight-page .insight-list li { position: relative; padding: 6px 0 6px 22px; }
.insight-page .insight-list li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.insight-page .insight-summary { margin-top: clamp(48px, 6vw, 72px); padding: 26px 30px 12px; background: #fff; border-left: 4px solid var(--gold); }
.insight-page .insight-summary h2 { margin: 0 0 12px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-2); }
.insight-page .insight-summary ul { margin: 0; padding: 0; list-style: none; }
.insight-page .insight-summary li { position: relative; padding: 0 0 16px 22px; font-size: 17px; line-height: 1.6; }
.insight-page .insight-summary li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* Figures */
.insight-figure { width: min(780px, calc(100% - 2 * var(--gutter))); margin: 60px auto 64px; }
.insight-figure-wide { width: min(var(--wide), calc(100% - 2 * var(--gutter))); }
.figure-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding-top: 14px; margin-bottom: 20px; border-top: 2px solid var(--ink); }
.insight-page .figure-kicker { flex: 0 0 auto; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold-text); }
.insight-page .figure-kicker span { margin-left: 8px; padding: 2px 8px; border-radius: 20px; background: var(--gold); color: var(--ink); letter-spacing: .04em; }
.insight-page .insight-body .figure-title { flex: 1 1 260px; margin: 0; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
.figure-replay { flex: 0 0 auto; padding: 6px 14px; border: 1px solid var(--rule-2); border-radius: 30px; background: transparent; color: var(--ink); font: 500 13px var(--font-body); cursor: pointer; }
.figure-replay:hover { border-color: var(--ink); }
.figure-replay:focus-visible, .steer-controls input:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.insight-page .insight-figure figcaption { max-width: 760px; margin: 16px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.insight-page .insight-figure figcaption a { color: inherit; }
.insight-page .figure-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; padding: 0; list-style: none; }
.insight-page .figure-legend li { padding: 0; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.figure-legend .dot, .figure-legend .swatch { display: inline-block; width: 11px; height: 11px; margin-right: 8px; vertical-align: -1px; }
.figure-legend .dot { border-radius: 50%; }
.dot-china { background: #c2c2b6; }
.dot-qwen { background: #85857a; }
.dot-other { border: 1.5px solid #6a6a61; }
.dot-ours-before { background: var(--ink); }
.dot-ours-after { background: var(--gold); box-shadow: 0 0 0 1.5px var(--ink); }
.swatch { border-radius: 2px; }
.swatch-before { background: #c9c9bd; }
.swatch-after { background: var(--ink); }
.swatch-better { background: var(--better); }
.swatch-same { background: var(--same); }
.swatch-worse { background: var(--worse); }

.figure-data { margin-top: 18px; }
.figure-data summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 14px; }
.insight-page .insight-figure table { width: 100%; border-collapse: collapse; font-size: 14px; }
.insight-page .insight-figure th, .insight-page .insight-figure td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; font-weight: 400; }
.insight-page .insight-figure thead th { font-size: 12px; font-weight: 600; letter-spacing: .03em; color: var(--ink-2); border-bottom-color: var(--rule-2); }
.insight-page .insight-figure td:not(:first-child) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.insight-page .insight-figure tr.is-ours td { font-weight: 600; }

/* Shared chart surface (SVG drawn by components/weight-edit-study.js) */
.wse-chart { position: relative; }
.wse-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.wse-svg text { font-family: var(--font-body); font-size: 12px; fill: var(--ink-2); }
.wse-svg .axis-title { font-size: 12px; font-weight: 600; fill: var(--ink); }
.wse-svg .grid line { stroke: var(--rule); }
.wse-svg .grid .is-zero { stroke: var(--rule-2); }
.chart-tip { position: absolute; z-index: 3; min-width: 150px; padding: 9px 12px; border-radius: 8px; background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.45; pointer-events: none; opacity: 0; transform: translate(-50%, calc(-100% - 12px)); transition: opacity .15s ease; }
.chart-tip strong { display: block; font-weight: 600; }
.chart-tip span { color: #c9cabf; }
.chart-tip.is-on { opacity: 1; }
.leaderboard-chart { height: clamp(380px, 46vw, 540px); }

/* Figure 2: steering illustration */
.steer-chart { height: clamp(260px, 34vw, 340px); }
.steer-controls { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: 14px; }
.steer-controls label { font-weight: 600; }
.steer-controls input[type="range"] { flex: 1 1 auto; max-width: 360px; accent-color: var(--ink); }
.steer-controls output { min-width: 3ch; font-variant-numeric: tabular-nums; font-weight: 600; }

/* Figure 3: paired bars */
.pair-bars { display: grid; gap: 26px; }
.pair-row { display: grid; grid-template-columns: minmax(180px, .9fr) 2fr; gap: 6px 24px; align-items: center; }
.insight-page .pair-label { grid-row: span 3; margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.insight-page .pair-label span { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.pair-track { display: flex; align-items: center; gap: 10px; height: 22px; }
.pair-track b { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pair-bar { display: block; flex: 0 0 auto; width: calc(var(--w) * .82); height: 100%; border-radius: 0 3px 3px 0; transform-origin: left center; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.pair-bar.is-before { background: #c9c9bd; }
.is-good .pair-bar.is-after { background: var(--gold); }
.is-bad .pair-bar.is-after { background: var(--ink); }
.pair-row .pair-track:nth-of-type(3) .pair-bar { transition-delay: .35s; }
.insight-page .pair-change { margin: 2px 0 0; font-size: 13px; font-weight: 600; }
.is-good .pair-change { color: var(--gold-text); }
.is-bad .pair-change { color: var(--ink); }
.wse-armed:not(.is-visible) .pair-bar { transform: scaleX(0); }

/* Figure 4: rounding number line */
.rounding-chart { height: 190px; }
.wse-svg .bf16-line { stroke: var(--ink); stroke-width: 1.5; }
.wse-svg .bf16-tick { stroke: var(--ink); stroke-width: 2; }
.wse-svg .bf16-intended { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.wse-svg .bf16-stored { fill: var(--gold); stroke: var(--ink); stroke-width: 1.5; }
.wse-svg .bf16-shift { stroke: var(--gold-text); stroke-width: 1.5; fill: none; }

/* Figure 5: dark band with the attempt grid */
.insight-page .insight-band { margin: 96px 0 0; padding: 1px 0 72px; background: #161713; color: var(--paper); --rule: rgba(245, 245, 243, .14); --rule-2: rgba(245, 245, 243, .3); }
.insight-page .insight-band h2 { color: var(--paper); }
.insight-page .insight-band p, .insight-page .insight-band li { color: #d6d7cf; }
.insight-page .insight-band .figure-head { border-top-color: var(--paper); }
.insight-page .insight-band .figure-kicker { color: var(--gold); }
.insight-page .insight-band .figure-title { color: var(--paper); }
.insight-page .insight-band .insight-figure figcaption, .insight-page .insight-band .figure-legend li { color: #b9bbb0; }
.insight-band + section h2 { margin-top: 84px; }
.attempts { --base: .8914; display: grid; grid-auto-flow: column; grid-template-columns: 210px; grid-auto-columns: minmax(0, 1fr); grid-template-rows: 26px 128px repeat(5, 32px); gap: 4px 3px; }
.attempts-group { display: contents; }
.attempts-cell { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; font-size: 12px; }
.attempts-labels .attempts-cell { justify-content: flex-start; padding-right: 14px; color: #c3c5ba; font-size: 13px; line-height: 1.2; }
.attempts-labels .attempts-score-label { align-items: flex-end; padding-bottom: 6px; }
.label-short { display: none; }
.attempts-n { color: #b9bbb0; font-variant-numeric: tabular-nums; }
.attempts-score { align-items: flex-end; }
.attempts-score i { position: absolute; left: 22%; right: 22%; bottom: 0; height: calc(var(--v) * 100%); background: #8b8d80; border-radius: 2px 2px 0 0; transform-origin: bottom; transition: transform .9s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 45ms); }
.attempts-score b { position: absolute; left: 0; right: 0; bottom: calc(var(--v) * 100% + 4px); font-size: 10px; font-weight: 500; text-align: center; color: #b9bbb0; font-variant-numeric: tabular-nums; transition: opacity .4s ease calc(var(--i, 0) * 45ms + .5s); }
.attempts-score::after { content: ''; position: absolute; left: -2px; right: -2px; bottom: calc(var(--base) * 100%); border-top: 1px dashed rgba(245, 245, 243, .55); }
.attempts-check { border-radius: 4px; transition: background-color .35s ease calc(var(--i, 0) * 45ms + .3s), color .35s ease calc(var(--i, 0) * 45ms + .3s); }
.attempts-check.is-pass { background: #353a2f; color: #8d9483; }
.attempts-check.is-fail { background: #e0694f; color: #1a1a14; }
.attempts-check::before { font-size: 13px; font-weight: 700; line-height: 1; }
.attempts-check.is-pass::before { content: '✓'; }
.attempts-check.is-fail::before { content: '×'; font-size: 16px; }
.is-selected .attempts-n { color: var(--gold); font-weight: 700; }
.is-selected .attempts-score i { background: var(--gold); }
.is-selected .attempts-score b { color: var(--gold); font-weight: 700; }
.is-selected .attempts-cell { box-shadow: inset 0 0 0 1.5px var(--gold); }
.is-selected .attempts-score { box-shadow: none; }
.wse-armed:not(.is-visible) .attempts-score i { transform: scaleY(0); }
.wse-armed:not(.is-visible) .attempts-score b { opacity: 0; }
.wse-armed:not(.is-visible) .attempts-check { background: #2a2d25; color: transparent; }
.swatch-pass { background: #353a2f; }
.swatch-fail { background: #e0694f; }
.swatch-selected { box-shadow: inset 0 0 0 2px var(--gold); }
.swatch-baseline { height: 0 !important; border-top: 1px dashed rgba(245, 245, 243, .7); border-radius: 0; vertical-align: 3px !important; }

/* Figure 6: one square per question */
.waffle { display: grid; grid-template-columns: repeat(50, minmax(0, 1fr)); gap: 3px; }
.waffle i { aspect-ratio: 1; border-radius: 2px; background: var(--c); transition: background-color .45s ease calc(var(--i) * 2.4ms); }
.waffle .is-better { --c: var(--better); }
.waffle .is-same { --c: var(--same); }
.waffle .is-worse { --c: var(--worse); }
.wse-armed:not(.is-visible) .waffle i { background: #e2e2da; }
.insight-page .waffle-legend li { font-size: 14px; color: var(--ink); }
.waffle-legend strong { font-weight: 700; font-variant-numeric: tabular-nums; }

/* Figure 7: target scale, interval plot and table */
.results-target { padding-bottom: 28px; margin-bottom: 26px; border-bottom: 1px solid var(--rule); }
.insight-page .results-target-label { margin: 0 0 18px; font-size: 15px; font-weight: 600; }
.insight-page .results-target-label span, .insight-page .forest-label span { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); }
.results-scale { position: relative; height: 92px; margin: 0 14px; }
.results-scale::before { content: ''; position: absolute; left: 0; right: 0; top: 44px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, #f7e3a1, #e7e7de 35%, #d5d5ca); }
.results-target-line { position: absolute; left: var(--target); top: 26px; height: 42px; border-left: 2px dashed var(--gold-text); }
.results-arrow { position: absolute; top: 46px; left: var(--to); width: calc(var(--from) - var(--to)); height: 2px; background: var(--ink); transform-origin: right center; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1) .3s; }
.results-arrow::before { content: ''; position: absolute; left: -2px; top: -5px; border: 6px solid transparent; border-right: 9px solid var(--ink); border-left: 0; }
.results-point { position: absolute; top: 0; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); }
.results-point b { height: 22px; margin-bottom: 14px; font-size: 16px; line-height: 22px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.results-point i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; }
.results-point span { margin-top: 5px; font-size: 12px; color: var(--ink-2); }
.results-point.is-before { left: var(--from); }
.results-point.is-after { left: var(--to); transition: left 1.1s cubic-bezier(.2, .7, .2, 1) .3s, opacity .3s ease .3s; }
.results-point.is-after i { background: var(--gold); }
.results-ticks { position: absolute; left: 0; right: 0; bottom: -2px; display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); }
.results-ticks span { width: 0; display: flex; justify-content: center; }
.insight-page .results-target-note { margin: 14px 0 0; font-size: 13px; color: var(--ink-2); }
.wse-armed:not(.is-visible) .results-arrow { transform: scaleX(0); }
.wse-armed:not(.is-visible) .results-point.is-after { left: var(--from); opacity: 0; }

.forest { --label: 230px; --value: 140px; }
.forest-head, .forest-row, .forest-foot { display: grid; grid-template-columns: var(--label) minmax(0, 1fr) var(--value); gap: 0 20px; align-items: center; }
.forest-head { margin-bottom: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.forest-head > span:first-child { grid-column: 1; }
.forest-axis { grid-column: 2; position: relative; height: 18px; font-weight: 400; }
.forest-axis span { position: absolute; left: var(--x); transform: translateX(-50%); font-variant-numeric: tabular-nums; }
.forest-axis span:first-child { transform: none; }
.forest-row { padding: 12px 0; border-top: 1px solid var(--rule); }
.insight-page .forest-label { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
.forest-track { position: relative; height: 26px; }
.forest-track::before { content: ''; position: absolute; left: var(--zero); top: -13px; bottom: -13px; border-left: 1px solid var(--rule-2); }
.forest-ci { position: absolute; top: 11px; left: var(--lo); width: calc(var(--hi) - var(--lo)); height: 4px; border-radius: 4px; background: #c9c9bd; transform-origin: var(--o) center; transition: transform .9s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 90ms); }
.forest-dot { position: absolute; top: 6px; left: var(--x); width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--ink); border: 2px solid #fff; transition: opacity .45s ease calc(var(--i) * 90ms + .2s), transform .45s ease calc(var(--i) * 90ms + .2s); }
.forest-dot.is-up { background: var(--gold); border-color: var(--ink); }
.insight-page .forest-value { margin: 0; font-size: 14px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.forest-foot { margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.forest-foot span { grid-row: 1; grid-column: 2; }
.forest-foot span:first-child { justify-self: start; }
.forest-foot span:last-child { justify-self: end; }
.wse-armed:not(.is-visible) .forest-ci { transform: scaleX(0); }
.wse-armed:not(.is-visible) .forest-dot { opacity: 0; transform: scale(.4); }
.results-table { margin-top: 30px; }
.insight-page .results-table caption { caption-side: top; text-align: left; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.insight-page .results-table th span, .insight-page .results-table td span { display: block; font-size: 12px; color: var(--ink-3); }
.insight-page .results-table td span { display: inline; }
.insight-page .results-table tr.is-target th, .insight-page .results-table tr.is-target td { font-weight: 600; }

/* Closing sections */
.insight-lessons > div { position: relative; padding: 4px 0 6px 26px; margin-bottom: 18px; border-left: 3px solid var(--gold); }
.insight-page .insight-lessons h3 { margin: 0 0 8px; font-size: 21px; }
.insight-page .insight-lessons p { margin: 0; }
.insight-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin: 34px 0 0; }
.insight-page .insight-notes h2, .insight-page .insight-sources h2 { margin-top: 72px; font-size: 24px; letter-spacing: -.03em; }
.insight-page .insight-notes li, .insight-page .insight-sources li, .insight-page .insight-sources p { font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.insight-page .insight-notes ul, .insight-page .insight-sources ol { padding-left: 20px; margin: 0; }
.insight-page .insight-notes li, .insight-page .insight-sources li { margin-bottom: 10px; }
.insight-page .insight-notes strong { color: var(--ink); }
.insight-page .insight-fineprint { margin-top: 18px; font-size: 13px; }
.insight-page .insight-back { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--rule); }
.insight-page .insight-back a { font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; }
.insight-page .insight-back a:hover { color: var(--gold-text); }

@media (max-width: 760px) {
  .insight-page .insight-col > p, .insight-page .insight-col > ul > li, .insight-page .insight-col > ol > li, .insight-page .insight-lessons p { font-size: 17px; }
  .insight-page .insight-body h2 { margin-top: 64px; }
  .insight-page .insight-summary { padding: 22px 20px 8px; }
  .insight-page .insight-summary li { font-size: 16px; }
  .weights-callout { font-size: 12px; white-space: normal; width: max-content; max-width: 220px; }
  .pair-row { grid-template-columns: 1fr; }
  .insight-page .pair-label { grid-row: auto; }
  .attempts { grid-auto-flow: row; grid-template-columns: 30px minmax(0, 1fr) repeat(5, 30px); grid-template-rows: none; grid-auto-rows: 30px; grid-auto-columns: auto; gap: 3px 4px; }
  .attempts-labels .attempts-cell { padding: 0; justify-content: center; font-size: 10.5px; font-weight: 600; text-align: center; }
  .attempts-labels .attempts-score-label { justify-content: flex-start; align-items: center; padding: 0 0 0 4px; }
  .label-long { display: none; }
  .label-short { display: inline; }
  .attempts-score { justify-content: flex-start; align-items: center; }
  .attempts-score i { left: 0; right: auto; top: 9px; bottom: 9px; height: auto; width: calc(var(--v) * 78%); border-radius: 0 2px 2px 0; transform-origin: left center; }
  .attempts-score b { left: calc(var(--v) * 78% + 5px); right: auto; bottom: auto; top: 50%; transform: translateY(-50%); }
  .attempts-score::after { left: calc(var(--base) * 78%); right: auto; top: -2px; bottom: -2px; border-top: 0; border-left: 1px dashed rgba(245, 245, 243, .55); }
  .wse-armed:not(.is-visible) .attempts-score i { transform: scaleX(0); }
  .waffle { grid-template-columns: repeat(25, minmax(0, 1fr)); gap: 2px; }
  .insight-page .results-table th, .insight-page .results-table td { padding-right: 10px; font-size: 13px; }
  .insight-page .results-table th:nth-child(2), .insight-page .results-table td:nth-child(2) { display: none; }
  .insight-page .results-table td span { display: block; }
  .forest { --label: 1fr; --value: auto; }
  .forest-head, .forest-row, .forest-foot { grid-template-columns: minmax(0, 1fr) auto; }
  .forest-head > span:first-child { grid-column: 1 / -1; margin-bottom: 4px; }
  .forest-axis { grid-column: 1 / -1; grid-row: 2; }
  .insight-page .forest-label { grid-column: 1; }
  .insight-page .forest-value { grid-column: 2; grid-row: 1; }
  .forest-track { grid-column: 1 / -1; margin-top: 10px; }
  .forest-foot span { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .weights-callout, .pair-bar, .attempts-score i, .attempts-score b, .attempts-check, .waffle i, .results-arrow, .results-point.is-after, .forest-ci, .forest-dot { transition: none !important; }
}
