/* Shared Overdrive safeguards: readable controls, reliable targets and calm idle states. */

html.overdrive-live-open,
html.overdrive-live-open body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.home-page :is(
  .hero-action,
  .service-route__cta,
  .case-study-cta,
  .pricing-grid .price-plan > a,
  .nexus-panel > a,
  .contact-start
) {
  min-height: 48px;
  font-size: 11px;
  touch-action: manipulation;
}

.home-page :is(.nav-links, .hero-rail p, .hero-rail a, .pricing-swipe-hint) {
  font-size: 11px;
}

.home-page .nav-brand,
.home-page .contact-section > footer .footer-details > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  touch-action: manipulation;
}

.home-page :is(.constellation-star span, .signal-console__header, .flight-recorder summary) {
  font-size: 11px;
}

.home-page .featured-work--nsta :is(.nsta-live-hint, .nsta-live-preview__boot, .window-address) {
  font-size: 11px;
}

.home-page .featured-work--nsta .nsta-live-preview[data-live-state="error"] .nsta-live-preview__boot a {
  min-height: 44px;
  padding-inline: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-page .intake-dialog :is(
  .intake-header p,
  .intake-progress span,
  .intake-index,
  .intake-paths button > span,
  .intake-paths button > b,
  .intake-form label > span,
  .brief-step > legend span,
  .choice-group > legend,
  .choice-grid label > span,
  .intake-actions button,
  .intake-success a,
  .intake-success button,
  .intake-draft-row button
) {
  font-size: 11px;
}

.home-page .intake-dialog :is(.intake-actions button, .intake-success a, .intake-success button, .intake-draft-row button) {
  min-height: 44px;
  touch-action: manipulation;
}

/* Keep the secondary pricing instruments at their final pose. The authored
   Launch ignition remains active while the pricing section is visible. */
.home-page .pricing-section.is-orbital-ladder :is(
  .orbit-system,
  .orbit-system *,
  .math-cloud,
  .math-cloud *,
  .speed-lines,
  .speed-lines *
) {
  animation: none !important;
  will-change: auto !important;
}

@media (max-width: 720px) {
  .home-page .hero-copy .studio-line,
  .home-page .hero-rail p,
  .home-page .hero-rail a {
    font-size: 11px;
  }
}

@media (max-width: 900px) and (max-height: 560px) {
  .home-page .work-section .featured-work--nsta.overdrive-dossier > .project-stage .project-capture {
    min-height: 260px;
    height: calc(100dvh - 148px) !important;
  }

  .home-page .work-section .featured-work--nsta.overdrive-dossier > .project-stage .overdrive-live-gate {
    top: 56px;
    bottom: auto;
  }
}

@media (max-width: 460px) {
  .home-page .intake-success > :is(a, button) {
    width: 100%;
    min-height: 48px;
    margin: 8px 0 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page :is(a, button, summary) {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
