.teams-discovery-shell {
  width: min(100% - 2rem, 72rem);
  margin: 7rem auto 3rem;
  color: #f5f7fa;
}

.teams-discovery-hero {
  border: 1px solid #45515e;
  border-radius: 1rem;
  background: linear-gradient(135deg, #1c232b, #202f3b);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
}

.teams-discovery-hero h1 {
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
}

.teams-discovery-eyebrow {
  margin: 0;
  color: #a9c7e5;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-verification-note,
.teams-discovery-future {
  color: #cbd5df;
}

.teams-discovery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.team-discovery-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid #93b0cd;
  border-radius: 0.4rem;
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
}

.team-discovery-button-primary {
  border-color: #1268b3;
  background: #1268b3;
  color: #fff;
}

.team-discovery-button-secondary {
  color: #fff;
}

.team-discovery-button-primary:hover {
  border-color: #0c508d;
  background: #0c508d;
  color: #fff;
}

.team-discovery-button-secondary:hover,
.teams-discovery-retry:hover {
  background: #35495b;
  color: #fff;
}

.team-discovery-button:focus-visible,
.teams-discovery-retry:focus-visible {
  outline: 3px solid #f0bd55;
  outline-offset: 3px;
}

.teams-discovery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1rem;
}

.team-discovery-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  border: 1px solid #45515e;
  border-radius: 0.75rem;
  background: #1c232b;
  padding: 1.25rem;
}

.team-discovery-card h3,
.team-discovery-card p {
  margin: 0;
  overflow-wrap: anywhere;
}

.team-discovery-platform {
  border-radius: 999px;
  background: #d4f4df;
  color: #17472b;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
}

.teams-discovery-feedback {
  min-height: 1.5rem;
  margin: 0.5rem 0 1rem;
}

.teams-discovery-retry {
  margin-left: 0.5rem;
  border: 1px solid #93b0cd;
  border-radius: 0.35rem;
  background: transparent;
  color: #fff;
  padding: 0.35rem 0.65rem;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 540px) {
  .teams-discovery-shell {
    width: min(100% - 1rem, 72rem);
    margin-top: 5.5rem;
  }

  .team-discovery-card {
    padding: 1rem;
  }

  .teams-discovery-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .team-discovery-button {
    width: 100%;
  }
}
