@font-face { font-family: "Cora Montserra"; src: url("assets/fonts/Montserrat-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
[hidden] { display: none !important; }

.enrollment-page { color: #0a376e; background: #f3f8fc; }
.enrollment-header { position: relative; z-index: 5; background: #fff; border-bottom: 1px solid #e4edf5; }
.enrollment-header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.enrollment-header .brand { width: 220px; }
.back-link { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; padding: 10px 16px; color: #0757bd; background: #f7faff; border: 1px solid #cbdcf0; border-radius: 999px; font-size: .86rem; font-weight: 650; transition: color .2s,background .2s,border-color .2s,transform .2s; }
.back-link span { display: grid; width: 23px; height: 23px; place-items: center; color: #fff; background: #0757bd; border-radius: 50%; line-height: 1; }
.back-link:hover { color: #fff; background: #0757bd; border-color: #0757bd; transform: translateY(-1px); }
.back-link:hover span { color: #0757bd; background: #fff; }
.enrollment-hero { position: relative; overflow: hidden; padding: 76px 0 72px; background: linear-gradient(120deg,#eef8ff 0%,#fff 52%,#e7f8ef 100%); }
.enrollment-hero::before { content: ""; position: absolute; width: 430px; height: 180px; right: -110px; top: -85px; border-radius: 50%; background: #ffad2f; transform: rotate(-13deg); opacity: .94; }
.enrollment-hero-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.85fr); gap: 76px; align-items: center; }
.enrollment-eyebrow { margin-bottom: 18px; color: #009b56; font-size: .82rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.enrollment-hero h1 { max-width: 780px; margin: 0; color: #0753aa; font-size: clamp(2.55rem,3.6vw,3.85rem); font-weight: 400; line-height: .98; letter-spacing: -.055em; }
.enrollment-hero h1 strong { font-weight: 800; }
.enrollment-title-line { display: block; }
.enrollment-title-blue { color: #0753aa; }
.enrollment-title-green { color: #009b56; }
.enrollment-hero h1 + p { max-width: 680px; margin: 26px 0 0; font-size: 1.08rem; line-height: 1.7; }
.enrollment-family-visual { position: relative; width: min(112%,640px); aspect-ratio: 1296 / 994; justify-self: end; margin: 0; }
.enrollment-family-layer { position: absolute; display: block; max-width: none; height: auto; pointer-events: none; }
.enrollment-family-yellow { z-index: 0; top: 20%; left: 0; width: 98%; }
.enrollment-family-green { z-index: 1; top: 0; left: 20%; width: 76%; }
.enrollment-family-photo { z-index: 2; top: 11%; left: 4%; width: 92%; }
.enrollment-family-yellow-stroke { z-index: 3; right: 5%; bottom: 8%; width: 85%; }
.enrollment-highlights { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.enrollment-highlights span { padding: 10px 14px; color: #0753aa; background: #fff; border: 1px solid #dceaf5; border-radius: 999px; font-size: .78rem; font-weight: 700; box-shadow: 0 8px 20px rgba(6,61,123,.06); }
.enrollment-section { padding: 76px 0 96px; }
.enrollment-layout { display: grid; grid-template-columns: minmax(250px,.48fr) minmax(0,1fr); gap: 48px; align-items: start; }
.enrollment-sidebar { position: sticky; top: 28px; padding: 32px; background: #0757bd; color: #fff; border-radius: 28px; box-shadow: 0 24px 55px rgba(6,61,123,.15); }
.enrollment-step { display: inline-flex; margin: 0 0 18px; padding: 8px 12px; color: #093c70; background: #fff; border-radius: 999px; font-size: .74rem; font-weight: 800; }
.enrollment-sidebar h2 { margin: 0 0 14px; font-size: 1.7rem; }
.enrollment-sidebar > p:not(.enrollment-step) { margin: 0; color: rgba(255,255,255,.82); line-height: 1.65; }
.privacy-note { display: grid; gap: 6px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.22); }
.privacy-note span { color: rgba(255,255,255,.78); font-size: .84rem; line-height: 1.5; }
.enrollment-card { overflow: hidden; background: #fff; border: 1px solid #e1ebf3; border-radius: 30px; box-shadow: 0 24px 65px rgba(6,61,123,.1); }
.form-heading { padding: 38px 42px 30px; background: linear-gradient(135deg,#fff,#f4f9fd); border-bottom: 1px solid #e4edf5; }
.form-heading > span { color: #ff9f1c; font-size: .84rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.form-heading h2 { margin: 8px 0 8px; color: #0753aa; font-size: clamp(1.8rem,3vw,2.55rem); font-weight: 600; line-height: 1.12; }
.form-heading p { margin: 0; color: #647b95; font-size: .96rem; line-height: 1.5; }
.enrollment-form { padding: 36px 42px 42px; }
.enrollment-form fieldset { min-height: 335px; margin: 0; padding: 0 0 34px; border: 0; }
.enrollment-form legend { width: 100%; margin-bottom: 26px; color: #0753aa; font-size: .86rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.enrollment-form legend span { display: inline-grid; width: 32px; height: 32px; place-items: center; margin-right: 9px; color: #fff; background: #0757bd; border-radius: 50%; font-size: .7rem; letter-spacing: 0; }
.quiz-progress { margin-bottom: 34px; padding-bottom: 26px; border-bottom: 1px solid #e7eef4; }
.quiz-progress-copy { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.quiz-progress-copy strong { color: #0757bd; font-size: .84rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.quiz-progress-copy span { color: #6d8298; font-size: .86rem; font-weight: 600; }
.quiz-progress-track { height: 7px; overflow: hidden; background: #e8eff5; border-radius: 99px; }
.quiz-progress-track span { display: block; width: 9.09%; height: 100%; background: #009b56; border-radius: inherit; transition: width .4s cubic-bezier(.22,1,.36,1); }
.quiz-step:not(.is-active) { display: none; }
.quiz-step.is-active { animation: quiz-in .35s ease both; }
@keyframes quiz-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.quiz-question { max-width: 760px; }
.quiz-question h3,.quiz-question .field > strong { display: block; margin: 0 0 10px; color: #0a376e; font-size: clamp(1.7rem,2.6vw,2.2rem); font-weight: 500; line-height: 1.18; letter-spacing: -.025em; }
.quiz-question .field > small { display: block; margin: 0 0 24px; color: #607890; font-size: .98rem; font-weight: 450; line-height: 1.6; }
.quiz-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin-top: 22px; }
.quiz-options-compact { grid-template-columns: repeat(3,minmax(0,1fr)); }
.quiz-option { position: relative; min-width: 0; cursor: pointer; }
.quiz-option input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.quiz-option > span { position: relative; display: flex; min-height: 82px; flex-direction: column; justify-content: center; padding: 18px 48px 18px 18px; color: #164878; background: #f8fbfd; border: 1px solid #cfdeea; border-radius: 15px; transition: border-color .2s,box-shadow .2s,background .2s,transform .2s; }
.quiz-option > span::after { content: ""; position: absolute; width: 21px; height: 21px; right: 17px; top: 50%; border: 2px solid #b9cad9; border-radius: 50%; transform: translateY(-50%); transition: border-color .2s,background .2s,box-shadow .2s; }
.quiz-option strong { font-size: 1rem; font-weight: 600; line-height: 1.35; }
.quiz-option small { margin-top: 5px; color: #657c93; font-size: .86rem; line-height: 1.35; }
.quiz-option:hover > span { border-color: #7fa3f8; transform: translateY(-2px); }
.quiz-option input:focus-visible + span { outline: 3px solid rgba(40,97,245,.24); outline-offset: 2px; }
.quiz-option.is-selected > span,.quiz-option:has(input:checked) > span { color: #0753aa; background: #eef4ff; border-color: #2861f5; box-shadow: 0 8px 22px rgba(40,97,245,.1); }
.quiz-option.is-selected > span::after,.quiz-option:has(input:checked) > span::after { border-color: #2861f5; background: #2861f5; box-shadow: inset 0 0 0 5px #eef4ff; }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.field { display: grid; gap: 9px; color: #123f73; font-size: .84rem; font-weight: 700; }
.field-wide { grid-column: 1 / -1; }
.field input,.field select,.field textarea { width: 100%; min-height: 60px; padding: 16px 18px; color: #123f73; background: #f8fbfd; border: 1px solid #cfdeea; border-radius: 14px; font: inherit; font-size: 1.06rem; font-weight: 500; outline: none; transition: border-color .2s,box-shadow .2s,background .2s; }
.field textarea { resize: vertical; }
.field input:focus,.field select:focus,.field textarea:focus { background: #fff; border-color: #2861f5; box-shadow: 0 0 0 4px rgba(40,97,245,.12); }
.quiz-review-intro { margin: -8px 0 22px; color: #637b94; font-size: .98rem; line-height: 1.6; }
.quiz-review { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0 0 26px; }
.quiz-review div { padding: 14px; background: #f5f9fc; border: 1px solid #e0eaf2; border-radius: 11px; }
.quiz-review dt { margin-bottom: 5px; color: #74889d; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.quiz-review dd { margin: 0; color: #0b437e; font-size: .94rem; font-weight: 600; }
.quiz-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.quiz-back { min-height: 50px; padding: 10px 18px; color: #0757bd; background: transparent; border: 0; font-weight: 800; cursor: pointer; }
.quiz-back:disabled { opacity: 0; pointer-events: none; }
.quiz-next,.enrollment-submit { width: auto; min-width: 210px; border: 0; cursor: pointer; }
.enrollment-submit[disabled] { opacity: .65; cursor: wait; }
.form-feedback { min-height: 22px; margin-bottom: 8px; color: #b3261e; font-size: .84rem; font-weight: 700; }
.draft-status { min-height: 22px; margin: -4px 0 8px; color: #607890; font-size: .82rem; font-weight: 600; text-align: right; }
.draft-status[data-state="saving"] { color: #607890; }
.draft-status[data-state="saved"] { color: #087c49; }
.draft-status[data-state="error"] { color: #a85c00; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enrollment-success { padding: 70px 42px; text-align: center; }
.success-icon { display: grid; width: 72px; height: 72px; place-items: center; margin: 0 auto 22px; color: #fff; background: #009b56; border-radius: 50%; font-size: 2rem; font-weight: 900; }
.enrollment-success > p:first-of-type { color: #009b56; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.enrollment-success h2 { margin: 10px 0; color: #0753aa; font-size: 2rem; }
.enrollment-success strong { display: block; margin: 22px 0; color: #0753aa; font-size: 1.45rem; letter-spacing: .08em; }
.enrollment-footer { padding: 28px 0; color: #698098; background: #fff; border-top: 1px solid #e4edf5; text-align: center; font-size: .8rem; }

@media (max-width: 850px) {
  .enrollment-hero-grid,.enrollment-layout { grid-template-columns: 1fr; }
  .enrollment-hero-grid { gap: 38px; }
  .enrollment-family-visual { width: min(100%,620px); justify-self: center; }
  .enrollment-sidebar { position: static; }
  .enrollment-card { order: 1; }
  .enrollment-sidebar { order: 2; }
}
@media (max-width: 600px) {
  .enrollment-header-inner { min-height: 72px; }
  .enrollment-header .brand { width: 170px; }
  .back-link { min-height: 40px; padding: 8px 12px; font-size: .78rem; }
  .back-link span { width: 21px; height: 21px; }
  .enrollment-hero { padding: 38px 0 24px; }
  .enrollment-hero::before { width: 220px; height: 90px; top: -40px; right: -72px; }
  .enrollment-hero-grid { gap: 28px; }
  .enrollment-hero h1 { font-size: 2.2rem; }
  .enrollment-hero h1 + p,.enrollment-highlights { display: none; }
  .enrollment-family-visual { width: min(100%,430px); }
  .enrollment-section { padding: 24px 0 64px; }
  .enrollment-layout { gap: 24px; }
  .enrollment-sidebar { padding: 24px; border-radius: 22px; }
  .enrollment-card { border-radius: 22px; }
  .form-heading,.enrollment-form,.enrollment-success { padding-right: 22px; padding-left: 22px; }
  .form-heading > span { font-size: .88rem; }
  .form-heading h2 { font-size: 2rem; font-weight: 600; }
  .form-heading p { font-size: 1rem; }
  .quiz-progress-copy strong,.quiz-progress-copy span { font-size: .9rem; }
  .enrollment-form legend { font-size: .9rem; }
  .quiz-question h3,.quiz-question .field > strong { font-size: 2.05rem; font-weight: 500; line-height: 1.14; letter-spacing: -.03em; }
  .quiz-question .field > small { font-size: 1.03rem; line-height: 1.6; }
  .field-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .enrollment-form fieldset { min-height: 360px; }
  .quiz-options,.quiz-options-compact { grid-template-columns: 1fr; }
  .quiz-option > span { min-height: 74px; }
  .quiz-option strong { font-size: 1.04rem; }
  .quiz-option small { font-size: .9rem; }
  .quiz-review { grid-template-columns: 1fr; }
  .quiz-actions { align-items: stretch; flex-direction: column-reverse; }
  .quiz-next,.enrollment-submit,.quiz-back { width: 100%; }
}
