.existing-form-section{padding:clamp(48px,6vw,84px) 0;scroll-margin-top:140px;display:grid;grid-template-columns:minmax(220px,.78fr) minmax(360px,1.22fr);gap:clamp(28px,5vw,72px);align-items:start}
.existing-form-section.compact{padding:30px 0;grid-template-columns:minmax(205px,.7fr) minmax(300px,1.3fr);gap:30px}
.existing-form-heading{max-width:560px;margin:0;position:sticky;top:140px}
.existing-form-heading h2{font-size:clamp(32px,4.2vw,54px);line-height:1.08;letter-spacing:-.045em;margin:16px 0}
.existing-form-heading p{max-width:520px;font-size:17px;line-height:1.75;color:#61705f}
.existing-form-section.compact .existing-form-heading h2{font-size:clamp(28px,3vw,40px);margin:12px 0}
.existing-form-section.compact .existing-form-heading p{font-size:15px}
.existing-form-panel{min-width:0;border:1px solid rgba(32,58,43,.15);border-radius:25px;background:linear-gradient(150deg,#fffef9 0%,#f3f3e9 100%);padding:clamp(18px,2.5vw,30px);box-shadow:0 22px 62px rgba(24,42,30,.09)}
.form-panel-top{display:flex;align-items:center;gap:16px;padding:0 3px 20px;border-bottom:1px solid #dce1d5;margin-bottom:22px}
.form-panel-number{flex:none;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#1e392b;color:#f2cf67;font-size:12px;font-weight:800;letter-spacing:.1em}
.form-panel-top .eyebrow{display:block;font-size:10px;letter-spacing:.15em;color:#294133}
.form-panel-top p{margin:7px 0 0;color:#687565;font-size:13px;line-height:1.55}
.hh-form{display:grid;gap:20px}
.hh-form-group{border:1px solid #dfe3d8;border-radius:18px;padding:19px 18px 20px;margin:0;min-width:0;background:rgba(255,255,252,.74)}
.hh-form-group>legend{padding:0 9px 0 0;display:flex;align-items:center;gap:11px;color:#1b2b21;font-size:17px}
.hh-form-group>legend>span{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#e7ecdf;color:#4d684c;font-size:10px;font-weight:800;letter-spacing:.05em}
.hh-form-group>legend strong{font-weight:750;letter-spacing:-.02em}
.hh-form-group-intro{font-size:13px;color:#6b7566;line-height:1.5;margin:1px 0 17px}
.hh-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 16px}
.hh-field{display:flex;flex-direction:column;gap:7px;min-width:0;color:#27372c;font-size:14px;font-weight:650}
.hh-field>span{line-height:1.35}
.hh-field em{font-style:normal;color:#9f7821;margin-left:3px}
.hh-field input,.hh-field select,.hh-field textarea{appearance:none;width:100%;min-height:49px;border:1px solid #d4dacf;border-radius:11px;background:#fffefb;padding:12px 14px;color:#17281e;font:inherit;font-weight:450;outline:none;transition:border-color .18s,box-shadow .18s,background .18s}
.hh-field textarea{min-height:112px;resize:vertical;line-height:1.55}
.hh-field input::placeholder,.hh-field textarea::placeholder{color:#8b9488}
.hh-field input:focus,.hh-field select:focus,.hh-field textarea:focus{border-color:#a18437;box-shadow:0 0 0 3px rgba(214,183,92,.2);background:white}
.hh-field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 6 4.5 4 4.5-4' fill='none' stroke='%23465a4b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:42px}
.hh-field.wide{grid-column:1/-1}
.hh-choice{display:flex;align-items:center;gap:9px;min-height:43px;border:1px solid #dfe3d8;border-radius:10px;padding:10px 12px;background:#fffefb;color:#334337;font-size:13px;font-weight:550;cursor:pointer}
.hh-choice input,.hh-consent input{width:17px;height:17px;accent-color:#a6832b;flex:none}
.hh-radio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.hh-field-hint{color:#71806f;font-size:11px;font-weight:600;letter-spacing:.03em}
.hh-preview-safety-note{display:grid;gap:4px;margin:0 0 19px;padding:14px 16px;border:1px solid #e3d7ad;border-radius:13px;background:linear-gradient(120deg,#fff9e8,#f4f0df);color:#485340;font-size:12px;line-height:1.55}
.hh-preview-safety-note strong{color:#27382b;font-size:13px}
.hh-finance-authorization{margin:0 0 19px;padding:17px 19px;border-left:3px solid #b69132;border-radius:0 12px 12px 0;background:#f0f1e9;color:#4b5848;font-size:13px;line-height:1.75}
.hh-finance-authorization .eyebrow{display:block;margin-bottom:6px;color:#34503c;font-size:10px;font-weight:800;letter-spacing:.14em}
.hh-finance-authorization p{margin:0}
.hh-finance-authorization a{color:#36563f;text-decoration:underline;text-underline-offset:3px}
.hh-consent-stack{display:grid;gap:12px}
.hh-consent{display:flex;align-items:flex-start;gap:11px;padding:14px 15px;border-radius:12px;background:#eff1e9;color:#566454;font-size:12px;line-height:1.6;font-weight:450}
.hh-consent input{margin-top:1px}
.hh-form-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:2px}
.hh-required-note{font-size:11px;line-height:1.5;color:#717b6d;margin:0;max-width:340px}
.hh-submit{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:52px;padding:13px 20px;border:0;white-space:nowrap}
.hh-submit span{color:#f1cd5c;font-size:20px;font-weight:500;line-height:1}
.hh-form-status{padding:14px 16px;margin:0;border-radius:12px;border:1px solid #d8c58a;background:#fff8df;color:#5e4b1d;font-size:13px;line-height:1.55}
.finance-disclosure-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:56px;padding:14px 17px;margin:0 0 18px;border:1px solid #d4ddce;border-radius:13px;background:#203d2d;color:#fff;font:inherit;font-weight:700;text-align:left;cursor:pointer;transition:background .2s,transform .2s}
.finance-disclosure-toggle:hover{background:#2b513a;transform:translateY(-1px)}
.finance-disclosure-toggle span{color:#f2cf67;font-size:22px;font-weight:400}
.finance-form-section:not(.expanded) .hh-form-group[data-finance-index]:not([data-finance-index="0"]),.finance-form-section:not(.expanded) .hh-form>label.wide,.finance-form-section:not(.expanded) .hh-form>.hh-consent,.finance-form-section:not(.expanded) .hh-form>.hh-consent-stack,.finance-form-section:not(.expanded) .hh-form>.hh-form-bottom,.finance-form-section:not(.expanded) .hh-form>.hh-form-status{display:none}
.existing-home-form{max-width:100%}
.existing-home-form .home-form-kicker{display:flex;justify-content:space-between;gap:12px;padding:0 0 16px;margin-bottom:17px;border-bottom:1px solid rgba(32,58,43,.16);color:#35513d;font-size:10px;font-weight:800;letter-spacing:.14em}
.existing-home-form .hh-form-group{padding:12px 0 0;border:0;background:none}
.existing-home-form .hh-form-group>legend{display:none}
.existing-home-form .hh-form-group-intro{font-size:14px;margin:0 0 16px}
.existing-home-form .hh-form{gap:14px}
.existing-home-form .hh-field input,.existing-home-form .hh-field textarea{background:#fffefb}
.existing-home-form .hh-form-bottom{align-items:flex-end}
@media(max-width:920px){.existing-form-section,.existing-form-section.compact{grid-template-columns:1fr;gap:22px}.existing-form-heading{position:static;max-width:760px}}
@media(max-width:640px){.existing-form-section{padding:42px 0}.existing-form-section.compact{padding:22px 0}.existing-form-panel{padding:17px;border-radius:19px}.hh-form-group{padding:17px 13px 15px}.hh-form-grid{grid-template-columns:1fr;gap:13px}.hh-field.wide{grid-column:auto}.hh-form-bottom{align-items:stretch;flex-direction:column}.hh-submit{width:100%}.hh-radio-grid{grid-template-columns:1fr}.existing-home-form .home-form-kicker{font-size:9px}.existing-home-form .hh-form-grid{grid-template-columns:1fr}}

/* Quote and contact pages already use a two-column page composition; stack the form's own heading above the wide panel to avoid creating a cramped third column. */
:is(.quote-layout,.contact-layout) .existing-form-section.compact{display:block}
:is(.quote-layout,.contact-layout) .existing-form-section.compact .existing-form-heading{position:static;max-width:none;margin:0 0 20px}

/* Keep the homepage form readable inside the dark location panel. The legacy panel labels are light for the old native fields; these custom fields sit on light surfaces and need dark ink. */
.contact-panel .existing-home-form .hh-field,.contact-panel .existing-home-form .hh-field>span{color:#f5f4ec;font-size:14px;font-weight:650}
.contact-panel .existing-home-form .hh-form-group-intro{color:#dce4d8;font-size:13px;line-height:1.6}
.contact-panel .existing-home-form .home-form-kicker{color:#f0d46f;border-bottom-color:rgba(255,255,255,.22)}
.contact-panel .existing-home-form .hh-field input,.contact-panel .existing-home-form .hh-field select,.contact-panel .existing-home-form .hh-field textarea{background:#fffefb;border:1px solid #d4dacf;border-radius:11px;color:#17281e;font-size:14px;font-weight:450;min-height:49px;padding:12px 14px}
.contact-panel .existing-home-form .hh-field textarea{min-height:112px;line-height:1.55}
.contact-panel .existing-home-form .hh-field input::placeholder,.contact-panel .existing-home-form .hh-field textarea::placeholder{color:#68776a}
.contact-panel .existing-home-form .hh-field input:focus,.contact-panel .existing-home-form .hh-field select:focus,.contact-panel .existing-home-form .hh-field textarea:focus{border-color:#a18437;box-shadow:0 0 0 3px rgba(214,183,92,.2);background:#fff}
.contact-panel .existing-home-form .hh-consent{display:flex;align-items:flex-start;gap:11px;padding:14px 15px;border:1px solid #dbe2d3;border-radius:12px;background:#eff1e9;color:#465446;font-size:12px;line-height:1.6;font-weight:450}
.contact-panel .existing-home-form .hh-consent input{width:17px;height:17px;margin:1px 0 0;flex:none;accent-color:#a6832b;background:#fff}
.contact-panel .existing-home-form .hh-required-note{color:#d6dfd1;font-size:11px;line-height:1.5}

.hh-consent-copy{display:grid;gap:8px;min-width:0}.hh-consent-copy>label{cursor:pointer}.hh-form-legal-links{display:flex;flex-wrap:wrap;align-items:center;gap:7px;color:#748071;font-size:11px;line-height:1.5}.hh-form-legal-links a{color:#34543d;font-weight:650;text-decoration:underline;text-underline-offset:2px}.hh-joint-group[hidden]{display:none!important}

/* Application pages use a centered single-column composition; nested contact forms retain their page layout. */
.application-container{max-width:1100px}
.application-container .existing-form-section{display:block;max-width:100%;padding-block:76px 28px}
.application-container .existing-form-heading{position:static;text-align:center;max-width:760px;margin:0 auto 36px}
.application-container .existing-form-heading p{margin-inline:auto}
.application-container .existing-form-panel{width:100%;margin-inline:auto}
@media(max-width:760px){.application-container .existing-form-section{padding-top:48px}.application-container .existing-form-heading{margin-bottom:26px}}
