/*
 * Stingray CTA system
 * Mirrors the eCayJobs desktop Continue button: a readable, rounded action
 * with restrained elevation, compact icon spacing and a crisp pressed state.
 */

:is(
  .button,
  .hero-cta,
  .cta-button,
  .advertise-primary,
  .advertise-secondary,
  .radio-destination,
  .schedule-link,
  .future-learn,
  .contact-links a,
  .intro-action,
  .ecay-signup,
  .primary-action,
  .secondary-action,
  .account-form button,
  .handoff-action,
  .signup button,
  .phone-row button,
  .listen,
  .listen-control,
  body.studio .button,
  body.studio .signup button
) {
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--sans, "Hanken Grotesk", Arial, sans-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: none;
  box-shadow: 0 6px 16px rgba(6, 27, 54, .18);
  transition:
    transform .18s ease,
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease,
    box-shadow .2s ease;
}

:is(
  .button,
  .hero-cta,
  .cta-button,
  .advertise-primary,
  .advertise-secondary,
  .radio-destination,
  .schedule-link,
  .future-learn,
  .contact-links a,
  .intro-action,
  .ecay-signup,
  .primary-action,
  .secondary-action,
  .account-form button,
  .handoff-action,
  .signup button,
  .phone-row button,
  .listen,
  .listen-control,
  body.studio .button,
  body.studio .signup button
):hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(6, 27, 54, .22);
}

:is(
  .button,
  .hero-cta,
  .cta-button,
  .advertise-primary,
  .advertise-secondary,
  .radio-destination,
  .schedule-link,
  .future-learn,
  .contact-links a,
  .intro-action,
  .ecay-signup,
  .primary-action,
  .secondary-action,
  .account-form button,
  .handoff-action,
  .signup button,
  .phone-row button,
  .listen,
  .listen-control,
  body.studio .button,
  body.studio .signup button
):active {
  transform: scale(.98);
  box-shadow: 0 2px 7px rgba(6, 27, 54, .16);
}

:is(
  .button,
  .hero-cta,
  .cta-button,
  .advertise-primary,
  .advertise-secondary,
  .radio-destination,
  .schedule-link,
  .future-learn,
  .contact-links a,
  .intro-action,
  .ecay-signup,
  .primary-action,
  .secondary-action,
  .account-form button,
  .handoff-action,
  .signup button,
  .phone-row button,
  .listen,
  .listen-control,
  body.studio .button,
  body.studio .signup button
):focus-visible {
  outline: 3px solid var(--aqua, var(--accent, #58d6d0));
  outline-offset: 3px;
}

:is(
  .button,
  .hero-cta,
  .cta-button,
  .advertise-primary,
  .advertise-secondary,
  .radio-destination,
  .schedule-link,
  .future-learn,
  .contact-links a,
  .signup button,
  .phone-row button,
  body.studio .button,
  body.studio .signup button
) {
  gap: 9px;
}

:is(
  .button,
  .hero-cta,
  .cta-button,
  .advertise-primary,
  .advertise-secondary,
  .radio-destination,
  .schedule-link,
  .future-learn,
  .contact-links a,
  .signup button,
  .phone-row button,
  body.studio .button,
  body.studio .signup button
)::after {
  content: "→";
  display: inline-block;
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  transition: transform .18s ease;
}

:is(
  .button,
  .hero-cta,
  .cta-button,
  .advertise-primary,
  .advertise-secondary,
  .radio-destination,
  .schedule-link,
  .future-learn,
  .contact-links a,
  .signup button,
  .phone-row button,
  body.studio .button,
  body.studio .signup button
):hover::after {
  transform: translateX(3px);
}

/* The eCay homepage buttons already draw a CSS arrow. Replace it cleanly. */
.ecay-cta::after {
  width: auto;
  height: auto;
  margin-left: 0;
  background: none;
  box-shadow: none;
}

/* Homepage hero action keeps the artwork visible while reading as a CTA. */
.hero-cta {
  padding: 0 22px;
  color: var(--navy);
  background: var(--aqua);
  border: 1px solid var(--aqua);
  text-decoration: none;
}

.hero-cta:hover {
  color: var(--navy);
  background: white;
  border-color: white;
}

/* Form actions need flex layout for the label and arrow to breathe. */
.signup button,
.phone-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 22px;
}

/* The WhatsApp action is part of one compound field on desktop. */
.invite-form .phone-row button,
.invite-form .phone-row button:hover,
.invite-form .phone-row button:active {
  align-self: stretch;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

/* Header actions use the same family at a compact navigation scale. */
:is(
  .business-login,
  .create-account,
  .account-link,
  .business-login-button,
  .business-account-button,
  .mobile-business-login,
  .menu-button,
  body.studio .business-login
) {
  min-height: 44px;
  border-radius: 999px;
  font-family: var(--sans, "Hanken Grotesk", Arial, sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  transition:
    transform .18s ease,
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease,
    box-shadow .2s ease;
}

:is(
  .business-login,
  .create-account,
  .account-link,
  .business-login-button,
  .business-account-button,
  .mobile-business-login,
  .menu-button,
  body.studio .business-login
):hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .14);
}

@media (max-width: 680px) {
  :is(
    .button,
    .hero-cta,
    .cta-button,
    .advertise-primary,
    .advertise-secondary,
    .radio-destination,
    .schedule-link,
    .future-learn,
    .contact-links a,
    .intro-action,
    .ecay-signup,
    .primary-action,
    .secondary-action,
    .account-form button,
    .handoff-action,
    .signup button,
    .phone-row button,
    .listen,
    .listen-control,
    body.studio .button,
    body.studio .signup button
  ) {
    min-height: 50px;
    font-size: 14px;
  }

  .invite-form .phone-row button,
  .invite-form .phone-row button:hover,
  .invite-form .phone-row button:active {
    border-radius: 999px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(
    .button,
    .hero-cta,
    .cta-button,
    .advertise-primary,
    .advertise-secondary,
    .radio-destination,
    .schedule-link,
    .future-learn,
    .contact-links a,
    .intro-action,
    .ecay-signup,
    .primary-action,
    .secondary-action,
    .account-form button,
    .handoff-action,
    .signup button,
    .phone-row button,
    .listen,
    .listen-control,
    body.studio .button,
    body.studio .signup button
  ),
  :is(
    .button,
    .hero-cta,
    .cta-button,
    .advertise-primary,
    .advertise-secondary,
    .radio-destination,
    .schedule-link,
    .future-learn,
    .contact-links a,
    .signup button,
    .phone-row button,
    body.studio .button,
    body.studio .signup button
  )::after {
    transition: none;
  }
}
