:root {
  --cspma-checkout-primary: #153d6f;
  --cspma-checkout-primary-dark: #0d2747;
  --cspma-checkout-accent: #21a6a1;
  --cspma-checkout-text: #ffffff;
  --cspma-checkout-shadow: rgba(13, 39, 71, 0.24);
}

.cspma-checkout-form {
  display: block;
  margin: 1.5rem 0;
}

.cspma-checkout-form .cspma-checkout-button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-width: 220px;
  min-height: 54px;
  padding: 0.95rem 1.65rem;
  border: 0 !important;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cspma-checkout-primary) 0%, var(--cspma-checkout-primary-dark) 58%, #071a31 100%) !important;
  color: var(--cspma-checkout-text) !important;
  box-shadow: 0 14px 34px var(--cspma-checkout-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font: inherit;
  font-size: clamp(1rem, 0.94rem + 0.2vw, 1.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  appearance: none;
  -webkit-appearance: none;
}

.cspma-checkout-form .cspma-checkout-button::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(90deg, rgba(33, 166, 161, 0.34), transparent 42%);
  opacity: 0.95;
  pointer-events: none;
}

.cspma-checkout-form .cspma-checkout-button::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35em;
  height: 1.35em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: currentColor;
  font-weight: 900;
  line-height: 1;
  transform: translateX(0);
  transition: transform 180ms ease, background-color 180ms ease;
}

.cspma-checkout-form .cspma-checkout-button:hover,
.cspma-checkout-form .cspma-checkout-button:focus {
  color: var(--cspma-checkout-text) !important;
  filter: saturate(1.05) brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(13, 39, 71, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cspma-checkout-form .cspma-checkout-button:hover::after,
.cspma-checkout-form .cspma-checkout-button:focus::after {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(3px);
}

.cspma-checkout-form .cspma-checkout-button:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(13, 39, 71, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cspma-checkout-form .cspma-checkout-button:focus-visible {
  outline: 3px solid #62d8d3;
  outline-offset: 4px;
}

.cspma-checkout-form .cspma-checkout-button:disabled,
.cspma-checkout-form .cspma-checkout-button[aria-disabled="true"] {
  cursor: not-allowed;
  filter: grayscale(0.25);
  opacity: 0.72;
  transform: none;
}

@media (max-width: 767px) {
  .cspma-checkout-form .cspma-checkout-button {
    width: 100%;
    min-width: 0;
  }
}

.cspma-checkout-start-page {
  min-height: 100vh;
  background: radial-gradient(circle at 15% 10%, rgba(33, 166, 161, 0.16), transparent 30%),
    linear-gradient(145deg, #f7fafc 0%, #eef4f8 100%);
}

.cspma-checkout-start-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem;
}

.cspma-checkout-start-card {
  width: min(100%, 560px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(21, 61, 111, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(13, 39, 71, 0.16);
  text-align: center;
}

.cspma-checkout-start-card h1 {
  margin: 0.25rem 0 0.75rem;
  color: #0d2747;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.04;
}

.cspma-checkout-start-card p {
  color: #526579;
  font-size: 1.05rem;
}

.cspma-checkout-start-eyebrow {
  margin: 0;
  color: var(--cspma-checkout-accent) !important;
  font-size: 0.78rem !important;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cspma-checkout-start-card .cspma-checkout-form {
  margin-bottom: 0;
}
