:root {
  --navy: #0b2b58;
  --navy-deep: #08234a;
  --teal: #0a9a91;
  --teal-dark: #078a82;
  --blue: #2e82f3;
  --text: #0f2d54;
  --muted: #60738f;
  --line: #d9e3ee;
  --soft: #f6fbff;
  --mint: #e8f8f6;
  --white: #fff;
  --shadow: 0 18px 48px rgba(30, 75, 118, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0, #f7fbff 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  height: 94px;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #eef3f8;
  position: relative;
  z-index: 20;
}
.header-inner {
  height: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 27px 0 32px;
  display: flex;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 305px;
}
.brand-mark { width: 47px; height: 58px; display: grid; place-items: center; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; transform: translateY(1px); }
.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  letter-spacing: .5px;
  color: var(--navy-deep);
  font-weight: 700;
}
.brand-copy small {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.3px;
  color: var(--navy-deep);
}
.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 31px;
  white-space: nowrap;
  font-size: 14px;
  color: #0b2b58;
}
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--teal); }
.header-cta {
  margin-left: 29px;
  width: 128px;
  height: 44px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: white;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(135deg, #149d94, #079187);
  box-shadow: 0 8px 18px rgba(10,154,145,.15);
}
.menu-button { display: none; }

.hero {
  height: 583px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 8%, rgba(235,247,255,.92), transparent 42%),
    linear-gradient(180deg, #eef8ff 0%, #f8fcff 55%, #fffaf4 100%);
}
.hero-photo {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 0;
  width: 55%;
  height: 100%;
  background: url("assets/hero-couple.png") center center / cover no-repeat;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245,251,255,.85) 0, rgba(245,251,255,.22) 20%, rgba(255,255,255,0) 42%);
}
.hero-wash {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(249,253,255,.98) 0 36%, rgba(246,251,255,.90) 44%, rgba(255,255,255,0) 63%),
    linear-gradient(180deg, rgba(255,255,255,0) 70%, rgba(255,250,244,.35) 100%);
}
.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1024px;
  height: 100%;
  margin: 0 auto;
  padding: 56px 36px 0;
}
.hero-copy { width: 477px; }
.eyebrow {
  width: max-content;
  height: 34px;
  padding: 0 14px 0 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  display: flex;
  align-items: center;
  gap: 8px;
  color: #125090;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .15px;
  box-shadow: 0 5px 18px rgba(26,91,151,.06);
}
.eyebrow-icon { width: 22px; height: 22px; display: grid; place-items: center; }
.eyebrow-icon svg { width: 22px; height: 22px; }
.hero h1 {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 57px;
  line-height: 1.07;
  letter-spacing: -.9px;
  color: var(--navy-deep);
  font-weight: 700;
}
.hero h1 em { font-style: normal; color: #0c9690; }
.scribble { width: 211px; height: 26px; margin: 5px 0 15px 106px; }
.scribble svg { width: 100%; height: 100%; }
.hero-lead {
  margin: 0;
  color: #15345c;
  font-size: 19px;
  line-height: 1.52;
  letter-spacing: -.05px;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 440px;
  margin-top: 42px;
}
.benefit { text-align: center; }
.benefit-icon {
  margin: 0 auto 14px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(245,250,255,.86);
  color: #287df2;
}
.benefit-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit h3 { margin: 0 0 6px; font-size: 14px; color: #0a2a53; font-weight: 700; }
.benefit p { margin: 0; font-size: 13px; line-height: 1.46; color: #1c3c64; }

.eligibility-wrap {
  position: relative;
  z-index: 10;
  margin-top: -1px;
  padding: 0 25px 29px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0, #f7fbff 100%);
}
.eligibility-card {
  max-width: 974px;
  min-height: 832px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid #d9e7f2;
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.form-heading {
  text-align: center;
  padding-top: 42px;
}
.form-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -.35px;
  color: var(--navy-deep);
}
.form-heading p { margin: 13px 0 0; font-size: 16px; color: #314b6f; }
.form-heading > span { display: block; width: 56px; height: 2px; margin: 15px auto 30px; background: var(--teal); }
.eligibility-form { padding: 0 34px 49px; }
.form-grid { display: grid; grid-template-columns: 1fr 1.07fr; min-height: 596px; }
.personal-column {
  padding: 0 27px 0 0;
  border-right: 1px solid #dce7f0;
}
.field { display: block; margin-bottom: 37px; }
.field > span:first-child {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #0e2f59;
}
.input-shell {
  height: 54px;
  border: 1px solid #cbd9e7;
  border-radius: 7px;
  display: flex;
  align-items: center;
  transition: border-color .2s, box-shadow .2s;
  background: #fff;
}
.input-shell:focus-within { border-color: #50a6f3; box-shadow: 0 0 0 3px rgba(46,130,243,.10); }
.input-shell svg {
  width: 22px;
  height: 22px;
  margin: 0 14px 0 15px;
  fill: none;
  stroke: #a8b6c7;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.input-shell input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 12px 0 0;
  color: #1b3d65;
  font-size: 14px;
}
.input-shell input::placeholder { color: #7d8ca1; opacity: 1; }
.submit-button {
  width: 100%;
  height: 54px;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  background: linear-gradient(135deg, #0b9f95 0%, #079087 100%);
  box-shadow: 0 8px 20px rgba(10,154,145,.14);
  transition: transform .15s ease, box-shadow .2s ease;
}
.submit-button:hover { transform: translateY(-1px); box-shadow: 0 10px 23px rgba(10,154,145,.20); }
.submit-button:active { transform: translateY(0); }
.privacy-note {
  margin: 17px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #6d7e95;
  font-size: 12.5px;
}
.privacy-note svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #3785ed;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form-status { min-height: 20px; margin: 8px 0 0; text-align: center; font-size: 13px; color: #0b7d76; }

.qualification-column {
  border: 0;
  padding: 0 0 0 26px;
  margin: 0;
  min-width: 0;
}
.qualification-column legend {
  padding: 0;
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 700;
  color: #0b2b55;
}
.qualification-column legend sup { color: #e02c2c; top: -.2em; position: relative; }
.question-row {
  min-height: 119px;
  display: grid;
  grid-template-columns: 53px 1fr;
  column-gap: 13px;
  align-items: start;
  padding: 14px 0 18px;
  border-bottom: 1px solid #e3eaf1;
}
.question-row:first-of-type { padding-top: 7px; }
.question-row.last { border-bottom: 0; }
.question-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7f8f5;
  color: #08958c;
}
.question-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.question-copy p {
  margin: 2px 0 15px;
  color: #0c2d56;
  font-size: 14px;
  line-height: 1.48;
  font-weight: 600;
}
.radio-pair { display: flex; align-items: center; gap: 24px; }
.radio-pair label { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: #0d2f59; cursor: pointer; }
.radio-pair input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pair label > span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.6px solid #7f96b0;
  display: inline-grid;
  place-items: center;
  transition: .15s ease;
}
.radio-pair label > span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a7df0;
  opacity: 0;
  transform: scale(.35);
  transition: .15s ease;
}
.radio-pair input:checked + span { border-color: #1a7df0; }
.radio-pair input:checked + span::after { opacity: 1; transform: scale(1); }
.radio-pair input:focus-visible + span { outline: 3px solid rgba(26,125,240,.18); outline-offset: 2px; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 900px) {
  .site-header { height: 78px; }
  .header-inner { padding: 0 20px; }
  .brand { min-width: auto; }
  .brand-mark { width: 39px; height: 48px; }
  .brand-copy strong { font-size: 34px; }
  .brand-copy small { font-size: 9px; letter-spacing: 1.8px; }
  .main-nav, .header-cta { display: none; }
  .menu-button {
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    background: #f2f8fb;
    display: grid;
    place-content: center;
    gap: 4px;
  }
  .menu-button span { width: 20px; height: 2px; background: var(--navy); border-radius: 4px; display: block; }
  .main-nav.mobile-open {
    display: flex;
    position: absolute;
    left: 18px;
    right: 18px;
    top: 69px;
    padding: 16px;
    border: 1px solid #dfe9f2;
    border-radius: 15px;
    box-shadow: 0 16px 40px rgba(22,66,107,.12);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .main-nav.mobile-open a { padding: 11px 8px; }

  .hero { height: auto; min-height: 760px; }
  .hero-photo { width: 100%; height: 420px; top: 0; opacity: .34; background-position: 73% center; }
  .hero-wash { background: linear-gradient(180deg, rgba(249,253,255,.78), rgba(249,253,255,.94) 48%, #fff 80%); }
  .hero-inner { padding: 42px 24px 42px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(44px, 8vw, 58px); }
  .hero-lead { font-size: 17px; }
  .benefits { width: 100%; max-width: 520px; }
  .eligibility-wrap { padding: 18px 18px 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .personal-column { border-right: 0; padding: 0 0 30px; }
  .qualification-column { padding: 28px 0 0; border-top: 1px solid #dce7f0; }
  .eligibility-card { min-height: 0; }
}

@media (max-width: 560px) {
  .header-inner { padding: 0 15px; }
  .hero-inner { padding: 32px 18px 36px; }
  .eyebrow { font-size: 11px; }
  .hero h1 { font-size: 43px; letter-spacing: -1.1px; }
  .scribble { margin-left: 54px; width: 185px; }
  .desktop-only { display: none; }
  .benefits { grid-template-columns: 1fr; gap: 20px; margin-top: 31px; }
  .benefit { display: grid; grid-template-columns: 56px 1fr; text-align: left; column-gap: 13px; align-items: center; }
  .benefit-icon { grid-row: span 2; margin: 0; width: 54px; height: 54px; }
  .benefit h3, .benefit p { grid-column: 2; }
  .benefit h3 { align-self: end; }
  .benefit p { align-self: start; }
  .eligibility-wrap { padding-left: 10px; padding-right: 10px; }
  .eligibility-card { border-radius: 15px; }
  .form-heading { padding: 32px 18px 0; }
  .form-heading h2 { font-size: 28px; }
  .form-heading p { font-size: 14px; line-height: 1.5; }
  .eligibility-form { padding: 0 18px 35px; }
  .field { margin-bottom: 24px; }
  .question-row { grid-template-columns: 46px 1fr; gap: 10px; }
  .question-icon { width: 46px; height: 46px; }
  .radio-pair { gap: 18px; }
}


body.modal-open {
  overflow: hidden;
}

.header-inner,
.hero-inner {
  max-width: 1080px;
}

.hero-copy {
  width: 490px;
}

.hero-lead,
.form-heading p {
  max-width: 640px;
}

.eligibility-card {
  max-width: 1000px;
}

#eligibility-form {
  scroll-margin-top: 28px;
}

.eligibility-form {
  padding-bottom: 42px;
}

.form-grid {
  min-height: 0;
}

.personal-column {
  padding-right: 24px;
}

.field {
  margin-bottom: 30px;
}

.qualification-column {
  padding-left: 24px;
}

.question-row {
  min-height: 106px;
  padding: 12px 0 16px;
}

.question-row.last {
  border-bottom: 0;
}

.submit-button:disabled {
  cursor: wait;
  opacity: .92;
}

.form-status {
  min-height: 0;
  margin-top: 8px;
  color: #d54040;
  font-weight: 500;
}

.success-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
  z-index: 200;
}

.success-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.success-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 32, 64, .44);
  backdrop-filter: blur(3px);
}

.success-modal__dialog {
  position: relative;
  width: min(100%, 520px);
  background: #fff;
  border: 1px solid #d7e5f1;
  border-radius: 22px;
  box-shadow: 0 28px 72px rgba(14, 43, 84, .22);
  padding: 34px 34px 30px;
  text-align: center;
  z-index: 1;
  transform: translateY(14px) scale(.98);
  transition: transform .22s ease;
}

.success-modal.is-open .success-modal__dialog {
  transform: translateY(0) scale(1);
}

.success-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f3f8fc;
  cursor: pointer;
}

.success-modal__close span {
  position: absolute;
  inset: 18px 10px auto 10px;
  height: 2px;
  background: #45607f;
  border-radius: 3px;
}

.success-modal__close span:first-child { transform: rotate(45deg); }
.success-modal__close span:last-child { transform: rotate(-45deg); }

.success-modal__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #ebfbf8 0%, #f5fcff 100%);
}

.success-modal__icon svg {
  width: 64px;
  height: 64px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-modal__icon circle {
  fill: #e4faf5;
  stroke: #0ba195;
  stroke-width: 2.5;
}

.success-modal__icon path {
  stroke: #0ba195;
  stroke-width: 4;
}

.success-modal__dialog h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  color: #08234a;
}

.success-modal__dialog p {
  margin: 0 auto;
  max-width: 390px;
  font-size: 16px;
  line-height: 1.65;
  color: #355071;
}

.success-modal__button {
  margin-top: 24px;
  min-width: 170px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #0b9f95 0%, #079087 100%);
  box-shadow: 0 10px 24px rgba(10,154,145,.18);
}

@media (max-width: 900px) {
  #eligibility-form {
    scroll-margin-top: 16px;
  }

  .success-modal__dialog {
    padding: 28px 22px 24px;
    border-radius: 18px;
  }
}

@media (max-width: 560px) {
  .field {
    margin-bottom: 22px;
  }

  .question-row {
    min-height: 0;
  }

  .success-modal {
    padding: 14px;
  }

  .success-modal__dialog h3 {
    font-size: 30px;
  }

  .success-modal__dialog p {
    font-size: 15px;
  }
}


/* ===== v1.2 visual correction: approved hero composition ===== */
.hero-photo {
  width: 55%;
  height: 100%;
  background-image: url("assets/hero-couple-wide.jpg");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.hero-copy {
  width: 620px;
  max-width: 62%;
}

.hero h1 {
  white-space: nowrap;
}

.hero h1 em {
  white-space: nowrap;
}

.benefits {
  margin-top: 31px;
  width: 455px;
}

.benefit {
  min-width: 0;
}

.benefit p {
  min-height: 38px;
}

@media (min-width: 901px) {
  .hero-inner {
    max-width: 1080px;
  }

  .hero-wash {
    background:
      linear-gradient(90deg, rgba(249,253,255,.99) 0 34%, rgba(246,251,255,.94) 43%, rgba(255,255,255,.22) 57%, rgba(255,255,255,0) 68%),
      linear-gradient(180deg, rgba(255,255,255,0) 70%, rgba(255,250,244,.35) 100%);
  }
}

@media (max-width: 1150px) and (min-width: 901px) {
  .hero-copy {
    width: 585px;
    max-width: 62%;
  }

  .hero h1 {
    font-size: 53px;
  }
}

@media (max-width: 900px) {
  .hero-photo {
    width: 100%;
    height: 420px;
    background-size: cover;
    background-position: 77% center;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    white-space: normal;
  }

  .benefits {
    width: 100%;
  }
}
