/* Forms shared by Stage 1 and Stage 2. Controls >= 44px, body >= 16px. */
.ltc-form { background: #fff; border: 1px solid #E8E3DB; border-radius: 12px; padding: 1.5rem; display: grid; gap: 1rem; font-size: 1.0625rem; }
.ltc-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
.ltc-form legend, .ltc-form label:not(.ltc-choice) { font-weight: 600; margin-bottom: .35rem; display: block; }
.ltc-field { display: grid; gap: .25rem; }
.ltc-field__row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.ltc-form input[type="text"], .ltc-form input[type="email"], .ltc-form input[type="tel"], .ltc-form input[type="number"], .ltc-form select, .ltc-form textarea { width: 100%; min-height: 44px; padding: .6rem .75rem; font: inherit; font-size: 1.0625rem; border: 1px solid #9AA3AE; border-radius: 8px; background: #fff; color: #17202B; }
.ltc-form textarea { min-height: 6rem; resize: vertical; }
.ltc-form input:focus-visible, .ltc-form select:focus-visible, .ltc-form textarea:focus-visible { outline: none; border-color: #172331; box-shadow: 0 0 0 3px #F3E4D8; }
.ltc-choice { display: flex; align-items: flex-start; gap: .65rem; min-height: 44px; padding: .5rem .75rem; border: 1px solid #E8E3DB; border-radius: 8px; cursor: pointer; font-weight: 400; }
.ltc-choice:has(input:checked) { border-color: #B94700; background: #FBF4EE; }
.ltc-choice input { width: 22px; height: 22px; margin: .1rem 0 0; flex: none; accent-color: #B94700; }
.ltc-choice--check { align-items: flex-start; }
.ltc-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.ltc-req { color: #B94700; }
.ltc-field__error { color: #9B1C1C; font-size: .9375rem; margin: 0; min-height: 0; }
.ltc-field__error:empty { display: none; }
.ltc-form__error { color: #9B1C1C; background: #FDECEC; border: 1px solid #F5C2C2; padding: .75rem 1rem; border-radius: 8px; margin: 0; }
.ltc-form__notice { background: #FBF4EE; border: 1px solid #F3E4D8; padding: .75rem 1rem; border-radius: 8px; margin: 0; }
.is-invalid input, .is-invalid textarea { border-color: #9B1C1C; }
.ltc-form__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
/* The theme's serif, by variable: naming the family here meant a font swap silently
   dropped the thank-you message back to Georgia. */
.ltc-form__success { font-size: 1.25rem; font-family: var(--wp--preset--font-family--serif, Georgia, serif); color: #172331; }
.ltc-micro { font-size: .9375rem; color: #4A5563; margin: 0; }
.cf-turnstile { min-height: 65px; }
@media (max-width: 640px) {
  .ltc-form { padding: 1rem; }
  /* Keep the submit visible while the keyboard is open on small screens. */
  .ltc-form__actions--sticky { position: sticky; bottom: 0; background: #fff; padding: .75rem 0; border-top: 1px solid #E8E3DB; z-index: 2; }
  /* Full-width submit: the button was 223px of a 301px form. */
  .ltc-form__actions--sticky .ltc-btn--primary { width: 100%; }
}

/* Stage 2 */
.ltc-intake { max-width: 44rem; margin: 0 auto; }
.ltc-progress { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; font-size: .9375rem; color: #4A5563; }
.ltc-progress__bar { flex: 1; height: 6px; background: #E8E3DB; border-radius: 3px; overflow: hidden; }
.ltc-progress__fill { height: 100%; background: #B94700; }
.ltc-intake h2 { margin-top: 0; }
.ltc-intake .ltc-help { color: #4A5563; margin: -.25rem 0 .5rem; }
.ltc-slider { display: grid; gap: .5rem; }
.ltc-slider input[type="range"] { width: 100%; min-height: 44px; accent-color: #B94700; }
.ltc-slider__labels { display: flex; justify-content: space-between; gap: .5rem; font-size: .875rem; color: #4A5563; }
.ltc-slider__labels span { flex: 1; }
.ltc-slider__labels span:nth-child(2) { text-align: center; }
.ltc-slider__labels span:nth-child(3) { text-align: right; }
.ltc-slider__value { font-weight: 600; }
.ltc-intake details { border: 1px solid #E8E3DB; border-radius: 8px; padding: .5rem .75rem; }
.ltc-intake summary { cursor: pointer; min-height: 32px; font-weight: 600; }
.ltc-summary { display: grid; gap: .5rem; }
.ltc-summary__row { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; padding: .5rem 0; border-bottom: 1px solid #E8E3DB; align-items: start; }
.ltc-summary__row dt { font-weight: 600; grid-column: 1; }
.ltc-summary__row dd { margin: 0; grid-column: 1; color: #4A5563; }
.ltc-summary__row a { grid-column: 2; grid-row: 1 / span 2; align-self: center; min-height: 44px; display: inline-flex; align-items: center; }
.ltc-nav-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; align-items: center; }
.ltc-nav-row__left, .ltc-nav-row__right { display: flex; flex-wrap: wrap; gap: .5rem; }
.ltc-btn--link { background: none; border: 0; color: #B94700; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; padding: 0 .5rem; cursor: pointer; font: inherit; font-weight: 600; }
.ltc-btn--link:hover { color: #8F3700; }
.ltc-equal { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.ltc-equal .ltc-btn { width: 100%; }

/* The offer to carry on into the questionnaire, on the thank-you page. Set apart
   from the confirmation above it so it reads as an invitation, not a next step
   somebody has to take. */
.ltc-continue { margin: 2rem 0 0; padding: 1.5rem; background: #FFFFFF; border: 1px solid #E8E3DB; border-radius: 10px; }
.ltc-continue__title { margin: 0 0 .5rem; font-size: 1.25rem; }
.ltc-continue p { margin: 0 0 1rem; }
.ltc-continue p:last-child { margin-bottom: 0; }
.ltc-continue .ltc-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
