/* One invitation and one action at the end of the first LP. */
body[data-page="home"] .final-cta.final-invitation {
  padding-block: clamp(44px, 5vw, 72px);
}
body[data-page="home"] .final-invitation > .shell { max-width: 1060px; }
body[data-page="home"] .final-invitation .eyebrow { margin: 0 0 24px; }
body[data-page="home"] #main .final-invitation h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.6;
  text-wrap: nowrap;
}
body[data-page="home"] .final-invitation-keyword { color: var(--gold-light); font-style: normal; }
body[data-page="home"] #main .final-invitation > .shell > .final-invitation-message {
  margin: 24px auto 0;
  color: var(--white);
  font: 400 clamp(18px, 1.8vw, 23px)/1.9 var(--serif);
  letter-spacing: 0;
  text-align: center;
}
body[data-page="home"] .final-invitation .button {
  margin: 28px auto 0;
  width: min(100%, 600px);
}
/* The sticky CTA is hidden at the footer, so no empty space is needed after it. */
body[data-page="home"] { padding-bottom: 0; }
@media (max-width: 600px) {
  body[data-page="home"] .final-invitation .eyebrow { font-size: 10px; letter-spacing: .08em; gap: 10px; }
  body[data-page="home"] .final-invitation .eyebrow > span:empty { width: 28px; }
  body[data-page="home"] #main .final-invitation h2 { font-size: clamp(20px, 5.8vw, 28px); }
  body[data-page="home"] #main .final-invitation > .shell > .final-invitation-message {
    margin-top: 20px;
    font-size: clamp(16px, 4.5vw, 19px);
    line-height: 1.9;
  }
  body[data-page="home"] .final-invitation .button { margin-top: 24px; }
  body[data-page="home"] .free-action-deadline { padding-bottom: 18px; }
  body[data-page="home"] .free-action-deadline .zero {
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 10px;
  }
  body[data-page="home"] .free-action-deadline .zero strong {
    display: flex;
    align-items: baseline;
    line-height: 1;
  }
}

/* Keep the remaining offer and action together in one restrained invitation frame. */
body[data-page="home"] .free-section.free-invitation {
  padding-block: clamp(24px, 3vw, 40px);
  background: #111110;
}
body[data-page="home"] .free-invitation > .free-layout {
  grid-template-columns: minmax(0, 1fr);
  width: calc(100% - 40px);
  max-width: 1060px;
  margin-inline: auto;
  gap: 28px;
  padding: clamp(28px, 4vw, 52px) clamp(22px, 5vw, 64px);
  border: 1px solid rgba(204, 173, 98, .24);
  background: radial-gradient(ellipse at 50% 100%, rgba(191, 151, 70, .08), transparent 65%), #111110;
}
body[data-page="home"] .free-invitation .free-copy-block { width: 100%; }
body[data-page="home"] .free-invitation .section-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 20px;
  text-align: center;
}
body[data-page="home"] .free-invitation .section-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
body[data-page="home"] #main .free-invitation .free-copy-block > h2 {
  margin: 0 0 20px;
  font-size: clamp(27px, 3.2vw, 40px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -.02em;
  text-align: center;
}
body[data-page="home"] .free-invitation .free-copy-block > p:not(.section-kicker) {
  max-width: 680px;
  margin: 0 auto;
  color: var(--white);
  text-align: left;
}
body[data-page="home"] .free-invitation .free-action-deadline {
  width: min(100%, 600px);
  margin-inline: auto;
  padding: 0;
  border: 0;
  background: transparent;
}
body[data-page="home"] .free-invitation .free-action-deadline .zero {
  align-items: center;
  margin: 20px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(204, 173, 98, .18);
  border-bottom: 0;
}
body[data-page="home"] .free-invitation .zero strong {
  display: flex;
  align-items: baseline;
  line-height: 1;
  font-size: 16px;
}
body[data-page="home"] .free-invitation .zero strong > span { font-size: inherit; }
body[data-page="home"] .free-invitation .zero strong > small { font-size: 12px; }
@media (max-width: 600px) {
  body[data-page="home"] .free-section.free-invitation { padding-block: 18px; }
  body[data-page="home"] #main .free-invitation > .free-layout {
    width: calc(100% - 36px);
    max-width: 100%;
    gap: 24px;
    padding: 28px 18px 24px;
  }
  body[data-page="home"] .free-invitation .section-kicker {
    font-size: 10px;
    letter-spacing: .1em;
    margin-bottom: 16px;
  }
  body[data-page="home"] #main .free-invitation .free-copy-block > h2 {
    font-size: clamp(21px, 6.1vw, 28px);
    margin-bottom: 18px;
  }
  body[data-page="home"] .free-invitation .free-action-deadline .free-enrollment-button {
    min-height: 60px;
    padding-inline: 10px;
    font-size: 15px;
  }
  body[data-page="home"] .free-invitation .free-action-deadline .zero { margin-top: 16px; padding-top: 12px; }
}

/* Close with the destination and the members' invitation, followed by one timed CTA. */
body[data-page="home"] .free-invitation-closing > .free-layout {
  gap: 24px;
  padding-block: clamp(30px, 3.7vw, 44px);
}
body[data-page="home"] #main .free-invitation-closing .free-copy-block > h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.4vw, 44px);
  white-space: nowrap;
}
body[data-page="home"] #main .free-invitation-closing .free-copy-block > .ending-member-message {
  max-width: none;
  margin: 0 auto;
  color: var(--white);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.8;
  text-align: center;
}
body[data-page="home"] .free-invitation-closing .ending-member-message strong { color: var(--gold-light); }
body[data-page="home"] .free-invitation-closing .ending-member-message br { display: none; }
body[data-page="home"] .free-invitation-closing .free-enrollment-countdown { margin-bottom: 22px; }
body[data-page="home"] .free-invitation-closing .free-action-deadline > .free-enrollment-button { margin: 0; }
@media (max-width: 600px) {
  body[data-page="home"] #main .free-invitation-closing > .free-layout {
    gap: 22px;
    padding: 26px 18px 24px;
  }
  body[data-page="home"] #main .free-invitation-closing .free-copy-block > h2 {
    margin-bottom: 16px;
    font-size: clamp(23px, 6.2vw, 28px);
    line-height: 1.6;
  }
  body[data-page="home"] #main .free-invitation-closing [data-cms-field="home.t2601"] > .mobile-heading-phrase { display: block; }
  body[data-page="home"] #main .free-invitation-closing .free-copy-block > .ending-member-message {
    font-size: clamp(15px, 4.2vw, 18px);
    line-height: 1.85;
  }
  body[data-page="home"] .free-invitation-closing .ending-member-message br { display: initial; }
  body[data-page="home"] .free-invitation-closing .free-enrollment-countdown { margin-bottom: 18px; }
}

/* Remove the empty action wrapper and close the profile-to-invitation gap at all widths. */
body[data-page="home"] #mentors .enrollment-action:has(> [hidden]) { display: none; }
body[data-page="home"] #main #mentors { padding-bottom: 12px; }
body[data-page="home"] #main .free-section.free-invitation-closing { padding-top: 12px; }

/* Match the second page's gold italic clock without changing the shared expiry. */
body[data-page="home"] .free-invitation-closing .free-enrollment-countdown .access-window-clock {
  width: min(100%, 320px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
body[data-page="home"] .free-invitation-closing .free-enrollment-countdown .access-window-unit {
  position: relative;
  gap: 6px;
  padding: 0 2px 3px;
  border: 0;
  border-radius: 0;
  background: none;
}
body[data-page="home"] .free-invitation-closing .free-enrollment-countdown .access-window-unit b {
  display: inline-block;
  color: #e3c790;
  font: italic 500 clamp(40px, 4.5vw, 52px)/1 var(--serif);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: .015em;
  transform: scale(.86, 1.13);
  transform-origin: center;
}
body[data-page="home"] .free-invitation-closing .free-enrollment-countdown .access-window-unit small {
  color: #e5cabe;
  font: 400 10px/1.4 var(--sans);
}
body[data-page="home"] .free-invitation-closing .free-enrollment-countdown .access-window-unit + .access-window-unit::before {
  content: ":";
  position: absolute;
  left: -14px;
  top: 4px;
  width: 10px;
  color: #e3c790;
  font: 400 clamp(28px, 3.3vw, 38px)/1 var(--serif);
  text-align: center;
}
@media (max-width: 400px) {
  body[data-page="home"] .free-invitation-closing .free-enrollment-countdown .access-window-clock { gap: 12px; }
  body[data-page="home"] .free-invitation-closing .free-enrollment-countdown .access-window-unit b { font-size: 34px; }
  body[data-page="home"] .free-invitation-closing .free-enrollment-countdown .access-window-unit + .access-window-unit::before { left: -11px; top: 0; font-size: 28px; }
}
