/* Clear action hierarchy; preserves the existing studio palette and layout. */
.button,
body.legacy main .button,
body.legacy main button[type="submit"],
body.legacy main .quickstart-button,
body.legacy main .guide-button,
.refined-pack .refined-pack__button {
  min-height: 56px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  border-width: 2px;
}
.button.secondary { border-color: #756984; }
.button.secondary:hover { background: #eee8f7; color: #241631; border-color: #59349b; }
.site-nav .nav-contact {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: #6139ac;
  border: 2px solid #6139ac;
  color: #fff;
  font-weight: 800;
}
.site-nav .nav-contact:hover { background: #482696; border-color: #482696; color: #fff; }
.page-home .site-nav .nav-contact { background: #d2b5fa; border-color: #d2b5fa; color: #21152f; }
.page-home .site-nav .nav-contact:hover { background: #e4d0ff; border-color: #e4d0ff; color: #21152f; }
main .cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 11px 17px;
  border: 2px solid #756984;
  border-radius: 8px;
  color: #4e287e;
  background: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s, border-color .18s;
}
main .cta-link:hover { color: #351657; background: #eee8f7; border-color: #59349b; }
.hero-surface .hero .actions .cta-link { font-size: 16px; color: #fff; background: transparent; border-color: #bba7d3; }
.hero-surface .hero .actions .cta-link:hover { background: #35283f; border-color: #e4d0ff; }
.resource-row > .cta-link { justify-self: stretch; }
.refined-pack .refined-pack__button--primary:hover { background: #6147b4; }
:is(.button,.cta-link,.nav-contact,.quickstart-button,.guide-button,.refined-pack__button):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 8px #382052;
}
@media (max-width: 600px) {
  main .actions { gap: 14px; }
  main .actions > :is(.button,.cta-link) { width: 100%; }
  main .pathway > .cta-link { width: 100%; }
  .resource-row > .cta-link { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  main .cta-link { transition: none; }
}
