/* Shared telemetry surface, scoped to the three selected content sections. */
body:has([data-telemetry-section]) .site-header {
  background: rgba(8, 8, 7, 0.96);
}

.section.telemetry-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fffaf1;
  background: #090b0c;
  border-bottom-color: #303435;
  scroll-margin-top: 84px;
  --muted: #c4c2bb;
  --red: #ffb28b;
  --line: rgba(255, 250, 241, 0.2);
  --line-light: rgba(255, 250, 241, 0.12);
}

.section-telemetry,
.telemetry-scrim {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.section-telemetry { z-index: -2; }

.telemetry-scrim {
  z-index: -1;
  background:
    var(--telemetry-copy-scrim, linear-gradient(transparent, transparent)),
    radial-gradient(ellipse at center, rgba(9, 11, 12, 0.62), transparent 78%),
    linear-gradient(180deg, rgba(9, 11, 12, 0.12), rgba(9, 11, 12, 0.34) 24%, rgba(9, 11, 12, 0.34) 76%, rgba(9, 11, 12, 0.12));
  background-size: 100% 100%;
}

.telemetry-watermark {
  position: absolute;
  top: 6px;
  right: 18px;
  z-index: -3;
  color: #fffaf1;
  opacity: 0.045;
  font-family: var(--font-archivo);
  font-size: clamp(64px, 13vw, 190px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
  pointer-events: none;
  user-select: none;
}

.telemetry-section h2,
.telemetry-section h3,
.telemetry-section .experience-titleline { color: #fffaf1; }

.telemetry-section .metric-grid span {
  color: #fffaf1;
  background: #131719;
}

.telemetry-section .testing-offers article { background: #131719; }
.telemetry-section .testing-offers article:hover { background: #1c2225; }
.telemetry-section .experience-card-light { color: #595a58; }

.telemetry-section .button-primary {
  color: #171614;
  background: #fffaf1;
  border-color: #fffaf1;
}

.telemetry-section .button-primary:hover {
  color: #fffaf1;
  background: #242829;
}

.telemetry-section a:focus-visible,
.telemetry-section button:focus-visible {
  outline: 2px solid #fffaf1;
  outline-offset: 4px;
}

.telemetry-footer,
.telemetry-toggle {
  position: absolute;
  font-family: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.telemetry-footer {
  bottom: 35px;
  left: clamp(24px, 4.2vw, 72px);
  color: #b6b8b6;
  text-transform: uppercase;
  pointer-events: none;
}

.telemetry-toggle {
  right: clamp(24px, 4.2vw, 72px);
  bottom: 24px;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #fffaf1;
  background: #111416;
  border: 1px solid #515453;
  border-radius: 2px;
  cursor: pointer;
}

.telemetry-toggle[hidden] { display: none; }
.telemetry-toggle:hover { background: #242829; border-color: #c4c2bb; }
.telemetry-toggle-icon { width: 7px; height: 9px; border-inline: 2px solid currentColor; }
.telemetry-toggle[aria-pressed="true"] .telemetry-toggle-icon {
  height: 0;
  border: 5px solid transparent;
  border-right: 0;
  border-left: 7px solid currentColor;
}

@media (max-width: 1040px) {
  .section.telemetry-section { scroll-margin-top: 76px; }
}

@media (max-width: 680px) {
  .section.telemetry-section { padding-top: 128px; padding-bottom: 144px; scroll-margin-top: 72px; }
  .telemetry-section .sport-grid article { background: rgba(19, 23, 25, 0.7); }
  .telemetry-watermark { top: 12px; right: 12px; }
  .telemetry-footer { bottom: 26px; left: 16px; max-width: 180px; font-size: 9px; }
  .telemetry-toggle { right: 16px; bottom: 15px; padding-inline: 10px; font-size: 9px; }
}
