.signup-page-wrapper {
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(30, 90, 50, 0.08), transparent 32%),
    #f5f6f7;
  padding: 24px 14px 40px;
}

.signup-page-inner {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 22px 18px 20px;
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.08),
    0 4px 14px rgba(15, 23, 42, 0.05);
}

.signup-page-header {
  margin-bottom: 8px;
  text-align: center;
}

.signup-page-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(30, 90, 50, 0.08);
  border: 1px solid rgba(30, 90, 50, 0.14);
  color: #1e5a32;
  font-size: 13px;
  font-weight: 700;
}

.signup-page-title {
  font-size: 30px;
  line-height: 1.15;

  margin: 0 auto 10px;

  color: #142235;
  font-weight: 800;
  letter-spacing: -0.02em;

  text-align: center;

  max-width: 340px;
}

/* ===== STEP 2+ EXTRA GAP AFTER QUESTION ===== */
.signup-step-block {
  margin-top: 24px;
}

.signup-page-subtitle {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;

  color: #374151;

  max-width: 320px;

  margin: 0 auto 28px;

  text-align: center;
}

.signup-page-inner .radio-heading {
  color: #1e2a3a !important;
  font-weight: 800 !important;
}

.signup-step-block {
  width: 100%;
  display: block;
}

.signup-step-block .styled-button {
  width: 100%;
  margin-top: 10px;
}

/* ===== BUTTON STYLE ===== */
.signup-page-wrapper .step2-choice-button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 100%;

  min-height: 64px;
  margin-bottom: 16px;

  padding: 0 16px;

  border: none;
  border-radius: 18px;

  background: linear-gradient(180deg, #3aa95c 0%, #2f8f4d 100%);
  color: #ffffff;

  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;

  text-align: center;

  box-shadow: 0 10px 22px rgba(42, 127, 70, 0.20);

  transition: background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;

  -webkit-tap-highlight-color: transparent;
}

/* Hover only for devices that support it */
@media (hover: hover) and (pointer: fine) {

  .signup-page-wrapper .step2-choice-button:hover,
  .signup-page-wrapper .step2-choice-button:focus-visible {
    background: linear-gradient(180deg, #349b53 0%, #277641 100%);
    box-shadow: 0 12px 24px rgba(42, 127, 70, 0.24);
    transform: translateY(-1px);
    outline: none;
  }
}

/* ===== ACTIVE / TAP FEEDBACK ===== */
.signup-page-wrapper .step2-choice-button:active {
  transform: scale(0.97);
  box-shadow: 0 6px 14px rgba(42, 127, 70, 0.25);
  background: linear-gradient(180deg, #276f41 0%, #1d5230 100%);
}

/* ===== FOCUS STATE (ACCESSIBILITY) ===== */
.signup-page-wrapper .step2-choice-button:focus-visible {
  outline: 3px solid rgba(42, 127, 70, 0.35);
  outline-offset: 2px;
}

/* ===== REMOVE OLD GRID / COLUMN SYSTEM ===== */
.radio-container,
.radio-column,
.radio-column-step2-full {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

.radio-column+.radio-column {
  margin-left: 0 !important;
}

/* ===== HEADINGS ===== */
.radio-heading {
  text-align: left;
  margin-top: 14px;
  margin-bottom: 14px;
  font-size: 17px;
  line-height: 1.3;
}

/* ===== OPTIONAL STEP / NOTE / TRUST ===== */
.signup-step-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 34, 53, 0.05);
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.signup-note {
  margin-top: 2px;
  margin-bottom: 0;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

.signup-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  text-align: center;
}

.signup-trust span {
  font-size: 13px;
  line-height: 1.4;
  color: #475569;
  font-weight: 600;
}

/* ===== OTP INSTRUCTION CARD ===== */
.signup-otp-instruction-card {
  padding: 16px 14px 14px;
  border: 2px solid #2a7f46;
  border-radius: 16px;
  background: rgba(42, 127, 70, 0.08);
  text-align: center;
}

.signup-otp-instruction-title {
  color: #0f172a;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
  margin: 0;
}

.signup-otp-instruction-email {
  margin-top: 8px;
  font-size: 15px;
  color: #1e293b;
  font-weight: 600;
}

.signup-otp-instruction-email span {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  word-break: break-word;
}

.signup-otp-instruction-note {
  color: #2a7f46;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  margin-top: 8px;
}

/* ===== OTP ROW ===== */
.signup-otp-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.signup-otp-input {
  height: 60px;
  border-radius: 14px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  color: #142235;
  background: #ffffff;
}

.signup-otp-input:focus {
  border-color: #2a7f46;
  box-shadow: 0 0 0 0.2rem rgba(42, 127, 70, 0.14);
  outline: none;
}

/* ===== LOADING STATE ===== */
.signup-loading-button[disabled] {
  opacity: 0.92;
  cursor: not-allowed;
}

.signup-button-loading-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.signup-button-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: signup-spin 0.8s linear infinite;
  flex: 0 0 18px;
}

.signup-loading-note {
  margin-top: -2px;
  margin-bottom: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #2a7f46;
}

@keyframes signup-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== SPACING ===== */
.signup-step-block+.signup-step-block {
  margin-top: 20px;
}

/* ===== MOBILE ===== */
@media (max-width: 380px) {
  .signup-page-wrapper {
    padding: 16px 10px 28px;
  }

  .signup-page-inner {
    border-radius: 22px;
    padding: 18px 14px;
  }

  .signup-page-title {
    font-size: 28px;
    line-height: 1.15;
  }

  .signup-page-subtitle {
    font-size: 15px;
    line-height: 1.45;
    max-width: 290px;
    margin-bottom: 10px;
  }

  .radio-heading {
    font-size: 16px;
    text-align: left;
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .signup-page-wrapper .step2-choice-button {
    min-height: 58px;
    margin-bottom: 12px;
    font-size: 15px;
    border-radius: 17px;
  }

  .signup-step-indicator {
    font-size: 11px;
    padding: 5px 10px;
    margin-bottom: 10px;
  }

  .signup-note {
    font-size: 12px;
  }

  .signup-trust span {
    font-size: 12px;
  }

  .signup-otp-instruction-card {
    padding: 13px 12px 12px;
    border-radius: 14px;
  }

  .signup-otp-instruction-title {
    font-size: 17px;
    line-height: 1.4;
  }

  .signup-otp-instruction-email {
    font-size: 14px;
    margin-top: 7px;
  }

  .signup-otp-instruction-email span {
    font-size: 15px;
  }

  .signup-otp-instruction-note {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 7px;
  }

  .signup-otp-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 8px;
  }

  .signup-otp-input {
    height: 60px;
    border-radius: 14px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
  }
}

/* ===== TRUST LINE (NO BOTS / NO GAMES) ===== */
.signup-trust-line {
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  color: #374151;

  margin: 0 auto 20px;
  max-width: 320px;
}

/* ==========================================
   DESKTOP ENHANCEMENT — SIGNUP PAGE
   ========================================== */
@media (min-width: 768px) {

  .signup-page-title {
    font-size: 36px !important;
    line-height: 1.2 !important;
  }

  .signup-trust-line {
    font-size: 18px !important;
    font-weight: 700 !important;
  }

  .signup-page-wrapper .step2-choice-button {
    font-size: 20px !important;
    min-height: 68px !important;
  }

  .signup-page-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }

}

@media (min-width: 1024px) {

  .signup-page-inner {
    max-width: 520px !important;
  }

}