/* Shared reading styles. Keep these last so every page has the same readable floor. */
@media screen {
  html { font-size: 112.5%; }
  body { font-size: 1rem; line-height: 1.7; }
  :root { --muted: #45566b; }

  /* Older page styles used 10–15px text. These intentional overrides cover those
     templates without changing brand artwork, icons, or printable worksheets. */
  body main :is(p:not(.eyebrow), li, dt, dd, blockquote, label, legend, summary) {
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }
  html body main :is(.page-lede, .family-lede, .utility-lede, .article-deck, .hero-description, .simple-lede, .family-coverage-lede, .large-copy) {
    font-size: 1.125rem !important;
    line-height: 1.65 !important;
  }
  body main :is(p, li) a { font-size: inherit; }
  body :is(.eyebrow, .breadcrumbs, small, figcaption, .guide-meta, .finder-step, .family-step, .card-number, .visitor-tool-action, .family-card-action, .caption-location) {
    font-size: .9rem !important;
    line-height: 1.6 !important;
  }
  body .eyebrow { letter-spacing: .065em; }
  body :is(.inline-link, .text-link, .hero-booking, .simple-read-link, .simple-toc a, .article-toc a, .privacy-toc a, .family-article-aside>a, .family-quick-links a, .glossary-jump a, .home-other-options a) {
    font-size: 1rem;
    line-height: 1.6;
  }
  body :is(.person-caption div>span, .hero-foot span, .review figcaption span, .review-float-card p, .review-float-card figcaption, .review-float-note) {
    font-size: .9rem;
    line-height: 1.6;
  }
  body :is(h1,h2,h3) { letter-spacing: -.015em; line-height: 1.2; }
  body main :is(.prose-section, .family-article-section, .simple-section, .article-body, .privacy-body, .help-section)>p { max-width: 68ch; }
  body main :is(.check-list, .simple-list, .family-question-list)>li { margin-bottom: .65rem; }
  body :is(.button, button, .menu-ready .menu-toggle) {
    font-size: 1rem;
    line-height: 1.5;
    min-height: 48px;
  }
  body .site-header .header-inner nav a { font-size: .9rem; min-height: 48px; display: inline-flex; align-items: center; }
  body .site-header .header-inner nav { gap: 16px; }
  body main :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) {
    font-size: 1rem;
    line-height: 1.6;
    min-height: 50px;
    max-width: 100%;
  }
  body main :is(input,textarea)::placeholder { color: #526278; opacity: 1; }
  body main input:is([type=checkbox],[type=radio]) { width: 24px; height: 24px; flex-shrink: 0; accent-color: #2055b2; }
  body :is(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid #2055b2; outline-offset: 4px; }
  body :is(.hero,.page-banner,.simple-hero,.local-section,.closing-section,.site-footer) :is(a,button,input,select,textarea,summary):focus-visible { outline-color: #b5d4ff; }
  body main :is(th,td,caption) { font-size: 1rem; line-height: 1.7; }
  body :is(.child-options,.term-options) td::before, body .comparison td::before { font-size: .9rem; line-height: 1.6; text-transform: none; letter-spacing: 0; }
  body .inquiry-steps li::before { font-size: .9rem; width: 30px; height: 30px; }
  body .faq-list summary { min-height: 56px; }
  body .guide-library-grid .guide-card h3 { font-size: 1.6rem; line-height: 1.25; }
  body .guide-library-grid .guide-meta { color: #45566b; }
  body .glossary-term .answer-citation, body .answer-citation { color: #45566b; }
  body main .care-totals dd { font-size: 1.7rem !important; line-height: 1.3 !important; }
  html body main .needs-gap { font-size: clamp(1.9rem,4vw,2.65rem) !important; line-height: 1.3 !important; }
  body .site-footer :is(p,li,h2,.footer-fine,.footer-fine a),
  body .site-footer .footer-grid>div>a:not(.brand-lockup), body .site-footer .footer-states a {
    font-size: .9rem;
    line-height: 1.7;
  }
  body .site-footer .footer-fine { color: #c0cfe0; }
  body .site-footer .footer-grid>div>a:not(.brand-lockup) { min-height: 44px; padding-block: 9px; }
  body .site-footer .footer-grid>div>a:not(.brand-lockup):not(.text-link) { font-size: .9rem; line-height: 1.7; }
  body .site-footer .footer-fine>div { flex-wrap: wrap; }
  body .footer-states a { min-height: 44px; }
  body.home-page .hero h1 em { white-space: normal; }
  body .free-guide-actions>a:not(.button) { font-size: .9rem; }
  body .comparison-wrap { max-width: 100%; }
  body :is(.content-grid,.family-article-layout,.simple-layout,.help-layout,.needs-layout)>* { min-width: 0; }
  body .review-minimize { min-width: 48px; min-height: 48px; }
  body .review-float-card { max-height: min(70dvh,650px); overflow-y: auto; }
  body .review-float-card blockquote { font-size: 1rem; line-height: 1.7; }
  body :is(.review-float-heading,.review-source,.review-position) { font-size: .9rem; line-height: 1.6; }
  body .review-carousel-controls { flex-wrap: wrap; }
  body .inquiry-steps :is(strong,span), body .inquiry-privacy h2 { font-size: 1rem; line-height: 1.7; }
  body .preapp-tip h3 { font-size: 1.15rem; line-height: 1.5; }
  body :is(.process-grid article>span,.trust-steps li>span,.kit-pages>li>span,.needs-layout legend span,.needs-formula span,.paper-note,.help-shortcuts span,.state-strip a,.state-strip span) { font-size: .9rem; line-height: 1.6; }
  body .help-shortcuts a { font-size: 1rem; }
  body .home-resource-pair a:not(.button) { font-size: .9rem; }
  body.home-page .hero-brand-band .hero-foot span { font-size: 1rem; line-height: 1.6; }
  body.home-page .hero-motion-toggle { font-size: .9rem; line-height: 1.5; min-height: 48px; }
  body .coverage-card .inline-link { font-size: 1rem; }
  body main .source-cite, body main .source-cite a, body .simple-ask strong { font-size: .9rem !important; line-height: 1.7 !important; }
  body .guide-topic-label, body .simple-side-help>a:last-child { font-size: .9rem; line-height: 1.6; }
}
@media screen and (min-width:1101px) and (max-width:1280px) {
  body .site-header .header-book { display: none; }
}
@media screen and (max-width:820px) {
  body .guide-library-grid, body .glossary-grid { grid-template-columns: 1fr; }
}
@media screen and (max-width:640px) {
  body:not(.inquiry-page) { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
  body .wrap { width: calc(100% - 36px); }
  body main h1 { font-size: clamp(1.85rem,8.2vw,2.7rem) !important; line-height: 1.2 !important; }
  body main h2 { font-size: 1.8rem; line-height: 1.25; }
  body.home-page .hero h1 { font-size: clamp(2.1rem,9.8vw,3rem) !important; }
  body .coverage-grid, body .compare-row { grid-template-columns: 1fr; }
  body .coverage-card { border-right: 0; border-bottom: 1px solid var(--line); }
  body .coverage-card:last-child { border-bottom: 0; }
  body .mobile-contact.has-reviews { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; padding-inline: 8px; }
  body .mobile-contact.has-reviews :is(.button,.mobile-reviews) { font-size: .9rem; line-height: 1.4; min-height: 56px; padding: 8px 3px; white-space: normal; }
  body .review-float { left: 12px; right: 12px; width: auto; }
  body .review-float-card { width: 100%; max-width: 100%; }
  body .site-footer .footer-grid { grid-template-columns: 1fr; }
  body .guide-library-controls, body .glossary-controls { padding: 18px; }
  body .site-header .brand-name { font-size: 1.05rem; }
  body .site-header .brand-mark { width: 40px; }
  body .menu-ready .menu-toggle { padding-inline: 10px; font-size: .9rem; }
  body .site-header .header-inner { column-gap: 8px; }
  body .checkup-controls, body .arrival-progress { flex-wrap: wrap; }
}
@media screen and (max-width:370px) {
  body .site-header .brand-lockup { gap: 7px; }
  body .site-header .brand-name { font-size: .95rem; letter-spacing: .05em; }
  body .site-header .brand-mark { width: 36px; }
}
