/* Homepage closing invitation and footer: deliberately different surfaces. */
@layer reset {
 html:root:root body[data-yitm-design-mode="home"] #main #contact.yitm-home-invitation {
  background:#f3ede7!important;color:#14243e!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:40px 0!important;
 }
 html:root:root body[data-yitm-design-mode="home"] #main #contact :is(h2,p,.eyebrow) {color:#14243e!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important}
 html:root:root body[data-yitm-design-mode="home"] #main #contact .eyebrow {background:transparent!important;border:0!important;padding:0!important}
 html:root:root body[data-yitm-design-mode="home"] #main #contact h2 {font-size:clamp(1.65rem,3vw,2.25rem)!important;line-height:1.25!important;margin:10px 0 14px!important;max-width:26ch!important}
 html:root:root body[data-yitm-design-mode="home"] #main #contact p {max-width:64ch!important;line-height:1.65!important;margin:0!important}
 html:root:root body[data-yitm-design-mode="home"] #main #contact .a0019496-final__inner {display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:32px!important;align-items:center!important}
 html:root:root body[data-yitm-design-mode="home"] #main #contact .action-row {display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;min-width:180px!important;margin:0!important}
 html:root:root body[data-yitm-design-mode="home"] #main #contact .btn {min-height:48px!important;padding:12px 20px!important;box-sizing:border-box!important;text-align:center!important;justify-content:center!important;text-decoration:none!important;font-weight:800!important}
 html:root:root body[data-yitm-design-mode="home"] #main #contact .btn-primary {background:#96302b!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #96302b!important}
 html:root:root body[data-yitm-design-mode="home"] #main #contact .btn-secondary {background:transparent!important;color:#96302b!important;-webkit-text-fill-color:#96302b!important;border:1px solid #96302b!important}
 html:root:root body[data-yitm-design-mode="home"] :is(#contact>.wrap,footer.yitm-unified-footer>.wrap) {box-sizing:border-box!important;width:100%!important;max-width:1120px!important;margin-inline:auto!important;padding-inline:24px!important}
 html:root:root body[data-yitm-design-mode="home"] footer.yitm-unified-footer {background:#802e29!important;color:#fff!important;-webkit-text-fill-color:currentColor!important;margin:0!important;padding:32px 0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
 html:root:root body[data-yitm-design-mode="home"] footer.yitm-unified-footer .footer-main {display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(0,1.5fr)!important;gap:24px!important;padding-block:0!important;align-items:start!important}
 html:root:root body[data-yitm-design-mode="home"] footer.yitm-unified-footer :is(strong,p,span,a) {color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
 html:root:root body[data-yitm-design-mode="home"] footer.yitm-unified-footer .footer-main p {margin:8px 0 0!important;line-height:1.6!important}
 html:root:root body[data-yitm-design-mode="home"] footer.yitm-unified-footer :is(.footer-links,.footer-terms-links) {display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:0 20px!important;margin:0!important;padding:0!important}
 html:root:root body[data-yitm-design-mode="home"] footer.yitm-unified-footer :is(.footer-links,.footer-terms-links) a {display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;min-height:44px!important;padding:4px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;line-height:1.5!important;font-size:.95rem!important;font-weight:700!important;text-decoration:none!important;overflow-wrap:anywhere!important}
 html:root:root body[data-yitm-design-mode="home"] footer.yitm-unified-footer .footer-terms {display:flex!important;justify-content:space-between!important;align-items:center!important;flex-wrap:wrap!important;gap:8px 24px!important;margin-top:20px!important;padding-top:16px!important;padding-bottom:0!important;border-top:1px solid #ffffff40!important}
 html:root:root body[data-yitm-design-mode="home"] footer.yitm-unified-footer .footer-referral-cta {margin-block:20px 0!important;line-height:1.6!important}
 html:root:root body[data-yitm-design-mode="home"] footer.yitm-unified-footer a:hover {text-decoration:underline!important;text-underline-offset:4px!important}
 html:root:root body[data-yitm-design-mode="home"] footer.yitm-unified-footer a:focus-visible {outline:3px solid #fff!important;outline-offset:4px!important;text-decoration:underline!important}
 html:root:root body[data-yitm-design-mode="home"] #main #contact a:focus-visible {outline:3px solid #14243e!important;outline-offset:4px!important}
 @media(max-width:760px) {
  html:root:root body[data-yitm-design-mode="home"] #main #contact .a0019496-final__inner {grid-template-columns:1fr!important;gap:24px!important}
  html:root:root body[data-yitm-design-mode="home"] #main #contact .action-row {min-width:0!important;max-width:100%!important}
  html:root:root body[data-yitm-design-mode="home"] footer.yitm-unified-footer .footer-main {grid-template-columns:1fr!important;gap:20px!important}
  html:root:root body[data-yitm-design-mode="home"] footer.yitm-unified-footer :is(.footer-links,.footer-terms-links) {justify-content:flex-start!important;gap:0 20px!important}
  html:root:root body[data-yitm-design-mode="home"] footer.yitm-unified-footer .footer-terms {align-items:flex-start!important;flex-direction:column!important}
  html:root:root body[data-yitm-design-mode="home"] footer.yitm-unified-footer {padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important}
 }
}

