/* Page-local role scale from docs/typography.md; shared header keeps its own type. */
body:is(.am26-page--all-on-4,.am26-page--single-tooth) {
  --ao4-hero: 50px; --ao4-hero-line: 56px;
  --ao4-section: 36px; --ao4-section-line: 40px;
  --ao4-subsection: 28px; --ao4-subsection-line: 32px;
  --ao4-card: 24px; --ao4-card-line: 28px;
  --ao4-small-heading: 20px; --ao4-small-heading-line: 24px;
  --ao4-lead: 19px; --ao4-lead-line: 28px;
  --ao4-reading: 17px; --ao4-reading-line: 28px;
  --ao4-compact: 15px; --ao4-compact-line: 24px;
  --ao4-action: 17px; --ao4-action-line: 24px;
  --ao4-control: 15px; --ao4-control-line: 20px;
  --ao4-note-line: 20px;
}
@media (max-width: 767px) {
  body:is(.am26-page--all-on-4,.am26-page--single-tooth) {
    --ao4-hero: 30px; --ao4-hero-line: 36px;
    --ao4-section: 30px; --ao4-section-line: 36px;
    --ao4-subsection: 20px; --ao4-subsection-line: 24px;
    --ao4-card: 20px; --ao4-card-line: 24px;
    --ao4-small-heading: 17px; --ao4-small-heading-line: 20px;
    --ao4-lead: 17px; --ao4-lead-line: 20px;
    --ao4-reading-line: 20px;
    --ao4-compact-line: 18px;
    --ao4-action-line: 20px;
    --ao4-control-line: 18px;
    --ao4-note-line: 16px;
  }
}
#main.ao4-page { font-size: var(--ao4-reading); line-height: var(--ao4-reading-line); }
#main.ao4-page .ao4-hero h1 { font-size: var(--ao4-hero); line-height: var(--ao4-hero-line); }
#main.ao4-page h2,
#main.ao4-page #ao4-booking h2 { font-size: var(--ao4-section); line-height: var(--ao4-section-line); }
#main.ao4-page :is(.ao4-intro-item, .ao4-journey-step, .ao4-reason) h3,
#main.ao4-page .ao4-price-stage { font-size: var(--ao4-subsection); line-height: var(--ao4-subsection-line); }
#main.ao4-page :is(.te-doctor--profile h3, .te-fear-card h3),
#main.ao4-page #ao4-prices .te-service h4 { font-size: var(--ao4-card); line-height: var(--ao4-card-line); }
#main.ao4-page :is(.ao4-feature h2, .ao4-story-treatment h4, .ao4-answer h3, .te-faq-list summary, .ao4-video-dialog h2, .ao4-tooltip h2) {
  font-size: var(--ao4-small-heading); line-height: var(--ao4-small-heading-line);
}
#main.ao4-page :is(.ao4-prose, .ao4-prose p, .ao4-prose li, .ao4-quality-context, .ao4-note, .te-fear-answer p, .te-faq-list details > div, .te-faq-list p, .ao4-tooltip p),
#main.ao4-page #ao4-journey .ao4-journey-step:nth-child(3) .ao4-prose > p:first-child {
  font-size: var(--ao4-reading); line-height: var(--ao4-reading-line);
}
#main.ao4-page :is(.te-lead, .ao4-stories-lead, .ao4-story-quote, .ao4-quality blockquote) {
  font-size: var(--ao4-lead); line-height: var(--ao4-lead-line);
}
#main.ao4-page :is(.ao4-feature p, .ao4-story-description, .ao4-story-description p, .ao4-story-doctor-section > p, .ao4-story-doctor strong, .te-service-detail p, .ao4-question-card p, .ao4-more-materials p, .ao4-quality figcaption, .te-doc-experience strong, .te-doc-rating > strong) {
  font-size: var(--ao4-compact); line-height: var(--ao4-compact-line);
}
#main.ao4-page :is(.te-button, input, textarea, select, .te-hero-button-copy strong),
#main.ao4-page > .te-hero-actions .te-hero-button-copy strong,
#main.ao4-page #ao4-booking .te-button { font-size: var(--ao4-action); line-height: var(--ao4-action-line); }
#main.ao4-page > .te-hero-actions .te-hero-button-copy small { font-size: var(--ao4-compact); line-height: var(--ao4-compact-line); }
#main.ao4-page :is(.te-nav-links a, .te-text-link, .te-text-button, .ao4-reason-toggle > summary, .ao4-reason-details > summary, .ao4-visit-video strong, .te-doc-big-play, label) {
  font-size: var(--ao4-control); line-height: var(--ao4-control-line);
}
#main.ao4-page :is(.te-breadcrumbs, .ao4-unique legend, .ao4-journey-time, .ao4-before-after figcaption, .ao4-photo-dialog figcaption, .ao4-story-doctor small, .ao4-visit-video small, .te-tag, .te-question-tag, .te-answer-tag, .te-doc-video-caption, .te-doc-sound, .te-doc-time, .te-doc-experience > span, .te-doc-rating > span, .te-doc-rating small, .te-doc-rating strong span, .te-doc-metric > span, .ao4-quality-doctor small, .ao4-quality-label, .ao4-exclusive, .ao4-benefit-label, .ao4-booking-note) {
  font-size: 13px; line-height: 16px;
}
#main.ao4-page .ao4-story-services .te-tag { font-size: 13px; line-height: 16px; }
#main.ao4-page :is(.ao4-story h3, .ao4-quality-profile, .ao4-tooltip-credit, .te-small, .te-section-note, .te-price-note) {
  font-size: 13px; line-height: var(--ao4-note-line);
}
#main.ao4-page :is(.te-price, .ao4-price, .ao4-booking-price, .te-doc-metric strong),
#main.ao4-page > .te-hero-actions .te-hero-booking-price { font-size: var(--ao4-section); line-height: var(--ao4-section-line); }
#main.ao4-page .ao4-booking-price span { font-size: inherit; line-height: inherit; }
#main.ao4-page .ao4-term { font-size: inherit; line-height: inherit; }
#main.ao4-page .ao4-journey-number { font-size: var(--ao4-small-heading); line-height: var(--ao4-small-heading-line); }
#main.ao4-page .te-trust-strip :is(a, a > span),
#main.ao4-page .te-trust-strip > span { font-size: 13px; line-height: 16px; }
#main.ao4-page .te-trust-strip > a > strong { font-size: var(--ao4-section); line-height: var(--ao4-section-line); }
#main.ao4-page .te-trust-strip .te-trust-phone > strong { font-size: var(--ao4-action); line-height: var(--ao4-action-line); }
#main.ao4-page .te-trust-strip > a > span > b { font-size: 13px; line-height: 16px; }
/* Retain the media-control wrapping protection without the former font floor. */
#main.ao4-page .te-doc-video-caption { align-items: flex-start; }
#main.ao4-page .te-doc-video-caption > span:last-child { flex-shrink: 0; white-space: nowrap; }

body.am26.am26-style-v6:is(.am26-page--all-on-4,.am26-page--single-tooth) :is(.am26-footer, .am26-booking, .am26-map-choice) { font-size: var(--ao4-reading); line-height: var(--ao4-reading-line); }
body.am26.am26-style-v6:is(.am26-page--all-on-4,.am26-page--single-tooth) :is(.am26-footer, .am26-booking, .am26-map-choice) h2 { font-size: var(--ao4-card); line-height: var(--ao4-card-line); }
body.am26.am26-style-v6:is(.am26-page--all-on-4,.am26-page--single-tooth) .am26-footer h3 { font-size: var(--ao4-small-heading); line-height: var(--ao4-small-heading-line); }
body.am26.am26-style-v6:is(.am26-page--all-on-4,.am26-page--single-tooth) .am26-footer h4 { font-size: var(--ao4-small-heading); line-height: var(--ao4-small-heading-line); }
/* The shared social stylesheet locks this label with !important. */
body.am26.am26-style-v6:is(.am26-page--all-on-4,.am26-page--single-tooth) .am26-footer .am26-footer-social-link strong { font-size: var(--ao4-control) !important; line-height: var(--ao4-control-line); }
body.am26.am26-style-v6:is(.am26-page--all-on-4,.am26-page--single-tooth) .am26-footer-social-link__copy small { font-size: 13px; line-height: 16px; }
body.am26.am26-style-v6:is(.am26-page--all-on-4,.am26-page--single-tooth) :is(.am26-footer nav a, .am26-booking__choices a, .am26-map-choice__actions a) { font-size: var(--ao4-control); line-height: var(--ao4-control-line); }
body.am26.am26-style-v6:is(.am26-page--all-on-4,.am26-page--single-tooth) :is(.am26-footer p, .am26-booking p) { font-size: var(--ao4-reading); line-height: var(--ao4-reading-line); }
body.am26.am26-style-v6:is(.am26-page--all-on-4,.am26-page--single-tooth) :is(.am26-booking__phone strong, .am26-booking .am26-button, .am26-booking input) { font-size: var(--ao4-action); line-height: var(--ao4-action-line); }
body.am26.am26-style-v6:is(.am26-page--all-on-4,.am26-page--single-tooth) :is(.am26-footer .am26-footer__legal, .am26-footer__bottom, .am26-booking .am26-eyebrow, .am26-booking small, .am26-booking__phone > span, .am26-booking p.am26-booking__medflex-note, .am26-map-choice__eyebrow) { font-size: 13px; line-height: var(--ao4-note-line); }
body.am26.am26-style-v6:is(.am26-page--all-on-4,.am26-page--single-tooth) :is(.am26-mobile-actions .am26-button, .am26-cookie .am26-button) { font-size: var(--ao4-action); line-height: var(--ao4-action-line); }
body.am26.am26-style-v6:is(.am26-page--all-on-4,.am26-page--single-tooth) .am26-cookie p { font-size: var(--ao4-compact); line-height: var(--ao4-compact-line); }
body.am26.am26-style-v6:is(.am26-page--all-on-4,.am26-page--single-tooth) .am26-cookie p a { font-size: var(--ao4-control); line-height: var(--ao4-control-line); }

/* Reading paragraphs need normal tracking and a stable baseline at this scale. */
#main.ao4-page .ao4-prose{letter-spacing:normal}
#main.ao4-page .ao4-prose :is(p,li){letter-spacing:normal}
#main.ao4-page #ao4-prices .te-service-detail p{font-size:var(--ao4-reading);line-height:var(--ao4-reading-line);letter-spacing:normal}
#main.ao4-page #ao4-booking .ao4-booking-note,
#main.ao4-page .ao4-price-booking p{font-size:var(--ao4-reading);line-height:var(--ao4-reading-line)}
/* Requested mobile reading fix: Manrope needs more leading in long paragraphs. */
@media(max-width:767px){
 #main.ao4-page :is(.ao4-treatment-stages,#ao4-reasons) :is(.ao4-prose,.ao4-prose p,.ao4-prose li),
 #main.ao4-page #ao4-prices .te-service-detail p{line-height:24px}
}
