@media (max-width: 980px) {
  .tc-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .tc-hero-copy h1,
  .tc-hero-copy p {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .tc-hero-copy p {
    max-width: 34rem;
  }

  .tc-hero-copy .cta {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-seo-links {
    justify-content: center;
  }

}

.menu-wrap {
  grid-area: nav;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-wordmark {
  transform: translateY(-136px);
}

.hero-motion .float-inner {
  transform: translateY(-28px);
}

.external-platform-btn {
  bottom: 22px;
  animation: bonus-btn-breathe 3.8s ease-in-out infinite;
  will-change: box-shadow, border-color, filter;
  text-shadow: 0 1px 0 rgba(8, 21, 58, 0.45);
}

.external-platform-btn::before {
  top: -170%;
  left: -58%;
  width: 24%;
  height: 440%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.12),
    rgba(173, 245, 255, 0.92),
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0)
  );
  filter: blur(1px);
  animation: bonus-btn-sheen 5.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes bonus-btn-breathe {
  0%,
  100% {
    border-color: rgba(111, 229, 255, 0.62);
    box-shadow:
      inset 0 1px 0 rgba(205, 247, 255, 0.52),
      inset 0 -10px 18px rgba(3, 19, 56, 0.45),
      0 14px 28px rgba(3, 11, 34, 0.5),
      0 0 18px rgba(56, 213, 255, 0.2);
    filter: saturate(1) brightness(1);
  }

  50% {
    border-color: rgba(154, 241, 255, 0.98);
    box-shadow:
      inset 0 1px 0 rgba(233, 252, 255, 0.78),
      inset 0 -10px 18px rgba(3, 19, 56, 0.5),
      0 18px 34px rgba(2, 10, 30, 0.58),
      0 0 34px rgba(56, 213, 255, 0.38);
    filter: saturate(1.12) brightness(1.05);
  }
}

@keyframes bonus-btn-sheen {
  0%,
  56% {
    transform: translateX(0) rotate(18deg);
    opacity: 0;
  }

  68% {
    opacity: 0.96;
  }

  84% {
    transform: translateX(620%) rotate(18deg);
    opacity: 0.9;
  }

  100% {
    transform: translateX(620%) rotate(18deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .external-platform-btn,
  .external-platform-btn::before {
    animation: none;
  }
}

@media (max-width: 960px) {
  .menu-wrap {
    grid-area: auto;
    display: inline-flex;
    justify-content: flex-start;
  }

  .menu-wrap .nav {
    top: calc(100% + 18px);
    right: auto;
    left: 0;
  }

  .hero-wordmark {
    transform: translateY(-72px);
  }

  .hero-motion .float-inner {
    transform: translateY(-18px);
  }

  .external-platform-btn {
    margin-top: 0.35rem;
  }
}

@media (max-width: 640px) {
  .tc-hero {
    padding: 1.6rem 0 0.45rem;
    gap: 0.35rem;
  }

  .tc-hero-art {
    margin-top: 2.55rem;
  }

  .hero-wordmark {
    transform: translateY(-10px);
  }

  .hero-motion .float-inner {
    transform: translateY(4px);
  }

  .external-platform-btn {
    margin-top: 1.2rem;
  }

  .tc-metrics {
    margin-top: -2rem;
  }

  .tc-metrics,
  .tc-calculator,
  .tc-benefits,
  .sports-story,
  .partners,
  .sponsors-panel,
  .tc-academy,
  .tc-register {
    padding-top: 0.55rem;
    padding-bottom: 0.75rem;
  }

  .sub-seo-head {
    margin-bottom: 0.6rem;
    padding: 0.85rem 0.95rem;
  }

  .tc-head p,
  .tc-head-row p,
  .sports-story-grid,
  .program-compare-wrap,
  .sponsors-box {
    margin-top: 0.55rem;
  }

  .tc-calculator {
    padding-bottom: 0.2rem;
  }

  .tc-calculator + .tc-benefits {
    padding-top: 0.15rem;
    margin-top: -0.65rem;
  }
}
