/* Self-contained styles for the inquiry composer. */
.ec-lead{
  --ec-input:#f9fbff;
  --ec-panel:#ffffff;
  --ec-text:#203558;
  --ec-muted:#445875;
  --ec-blue:#2455d5;
  --ec-line:#cbd8ee;
  color:var(--ec-text);
  font-family:"IBM Plex Sans",sans-serif;
  color-scheme:light;
  width:100%;
  min-width:0;
}
.ec-lead,.ec-lead *{box-sizing:border-box}
.ec-lead__profiles{border:0;padding:0;margin:0 0 .9rem;min-inline-size:0}
.ec-lead__legend{color:var(--ec-text);font-weight:760;margin-bottom:.6rem;font-size:.96rem;line-height:1.35;padding:0}
.ec-lead__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}
.ec-lead__profile{display:flex;gap:.65rem;align-items:flex-start;border:1px solid var(--ec-line);padding:.86rem .78rem;border-radius:.75rem;background:#fff;color:var(--ec-text);cursor:pointer;min-width:0;transition:border-color .18s,background-color .18s}
.ec-lead__profile:hover{background:#f1f5ff;border-color:#a9bce7}
.ec-lead__profile:has(input:checked){background:#eef3ff;border-color:var(--ec-blue)}
.ec-lead__profile:has(input:focus-visible){outline:2px solid var(--ec-blue);outline-offset:3px}
.ec-lead__profile input[type=radio]{flex:0 0 1.05rem;width:1.05rem;height:1.05rem;margin:.15rem 0 0;accent-color:var(--ec-blue)}
.ec-lead__card-body,.ec-lead__profile-title,.ec-lead__profile-copy{display:block}
.ec-lead__profile-title{font-family:Manrope,"IBM Plex Sans",sans-serif;font-size:.97rem;line-height:1.28;font-weight:780}
.ec-lead__profile-copy{font-size:.87rem;color:var(--ec-muted);margin-top:.42rem;line-height:1.42}
.ec-lead__form{background:var(--ec-panel);border:1px solid var(--ec-line);border-radius:.86rem;padding:clamp(1rem,2.8vw,1.55rem);margin:0;box-shadow:0 5px 18px #2c4f8610}
.ec-lead .ec-lead__title,.ec-lead .ec-lead__draft-title{font-family:Manrope,"IBM Plex Sans",sans-serif;font-size:1.24rem;line-height:1.25;letter-spacing:-.025em;font-weight:770;margin:0 0 .87rem;color:var(--ec-text)}
.ec-lead__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem .75rem}
.ec-lead__field{min-width:0;display:flex;flex-direction:column;gap:.34rem}
.ec-lead__field label{color:var(--ec-text);font-weight:650;font-size:.91rem;line-height:1.3;margin:0}
.ec-lead__field input,.ec-lead__field select,.ec-lead__field textarea,.ec-lead__preview{appearance:none;width:100%;min-width:0;border:1px solid var(--ec-line);color:var(--ec-text);background:var(--ec-input);border-radius:.5rem;min-height:46px;padding:.58rem .69rem;font:inherit;font-size:1rem;line-height:1.35}
.ec-lead__field input::placeholder,.ec-lead__field textarea::placeholder{color:#60718e}
.ec-lead__field select{padding-right:2.4rem;background:var(--ec-input) url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23445a82' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .74rem center}
.ec-lead__field textarea,.ec-lead__preview{resize:vertical}
.ec-lead__wide{grid-column:1/-1}
.ec-lead .ec-lead__notice,.ec-lead .ec-lead__status,.ec-lead .ec-lead__draft p{color:var(--ec-muted);font-size:.9rem;line-height:1.45}
.ec-lead .ec-lead__notice{margin:.9rem 0}
.ec-lead__actions{display:flex;gap:.66rem .9rem;align-items:center;flex-wrap:wrap}
.ec-lead__primary,.ec-lead__secondary{border-radius:.49rem;min-height:44px;padding:.56rem .9rem;line-height:1.28;text-align:center;font-size:.92rem;font-weight:760;display:inline-flex;align-items:center;justify-content:center}
.ec-lead__primary{background:var(--ec-blue);border:1px solid var(--ec-blue);color:#fff}
.ec-lead__primary:hover{background:#1844bc}
.ec-lead__secondary{color:var(--ec-text);border:1px solid var(--ec-line);background:#eff4ff}
.ec-lead__secondary:hover{background:#e0eaff}
.ec-lead button:focus-visible,.ec-lead a:focus-visible,.ec-lead input:focus-visible,.ec-lead textarea:focus-visible,.ec-lead select:focus-visible,.ec-lead__draft-title:focus-visible{outline:2px solid var(--ec-blue);outline-offset:2px}
.ec-lead__draft{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--ec-line)}
.ec-lead .ec-lead__draft p{margin:0 0 .75rem}
.ec-lead__preview{display:block;margin:0 0 .7rem}
.ec-lead__status:empty{display:none}
.ec-lead .ec-lead__status:not(:empty){color:#25468f;border-left:3px solid var(--ec-blue);background:#f0f5ff;padding:.6rem .7rem;border-radius:0 .35rem .35rem 0}
.ec-lead .ec-lead__status{margin:.65rem 0 0}
@media(max-width:850px){.ec-lead__cards{grid-template-columns:1fr}}
@media(max-width:520px){.ec-lead__fields{grid-template-columns:1fr}.ec-lead__form{padding:1rem}.ec-lead__profile{padding:.72rem}.ec-lead__actions{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.ec-lead__profile{transition:none}}

/* Profile landing: the selected form is part of the first screen, not a separate step. */
.page-hero.program-hero .program-layout{
  display:grid;
  grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);
  align-items:start;
  gap:clamp(1.45rem,4.4vw,4.75rem);
  padding-block:clamp(2.15rem,5.1vw,5rem);
}
.program-intro{align-self:start;padding-top:clamp(.7rem,3vw,2.4rem)}
.page-hero.program-hero .program-intro h1{
  max-width:13.5ch;
  font-size:clamp(2.55rem,4.05vw,4.65rem);
}
.page-hero.program-hero .program-intro p{max-width:37ch;margin:.9rem 0 0;font-size:clamp(1rem,1.33vw,1.19rem)}
.program-compare{display:inline-flex;margin-top:1.22rem}
.program-panel{width:100%;min-width:0;max-width:45rem;justify-self:center}
#contact-mount{scroll-margin-top:95px}
.program-form .ec-lead__form{padding:clamp(1rem,2.7vw,1.8rem)}
.program-form .ec-lead .ec-lead__title{font-size:clamp(1.25rem,2.15vw,1.72rem)}
@media(max-width:900px){
  .page-hero.program-hero .program-layout{grid-template-columns:minmax(0,1fr);max-width:53rem;gap:1.22rem;padding-block:1.5rem 2.35rem}
  .program-intro{padding-top:0}
  .page-hero.program-hero .program-intro h1{max-width:24ch;font-size:clamp(1.9rem,6.4vw,3rem)}
  .page-hero.program-hero .program-intro p{max-width:48ch;margin:.65rem 0 0;font-size:1rem;line-height:1.44}
  .program-compare{margin-top:.68rem}
  .program-panel{max-width:none}
}

.program-support{display:flex;flex-wrap:wrap;gap:.58rem 1.4rem;margin-top:1.2rem;font-size:.9rem}

.ec-lead__required{color:#9c243c;font-weight:800;white-space:pre}
.ec-lead .ec-lead__required-note{color:var(--ec-muted);font-size:.9rem;line-height:1.4;margin:-.22rem 0 .85rem}
.ec-lead__submit-note{color:var(--ec-muted);font-size:.88rem;line-height:1.4;flex:1 1 13rem}
.ec-lead__consent{display:flex;gap:.6rem;align-items:flex-start;color:var(--ec-muted);font-size:.88rem;margin:.8rem 0;line-height:1.5}
.ec-lead__consent[hidden]{display:none}
.ec-lead__consent input{margin-top:.2rem;width:1rem;height:1rem;flex:0 0 auto;accent-color:var(--ec-blue)}
.ec-lead__primary:disabled{opacity:.68;cursor:wait}
.ec-lead__success{padding-block:.5rem}
.ec-lead__reference{margin:.2rem 0 1rem;color:var(--ec-muted);overflow-wrap:anywhere}
.ec-lead__reference strong{color:var(--ec-text)}

/* Halve only the gap from the standalone contact intro to the form. */
#main>.page-hero:has(+.band #contact-mount){padding-block-end:clamp(1rem,2.1875vw,2rem)}
#main>.page-hero:has(+.band #contact-mount)>.container{padding-block-end:clamp(2.075rem,3.75vw,4rem)}
#main>.page-hero+.band:has(#contact-mount){padding-block-start:clamp(1.15rem,2.185vw,2.15625rem)}
@media(max-width:600px){
 #main>.page-hero:has(+.band #contact-mount){padding-block-end:.9375rem}
 #main>.page-hero:has(+.band #contact-mount)>.container{padding-block-end:1.85rem}
}
