/* Buyer/Seller: turn the existing audience switcher into the page's intro card. */
.playbook-redesign-page > .page-title-strip:first-child {
  margin-bottom: 0;
}

.playbook-redesign-page .playbook-main-section {
  padding-top: 0;
}

.playbook-redesign-page .playbook-switcher {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(780px, calc(100% - 32px));
  margin: -34px auto clamp(42px, 4.6vw, 62px);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 166, 70, 0.38);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(3, 27, 49, 0.16);
}

.playbook-redesign-page .playbook-switcher button {
  position: relative;
  min-height: 112px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 5px;
  margin: 0;
  border: 0;
  border-bottom: 0;
  padding: 20px 28px;
  background: linear-gradient(135deg, #fff, #f8fafc);
  color: var(--navy-950);
  text-align: left;
  text-transform: none;
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.playbook-redesign-page .playbook-switcher button + button {
  border-left: 1px solid rgba(5, 39, 67, 0.12);
}

.playbook-redesign-page .playbook-switcher button:hover {
  transform: translateY(-2px);
}

.playbook-redesign-page .playbook-switcher button:focus-visible {
  z-index: 1;
  outline: 3px solid rgba(201, 166, 70, 0.72);
  outline-offset: -3px;
}

.playbook-redesign-page .playbook-switcher button.active {
  border-color: transparent;
  background:
    radial-gradient(circle at 92% 12%, rgba(201, 166, 70, 0.20), transparent 34%),
    linear-gradient(135deg, #fff9e8, #fff 76%);
  color: var(--navy-950);
  box-shadow: inset 0 4px 0 var(--gold);
}

.playbook-redesign-page .playbook-switcher button > span {
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.playbook-redesign-page .playbook-switcher button > strong {
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 1.8vw, 25px);
  font-weight: 400;
  line-height: 1.08;
}

.playbook-redesign-page .playbook-switcher button > small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
}

@media (max-width: 720px) {
  .playbook-redesign-page .playbook-switcher {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
    margin-top: -18px;
    margin-bottom: 38px;
  }

  .playbook-redesign-page .playbook-switcher button {
    min-height: 92px;
    padding: 17px 20px;
  }

  .playbook-redesign-page .playbook-switcher button + button {
    border-top: 1px solid rgba(5, 39, 67, 0.12);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .playbook-redesign-page .playbook-switcher button {
    transition: none;
  }

  .playbook-redesign-page .playbook-switcher button:hover {
    transform: none;
  }
}
