.benchmark-hero { padding-block: 52px 46px; }
.benchmark-hero h1 { max-width: 25ch; }
.benchmark-hero .eyebrow { margin: 22px 0 0; color: var(--mint); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.benchmark-hero .eyebrow + h1 { margin-top: 11px; }
.benchmark-jump-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 27px; }
.benchmark-jump-links a { color: var(--mint); font-size: .92rem; text-decoration: none; }
.benchmark-jump-links a:hover { text-decoration: underline; }
.benchmark-language-switch { flex: 0 0 auto; padding: 3px; background: #edf2ee; border: 1px solid #d7e1db; border-radius: 4px; }
.benchmark-language-switch button { min-width: 36px; min-height: 32px; }
.benchmark-section { scroll-margin-top: 16px; }
.benchmark-content { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.benchmark-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.benchmark-section-heading h2 { margin: 0; color: var(--ink); font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.08; }
.benchmark-eyebrow { margin: 0 0 9px; color: #527174; font-size: .77rem; letter-spacing: .09em; text-transform: uppercase; }
.benchmark-date { padding: 6px 10px; color: #526b6e; background: #e9efea; font-size: .78rem; white-space: nowrap; }
.benchmark-lead { max-width: 82ch; margin: 0; color: var(--ink-soft); font-size: 1rem; }
.benchmark-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 30px 0; background: #d9e3dc; border: 1px solid #d9e3dc; }
.benchmark-stat-grid > div { display: flex; min-height: 115px; flex-direction: column; justify-content: center; padding: 17px 19px; background: var(--white); }
.benchmark-stat-grid strong { color: var(--deep); font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.1; }
.benchmark-stat-grid span { margin-top: 8px; color: #536b6e; font-size: .84rem; }
.benchmark-callout { margin: 27px 0 29px; padding: 19px 21px; color: var(--warn-ink); background: var(--warn-bg); border-left: 4px solid #c8863f; }
.benchmark-callout strong { font-weight: 500; }
.benchmark-callout p { max-width: 90ch; margin: 5px 0 0; color: #785b3d; }
.benchmark-table-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 26px 0 4px; }
.benchmark-table-heading h3 { margin: 0; color: var(--ink); font-size: 1.17rem; font-weight: 500; }
.benchmark-table-heading > span { color: #687d7c; font-size: .8rem; text-align: right; }
.table-scroll-hint { display: none; margin: 0 0 7px; color: #687d7c; font-size: .78rem; }
.benchmark-table-scroll { max-width: 100%; overflow: auto; overscroll-behavior-inline: contain; margin: 12px 0 0; background: var(--white); border: 1px solid #d9e3dc; scrollbar-color: #91a9a2 #edf2ee; }
.benchmark-table-scroll:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.benchmark-table { width: max-content; min-width: 100%; margin: 0; border-collapse: collapse; font-size: .82rem; font-variant-numeric: tabular-nums; }
.benchmark-table caption { padding: 10px 13px; color: #657b7b; font-size: .78rem; text-align: left; caption-side: bottom; }
.benchmark-table th, .benchmark-table td { padding: 10px 12px; border-bottom: 1px solid #e2e9e4; text-align: right; white-space: nowrap; }
.benchmark-table thead th { color: #dce8e3; background: var(--deep-raised); font-size: .78rem; font-weight: 500; }
.benchmark-table thead tr + tr th { color: #c3d4cf; background: #24474b; }
.benchmark-table tbody th { color: #294b4f; background: #f7f9f6; font-weight: 500; text-align: left; }
.benchmark-table tbody tr:nth-child(even) td { background: #f1f5f1; }
.benchmark-table tbody tr:hover td, .benchmark-table tbody tr:hover th { background: #e7f0e4; }
.benchmark-table td strong { color: #26533c; font-weight: 600; }
.core-table { min-width: 1160px; }
.core-table th:first-child { min-width: 230px; }
.core-table thead th:nth-child(2), .core-table tbody td:nth-child(2) { background-color: #eaf3e2; }
.core-table thead th:nth-child(2) { color: var(--deep); background-color: var(--mint); }
.api-table { min-width: 820px; }
.api-table th:first-child { min-width: 145px; text-align: left; }
.api-table tbody td:nth-child(6), .api-table tbody td:nth-child(7) { background: #fff1df; }
.api-table tbody th { font-weight: 600; }
.reference-table { min-width: 580px; }
.reference-table th:first-child { min-width: 245px; text-align: left; }
.benchmark-footnote { max-width: 95ch; margin: 13px 0 20px; color: #5e7476; font-size: .84rem; }
.compact-heading { margin-top: 33px; }
.benchmark-method { margin: 25px 0 19px; padding: 15px 17px; background: #edf2ee; }
.benchmark-method summary { color: var(--deep); cursor: pointer; font-weight: 500; }
.benchmark-method ul { margin: 12px 0 2px; padding-left: 22px; color: #496368; }
.benchmark-method li { margin: 5px 0; }
.benchmark-artifact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 21px; margin-top: 19px; }
.benchmark-artifact-links a { color: #315c61; font-size: .88rem; font-weight: 500; }
.benchmark-artifact-links a:first-child { color: #244b3d; }
.api-result-callout { background: #e9eef5; border-color: #718aa7; color: #2c435e; }
.api-result-callout p { color: #4d6278; }
.benchmark-memory { background: #edf2ee; scroll-margin-top: 16px; }
.arena-region-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.arena-region-card { position: relative; min-height: 190px; padding: 23px; background: var(--white); border: 1px solid #dbe4dd; }
.arena-region-number { display: inline-grid; width: 31px; height: 31px; place-items: center; color: var(--deep); background: var(--mint); font: 500 .76rem/1 Switzer, sans-serif; }
.arena-region-card h3 { margin: 14px 0 7px; color: var(--deep); font-size: 1.16rem; font-weight: 500; }
.arena-region-card p { margin: 0; color: #536a6c; font-size: .92rem; }
.arena-region-card p strong { color: #294b4f; font-weight: 500; white-space: nowrap; }
.arena-explainer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 30px; }
.arena-explainer h3 { margin: 0 0 8px; color: var(--ink); font-size: 1.05rem; font-weight: 500; }
.arena-explainer p { margin: 0; color: #50676a; font-size: .92rem; }
.arena-flow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 27px; padding: 18px; color: #e9f1ec; background: var(--deep); }
.arena-flow > span { flex: 1 1 0; color: #e9f1ec; font-size: .86rem; text-align: center; }
.arena-flow > b { color: var(--mint); font-size: 1.1rem; font-weight: 400; }
.arena-api-note { margin: 13px 0 0; color: #5a7173; font-size: .84rem; }
.arena-api-note code { padding: .12em .32em; color: #294b4c; background: #dfe8e1; }
.arena-limit-callout { margin-top: 27px; }
.benchmark-conclusion { padding: 55px 0 61px; color: #eaf2ed; background: var(--deep); }
.benchmark-conclusion .container { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.benchmark-conclusion .eyebrow { margin: 0 0 12px; color: var(--mint); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.benchmark-conclusion h2 { max-width: 27ch; margin: 0; color: #f4f7f3; font-size: clamp(1.8rem, 3.8vw, 2.9rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; }
.benchmark-conclusion p:last-child { max-width: 82ch; margin: 17px 0 0; color: #bed0ca; }
.benchmark-content + .benchmark-content { margin-top: 10px; }
@media (max-width: 760px) {
  .benchmark-content, .benchmark-conclusion .container { width: min(100% - 36px, 590px); }
  .benchmark-section-heading { align-items: flex-start; }
  .benchmark-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benchmark-stat-grid > div { min-height: 98px; padding: 14px; }
  .arena-region-grid, .arena-explainer-grid { grid-template-columns: 1fr; gap: 11px; }
  .arena-region-card { min-height: 0; padding: 19px; }
  .arena-explainer-grid { gap: 22px; }
  .arena-flow { align-items: stretch; flex-direction: column; gap: 7px; }
  .arena-flow > span { flex: none; text-align: left; }
  .arena-flow > b { align-self: flex-start; transform: rotate(90deg); line-height: 1; }
  .benchmark-table-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .benchmark-table-heading > span { text-align: left; }
  .table-scroll-hint { display: block; }
  .benchmark-table { font-size: .78rem; }
  .benchmark-table th, .benchmark-table td { padding: 9px 10px; }
}
@media (max-width: 440px) {
  .benchmark-hero { padding-block: 36px; }
  .benchmark-content, .benchmark-conclusion .container { width: calc(100% - 32px); }
  .benchmark-section-heading { gap: 8px; }
  .benchmark-date { padding: 5px 7px; font-size: .7rem; }
  .benchmark-stat-grid > div { min-height: 92px; padding: 12px; }
  .benchmark-stat-grid strong { font-size: 1.35rem; }
  .benchmark-callout { padding: 16px; }
  .benchmark-artifact-links { gap: 10px 15px; }
}
