.form-section { background: #eef6fa; }
.form-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.form-intro { position: sticky; top: calc(var(--header-height) + 2rem); }
.form-intro h2 { margin-bottom: 1rem; font-size: clamp(2.8rem, 5vw, 5rem); line-height: .98; letter-spacing: -.06em; }
.form-intro > p:not(.eyebrow) { color: var(--color-muted); }
.form-assurances { margin: 2rem 0 0; padding: 0; list-style: none; }
.form-assurances li { padding: .8rem 0; display: grid; grid-template-columns: 1.45rem 1fr; gap: .7rem; border-top: 1px solid rgba(7,26,51,.14); color: #405d70; font-size: .78rem; }
.form-assurances li::before { content: "✓"; color: var(--color-green-700); font-weight: 900; }
.lead-form { padding: clamp(1.4rem, 3vw, 2.35rem); color: var(--color-ink); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.lead-form__heading { margin-bottom: 1.7rem; }
.lead-form__heading h3 { margin-bottom: .45rem; font-size: clamp(1.5rem, 2.5vw, 2.15rem); }
.lead-form__heading p { margin: 0; color: var(--color-muted); font-size: .82rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.05rem; }
.form-field { min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { margin-bottom: .42rem; display: block; font-size: .74rem; font-weight: 800; }
.form-required { color: #9e2f38; }
.form-optional { color: var(--color-muted); font-size: .66rem; font-weight: 650; }
.form-control { width: 100%; min-height: 3.15rem; padding: .72rem .85rem; color: var(--color-ink); border: 1px solid #b9c8d3; border-radius: var(--radius-sm); background: #fff; transition: border-color var(--transition), box-shadow var(--transition), background var(--transition); }
textarea.form-control { min-height: 8.2rem; resize: vertical; }
.form-control::placeholder { color: #7f909d; }
.form-control:hover { border-color: #8299aa; }
.form-control:focus { outline: 0; border-color: var(--color-blue-600); box-shadow: 0 0 0 3px rgba(8,127,174,.15); }
.form-field.has-error .form-control, .form-choice.has-error input { border-color: #b63b45; }
.form-error { min-height: 1.15rem; margin: .3rem 0 0; display: block; color: #9b2933; font-size: .66rem; line-height: 1.4; }
.form-error--group { grid-column: 1 / -1; margin-top: -.5rem; }
.form-choice { grid-column: 1 / -1; padding-top: .35rem; }
.form-choice label { display: grid; grid-template-columns: 1.2rem 1fr; gap: .65rem; align-items: start; color: #405d70; font-size: .73rem; }
.form-choice input { width: 1.1rem; height: 1.1rem; margin: .15rem 0 0; accent-color: var(--color-blue-600); }
.form-choice a { color: var(--color-blue-700); text-decoration: underline; text-underline-offset: .18em; }
.form-actions { grid-column: 1 / -1; padding-top: .3rem; display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.form-actions .button { cursor: pointer; }
.form-actions small { max-width: 26rem; color: var(--color-muted); font-size: .66rem; }
.form-status { grid-column: 1 / -1; display: none; }
.form-status.is-visible { padding: .9rem 1rem; display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; border-left: 3px solid; background: var(--color-surface-soft); font-size: .75rem; }
.form-status--success { color: #315c08; border-color: var(--color-green-500); background: #f0f8e7 !important; }
.form-status--error { color: #81232b; border-color: #b63b45; background: #fff0f1 !important; }
.form-status a { font-weight: 850; text-decoration: underline; text-underline-offset: .18em; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-noscript { margin-top: 1rem; padding: .8rem 1rem; color: #634d08; border-left: 3px solid #c8a731; background: #fff8d8; font-size: .74rem; }

.ppa-evaluation .form-layout { grid-template-columns: .68fr 1.32fr; }
.ppa-evaluation .form-intro { color: #fff; }
.ppa-evaluation .form-intro > p:not(.eyebrow) { color: #c6d7e1; }
.ppa-evaluation .form-assurances li { color: #c6d7e1; border-color: rgba(255,255,255,.16); }
.ppa-evaluation .form-assurances li::before { color: var(--color-green-500); }
.ppa-evaluation .lead-form { box-shadow: 0 28px 78px rgba(0,0,0,.2); }

@media (max-width: 68rem) {
  .form-layout, .ppa-evaluation .form-layout { grid-template-columns: 1fr; }
  .form-intro { position: static; }
}

@media (max-width: 42rem) {
  .form-grid { grid-template-columns: 1fr; }
  .form-field--full, .form-choice, .form-actions, .form-status, .form-error--group { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
}
