/* A shared finish for the original site and its growing family resource library. */
@media screen {
  :root { --surface-radius: .5rem; }
  h1, h2, h3 { text-wrap: balance; }
  :where(p, li, a, button, label, select) { overflow-wrap: break-word; }
  .button { border-radius: .375rem; }
  a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid #2055b2;
    outline-offset: 4px;
  }
  :is(.hero, .page-banner, .simple-hero, .local-section, .closing-section, .site-footer) :is(a, button, summary):focus-visible {
    outline-color: #b5d4ff;
  }
  .site-header { border-bottom: 1px solid #e5ebf2; }
  .site-header .header-inner { min-height: 100px; flex-wrap: wrap; }
  .site-header .header-inner nav { flex: 1 1 34rem; min-width: 0; flex-wrap: wrap; justify-content: flex-end; }
  .header-inner nav a { border-radius: 2px; }
  .header-inner nav a[aria-current] { color: #2055b2; border-bottom-color: #2865d1; }
  .header-inner nav .nav-get-started { display: none; }
  :is(.family-intro, .utility-intro, .article-banner) .breadcrumbs {
    color: #53667b;
    line-height: 1.65;
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .breadcrumbs a { text-underline-offset: 4px; }
  :is(.family-intro, .utility-intro) .breadcrumbs a:hover { color: #2055b2; }
  .family-card, .guide-card, .visitor-tool {
    border: 1px solid #d9e2ec;
    border-top: 3px solid #2865d1;
    border-radius: var(--surface-radius);
    box-shadow: none;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
    min-width: 0;
  }
  .family-events .family-card { border-top: 3px solid #b4c7df; }
  :is(.family-card, .visitor-tool):hover, :is(.family-card, .visitor-tool):focus-visible {
    background: #f4f8fe;
    border-color: #88aedf;
    box-shadow: 0 5px 18px #0a213d0b;
  }
  .family-card .family-card-action { padding-top: 3px; }
  .family-card h3 { font-size: 1.75rem; line-height: 1.22; }
  :is(#finder-interactive, .needs-summary, .kit-download) {
    border: 1px solid #ccd9eb;
    border-top: 3px solid #2865d1;
    border-radius: var(--surface-radius);
    background: #f0f5fc;
  }
  :is(#finder-links a, .family-article-aside, .checkup-prep, .budget-worksheet, .review, .aside-card, .article-toc) {
    border-radius: var(--surface-radius);
  }
  .family-article-aside { border: 1px solid #d9e2ec; background: #f4f7fa; }
  .family-article-aside .button { min-height: 48px; }
  .family-article-section p, .article-body p { line-height: 1.8; }
  .family-lede, .utility-lede, .article-deck { max-width: 48rem; }
  .finder-fields select, .needs-field input {
    border-color: #93a5bb;
    border-radius: .375rem;
  }
  .form-privacy-link { border: 1px solid #d9e2ec; border-radius: .375rem; background: #f4f7fa; }
  .inquiry-form-panel .form-opening { border: 1px solid #d9e2ec; border-radius: .375rem; background: #f4f7fa; }
  .home-resource-band { background: #f4f7fa; border-bottom: 1px solid #d9e2ec; padding: 42px 0; }
  .home-resource-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .home-resource-pair > section { padding: 0; border: 0; background: transparent; min-width: 0; }
  .home-resource-pair > section:first-child { padding-right: 42px; }
  .home-resource-pair > section:last-child { padding-left: 42px; border-left: 1px solid #ccd8e7; }
  .home-resource-pair > section > .wrap { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; height: 100%; }
  .home-resource-pair h2 { font-size: clamp(1.75rem, 2.5vw, 2.1rem); line-height: 1.2; margin: 12px 0; }
  .home-resource-pair .eyebrow { margin: 0; }
  .home-resource-pair p:not(.eyebrow) { margin: 12px 0 0; font-size: 1rem; color: var(--muted); }
  .home-resource-pair > section > .wrap > div:last-child {
    margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  }
  .home-resource-pair .button { min-width: 0; min-height: 48px; font-size: .9375rem; }
  .home-resource-pair .free-guide-feature .button { background: white; color: #2055b2; border-color: #9bb9df; }
  .home-resource-pair .free-guide-feature .button:hover { background: #e6effb; }
  .home-resource-pair a:not(.button) { font-size: .875rem; display: inline-flex; align-items: center; min-height: 44px; }
  .work-promotion { background: white; padding-block: 30px; border-top: 1px solid #d9e2ec; }
  .work-promotion h2 { font-size: 1.75rem; }
  .work-promotion .eyebrow { margin-bottom: 10px; }
  .work-promotion p:not(.eyebrow) { margin-top: 12px; }
  .work-promotion .button { background: white; color: #2055b2; border: 1px solid #9bb9df; min-height: 48px; }
  .work-promotion .button:hover { background: #e6effb; }
  .site-footer .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
  .site-footer .footer-grid > div { min-width: 0; }
  .site-footer .footer-grid > div:first-child { grid-column: auto; grid-row: auto; }
  .site-footer .footer-grid h2 { font-size: .9375rem; margin-bottom: 17px; line-height: 1.5; }
  .site-footer .footer-grid p { font-size: .875rem; line-height: 1.8; }
  .site-footer .footer-grid > div > a:not(.brand-lockup):not(.text-link), .site-footer .footer-states a {
    font-size: .875rem; line-height: 1.55; padding-block: 9px; margin-bottom: 0; text-decoration: none;
  }
  .site-footer .footer-grid a:hover { color: #fff; text-decoration: underline; }
  .site-footer .footer-states { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: 6px; }
  .site-footer .footer-resources p { padding-top: 16px; margin-top: 16px; border-top: 1px solid #ffffff20; }
  .site-footer .footer-fine { margin-top: 36px; }
  .review-float-card { border-radius: var(--surface-radius); }
}
@media screen and (min-width: 1101px) and (max-width: 1400px) {
  .site-header .header-book { display: none; }
  .site-header .header-inner nav { gap: 22px; }
}
@media screen and (max-width: 1100px) {
  .site-header .header-inner { min-height: 82px; padding-block: 13px; gap: 0 14px; flex-wrap: wrap; justify-content: space-between; }
  .site-header .brand-lockup { gap: 10px; }
  .site-header .brand-mark { width: 46px; }
  .site-header .brand-name { font-size: 1.2rem; }
  .site-header .brand-name > span { font-size: .5rem; letter-spacing: .16em; margin-top: 6px; }
  .menu-ready .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--navy); font: 600 .875rem/1.4 'DM Sans',sans-serif; cursor: pointer; }
  .menu-icon { display: block; position: relative; width: 17px; height: 12px; border-block: 2px solid currentColor; }
  .menu-icon::after { content: ''; position: absolute; inset: 4px 0 auto; height: 2px; background: currentColor; }
  .site-header .header-inner nav { flex: 0 0 100%; width: 100%; margin: 14px 0 0; padding: 14px 0 2px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; justify-content: stretch; }
  .menu-ready .header-inner nav { display: none; }
  .menu-ready.menu-open .header-inner nav { display: grid; }
  .site-header .header-inner nav a { font-size: .9375rem; min-height: 48px; padding: 10px 0; line-height: 1.5; white-space: normal; justify-content: flex-start; }
  .site-header .header-inner nav .nav-get-started { grid-column: 1/-1; display: flex; justify-content: center; padding: 12px 16px; margin-top: 8px; background: #2865d1; color: white; border: 0; border-radius: .375rem; font-weight: 700; }
  .site-header .header-book { display: none; }
  .site-footer .footer-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .site-footer .footer-grid > div:first-child { grid-column: 1/-1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; padding-bottom: 24px; border-bottom: 1px solid #ffffff20; }
  .site-footer .footer-brand, .site-footer .footer-grid > div:first-child p { margin: 0; }
}
@media screen and (max-width: 820px) {
  .home-resource-pair > section:first-child { padding-right: 26px; }
  .home-resource-pair > section:last-child { padding-left: 26px; }
  .family-article-aside { padding: 24px; }
}
@media screen and (max-width: 640px) {
  body:not(.inquiry-page) { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom)); }
  .mobile-contact.has-reviews { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr); }
  .mobile-contact.has-reviews .button, .mobile-contact .mobile-reviews { white-space: normal; overflow-wrap: anywhere; min-width: 0; }
  .mobile-contact .mobile-reviews { flex-wrap: wrap; padding-inline: 0; }
  .home-resource-band { padding: 30px 0; }
  .home-resource-pair { grid-template-columns: 1fr; gap: 28px; }
  .home-resource-pair > section:first-child { padding: 0 0 28px; border-bottom: 1px solid #ccd8e7; }
  .home-resource-pair > section:last-child { padding: 0; border-left: 0; }
  .home-resource-pair > section > .wrap { gap: 18px; }
  .work-promotion { padding-block: 28px; }
  .work-promotion > .wrap { gap: 20px; }
  .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 20px; }
  .site-footer .footer-grid > div:first-child { display: block; }
  .site-footer .footer-grid > div:first-child p { margin: 18px 0; }
  .site-footer .footer-locations { grid-column: 1/-1; border-top: 1px solid #ffffff20; padding-top: 24px; }
  .site-footer .footer-states { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-footer .footer-grid > div > a:not(.brand-lockup):not(.text-link), .site-footer .footer-states a { display: flex; align-items: center; min-height: 44px; }
  .site-footer .footer-resources p { font-size: .8125rem; }
  .family-article-aside .button { background: white; color: #2055b2; border: 1px solid #9bb9df; }
  .family-article-aside .button:hover { background: #e6effb; }
}
@media (prefers-reduced-motion: reduce) {
  .family-card, .visitor-tool { transition: none; }
}
