/* The builder handoff shown on the crawlable discovery pages.
 *
 * Those pages keep their own editorial content, canonical, and structured
 * data; only their primary action changes. The card ships as its own
 * stylesheet so the discovery template is not edited to point away from
 * itself. No inline styles: the site's content-security policy allows
 * same-origin style-src only.
 */

.bbb-handoff {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin: 20px 0 4px;
  padding: 20px 22px;
  border: 1px solid #cfe3e0;
  border-radius: 20px;
  background: linear-gradient(180deg, #f4fbf9, #e8f4f1);
  box-shadow: 0 10px 24px rgba(11, 116, 117, 0.1);
}

.bbb-handoff__body {
  flex: 1 1 22ch;
}

.bbb-handoff__title {
  margin: 0;
  font: 800 19px/1.3 "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: #0c3048;
}

.bbb-handoff__text {
  margin: 4px 0 0;
  font: 400 15px/1.5 "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: #53616c;
}

.bbb-handoff__action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 16px;
  background: linear-gradient(180deg, #0d7f80, #096a6d);
  color: #fff;
  font: 800 17px/1 "Avenir Next", "Segoe UI", system-ui, sans-serif;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(11, 116, 117, 0.22);
}

.bbb-handoff__action:hover {
  background: linear-gradient(180deg, #0f8b8c, #0a7376);
}

.bbb-handoff__action:focus-visible {
  outline: 3px solid #0b65c2;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .bbb-handoff {
    margin: 16px 0 4px;
    padding: 16px;
    border-radius: 16px;
  }

  .bbb-handoff__title {
    font-size: 17px;
  }

  .bbb-handoff__action {
    flex: 1 1 auto;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    font-size: 16px;
  }
}
