:root {
  --canary: #ffd200;
  --hot-pink: #ff3ea5;
  --ink: #080c0b;
  --charcoal: #101514;
  --mist: #f8f4ea;
  --signal: #67c8e9;
  --line-dark: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

@property --instrument-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #0b0f0e, #121a18);
  background-size: 56px 56px, 56px 56px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

::selection {
  color: #fff;
  background: var(--hot-pink);
  text-shadow: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 34px;
  background: rgba(8, 12, 11, 0.78);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.16);
}

.brand {
  width: clamp(148px, 13vw, 188px);
  height: 45px;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.primary-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 760;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--canary);
  outline: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-header-call {
  display: none;
}

.speed-test-nav {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  color: var(--hot-pink);
  font-size: 0.9rem;
  font-weight: 920;
  border: 1px solid rgba(255, 62, 165, 0.52);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 62, 165, 0.18), transparent 58%),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 26px rgba(255, 62, 165, 0.16);
}

.speed-test-nav:hover,
.speed-test-nav:focus-visible,
.speed-test-nav[aria-current="page"] {
  border-color: rgba(255, 62, 165, 0.86);
  background:
    linear-gradient(135deg, rgba(255, 62, 165, 0.44), rgba(103, 200, 233, 0.14)),
    rgba(255, 255, 255, 0.08);
  outline: none;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  outline: none;
}

.call-button {
  color: var(--ink);
  border-color: var(--canary);
  background: var(--canary);
  box-shadow: 0 10px 28px rgba(255, 210, 0, 0.22);
}

.button-secondary {
  color: #fff;
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.08);
}

.speed-page-main {
  min-height: calc(100svh - 78px);
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 62, 165, 0.11), transparent 25%),
    radial-gradient(circle at 72% 34%, rgba(103, 200, 233, 0.14), transparent 29%),
    radial-gradient(circle at 18% 18%, rgba(255, 210, 0, 0.14), transparent 26%),
    radial-gradient(circle at 24% 78%, rgba(103, 200, 233, 0.08), transparent 30%),
    linear-gradient(180deg, #0b0f0e, #121a18);
}

.speed-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(430px, 0.95fr);
  gap: clamp(24px, 4.2vw, 64px);
  align-items: center;
  min-height: calc(100svh - 78px);
  padding: clamp(36px, 5vw, 68px) clamp(22px, 7vw, 104px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
}

.speed-lab-copy,
.speed-panel,
.speed-gauge,
.speed-instrument,
.instrument-readout {
  min-width: 0;
}

.speed-lab-copy h1 {
  max-width: 780px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(3rem, 4.9vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.speed-lab-copy > p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.speed-lab-copy .speed-disclaimer {
  max-width: 600px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.speed-context {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-top: clamp(24px, 4vh, 38px);
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--hot-pink);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 62, 165, 0.1), transparent 44%),
    rgba(255, 255, 255, 0.055);
}

.speed-context > strong {
  color: #fff;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.2;
}

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

.speed-context-grid span {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(8, 12, 11, 0.26);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  line-height: 1.32;
}

.speed-context-grid b {
  color: var(--canary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.speed-context-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding-top: 2px;
}

.speed-context-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.42;
}

.speed-context-cta .button {
  min-height: 40px;
  padding-inline: 16px;
  white-space: nowrap;
}

.speed-panel {
  padding: clamp(15px, 2.3vw, 24px);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  background:
    radial-gradient(circle at 84% 16%, rgba(255, 62, 165, 0.1), transparent 30%),
    radial-gradient(circle at 14% 86%, rgba(255, 210, 0, 0.09), transparent 34%),
    linear-gradient(135deg, rgba(103, 200, 233, 0.12), transparent 44%),
    rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.speed-visual-panel {
  display: grid;
  gap: clamp(14px, 2.1vw, 22px);
}

.speed-panel-actions {
  display: flex;
  justify-content: flex-start;
}

.speed-panel-actions .button {
  min-width: 190px;
}

.speed-instrument {
  --instrument-percent: 0%;
  --instrument-angle: 0deg;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 10px;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 210, 0, 0.11), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(255, 62, 165, 0.08), transparent 30%),
    rgba(8, 12, 11, 0.25);
}

.instrument-ring {
  position: relative;
  width: 118px;
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(8, 12, 11, 0.92) 0 58%, transparent 59%),
    conic-gradient(from -135deg, var(--canary) 0deg var(--instrument-angle), rgba(255, 255, 255, 0.14) var(--instrument-angle) 270deg, transparent 270deg 360deg);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 34px rgba(103, 200, 233, 0.12);
  transition: --instrument-angle 820ms cubic-bezier(0.2, 0.82, 0.2, 1);
}

.instrument-ring::before {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(103, 200, 233, 0.22);
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent 48%, rgba(103, 200, 233, 0.22) 49% 51%, transparent 52%),
    linear-gradient(transparent 48%, rgba(103, 200, 233, 0.22) 49% 51%, transparent 52%);
  opacity: 0.8;
}

.instrument-ring::after {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: inherit;
  background:
    radial-gradient(circle, rgba(103, 200, 233, 0.1), transparent 58%),
    rgba(255, 210, 0, 0.055);
  box-shadow: inset 0 0 24px rgba(103, 200, 233, 0.12);
}

.instrument-pointer {
  position: absolute;
  left: calc(50% - 1px);
  top: 50%;
  z-index: 2;
  width: 42%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 210, 0, 0.2), var(--canary), var(--hot-pink));
  box-shadow:
    0 0 18px rgba(255, 210, 0, 0.36),
    0 0 10px rgba(255, 62, 165, 0.26);
  transform: rotate(calc(135deg + var(--instrument-angle)));
  transform-origin: left center;
  transition: transform 820ms cubic-bezier(0.2, 0.82, 0.2, 1);
}

.instrument-pointer::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: var(--charcoal);
  transform: translateY(-50%);
}

.instrument-pointer::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}

.speed-instrument.is-running .instrument-ring {
  animation: instrument-breathe 1.45s ease-in-out infinite;
}

.instrument-readout span,
.speed-gauge-head span {
  color: var(--signal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.instrument-readout strong {
  display: block;
  margin: 5px 0;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  line-height: 0.95;
}

.instrument-readout small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.42em;
}

.instrument-readout p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  line-height: 1.32;
}

.instrument-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.instrument-meta span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.instrument-meta small {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.instrument-meta strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.instrument-details {
  grid-column: 1 / -1;
  min-width: 0;
  padding-top: 2px;
}

.instrument-details summary {
  width: max-content;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.instrument-details summary::marker {
  color: var(--hot-pink);
}

.instrument-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.speed-gauge {
  display: grid;
  gap: 9px;
}

.speed-gauge-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.speed-gauge-head strong {
  color: #fff;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  line-height: 1;
}

.milestone-bar {
  position: relative;
  height: 15px;
  margin: 8px 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 210, 0, 0.08), rgba(255, 62, 165, 0.06), rgba(103, 200, 233, 0.08)),
    rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(8, 12, 11, 0.28);
}

.milestone-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--speed-percent, 0%);
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--canary), var(--hot-pink) 54%, var(--signal));
  box-shadow:
    0 0 20px rgba(255, 210, 0, 0.14),
    0 0 20px rgba(103, 200, 233, 0.14);
  transition: width 720ms ease;
}

.milestone-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-100%);
}

.speed-gauge.is-measuring .milestone-fill {
  min-width: 14%;
}

.speed-gauge.is-measuring .milestone-fill::after {
  animation: speed-scan 1.05s ease-in-out infinite;
}

.milestone-marker-layer,
.ruler-marker-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.milestone-marker {
  position: absolute;
  left: var(--marker-position);
  top: 50%;
  width: 1px;
  height: 17px;
  background: rgba(255, 255, 255, 0.26);
  transform: translate(-50%, -50%);
}

.milestone-marker::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  border: 1px solid var(--canary);
  border-radius: 999px;
  background: var(--charcoal);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 8px rgba(255, 210, 0, 0.24),
    0 0 12px rgba(255, 62, 165, 0.1);
}

.ruler-tick {
  position: absolute;
  left: var(--tick-position);
  top: calc(100% + 5px);
  width: 2px;
  height: 13px;
  background: rgba(255, 255, 255, 0.58);
  transform: translateX(-50%);
}

.ruler-tick.is-minor {
  top: calc(100% + 7px);
  width: 1px;
  height: 8px;
  background: rgba(255, 255, 255, 0.28);
}

.ruler-tick.has-no-label span {
  display: none;
}

.ruler-tick span {
  position: absolute;
  top: 14px;
  left: 50%;
  min-width: 70px;
  color: var(--signal);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  transform: translateX(-50%);
}

.ruler-tick:first-child span {
  left: 0;
  text-align: left;
  transform: none;
}

.ruler-tick:last-child span {
  left: 0;
  text-align: right;
  transform: translateX(-100%);
}

.milestone-legend {
  display: grid;
  gap: 6px;
}

.speed-gauge[data-speed-gauge="down"] .milestone-legend {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.speed-gauge[data-speed-gauge="up"] .milestone-legend {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.milestone-legend span {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 2px solid rgba(255, 210, 0, 0.72);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 210, 0, 0.07), rgba(255, 62, 165, 0.035)),
    rgba(8, 12, 11, 0.36);
}

.milestone-legend b {
  overflow: hidden;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.milestone-legend small {
  color: var(--signal);
  font-size: 0.54rem;
  font-weight: 900;
  line-height: 1;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(22px, 7vw, 104px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.site-footer img {
  width: 42px;
}

.site-footer a {
  color: var(--canary);
  font-weight: 900;
}

@keyframes speed-scan {
  to {
    transform: translateX(100%);
  }
}

@keyframes instrument-breathe {
  50% {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.18),
      0 0 42px rgba(103, 200, 233, 0.22),
      0 0 24px rgba(255, 210, 0, 0.12);
  }
}

@media (max-width: 1220px) {
  .speed-lab {
    grid-template-columns: minmax(0, 0.72fr) minmax(390px, 0.92fr);
    gap: 24px;
  }

  .speed-lab-copy h1 {
    font-size: clamp(2.55rem, 4.4vw, 4rem);
  }

  .speed-panel {
    padding: 16px;
  }

  .instrument-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    padding-inline: 20px;
  }

  .brand {
    width: 154px;
    height: 37px;
  }

  .primary-nav {
    display: none;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 110px 92px;
    justify-self: end;
    gap: 8px;
  }

  .header-actions .button-secondary {
    display: none;
  }

  .site-header .header-actions .call-button {
    width: 92px;
    min-width: 92px;
    max-width: 92px;
    padding-inline: 0;
    font-size: 0;
  }

  .site-header .header-actions .call-button::after {
    content: "Call Us";
    font-size: 0.88rem;
  }

  .speed-lab {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 58px;
  }

  .speed-panel {
    width: min(100%, 720px);
    justify-self: center;
  }

  .speed-instrument {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .instrument-ring {
    width: 108px;
  }
}

@media (max-width: 680px) {
  *,
  *::before,
  *::after {
    min-width: 0;
  }

  .site-header {
    display: grid;
    grid-template-columns: auto 78px;
    justify-content: normal;
    width: 100%;
    max-width: 100vw;
    min-height: 68px;
    gap: 8px;
    padding-inline: 12px;
    overflow: hidden;
  }

  .brand {
    width: 120px;
    height: 29px;
  }

  .speed-test-nav,
  .header-actions {
    display: none !important;
  }

  .mobile-header-call {
    position: fixed;
    top: 14px;
    right: 12px;
    z-index: 60;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 78px;
    min-height: 40px;
    padding-inline: 0;
    border: 1px solid var(--canary);
    border-radius: 8px;
    background: var(--canary);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 10px 28px rgba(255, 210, 0, 0.22);
  }

  .speed-lab {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100vw;
    padding: 42px 22px;
    gap: 22px;
    overflow: hidden;
  }

  .speed-lab-copy {
    width: calc(100vw - 44px);
    max-width: 100%;
  }

  .speed-lab-copy h1 {
    max-width: 9.4em;
    font-size: clamp(1.8rem, 7.4vw, 2.05rem);
    text-wrap: wrap;
  }

  .speed-lab-copy > p {
    max-width: 20em;
    overflow-wrap: break-word;
  }

  .speed-context {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    gap: 10px;
    margin-top: 22px;
    padding: 12px;
  }

  .speed-context-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    gap: 7px;
  }

  .speed-context-grid span {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: block;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    padding: 8px 9px;
    font-size: 0.8rem;
  }

  .speed-context-grid b {
    display: block;
    margin-bottom: 2px;
  }

  .speed-context-cta {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .speed-context-cta .button {
    width: 100%;
  }

  .speed-panel {
    width: calc(100vw - 44px);
    max-width: 100%;
    padding: 12px;
    overflow: hidden;
  }

  .speed-gauge {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .speed-gauge-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    align-items: start;
  }

  .speed-gauge-head strong {
    min-width: 0;
    justify-self: start;
    white-space: nowrap;
  }

  .speed-visual-panel {
    gap: 12px;
  }

  .speed-panel-actions .button {
    width: 100%;
    min-width: 0;
  }

  .speed-instrument {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }

  .instrument-ring {
    width: 76px;
  }

  .instrument-ring::before {
    inset: 10px;
  }

  .instrument-ring::after {
    inset: 22px;
  }

  .instrument-readout span,
  .speed-gauge-head span {
    font-size: 0.65rem;
  }

  .instrument-readout strong {
    margin: 3px 0;
    font-size: clamp(1.65rem, 9vw, 2.35rem);
  }

  .instrument-readout p {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .instrument-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 8px;
  }

  .instrument-details-grid {
    grid-template-columns: 1fr;
  }

  .instrument-meta small {
    font-size: 0.56rem;
  }

  .instrument-meta strong {
    font-size: 0.7rem;
  }

  .speed-gauge-head strong {
    font-size: clamp(1.15rem, 6vw, 1.55rem);
  }

  .milestone-bar {
    height: 13px;
    margin: 6px 0 34px;
  }

  .milestone-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 5px;
  }

  .milestone-legend span {
    gap: 2px;
    padding: 5px 6px;
  }

  .milestone-legend b {
    font-size: 0.5rem;
  }

  .milestone-legend small {
    font-size: 0.48rem;
  }

  .ruler-tick span {
    min-width: 44px;
    font-size: 0.56rem;
  }

  .ruler-tick[data-ruler-value="25"] span,
  .ruler-tick[data-ruler-value="50"] span,
  .ruler-tick[data-ruler-value="250"] span,
  .ruler-tick[data-ruler-value="500"] span,
  .speed-gauge[data-speed-gauge="up"] .ruler-tick[data-ruler-value="100"] span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
