.metric-primary {
  transform: none;
}

.hero-launch-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  width: min(100%, 390px);
  min-height: 132px;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: linear-gradient(135deg, #70c6ff, #1595ef);
  box-shadow: 0 16px 34px rgba(8, 107, 190, 0.22);
  color: #052853;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-launch-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(8, 107, 190, 0.3);
}

.hero-launch-card img {
  display: block;
  width: 74px;
  height: auto;
}

.hero-launch-card small,
.hero-launch-card strong,
.hero-launch-card b {
  display: block;
}

.hero-launch-card small {
  margin-bottom: 0.15rem;
  font-size: 0.73rem;
  font-weight: 800;
}

.hero-launch-card strong {
  font-size: 1.15rem;
  line-height: 1.18;
}

.hero-launch-card b {
  margin-top: 0.45rem;
  color: #fff;
  font-size: 0.9rem;
}

@media (max-width: 540px) {
  .hero-launch-card {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 112px;
  }

  .hero-launch-card img {
    width: 58px;
  }
}

.legacy-code-slot {
  display: block;
  min-height: 0;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 92% 8%, rgba(71, 167, 255, 0.34), transparent 12rem),
    linear-gradient(145deg, #071d39, #0a3d75);
  box-shadow: 0 20px 44px rgba(7, 38, 76, 0.2);
  text-align: left;
}

.legacy-login {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  width: 100%;
}

.legacy-login-message {
  margin: 0 0 1.15rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 159, 159, 0.5);
  border-radius: 10px;
  background: rgba(126, 11, 31, 0.32);
  color: #ffd2d8;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.legacy-reset-link {
  display: inline-block;
  margin-top: 1.15rem;
  color: #8fd0ff;
  font-size: 0.88rem;
  font-weight: 850;
  text-underline-offset: 0.25rem;
}

.legacy-reset-link:hover {
  color: #fff;
}

.footer-copy p {
  margin: 0;
}

.footer-copy .technical-contact {
  margin-top: 0.3rem;
  font-size: 0.8rem;
}

.technical-contact a {
  color: #075dbb;
  font-weight: 800;
  text-underline-offset: 0.2rem;
}

.legacy-login-heading {
  grid-column: 1 / -1;
}

.legacy-login-heading span,
.legacy-login-heading strong {
  display: block;
}

.legacy-login-heading span {
  color: #7ec4ff;
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legacy-login-heading strong {
  color: #fff;
  font-size: 1.45rem;
}

.legacy-login label {
  display: grid;
  gap: 0.3rem;
}

.legacy-login label > span {
  color: #d5e8fb;
  font-size: 0.78rem;
  font-weight: 800;
}

.legacy-login input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(190, 220, 248, 0.5);
  border-radius: 10px;
  background: #fff;
  color: #071b32;
  font: inherit;
}

.legacy-login input:focus {
  border-color: #0878ff;
  outline: 3px solid rgba(8, 120, 255, 0.14);
}

.legacy-login button {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: #55b9ff;
  color: #052343;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.legacy-login button:hover {
  background: #fff;
}

@media (max-width: 540px) {
  .legacy-login {
    grid-template-columns: 1fr;
  }
}