/* === Welcome / start button — bigger, multi-line === */
button.welcome-button,
.welcome-page button[type="button"],
.title-page button[type="button"] {
  width: auto !important;
  min-width: 280px !important;
  height: auto !important;
  padding: 20px 40px !important;
  border-radius: 32px !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  white-space: normal !important;
}
button.welcome-button svg,
.welcome-page button svg,
.title-page button svg {
  display: none !important;
}
/* === KILL Paperform's native arrow/continue UI when contact overlay is showing === */
body:has(.cf-overlay-active) [class*="GuidedModeInstructions"],
body:has(.cf-overlay-active) .GuidedModeInstructions__button,
body:has(.cf-overlay-active) .GuidedModeInstructions__container {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  height: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}
/* === Single-screen contact form (override one-at-a-time) === */
#field-text-ebmhe,
#field-text-586jb,
#field-text-an8ph,
#field-email-b0gct,
#field-tel-e74t2,
#field-yesno-10phu,
[data-question-id="ebmhe"],
[data-question-id="586jb"],
[data-question-id="an8ph"],
[data-question-id="b0gct"],
[data-question-id="e74t2"],
[data-question-id="10phu"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  position: relative !important;
  pointer-events: auto !important;
  margin-bottom: 14px !important;
}
#field-text-ebmhe button[type="submit"],
#field-text-586jb button[type="submit"],
#field-text-an8ph button[type="submit"],
#field-email-b0gct button[type="submit"],
#field-tel-e74t2 button[type="submit"] {
  display: none !important;
}

/* === Mobile-first polish === */
@media (max-width: 640px) {
  h1, .HeaderTitle { font-size: 1.85rem !important; line-height: 1.15 !important; }
  h2 { font-size: 1.45rem !important; line-height: 1.2 !important; }
  .Question__title { font-size: 1.25rem !important; font-weight: 600 !important; }
  .Choice__answer, .Choice {
    min-height: 56px !important;
    padding: 16px 20px !important;
    font-size: 1.05rem !important;
    border-radius: 12px !important;
  }
  .Choice__answer:active, .Choice:active { transform: scale(0.98); transition: transform 0.08s ease; }
  .Submit__button, button[type="submit"], .next-button {
    width: 100% !important;
    min-height: 56px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(30,95,184,0.25) !important;
  }
  input[type="text"], input[type="email"], input[type="tel"], textarea {
    font-size: 16px !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
  }
}

/* === Smooth scroll, brand tap highlight, focus ring === */
html { scroll-behavior: smooth; }
* { -webkit-tap-highlight-color: rgba(30, 95, 184, 0.15); }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid #1E5FB8 !important;
  outline-offset: 2px;
}

/* === Remove auto-advance animations === */
*:not(.nwe-spin):not(.nwe-spin *) {
  transition-duration: 0s !important;
  animation-duration: 0s !important;
}
.nwe-spin {
  animation: nweSpin .8s linear infinite !important;
}
.OneAtATime, [class*="OneAtATime"],
.question-transition, [class*="transition"],
.fade, [class*="enter"], [class*="exit"] {
  transition: none !important;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* === 2x2 grid for the bucket question === */
.bucket-grid .Choices,
.bucket-grid [role="radiogroup"],
.bucket-grid ul {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}
.bucket-grid .Choice,
.bucket-grid .Choice__answer {
  margin: 0 !important;
  text-align: center !important;
  min-height: 80px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}