/* Results presentation: quiet research typography, shared benchmark data. */
.section-kicker { display: block; font-size: 11px; line-height: 1.5; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #6f7b8a; }
.results-section > .container { width: min(1400px, calc(100% - 64px)); }
.results-overview { max-width: 1120px; margin: 0 auto 44px; }
.rank-summary { display: flex; align-items: center; gap: 36px; padding: 24px 0 30px; margin-bottom: 28px; border-top: 1px solid #e1e7ed; border-bottom: 1px solid #e1e7ed; }
.rank-summary-copy h3 { font-size: 19px; margin-top: 7px; }
.rank-change { display: flex; align-items: center; gap: 18px; font-size: 43px; line-height: 1.1; letter-spacing: -1.6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rank-change > span:first-child { color: #929ca8; font-weight: 400; }
.rank-change .rank-arrow { color: #a6b1bd; font-size: 25px; }
.rank-change strong { color: #245ca6; font-weight: 700; }
.rank-summary > p { margin-left: auto; border-left: 1px solid #e1e7ed; padding-left: 30px; font-size: 14px; line-height: 1.8; color: #414d5b; }
.rank-summary > p > span { color: #6d7784; font-size: 12px; }
.benchmark-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.benchmark-card { --benchmark-ink: #245ca6; --benchmark-wash: #f0f5fc; min-width: 0; border: 1px solid #dfe5ec; border-radius: 12px; padding: 26px 28px 18px; background: #fff; }
.benchmark-card.games { --benchmark-ink: #287564; --benchmark-wash: #eff7f4; }
.benchmark-card-heading { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.benchmark-card-heading h3 { margin-top: 7px; font-size: 21px; letter-spacing: -.35px; }
.benchmark-number { color: #a5aeb9; font-size: 12px; line-height: 1.7; font-variant-numeric: tabular-nums; }
.benchmark-score { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 28px 0 24px; }
.score-value { display: block; color: var(--benchmark-ink); font-size: 56px; line-height: 1; font-weight: 650; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.score-label { display: block; margin-top: 9px; color: #687585; font-size: 12px; }
.score-label > span { margin-left: 5px; color: #97a3b1; }
.score-gain { padding: 12px 17px; border-radius: 8px; background: var(--benchmark-wash); text-align: right; }
.score-gain strong { display: block; font-size: 21px; line-height: 1.2; color: var(--benchmark-ink); font-variant-numeric: tabular-nums; }
.score-gain > span { display: block; margin-top: 5px; color: #718091; font-size: 10px; }
.highlight-table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 12px; font-variant-numeric: tabular-nums; line-height: 1.45; }
.highlight-table th, .highlight-table td { padding: 12px 7px; text-align: right; border-top: 1px solid #e9edf2; }
.highlight-table th:first-child { text-align: left; padding-left: 10px; }
.highlight-table thead th { font-size: 10px; font-weight: 500; color: #68788a; padding-block: 10px; }
.highlight-table tbody th { font-size: 11px; font-weight: 500; color: #566170; }
.highlight-table td { color: #566170; }
.highlight-model-note { display: block; margin-top: 2px; color: #75818f; font-size: 10px; font-weight: 400; }
.highlight-table .ours > * { color: var(--benchmark-ink); font-weight: 700; background: var(--benchmark-wash); border-top-color: transparent; }
.highlight-table .ours > :first-child { border-radius: 6px 0 0 6px; }
.highlight-table .ours > :last-child { border-radius: 0 6px 6px 0; }
.highlights-caption { margin-top: 16px; color: #87919e; text-align: center; font-size: 11px; }

/* The complete manuscript table stays expanded, with a pinned model column. */
.main-table-panel { border: 1px solid #dce3eb; border-radius: 12px; overflow: hidden; background: #fff; }
.table-heading { margin: 0; padding: 24px 26px 22px; align-items: center; }
.table-heading h3 { margin-top: 6px; font-size: 19px; letter-spacing: -.2px; }
.table-coverage { font-size: 11px; color: #6a7788; padding: 6px 10px; border: 1px solid #e3e8ef; border-radius: 6px; }
.table-coverage > span { margin: 0 7px; color: #c0c7d0; }
.table-scroll-hint { margin: -6px 26px 16px; font-size: 11px; }
.results-table { min-width: 1180px; border-top: 1px solid #e0e6ed; border-bottom: 0; }
.results-table .model-col { width: 196px; }
.results-table .date-col { width: 56px; }
.results-table .size-col { width: 88px; }
.results-table .metric-col { width: 66px; }
.results-table .rank-col { width: 66px; }
.results-table th, .results-table td { padding: 11px 6px; }
.results-table .benchmark-groups th { background: #f8fafc; font-size: 12px; padding-top: 16px; padding-bottom: 14px; }
.results-table .benchmark-groups .webgen-heading { color: #35649c; background: #f0f5fb; }
.results-table .benchmark-groups .games-heading { color: #387264; background: #f0f7f4; }
.results-table .benchmark-groups th[rowspan] { border-bottom-color: #d9e1ea; }
.results-table .metric-headings th { color: #758292; border-top: 0; border-bottom-color: #d9e1ea; background: #fafbfd; font-size: 10px; }
.results-table tbody tr:nth-child(odd):not(.base):not(.ours):not(.delta-row):not(.model-group) > * { background: #fcfdfe; }
.results-table tbody td, .results-table tbody th { border-bottom-color: #edf1f5; }
.results-table tbody th[scope="row"] { padding-left: 19px; font-weight: 500; color: #445161; }
.results-table .model-heading { padding-left: 19px; }
.results-table .group-start { border-left-color: #e2e8ef; }
.results-table .model-group th { background: #f6f8fa; padding: 10px 19px; font-size: 10px; color: #7c8896; letter-spacing: .1em; text-transform: uppercase; border-bottom-color: #e6ebf1; }
.results-table .model-metadata { color: #6f7d8e; font-size: 10px; }
.results-table tbody tr:not(.model-group):not(.ours):not(.delta-row):hover > * { background: #f0f5fb; }
.results-table tr.base > * { background: #f0f3f7; }
.results-table tr.ours > * { background: #edf5fb; color: #245686; }
.results-table tr.ours > th { color: #245686; font-weight: 700; box-shadow: inset 3px 0 #477cad,1px 0 #dce1e7; }
.results-table tr.ours:hover > * { background: #e6f0f9; }
.results-table tbody tr:not(.model-group) > :last-child { font-weight: 650; font-size: 13px; }
.results-table .delta-row > * { background: #f6f9fc; color: #47749f; border-top: 1px solid #dbe6f1; font-size: 11px; }
.results-table .delta-row > th[scope="row"] { color: #47749f; }
.table-badge { border: 0; background: #e1e7ee; color: #65758a; padding: 3px 5px; font-size: 8px; border-radius: 3px; }
.ours .table-badge { background: #dceaf6; color: #42709c; }
.table-notes { margin: 0; padding: 18px 25px 20px; border-top: 1px solid #e2e8ef; color: #7e8895; font-size: 11px; line-height: 1.8; background: #fcfdfe; }

/* Analysis: a claim, its headline measurement, then the evidence. */
#analysis > .section-heading { margin-bottom: 26px; }
#analysis > .section-heading p { font-size: 15px; }
.analysis-index { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-bottom: 44px; }
.analysis-index a { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-block: 1px solid #e1e7ed; color: #4b6075; font-size: 12px; font-weight: 550; }
.analysis-index a:hover { color: #245ca6; border-color: #8aa9ca; text-decoration: none; }
.analysis-index a span:first-child { color: #9ca9b5; font-size: 10px; }
.analysis-index a span:last-child { margin-left: auto; color: #7b90a4; }
.analysis-chapter { margin-top: 56px; padding-top: 0; border-top: 0; }
.analysis-chapter.training-chapter { margin-top: 0; }
.analysis-kicker { display: flex; align-items: center; gap: 10px; color: #687d90; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 13px; }
.analysis-kicker > span { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #d9e2eb; border-radius: 5px; color: #547695; font-size: 11px; letter-spacing: 0; }
.analysis-kicker small { color: #8a97a4; font-size: 10px; font-weight: 400; margin-left: 4px; letter-spacing: 0; }
.analysis-chapter-heading h3 { font-size: 27px; letter-spacing: -.65px; line-height: 1.3; font-weight: 650; }
.analysis-chapter-text { margin-top: 13px; color: #667485; font-size: 14px; line-height: 1.8; max-width: 900px; }
.analysis-chapter-text strong { color: #3d5267; }
.training-study { margin-top: 23px; border: 1px solid #dce4ec; border-radius: 12px; overflow: hidden; }
.analysis-tabs { background: #f7f9fc; gap: 0; border-bottom: 1px solid #e1e7ef; }
.analysis-tabs button { flex: 1; padding: 17px 12px; }
.analysis-tabs button span { font-size: 13px; margin-left: 0; color: #6d7d8d; }
.analysis-tabs button + button { border-left: 1px solid #e5eaf0; }
.analysis-tabs button[aria-selected="true"] { background: white; border-bottom-color: #477cad; }
.analysis-tabs button[aria-selected="true"] span { color: #315e88; }
.analysis-tabs button:hover { background: #eff4f9; }
.analysis-panel { padding: 26px 26px 18px; overflow: visible; }
.analysis-finding { display: grid; grid-template-columns: minmax(0,1fr) 310px; align-items: center; gap: 34px; margin-bottom: 17px; padding: 0 4px 23px; border-bottom: 1px solid #ebeff3; }
.analysis-insight { margin: 0; max-width: none; }
.analysis-insight h4 { font-size: 20px; letter-spacing: -.3px; line-height: 1.4; font-weight: 650; margin: 0 0 10px; color: #2c3b4c; }
.analysis-insight p { color: #667485; font-size: 13px; line-height: 1.8; max-width: 660px; }
.finding-metric { padding-left: 26px; border-left: 1px solid #e5eaf0; font-variant-numeric: tabular-nums; }
.finding-metric > span { display: block; font-size: 11px; color: #6d7d8d; }
.finding-metric > div { display: flex; align-items: baseline; gap: 13px; line-height: 1.25; margin: 8px 0 5px; }
.finding-metric b, .finding-metric strong { font-size: 36px; letter-spacing: -1.2px; font-weight: 600; }
.finding-metric b { color: #8997a5; }
.finding-metric strong { color: #287564; }
.finding-metric i { color: #b4bfc9; font-style: normal; font-size: 23px; }
.finding-metric em { font-style: normal; font-size: 17px; margin-left: 1px; letter-spacing: 0; }
.finding-metric small { font-size: 10px; color: #83909d; }
.metric-caution strong { color: #ae674d; }
.training-figure .figure-zoom { width: 100%; }
.training-figure img { width: 100%; height: auto; min-width: 0; }
.training-figure figcaption { text-align: center; margin-top: 0; color: #83909d; font-size: 10px; line-height: 1.7; }
.chapter-summary { display: grid; grid-template-columns: minmax(0,1fr) 250px; align-items: center; gap: 65px; }
.chapter-stat { border-left: 1px solid #dfe7ed; padding-left: 32px; font-variant-numeric: tabular-nums; }
.chapter-stat > span { font-size: 11px; color: #6d7d8d; }
.chapter-stat > strong { display: block; color: #287564; font-size: 46px; letter-spacing: -1.5px; line-height: 1.25; margin: 4px 0; font-weight: 600; }
.chapter-stat strong small { font-size: 17px; margin-left: 5px; letter-spacing: 0; font-weight: 500; }
.chapter-stat > p { color: #7a8a9b; font-size: 14px; }
.chapter-stat p span { color: #a5b1bc; margin: 0 8px; }
.chapter-stat p b { color: #287564; font-weight: 600; }
.analysis-legend { justify-content: flex-start; gap: 24px; margin: 24px 0 15px; font-size: 11px; }
.diagnostic-figures { gap: 20px; }
.diagnostic-figures figure { border: 1px solid #dfe6ed; border-radius: 10px; padding: 0 10px 8px; overflow: hidden; }
.evidence-heading { margin: 0 -10px 2px; padding: 17px 20px 14px; border-bottom: 1px solid #edf0f4; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.evidence-heading h4 { margin: 0; color: #43566b; font-size: 14px; text-align: left; }
.evidence-heading > span { color: #6e8f81; font-size: 10px; white-space: nowrap; }
.analysis-data { border: 1px solid #e4e9ef; border-radius: 8px; padding-inline: 20px; margin-top: 15px; }
.analysis-data summary { color: #687b8d; }
.analysis-source { color: #83909d; font-size: 10px; margin-top: 12px; }
.refinement-comparison { display: grid; grid-template-columns: 1fr 150px 1fr; align-items: center; border: 1px solid #dce5ec; border-radius: 10px; margin-top: 23px; padding: 22px 28px; font-variant-numeric: tabular-nums; }
.refinement-comparison > div:not(.comparison-equal) { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.refinement-comparison > div > div > span { display: block; font-size: 12px; margin-bottom: 4px; }
.refinement-comparison > div > div > strong { color: #637587; font-size: 11px; font-weight: 450; }
.comparison-ours { color: #287564; }
.comparison-base { color: #6d8eb5; }
.refinement-comparison b { font-size: 39px; letter-spacing: -1px; font-weight: 600; line-height: 1.2; }
.comparison-base > div { text-align: right; }
.comparison-equal { text-align: center; color: #9aa7b4; }
.comparison-equal > span { display: block; font-size: 29px; line-height: 1.2; }
.comparison-equal > small { font-size: 9px; }
.refinement-results { border: 1px solid #dfe6ed; border-radius: 12px; padding: 22px; gap: 24px; }
.refinement-table { border-top: 1px solid #d5dee8; border-bottom: 1px solid #d5dee8; }
.refinement-table thead tr:first-child > th:last-child { color: #287564; background: #f1f8f5; }
.refinement-table td:nth-last-child(-n+3) { background: #f7fbf9; }
.refinement-table strong { color: inherit; }
.refinement-table td:nth-last-child(-n+3) strong { color: #287564; }

/* Large paired recordings first; the visual example index sits underneath. */
.demo-section > .container { width: min(1240px,calc(100% - 64px)); }
.demo-stage { border: 1px solid #dfe5ec; border-radius: 12px; padding: 24px; background: #fafbfd; }
.demo-toolbar { gap: 20px; }
.demo-toolbar h3 { font-size: 25px; letter-spacing: -.45px; }
.demo-toolbar .eyebrow { font-size: 10px; color: #7b8898; letter-spacing: .05em; }
.demo-actions .button { background: white; border-color: #dce3ec; border-radius: 6px; padding: 9px 13px; font-size: 11px; }
.demo-actions .button-dark { color: #385d89; border-color: #c5d5e8; }
.demo-actions .button-accent { color: #fff; background: #315e91; border-color: #315e91; }
.demo-actions .button:hover { background: #eef3f9; }
.demo-actions .button-accent:hover { background: #264d7b; }
.demo-stage .prompt-details { border-top-color: #e3e8ef; margin-top: 20px; }
.demo-stage .prompt-details summary { color: #8792a0; font-size: 11px; }
.demo-grid { gap: 16px; }
.demo-recording { border-color: #dce3eb; border-radius: 8px; background: #fff; }
.recording-label { padding: 13px 15px; background: white; font-size: 12px; }
.demo-recording.ours { border-color: #afc7e0; }
.demo-recording.ours .recording-label { background: #f0f6fc; color: #315f91; }
.recording-label button { font-size: 10px; }
.demo-footnote { color: #8c97a4; font-size: 10px; margin-top: 16px; }
.example-selector { margin-top: 24px; }
.example-selector > .section-kicker { margin-bottom: 12px; font-size: 10px; }
.featured-picker { gap: 12px; margin-bottom: 0; }
.example-choice { border: 1px solid #e0e6ed; padding: 5px; border-radius: 8px; background: #fff; transition: border-color .16s ease,background .16s ease; }
.example-choice img { border-radius: 4px; aspect-ratio: 8/5; }
.example-choice > span { padding: 10px 5px 5px; font-size: 11px; color: #697587; }
.example-choice b { color: #9ca7b5; }
.example-choice:hover { border-color: #afc2d8; background: #f9fbfd; }
.example-choice[aria-pressed="true"] { border-color: #7299c2; background: #f1f6fc; box-shadow: 0 0 0 1px #7299c2; }
.example-choice[aria-pressed="true"] > span { color: #315f91; font-weight: 650; }
.explore-more { margin-top: 28px; padding: 24px 0 0; border-top-color: #e4e9ef; }
.explore-more h3 { font-size: 17px; }
.explore-more p { font-size: 12px; }

@media (max-width: 1100px) {
  .rank-summary { gap: 24px; }
  .rank-summary > p { padding-left: 24px; }
  .rank-change { font-size: 38px; gap: 12px; }
  .benchmark-card { padding: 22px 20px 16px; }
  .highlight-table { font-size: 11px; }
  .highlight-table tbody th { font-size: 10px; }
  .highlight-table th, .highlight-table td { padding-inline: 5px; }
  .demo-toolbar { align-items: flex-start; }
  .demo-actions { justify-content: flex-end; }
}
@media (min-width: 1246px) { .table-scroll-hint { display: none; } }
@media (max-width: 1245px) { .table-scroll-hint { display: block; } }
@media (max-width: 760px) {
  .results-section > .container { width: calc(100% - 36px); }
  .rank-summary { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding-block: 22px; }
  .rank-summary > p { grid-column: 1/-1; margin: 0; padding: 14px 0 0; border-left: 0; border-top: 1px solid #e9edf2; }
  .rank-summary .section-kicker { font-size: 9px; max-width: 160px; }
  .rank-summary-copy h3 { font-size: 17px; }
  .rank-change { font-size: 34px; gap: 10px; }
  .benchmark-grid { grid-template-columns: 1fr; gap: 16px; }
  .benchmark-card-heading h3 { font-size: 20px; }
  .highlight-table { font-size: 12px; }
  .highlight-table tbody th { font-size: 11px; }
  .highlight-table thead th { font-size: 10px; }
  .score-value { font-size: 50px; }
  .results-overview { margin-bottom: 28px; }
  .highlights-caption { font-size: 10px; line-height: 1.7; text-align: left; }
  .table-heading { display: flex; flex-wrap: wrap; gap: 14px; padding: 20px; }
  .table-heading h3 { font-size: 17px; }
  .table-scroll-hint { margin-inline: 20px; }
  .table-notes { padding: 16px 20px; }
  .analysis-index { gap: 12px; margin-bottom: 30px; }
  .analysis-index a { gap: 7px; font-size: 10px; line-height: 1.5; align-items: flex-start; }
  .analysis-index a span:last-child { display: none; }
  .analysis-chapter { margin-top: 40px; padding-top: 0; }
  .analysis-chapter-heading h3 { font-size: 23px; letter-spacing: -.4px; }
  .analysis-kicker { font-size: 9px; gap: 8px; margin-bottom: 11px; }
  .analysis-tabs button { padding: 14px 7px; }
  .analysis-tabs button span { font-size: 11px; }
  .analysis-panel { padding: 20px 16px 15px; overflow: visible; }
  .analysis-finding { grid-template-columns: 1fr; gap: 18px; padding: 0 0 18px; margin-bottom: 14px; }
  .analysis-insight h4 { font-size: 19px; }
  .finding-metric { border-left: 0; background: #f7f9fb; border-radius: 6px; padding: 15px 17px; }
  .finding-metric > div { margin-block: 6px 3px; }
  .finding-metric b, .finding-metric strong { font-size: 33px; }
  .training-figure figcaption { text-align: left; font-size: 9px; }
  .chapter-summary { grid-template-columns: 1fr; gap: 18px; }
  .analysis-chapter-text { font-size: 13px; }
  .chapter-stat { border-left: 0; border-block: 1px solid #e4ebe8; padding: 14px 0; display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .chapter-stat > strong { grid-column: 2; grid-row: 1/3; margin: 0; font-size: 38px; }
  .chapter-stat > p { font-size: 13px; }
  .analysis-legend { gap: 19px; margin-top: 20px; font-size: 10px; }
  .diagnostic-figures { gap: 16px; }
  .evidence-heading { padding: 15px 16px; gap: 10px; }
  .evidence-heading h4 { font-size: 13px; }
  .evidence-heading > span { font-size: 9px; }
  .refinement-comparison { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .refinement-comparison b { font-size: 33px; }
  .comparison-equal { display: flex; align-items: center; gap: 9px; padding: 3px 0; border-block: 1px solid #edf0f4; }
  .comparison-equal > span { font-size: 22px; }
  .comparison-base > b { order: 2; }
  .comparison-base > div { text-align: left; }
  .refinement-results { padding: 16px; }
  .refinement-table-wrap { width: 100%; }
  .demo-section > .container { width: calc(100% - 36px); }
  .demo-stage { padding: 16px; }
  .demo-toolbar { flex-direction: column; gap: 15px; }
  .demo-actions { justify-content: flex-start; gap: 6px; }
  .demo-actions .button { font-size: 10px; padding: 8px 10px; }
  .demo-grid { gap: 12px; }
  .recording-label { padding: 11px 12px; font-size: 11px; }
  .featured-picker { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
  .example-choice > span { padding: 7px 2px 3px; font-size: 10px; }
  .example-choice b { display: none; }
  .section-kicker { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .example-choice { transition: none; }
}
