/* Scorecard additions only; reuse the approved brand and spacing. */
.scorecard-embed { width: 100%; max-width: 100%; min-width: 0; }
.scorecard-embed iframe { display: block; width: 100%; max-width: 100%; border: 0; }
.scorecard-fallback { margin-top: var(--space-6); }
/* The scorecard opens the page, so it needs clear air under the sticky header. */
.diagnostic-first { padding-top: clamp(40px, 6vw, 72px); }
@media (max-width: 576px) { .diagnostic-first { padding-top: 28px; } }
@media (min-width: 1021px) and (max-width: 1200px) {
  .nav-shell:has(.desktop-nav a[href="#/diagnostic"]) { gap: 0; }
}
[data-palette=claire] .home-hero .scorecard-cta:is(:hover,:focus-visible,:active) {
  background: var(--rr-terracotta);
  border-color: var(--rr-terracotta);
  color: var(--rr-ivory);
}
@media (max-width: 768px) {
  .home-hero .actions:has(.scorecard-cta) { flex-direction: column; align-items: stretch; }
  .home-hero .actions:has(.scorecard-cta) > .button { width: 100%; justify-content: space-between; }
}