/* docs/frontdoor/speed.css: /speed/ technical hardware & benchmarks deep-dive.
   Scoped to body.page-speed so no other marketing page is affected. */

body.page-speed {
  --sp-wrap: var(--wrap);
  --sp-gutter: clamp(18px, 4vw, 48px);
  --sp-dark-bg: var(--surface-1);
  --sp-dark-panel: var(--surface-3);
  --sp-dark-panel-hi: var(--surface-4);
  --sp-dark-line: var(--line-default);
  --sp-dark-line-hi: var(--line-strong);
  --sp-dark-fg: var(--fg-1);
  --sp-dark-muted: var(--fg-2);
  --sp-dark-dim: #b8b8c2;
  --sp-light-bg: var(--surface-2);
  --sp-light-subtle: var(--surface-3);
  --sp-light-panel: var(--surface-4);
  --sp-light-line: var(--line-default);
  --sp-light-fg: var(--fg-1);
  --sp-light-muted: var(--fg-2);
  --sp-accent: #ff5b1f;
  --sp-accent-deep: #d4d4dc;
  --sp-accent-soft: rgba(255, 91, 31, 0.11);
}

/* Override site.css docs-column constraints */
body.page-speed main {
  max-width: none;
  margin: 0;
  padding: 0;
}

body.page-speed section {
  border-top: 0;
  padding: 0;
}

body.page-speed main p code,
body.page-speed main li code,
body.page-speed main dd code {
  white-space: normal;
  overflow-wrap: anywhere;
}

.speed-wrap {
  width: 100%;
  max-width: calc(var(--sp-wrap) + var(--sp-gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--sp-gutter);
}

/* ===== HERO (DARK OBSIDIAN) ===== */
.speed-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--sp-dark-bg);
  background-image:
    radial-gradient(62% 72% at 76% 18%, rgba(255, 91, 31, 0.11), transparent 68%),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  background-position: center, center top, center top;
  border-bottom: 1px solid var(--sp-dark-line);
  padding: 72px 0 68px;
  color: var(--sp-dark-fg);
}

.speed-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.88fr);
  gap: 48px 56px;
  align-items: center;
}

.speed-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font: 500 12px/1.3 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #d4d4dc;
}

.speed-eyebrow::before {
  content: "";
  display: inline-block;
  width: 2px;
  height: 12px;
  background: var(--sp-accent);
  border-radius: 1px;
}

body.page-speed .speed-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(38px, 4.7vw, 60px);
  line-height: 1.03;
  letter-spacing: -0.045em;
  font-weight: 500;
  color: #f6f6f3;
}

.speed-h1-sub {
  display: block;
  margin: 0 0 22px;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--fg-2);
  font-weight: 450;
}

.speed-lead {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--sp-dark-muted);
  max-width: 56ch;
}

.speed-hero-actions,
.speed-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.speed-btn-primary,
.speed-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font: 500 14px/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.speed-btn-primary {
  background: #ff7f4d;
  border: 1px solid #ff7f4d;
  color: #0a0a0a;
  font-weight: 600;
}

.speed-btn-primary:hover {
  background: #ff9666;
  border-color: #ff9666;
  color: #0a0a0a;
}

.speed-btn-secondary {
  background: var(--surface-4);
  border: 1px solid var(--sp-dark-line-hi);
  color: var(--sp-dark-fg);
}

.speed-btn-secondary:hover {
  background: var(--line-default);
  border-color: #5c6168;
  color: #ffffff;
}

.speed-proof-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  font: 450 12px/1.4 var(--mono);
  color: #8f9699;
}

.speed-proof-bar li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.speed-proof-bar li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--sp-accent);
  flex: none;
}

/* Right-hand Hardware Telemetry Card */
.speed-telemetry-card {
  background: var(--surface-3);
  border: 1px solid var(--sp-dark-line-hi);
  border-top: 2px solid var(--sp-accent);
  border-radius: 10px;
  padding: 24px 26px 22px;
  box-shadow: 0 28px 64px -28px rgba(0, 0, 0, 0.72);
}

.speed-telemetry-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sp-dark-line);
}

.speed-telemetry-badge {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  color: #f4f4f1;
  background: rgba(255, 91, 31, 0.12);
  border: 1px solid rgba(255, 91, 31, 0.34);
  padding: 5px 9px;
  border-radius: 4px;
}

.speed-telemetry-tag {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em;
  color: var(--sp-dark-dim);
}

.speed-stat-list {
  margin: 0;
  padding: 0;
}

.speed-stat-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--sp-dark-line);
}

.speed-stat-item:last-child {
  border-bottom: 0;
}

.speed-stat-item dt {
  margin: 0 0 6px;
  font: 500 12px/1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sp-dark-dim);
}

.speed-stat-item dd {
  margin: 0;
}

.speed-stat-item dd strong {
  display: block;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  color: #f6f6f3;
}

.speed-stat-item dd span {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--sp-dark-muted);
}

body.page-speed .speed-stat-item dd code {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #f4f4f1;
  font-size: 12px;
  padding: 1px 5px;
  white-space: nowrap;
  overflow-wrap: normal;
}

.speed-telemetry-jump {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--sp-dark-line);
  color: #e4e4e0;
  font: 500 13px/1.2 var(--font);
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.speed-telemetry-jump:hover {
  background: rgba(255, 91, 31, 0.1);
  border-color: rgba(255, 91, 31, 0.45);
  color: #ffffff;
}

/* ===== SHARED BAND RHYTHM ===== */
body.page-speed .speed-band {
  padding: 80px 0;
}

.speed-light {
  background: var(--sp-light-bg);
  color: var(--sp-light-fg);
  border-top: 1px solid var(--sp-light-line);
}

.speed-dark {
  background: var(--sp-dark-bg);
  color: var(--sp-dark-fg);
  border-top: 1px solid var(--sp-dark-line);
}

.speed-kicker {
  margin: 0 0 12px;
  font: 500 12px/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sp-accent-deep);
}

.speed-dark .speed-kicker {
  color: #d4d4dc;
}

body.page-speed .speed-band h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.038em;
  font-weight: 500;
  max-width: 24ch;
}

body.page-speed .speed-light h2,
body.page-speed .speed-light h3 {
  color: var(--sp-light-fg);
}

body.page-speed .speed-dark h2,
body.page-speed .speed-dark h3 {
  color: var(--sp-dark-fg);
}

.speed-section-lead {
  margin: 0 0 36px;
  font-size: 17px;
  line-height: 1.58;
  max-width: 68ch;
}

.speed-light .speed-section-lead {
  color: var(--sp-light-muted);
}

.speed-light .speed-section-lead strong {
  color: var(--sp-light-fg);
}

.speed-dark .speed-section-lead {
  color: var(--sp-dark-muted);
}

.speed-dark .speed-section-lead strong {
  color: var(--sp-dark-fg);
}

body.page-speed .speed-light code {
  background: var(--surface-4);
  box-shadow: inset 0 0 0 1px var(--line-default);
  color: #f4f4f1;
  font-size: max(12px, 0.86em);
  padding: 1.5px 5px;
  border-radius: 4px;
}

body.page-speed .speed-dark code {
  background: var(--surface-4);
  box-shadow: inset 0 0 0 1px var(--line-default);
  color: #f4f4f1;
  font-size: max(12px, 0.86em);
  padding: 1.5px 5px;
  border-radius: 4px;
}

/* ===== PANELS & CHARTS ===== */
.speed-panel-light {
  background: var(--sp-light-subtle);
  border: 1px solid var(--sp-light-line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 28px;
}

.speed-panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  padding: 14px 20px;
  background: var(--surface-4);
  border-bottom: 1px solid var(--sp-light-line);
}

.speed-panel-title {
  font: 550 13.5px/1.3 var(--font);
  color: #f4f4f1;
}

.speed-panel-meta {
  font: 450 12px/1.3 var(--mono);
  color: var(--sp-light-muted);
}

.speed-chart-frame {
  padding: 20px 20px 14px;
  background: var(--surface-3);
}

.speed-chart-svg {
  display: block;
  width: 100%;
  height: auto;
}

.speed-mobile-chart,
.speed-topo-mobile {
  display: none;
}

.speed-panel-def {
  margin: 0;
  padding: 13px 20px;
  font-size: 13px;
  line-height: 1.55;
  color: #d4d4dc;
  background: var(--surface-3);
  border-top: 1px solid var(--sp-light-line);
}

.speed-panel-foot {
  margin: 0;
  padding: 13px 20px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--sp-light-muted);
  background: var(--sp-light-subtle);
  border-top: 1px solid var(--sp-light-line);
}

.speed-m-note { margin-top: 0; }
.speed-m-note > summary { padding: 12px 20px; border-bottom: 0; font-size: 13.5px; }
.speed-m-note[open] > summary { margin-bottom: 0; border-bottom: 1px solid var(--sp-light-line); }

/* ===== TABLES ===== */
.speed-table-wrap {
  border-radius: 10px;
  overflow: hidden;
}

body.page-speed .speed-light table.speed-table {
  width: 100%;
  margin: 0;
  background: var(--surface-3);
  border: 1px solid var(--sp-light-line);
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--sp-light-fg);
}

body.page-speed .speed-light table.speed-table caption {
  text-align: left;
  padding: 0 0 12px;
  font: 500 13px/1.4 var(--font);
  color: var(--sp-light-muted);
}

body.page-speed .speed-light table.speed-table th {
  background: var(--surface-4);
  color: var(--fg-2);
  border-bottom: 1px solid var(--sp-light-line);
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 16px;
}

body.page-speed .speed-light table.speed-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line-default);
  font-size: 14px;
  line-height: 1.45;
  color: #d4d4dc;
  vertical-align: top;
}

body.page-speed .speed-light table.speed-table tr:last-child td {
  border-bottom: 0;
}

body.page-speed .speed-light table.speed-table tr.is-us-row td {
  background: rgba(255, 91, 31, 0.06);
}

body.page-speed .speed-light table.speed-table tr.is-us-row td:first-child {
  box-shadow: inset 3px 0 0 var(--sp-accent);
}

.speed-cell-sub,
.speed-row-sub {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--fg-2);
  font-weight: 400;
}

.speed-dark .speed-row-sub {
  color: var(--sp-dark-dim);
}

.speed-accent-text {
  color: #34d399;
}

/* ===== SECTION 02: INTERACTIVE WHOLE-CORE TOPOLOGY ===== */
.speed-band-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 32px;
  margin-bottom: 32px;
}

.speed-band-header .speed-section-lead {
  margin-bottom: 0;
}

.speed-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid var(--sp-dark-line-hi);
  background: var(--sp-dark-panel-hi);
  color: var(--sp-dark-fg);
  font: 500 13.5px/1 var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.speed-toggle:hover {
  border-color: var(--sp-accent);
  background: #231a16;
}

.speed-toggle[aria-pressed="true"] {
  border-color: var(--sp-accent);
  background: rgba(255, 91, 31, 0.16);
  color: #ffffff;
}

.speed-toggle-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #6b7280;
  transition: background-color 0.18s ease;
}

.speed-toggle[aria-pressed="true"] .speed-toggle-dot {
  background: var(--sp-accent);
}

.speed-topo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.speed-topo-card {
  background: var(--sp-dark-panel);
  border: 1px solid var(--sp-dark-line);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.speed-topo-card.is-us {
  border-color: rgba(255, 91, 31, 0.58);
  background: linear-gradient(180deg, rgba(255, 91, 31, 0.06) 0%, var(--sp-dark-panel) 55%);
}

.speed-topo-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.speed-topo-k {
  font: 500 12px/1.3 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--sp-dark-dim);
}

.speed-topo-k.is-us {
  color: #ffffff;
}

.speed-topo-pill {
  font: 500 12px/1 var(--mono);
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--surface-4);
  border: 1px solid var(--sp-dark-line-hi);
  color: #b8b8c2;
}

.speed-topo-pill.is-us {
  background: rgba(255, 91, 31, 0.14);
  border-color: rgba(255, 91, 31, 0.4);
  color: #f4f4f1;
}

.speed-topo-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.speed-topo-sub {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--sp-dark-muted);
}

.speed-topo-svg {
  display: block;
  width: 100%;
  height: auto;
  margin-top: auto;
}

/* Purposeful 180ms hardware thread reveal */
.speed-topo-grid .topo-core-summary,
.speed-topo-grid .topo-thread-slots {
  transition: opacity 0.18s ease, transform 0.18s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.speed-topo-grid[data-threads="off"] .topo-core-summary {
  opacity: 1;
  transform: translateY(0);
}

.speed-topo-grid[data-threads="off"] .topo-thread-slots {
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
}

.speed-topo-grid[data-threads="on"] .topo-core-summary {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
}

.speed-topo-grid[data-threads="on"] .topo-thread-slots {
  opacity: 1;
  transform: translateY(0);
}

.speed-topo-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--sp-dark-line);
  font: 450 12.5px/1.4 var(--mono);
  color: var(--sp-dark-muted);
}

.speed-topo-foot strong {
  color: var(--sp-dark-fg);
}

.speed-topo-foot.is-us strong {
  color: #34d399;
}

.speed-topo-status {
  margin: 14px 0 32px;
  font: 450 13px/1.5 var(--mono);
  color: var(--sp-dark-dim);
}

.speed-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.speed-dark-card {
  background: var(--sp-dark-panel);
  border: 1px solid var(--sp-dark-line);
  border-radius: 8px;
  padding: 22px;
}

.speed-card-k {
  margin: 0 0 10px;
  font: 500 12px/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sp-dark-dim);
}

.speed-light .speed-card-k {
  color: var(--fg-2);
}

.speed-card-k.is-us {
  color: #d4d4dc;
}

.speed-dark-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.speed-dark-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--sp-dark-muted);
}

/* ===== SECTION 03: CPU STEAL & EFFECTIVE CORES ===== */
.speed-steal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(0, 0.88fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.speed-steal-chart {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

.speed-steal-chart .speed-chart-frame {
  flex: 1;
  display: flex;
  align-items: center;
}

.speed-delivery-dark {
  background: var(--surface-3);
  border: 1px solid var(--line-default);
  border-top: 2px solid var(--sp-accent);
  border-radius: 10px;
  padding: 24px;
  color: var(--sp-dark-fg);
  display: flex;
  flex-direction: column;
}

body.page-speed .speed-light .speed-delivery-dark h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: #f6f6f3;
}

.speed-delivery-dark > p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--sp-dark-muted);
}

.speed-delivery-specs {
  margin: auto 0 0;
  padding: 0;
}

.speed-delivery-specs > div {
  padding: 13px 0;
  border-top: 1px solid var(--line-default);
}

.speed-delivery-specs dt {
  margin: 0 0 4px;
  font: 500 12px/1.3 var(--mono);
  color: #ffffff;
}

body.page-speed .speed-light .speed-delivery-dark code {
  background: var(--surface-4);
  box-shadow: inset 0 0 0 1px var(--line-default);
  color: #f4f4f1;
}

.speed-delivery-specs dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.48;
  color: #d4d6d9;
}

.speed-mech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.speed-mech-card {
  background: var(--sp-light-subtle);
  border: 1px solid var(--sp-light-line);
  border-radius: 10px;
  padding: 24px;
}

.speed-mech-num {
  display: inline-block;
  margin-bottom: 10px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.06em;
  color: var(--sp-accent-deep);
}

.speed-mech-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 550;
}

.speed-mech-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--sp-light-muted);
}

/* ===== SECTION 04: MEASURED WORKLOADS & COMMANDS ===== */
.speed-suites-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 44px;
}

.speed-suite-panel {
  background: var(--sp-dark-panel);
  border: 1px solid var(--sp-dark-line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.speed-suite-head {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--sp-dark-line);
  background: var(--surface-4);
}

.speed-suite-title-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 10px;
}

.speed-suite-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.07em;
  background: var(--surface-4);
  color: #b8b8c2;
  border: 1px solid var(--sp-dark-line-hi);
}

.speed-suite-rate-meta {
  font: 450 12px/1.3 var(--mono);
  color: var(--sp-dark-dim);
}

.speed-suite-badge.is-us {
  background: rgba(255, 91, 31, 0.14);
  border-color: rgba(255, 91, 31, 0.38);
  color: #f4f4f1;
}

.speed-wl-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.speed-tier-pill {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font: 500 12px/1.3 var(--mono);
  letter-spacing: 0.05em;
  background: var(--surface-4);
  border: 1px solid var(--line-strong);
  color: #b8b8c2;
}

.speed-tier-pill.is-4core {
  background: rgba(255, 91, 31, 0.15);
  border-color: rgba(255, 91, 31, 0.45);
  color: #f4f4f1;
}

body.page-speed table.speed-table-dark tr.is-tier-call td {
  background: rgba(255, 91, 31, 0.04);
}

.speed-cost-pair {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  color: #a1a6a9;
}

.speed-cost-base {
  color: #9b9fa4;
}

.speed-cost-us {
  color: #ffffff;
  font-weight: 600;
}

.speed-cost-save {
  display: block;
  margin-top: 3px;
  font: 500 12px/1.3 var(--mono);
  color: #8eae9b;
}

.speed-io-cmd {
  margin: 0 0 18px;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--surface-4);
  border: 1px solid var(--sp-light-line);
  font: 450 12.5px/1.5 var(--mono);
  color: #e4e4e7;
  overflow-x: auto;
}

body.page-speed .speed-light .speed-io-cmd code {
  background: transparent;
  box-shadow: none;
  padding: 0;
  font-size: inherit;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.speed-repro-head a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.speed-repro-head a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.speed-suite-head h3 {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.speed-suite-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--sp-dark-muted);
}

body.page-speed table.speed-table-dark {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-collapse: collapse;
}

body.page-speed table.speed-table-dark th {
  background: #121315;
  color: var(--sp-dark-dim);
  border-bottom: 1px solid var(--sp-dark-line);
  padding: 11px 16px;
  font: 500 12px/1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.page-speed table.speed-table-dark td {
  padding: 14px 16px;
  border-bottom: 1px solid #222427;
  font-size: 14px;
  line-height: 1.4;
  color: #d6d9dc;
  vertical-align: top;
}

body.page-speed table.speed-table-dark tr:last-child td {
  border-bottom: 0;
}

body.page-speed table.speed-table-dark th.num,
body.page-speed table.speed-table-dark td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body.page-speed table.speed-table-dark td.is-us {
  color: #ffffff;
  font-weight: 550;
}

.speed-mult-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.34);
  color: #34d399;
  font: 600 12.5px/1.2 var(--mono);
}

.speed-repro-head {
  margin-bottom: 20px;
}

.speed-repro-head h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.speed-repro-head p {
  margin: 0;
  font-size: 15px;
  color: var(--sp-dark-muted);
}

.speed-cmd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.speed-cmd-card {
  background: #121315;
  border: 1px solid var(--sp-dark-line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.speed-cmd-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #181a1d;
  border-bottom: 1px solid var(--sp-dark-line);
}

.speed-cmd-bar strong {
  display: block;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--sp-dark-fg);
}

.speed-cmd-bar span {
  display: block;
  font: 450 12px/1.3 var(--mono);
  color: var(--sp-dark-dim);
}

.speed-copy-btn {
  flex: none;
  height: 28px;
  padding: 0 11px;
  border-radius: 4px;
  border: 1px solid var(--sp-dark-line-hi);
  background: #22252a;
  color: #ecece8;
  font: 500 12px/1 var(--mono);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.speed-copy-btn:hover {
  background: #2d3138;
  border-color: var(--sp-accent);
  color: #ffffff;
}

.speed-cmd-card pre {
  margin: 0;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font: 450 13px/1.6 var(--mono);
  color: #e6e7e9;
  overflow-x: auto;
  flex: 1;
}

.speed-cmd-card pre code {
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  font: inherit;
  color: inherit;
}

/* ===== SECTION 05: LOCAL NVME & EPHEMERAL MICROVMS ===== */
.speed-split-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.speed-io-light {
  background: var(--sp-light-subtle);
  border: 1px solid var(--sp-light-line);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.speed-big-metric {
  margin: 4px 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--sp-light-line);
}

.speed-big-metric strong {
  display: block;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  color: #f4f4f1;
}

.speed-big-metric span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--sp-light-muted);
}

.speed-io-bars {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.speed-io-row {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr) 74px;
  gap: 12px;
  align-items: center;
  font-size: 13px;
}

.speed-io-row strong {
  text-align: right;
  font: 600 13px/1 var(--mono);
  color: #f4f4f1;
}

.speed-io-track {
  height: 10px;
  border-radius: 999px;
  background: #22242a;
  overflow: hidden;
}

.speed-io-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff5b1f, #ff7e47);
}

.speed-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.speed-check-list li {
  margin: 0;
  padding-left: 18px;
  position: relative;
  font-size: 14px;
  line-height: 1.55;
  color: var(--sp-light-muted);
}

.speed-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--sp-accent);
}

.speed-check-list li strong {
  color: var(--sp-light-fg);
}

.speed-io-dark {
  background: var(--surface-3);
  border: 1px solid var(--line-default);
  border-radius: 10px;
  padding: 28px;
  color: var(--sp-dark-fg);
  display: flex;
  flex-direction: column;
}

body.page-speed .speed-light .speed-io-dark h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #f6f6f3;
}

.speed-io-dark > p {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--sp-dark-muted);
}

.speed-vm-steps {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.speed-vm-steps li {
  margin: 0;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 14px;
  border-radius: 7px;
  background: var(--surface-4);
  border: 1px solid var(--line-default);
}

.speed-vm-steps li span {
  font: 600 12px/1.4 var(--mono);
  color: #d4d4dc;
}

.speed-vm-steps li strong {
  display: block;
  font-size: 14px;
  font-weight: 550;
  color: #f4f4f1;
  margin-bottom: 2px;
}

.speed-vm-steps li small {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--sp-dark-muted);
}

.speed-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 10px 15px;
  border-radius: 6px;
  background: #f5f5f2;
  color: #111212;
  font: 500 13.5px/1 var(--font);
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.speed-card-link:hover {
  background: #ffffff;
  color: #111212;
}

/* ===== CLOSING CTA BAND ===== */
.speed-cta-band {
  background:
    radial-gradient(50% 90% at 50% 0%, rgba(255, 91, 31, 0.12), transparent 72%),
    #0e0f10;
  border-top: 1px solid var(--sp-dark-line);
  color: var(--sp-dark-fg);
}

.speed-cta-inner {
  text-align: left;
  max-width: calc(var(--sp-wrap) + var(--sp-gutter) * 2);
}

body.page-speed .speed-cta-band h2 {
  color: #f6f6f3;
  max-width: 22ch;
}

.speed-cta-band .speed-lead {
  max-width: 58ch;
  margin-bottom: 26px;
}

.speed-cta-band .speed-lead code {
  background: #1d1f23;
  box-shadow: inset 0 0 0 1px #32353b;
  color: #f4f4f1;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .speed-topo-grid .topo-core-summary,
  .speed-topo-grid .topo-thread-slots,
  .speed-toggle,
  .speed-toggle-dot,
  .speed-btn-primary,
  .speed-btn-secondary {
    transition: none !important;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1140px) {
  .speed-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 32px;
  }
  .speed-steal-grid,
  .speed-split-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 960px) {
  .speed-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .speed-hero {
    padding: 52px 0 48px;
  }
  body.page-speed .speed-band {
    padding: 60px 0;
  }
  .speed-band-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .speed-topo-grid,
  .speed-cards-3,
  .speed-mech-grid,
  .speed-cmd-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.speed-mobile-hero-bars { display: none; }
@media (max-width: 640px) {
  .speed-copy-btn { min-height: 48px; font-size: 15px; }
  .speed-wrap { padding: 0 24px; }
  .speed-hero { padding: 84px 0 96px; min-height: calc(100svh - 56px); background-image: none; border-bottom: 0; }
  .speed-eyebrow,
  .speed-kicker,
  .speed-proof-bar,
  .speed-telemetry-card,
  .speed-panel-meta,
  .speed-topo-status { display: none; }
  body.page-speed .speed-hero h1 { font-size: 40px; font-weight: 600; line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 16px; }
  body.page-speed .speed-hero .speed-h1-sub { display: block; margin-bottom: 28px; font-size: 18.5px; line-height: 1.48; font-weight: 400; color: #c8c8d2; }
  .speed-lead { display: none; }
  .speed-mobile-hero-bars {
    display: block; margin-top: 38px; padding: 22px 20px;
    border: 1px solid var(--line-default); border-radius: 10px;
    background: radial-gradient(75% 60% at 15% 0%, rgba(255,255,255,0.04), transparent 65%), var(--surface-3);
  }
  .speed-mhb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line-subtle); }
  .speed-mhb-head span { font: 500 14px/1.3 var(--mono); color: #c8c8d2; }
  .speed-mhb-head strong { font: 700 40px/1 var(--font); letter-spacing: -0.03em; color: #34d399; }
  .speed-mhb-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 16px; color: #c8c8d2; margin-bottom: 8px; }
  .speed-mhb-row b { font: 600 18.5px/1 var(--mono); color: #f4f4f1; white-space: nowrap; flex: none; }
  .speed-mhb-row.is-us { color: #ffffff; font-weight: 600; margin-top: 18px; }
  .speed-mhb-row.is-us b { font-size: 21px; color: #ff7c4d; font-weight: 700; white-space: nowrap; flex: none; }
  .speed-mhb-track { height: 12px; border-radius: 3px; background: #1c1c22; overflow: hidden; }
  .speed-mhb-track i { display: block; height: 100%; border-radius: 3px; background: #5a5a66; }
  .speed-mhb-track.is-us i { background: #ff5b1f; }
  .speed-section-lead { font-size: 17.5px; line-height: 1.52; margin-bottom: 24px; color: #c8c8d2; }
  body.page-speed .speed-band { padding: 84px 0; border-top: 1px solid var(--line-subtle); }
  body.page-speed #silicon-lottery { padding-top: 24px; border-top: 0; }
  body.page-speed .speed-band h2 { font-size: 34px; font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; }
  .speed-hero-actions,
  .speed-cta-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .speed-btn-primary { width: 100%; min-height: 54px; border-radius: 6px; font-size: 17px; font-weight: 600; justify-content: center; }
  .speed-btn-secondary {
    width: 100%; min-height: 50px; border: 1px solid var(--line-default); border-radius: 6px; background: #101013; color: #e4e4ec;
    font-size: 16px; justify-content: center; text-decoration: none;
  }
  .speed-toggle { width: 100%; min-height: 50px; font-size: 15.5px; justify-content: center; }

  /* V3 framed dark graphic cards (var(--line-default) hairline + subtle top-left radial glow) */
  .speed-panel-light {
    border: 1px solid var(--line-default); border-radius: 10px; padding: 18px;
    background: radial-gradient(75% 60% at 15% 0%, rgba(255,255,255,0.035), transparent 65%), var(--surface-3);
    margin-bottom: 18px;
  }
  .speed-suite-panel { border: 0; background: transparent; border-radius: 0; margin-bottom: 12px; overflow: visible; }
  .speed-panel-head { padding: 0 0 14px; border-bottom: 1px solid var(--line-subtle); background: transparent; margin-bottom: 16px; }
  .speed-suite-head { padding: 0 0 14px; border-bottom: 0; background: transparent; }
  .speed-suite-badge { display: none; }
  .speed-suite-title-row { margin-bottom: 6px; }
  .speed-chart-frame { padding: 0 0 10px; background: transparent; }
  .speed-topo-card,
  .speed-delivery-dark,
  .speed-mech-card,
  .speed-io-light,
  .speed-io-dark {
    padding: 18px; border: 1px solid var(--line-default); border-radius: 10px;
    background: radial-gradient(75% 60% at 15% 0%, rgba(255,255,255,0.035), transparent 65%), var(--surface-3);
  }
  /* Horizontal swipe-peek carousels for 3-card highlights, mechanisms, NVMe/VM split, AND 4 measured workloads! */
  .speed-cards-3,
  .speed-mech-grid,
  .speed-split-cards {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin-inline: -24px; padding: 4px 24px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .speed-cards-3::-webkit-scrollbar,
  .speed-mech-grid::-webkit-scrollbar,
  .speed-split-cards::-webkit-scrollbar { display: none; }
  .speed-dark-card,
  .speed-mech-card,
  .speed-io-light,
  .speed-io-dark {
    flex: 0 0 302px; scroll-snap-align: start; padding: 18px;
    border: 1px solid var(--line-default); border-radius: 10px;
    background: radial-gradient(75% 60% at 15% 0%, rgba(255,255,255,0.035), transparent 65%), var(--surface-3);
  }

  /* Swap scaled desktop SVGs for ultra-crisp 1:1 HTML charts on phones */
  .speed-chart-svg,
  .speed-topo-svg { display: none; }
  .speed-mobile-chart { display: grid; gap: 20px; }
  .speed-mchart-row { display: grid; gap: 8px; padding-bottom: 0; border-bottom: 0; }
  .speed-mchart-top {
    display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap;
  }
  .speed-mchart-top strong { font-size: 17px; font-weight: 600; color: #ffffff; margin-right: auto; }
  .speed-mchart-med { font: 700 17px/1.2 var(--mono); color: #f4f4f1; font-variant-numeric: tabular-nums; }
  .speed-mchart-badge { font: 500 14.5px/1.2 var(--font); color: #a8a8b4; }
  .speed-mchart-badge.is-us { color: #34d399; font-weight: 600; }
  .speed-mchart-badge.is-low { color: #f87171; }
  .speed-mchart-badge.is-mid { color: #fbbf24; }
  .speed-mchart-badge.is-ok { color: #d4d4dc; }
  .speed-mchart-sub { font-size: 15.5px; line-height: 1.48; color: #c8c8d2; }
  .speed-mchart-track {
    position: relative; height: 22px; border-radius: 4px;
    background: #141418; border: 1px solid #222228; overflow: hidden;
  }
  .speed-mchart-grid {
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(to right, transparent 0, transparent calc(25% - 1px), #222228 calc(25% - 1px), #222228 25%);
  }
  .speed-mchart-span {
    position: absolute; top: 4px; bottom: 4px; border-radius: 3px;
    background: rgba(156, 163, 175, 0.45); border: 1px solid #9ca3af;
  }
  .speed-mchart-span.is-us { background: rgba(255, 91, 31, 0.85); border-color: #ff7f4d; min-width: 3px; }
  .speed-mchart-dot {
    position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%;
    transform: translate(-50%, -50%); background: #ffffff; border: 2px solid #0a0a0a;
  }
  .speed-mchart-dot.is-us { background: #ffffff; border-color: #ff5b1f; width: 12px; height: 12px; }
  .speed-mchart-fill { position: absolute; top: 0; bottom: 0; left: 0; background: #6b7280; }
  .speed-mchart-fill.is-low { background: #ef4444; }
  .speed-mchart-fill.is-mid { background: #f59e0b; }
  .speed-mchart-whisker {
    position: absolute; top: 50%; height: 2px; background: #ffffff;
    transform: translateY(-50%); border-left: 2px solid #ffffff; border-right: 2px solid #ffffff;
  }
  .speed-mchart-ref { position: absolute; top: 0; bottom: 0; width: 1.5px; background: rgba(255, 255, 255, 0.7); }
  .speed-mchart-scale {
    position: relative; height: 18px;
    font: 450 12.5px/1 var(--mono); color: #888894;
  }
  .speed-mchart-scale span { position: absolute; top: 2px; }
  .speed-mchart-scale span.is-mid { transform: translateX(-50%); }
  .speed-mchart-scale span.is-end { transform: translateX(-100%); }
  .speed-topo-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
  .speed-topo-mcore {
    padding: 12px; border-radius: 7px; background: #141418;
    border: 1px dashed #2e2e36; display: grid; gap: 4px;
  }
  .speed-topo-mcore.is-us { background: rgba(255, 91, 31, 0.08); border: 1.5px solid #ff5b1f; }
  .speed-topo-mcore span { font: 500 13.5px/1.2 var(--mono); color: #b4b4c0; }
  .speed-topo-mcore.is-us span { color: #e4e4ec; }
  .speed-topo-mcore strong { font-size: 16px; color: #ffffff; font-weight: 600; }
  .speed-topo-mcore em { font-style: normal; font-size: 15px; color: #c8c8d2; }
  .speed-m-note { margin: 8px 0 0; border: 0; background: transparent; }
  .speed-m-note > .m-fold-sum { background: transparent; font-size: 16px; color: #e4e4ec; border-top: 1px solid var(--line-subtle); border-bottom: 0; padding: 14px 0 4px; min-height: 50px; }
  .speed-topo-grid[data-threads="off"] .topo-m-thr { display: none; }
  .speed-topo-grid[data-threads="on"] .topo-m-sum { display: none; }

  .speed-panel-def,
  .speed-panel-foot { padding: 12px 0; background: transparent; border-top: 0; }
  .speed-panel-def,
  .speed-panel-foot,
  .speed-stat-item dd span,
  .speed-topo-sub,
  .speed-topo-foot,
  .speed-dark-card p,
  .speed-delivery-dark > p,
  .speed-delivery-specs dd,
  .speed-mech-card p,
  .speed-suite-head p,
  .speed-suite-rate-meta,
  .speed-cell-sub,
  .speed-row-sub,
  .speed-cost-save,
  .speed-check-list li,
  .speed-vm-steps li small { font-family: var(--font); font-size: 16px; line-height: 1.52; color: #c8c8d2; }
  .speed-io-row { grid-template-columns: minmax(0, 1fr) auto; font-size: 16px; color: #e4e4ec; }
  .speed-io-track { grid-column: 1 / -1; order: 3; }

  /* Horizontal swipe-peek workload cards (cuts #workloads from 2.5 screens -> 0.6 screen!) */
  body.page-speed .speed-light table.speed-table,
  body.page-speed table.speed-table-dark { display: block; overflow: visible; border: 0; background: transparent; }
  body.page-speed .speed-light table.speed-table caption { display: block; font-size: 14px; }
  body.page-speed table.speed-table thead,
  body.page-speed table.speed-table-dark thead { display: none; }
  body.page-speed table.speed-table tbody { display: grid; gap: 0; padding: 0; }
  body.page-speed table.speed-table-dark tbody {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin-inline: -24px; padding: 4px 24px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  body.page-speed table.speed-table-dark tbody::-webkit-scrollbar { display: none; }
  body.page-speed .speed-light table.speed-table tr {
    display: block; border: 0; border-bottom: 1px solid var(--line-subtle); border-radius: 0; background: transparent; padding: 14px 0;
  }
  body.page-speed .speed-light table.speed-table tr.is-us-row { background: transparent; border-color: #2e2e36; }
  body.page-speed .speed-light table.speed-table tr.is-us-row td:first-child { box-shadow: none; }
  body.page-speed table.speed-table-dark tr {
    flex: 0 0 302px; scroll-snap-align: start;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px;
    border: 1px solid var(--line-default); border-radius: 10px;
    background: radial-gradient(75% 60% at 15% 0%, rgba(255,255,255,0.035), transparent 65%), var(--surface-3);
    padding: 18px;
  }
  body.page-speed table.speed-table-dark tr td:first-child {
    grid-column: 1 / -1; padding-bottom: 10px; border-bottom: 1px solid var(--line-subtle);
  }
  body.page-speed .speed-tier-pill { display: none; }
  body.page-speed .speed-light table.speed-table td,
  body.page-speed table.speed-table-dark td {
    display: block; border: 0; padding: 4px 0; font-size: 16px;
    text-align: left !important; white-space: normal !important;
  }
  body.page-speed .speed-light table.speed-table td::before,
  body.page-speed table.speed-table-dark td::before {
    content: attr(data-label); display: block;
    font: 500 13px/1.4 var(--font); color: #9a9aa6; margin-bottom: 2px;
  }
}

.page-speed svg text:is([font-size="9.8"], [font-size="10"], [font-size="10.5"], [font-size="11"]) { font-size: 12px; }
/* Proportional labels fit the topology diagram's fixed-width core boxes at 12px. */
.page-speed .speed-topo-svg text:is([font-size="9.8"], [font-size="10"], [font-size="10.5"]) { font-family: var(--font); letter-spacing: -0.02em; }
