/* lead-form.css: the single-step lead form (CL02 standard from the Syracuse canary), shared by every
   page with a quote form. Markup comes from tools/sync_forms.py, behaviour from assets/js/canary-form.js.
   Brand tokens come from design-system.css. */

.c-form { scroll-margin-top: calc(var(--site-chrome-height, 120px) + 16px); }
.c-form { background: #fff; border: 1px solid var(--htm-line); border-radius: 18px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 10px 28px rgba(11,28,44,.08); }
.c-form__title { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; line-height: 1.2; margin: 0 0 6px; color: var(--htm-ink); }
.c-form__sub { margin: 0 0 18px; color: var(--text-secondary); }
.c-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 14px; }
.c-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.c-field--full { grid-column: 1 / -1; }
.c-field label { font: 700 .9375rem/1.25 var(--font-body); color: var(--htm-ink); }
.c-field .c-opt { font-weight: 400; color: var(--htm-muted); }
.c-field input[type="text"], .c-field input[type="email"], .c-field input[type="tel"], .c-field select, .c-field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; font: 400 1rem/1.4 var(--font-body); color: var(--htm-ink);
  background: #fff; border: 1.5px solid #8ea3b3; border-radius: 10px; box-sizing: border-box; }
.c-field textarea { min-height: 84px; resize: vertical; }
.c-field input:focus, .c-field select:focus, .c-field textarea:focus { outline: 3px solid var(--focus-ring); outline-offset: 1px; border-color: var(--focus-ring); }
.c-field [aria-invalid="true"] { border-color: #b3261e; }
.c-form .fielderr { margin: 2px 0 0; color: #a11a14; font-size: .9rem; font-weight: 600; }
.c-form .c-error { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #fdecea; border: 1px solid #e0a5a0; color: #7a1410; }
.c-form .sms-consent { display: flex !important; flex-direction: row !important; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: .9375rem; line-height: 1.45; color: var(--text-secondary); cursor: pointer; }
.c-form .sms-consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--htm-pool-deep); }
.c-form .sms-consent .opt { color: var(--htm-muted); }
.c-consent { margin: 12px 0 0; font-size: .875rem; line-height: 1.5; color: var(--htm-muted); }
.c-consent a { color: var(--htm-pool-text); text-decoration: underline; }
.c-form .c-submit { width: 100%; margin-top: 18px; justify-content: center; text-align: center; font-size: 1.125rem; }
.c-form__guarantee { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 0; font-size: .9375rem; color: var(--htm-ink); text-align: center; }
.c-form__guarantee svg { width: 22px; height: 22px; color: var(--htm-pool-deep); flex: none; }
@media (max-width: 560px) { .c-form__grid { grid-template-columns: minmax(0, 1fr); } }
.c-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* inside the older form-card wrappers: one card, not two */
.htm-form-card > .c-form, .htm-mag-quiz > .c-form { border: 0; box-shadow: none; padding: 0; background: transparent; }
.c-form label.sms-consent, .c-form label.sms-consent span { font-weight: 400; }
