/* Mobile navigation, collections, reading layouts and form entry points. */
html:has(body[data-mobile-review]) {
  --mobile-topbar: 26px;
  --mobile-top: calc(58px + var(--mobile-topbar) + env(safe-area-inset-top, 0px));
  --mobile-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  scroll-snap-type: none;
  scroll-padding: calc(var(--mobile-top) + 8px) 0 calc(var(--mobile-bottom) + 8px);
}
body[data-mobile-review] { padding-top:var(--mobile-top); padding-bottom:0; }
body[data-mobile-review] :is(.homepage-navigation, .site-masthead) {
  backdrop-filter:none;
}
body[data-mobile-review] > .site-masthead,body.sota-home[data-mobile-review] .homepage-navigation {
  position:fixed; inset:0 0 auto; height:var(--mobile-top); z-index:80; margin:0;
  padding:env(safe-area-inset-top,0px) 0 0; background:#072533; border-bottom:1px solid #5e9ba450;
}
/* Slim black phone bar: the two call lines only (US & Canada, Rapid Care). */
html body[data-mobile-review] .contact-strip {
  display:flex!important; align-items:center; justify-content:center; gap:0; height:var(--mobile-topbar); min-height:0; padding:0 8px; margin:0;
  background:linear-gradient(180deg,#000,#04121a); border-bottom:1px solid #8fe6ec33; box-sizing:border-box;
}
html body[data-mobile-review] .contact-strip > :is(.header-email,.header-action) { display:none!important; }
html body[data-mobile-review] .contact-strip > a:not(.header-action):not(.header-email) {
  display:flex!important; flex:1 1 0; min-width:0; align-items:center; justify-content:center; gap:5px; height:100%; padding:0; border:0;
  font:700 clamp(10.5px,3.05vw,12.5px)/1 Manrope,Arial,sans-serif; letter-spacing:0; color:#fff; white-space:nowrap; text-decoration:none;
}
html body[data-mobile-review] .contact-strip > a:nth-child(2) { border-left:1px solid #8fe6ec44; }
html body[data-mobile-review] .contact-strip > a span {
  display:inline; margin:0; font:800 9px/1 Manrope,Arial,sans-serif; letter-spacing:.14em; text-transform:uppercase; color:#7feaf0;
}
html body[data-mobile-review] .contact-strip > a::before {
  content:''; flex:none; width:11px; height:11px; background:#7feaf0;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3H4a1 1 0 0 0-1 1c0 9.4 7.6 17 17 17a1 1 0 0 0 1-1v-4l-5-2-2 3a14 14 0 0 1-7-7l3-2z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3H4a1 1 0 0 0-1 1c0 9.4 7.6 17 17 17a1 1 0 0 0 1-1v-4l-5-2-2 3a14 14 0 0 1-7-7l3-2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
@media (max-width:389px){ html body[data-mobile-review] .contact-strip > a::before { display:none; } html body[data-mobile-review] .contact-strip > a span { font-size:8px; letter-spacing:.08em; } }
/* Fixed header = black bar + 57px header row. */
body[data-mobile-review] > .site-masthead { display:flex; flex-direction:column; justify-content:flex-start; }
html body[data-mobile-review] .site-masthead .site-header {
  width:100%; max-width:640px; height:57px; min-height:0; position:relative; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between; gap:4px; padding:4px max(10px,env(safe-area-inset-left)) 4px max(10px,env(safe-area-inset-right));
  background:transparent; border:0; border-radius:0; box-shadow:none; backdrop-filter:none;
}
html body[data-mobile-review] .site-header .site-brand { flex:1 1 auto; min-width:0; max-width:190px; }
html body[data-mobile-review] .site-header .site-brand img { display:block; max-width:100%; height:auto; }
html body[data-mobile-review] .site-masthead .site-header { --hdr-btn:clamp(88px,26vw,104px); }
html body[data-mobile-review] .site-masthead #site-navigation.open {
  position:absolute; display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start;
  inset:100% 0 auto; width:100%; max-height:calc(100dvh - var(--mobile-top) - var(--mobile-bottom));
  overflow:auto; overscroll-behavior:contain; padding:8px 18px 16px; gap:0;
  background:#082a3a; border:1px solid #65959e; border-radius:0 0 15px 15px;
  box-shadow:0 16px 32px #00121c66;
}
body[data-mobile-review] #site-navigation :is(a,summary) {
  display:flex; align-items:center; min-height:44px; padding:9px 6px; font-size:16px;
  line-height:1.25; border-bottom:1px solid #83bcc322;
}
body[data-mobile-review] #site-navigation .more-links { position:static; width:auto; margin:0; padding:0 4px 0 12px; box-shadow:none; }
body[data-mobile-review] #site-navigation a[aria-current=page] { color:#a7f4e7; font-weight:800; }

body[data-mobile-review] .mobile-dock {
  position:fixed; z-index:100; inset:auto 0 0; display:block; height:var(--mobile-bottom);
  padding:4px max(7px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left));
  background:linear-gradient(180deg,#123e4c,#051e2c); border-top:1px solid #78bec77a; box-shadow:0 -4px 16px #05162255;
}
.mobile-dock-links { display:grid; height:100%; grid-template-columns:repeat(5,minmax(0,1fr)); max-width:480px; gap:3px; margin:auto; }
.mobile-dock-link { display:grid; position:relative; place-items:center; min-width:0; min-height:44px; border-radius:10px; }
body[data-mobile-review] .mobile-dock-art {
  display:block; width:min(100%,61px); height:100%; max-height:67px; background:url('/art/mobile-satin-dock.png') no-repeat;
  background-size:500% auto; background-position:var(--dock-position) center;
}
.mobile-dock-label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.mobile-dock-link:focus-visible { outline:2px solid #c8ffff; outline-offset:0; }
.mobile-dock-link[aria-current=page]::after { content:''; position:absolute; top:-3px; width:22px; height:3px; background:#b8fff6; border-radius:4px; }
body[data-mobile-review]:has(dialog[open]) .mobile-dock { visibility:hidden; }

html body.sota-home #main>.section, html body.sota-home .planning-band>.section,
html body.sota-home #main>.hero, html body.sota-home #main>.mobile-stories {
  min-height:0; height:auto; padding:32px max(18px,4vw); margin:0; gap:16px; scroll-snap-align:none;
}
html body.sota-home #main>.section,.sota-home #mobile-stories { border-top:1px solid #8cbfc22c; }
.sota-home #mobile-film-1 { height:clamp(300px,calc(74svh - var(--mobile-top)),640px); min-height:0; }
.sota-home .mobile-film-next { flex-direction:row; gap:12px; bottom:12px; width:max-content; max-width:94%; min-height:44px; font-weight:700; }
.sota-home #main .hero-proof,.sota-home #main .hero-proof .denture-art { height:94px; }
.sota-home .hero .actions,.sota-home .final-cta .actions { display:flex; flex-wrap:wrap; justify-content:center; gap:2px 5px; }
html body.sota-home .hero .actions>.satin-button,html body.sota-home .final-cta .actions>.satin-button { --satin-width:clamp(86px,27vw,130px); width:var(--satin-width)!important; }
.sota-home #main .planning-band { display:block; padding:0; }
.sota-home #main .steps .step-panel { grid-template-columns:66px minmax(0,1fr); padding:8px; text-align:left; }
.sota-home #main .steps .step-panel img { width:66px; height:54px; }
.sota-home #main #pricing { padding:26px 18px; gap:12px; }
.sota-home #pricing .home-price-sheet { width:min(78%,300px); }
.sota-home .mobile-stories h2 { margin:0; text-align:center; }
.sota-home #mobile-stories .story-toolbar { padding:0; }
.sota-home #mobile-stories .patient-card { flex-basis:54%; }
.sota-home #main :is(.video-pair,.patient-track,.review-player,.team-line,.process-feature) { min-width:0; max-width:100%; }
body[data-mobile-review] :is(.hero-shortcuts,.interior-cta .actions) { gap:6px 10px; }
body[data-mobile-review] .interior-hero .hero-shortcuts .quiet-link { display:none; }
body[data-mobile-review] .hero-shortcuts .satin-button { --satin-width:190px; }
body[data-mobile-review] .interior-hero { gap:14px; padding-block:18px 22px; }
body[data-mobile-review] .interior-hero h1 { font-size:clamp(30px,8vw,40px); line-height:1.09; text-wrap:balance; }
body[data-mobile-review] .hero-intro { font-size:16px; line-height:1.5; }
body[data-mobile-review] .breadcrumb { margin-bottom:8px; font-size:13px; }
body[data-mobile-review] .hero-photo-frame { width:100%; max-width:440px; }
body[data-mobile-review] .hero-photo-frame img { object-fit:contain; }
body[data-mobile-review] .section-connector { margin-block:8px; }
body[data-mobile-review] .page-body { min-width:0; padding-inline:clamp(16px,4vw,26px); }
body[data-mobile-review] .interior-cta { padding:24px 16px; gap:8px; }
body[data-mobile-review] .interior-cta .satin-button { --satin-width:clamp(128px,40vw,180px); }
body[data-mobile-review] .sota-footer { padding-block:28px 12px; gap:18px; }
body[data-mobile-review] .mobile-topic {
  min-width:0; border-block-end:1px solid #91b9bf50; padding:0; margin:0;
}
body[data-mobile-review] .mobile-topic>summary,body[data-mobile-review] .mobile-more {
  display:flex; align-items:center; justify-content:space-between; gap:12px; cursor:pointer;
  padding:14px 4px; min-height:48px; font-size:16px; font-family:inherit; font-weight:700; line-height:1.4;
}
.mobile-topic>summary { list-style:none; }
.mobile-topic>summary::-webkit-details-marker { display:none; }
.mobile-topic>summary::after { content:'+'; flex:none; font-size:22px; color:#a5e7e5; }
.mobile-topic[open]>summary::after { content:'−'; }
body[data-mobile-review] .mobile-topic-heading { display:none; }
body[data-mobile-review] .mobile-topic>.treatment-section,body[data-mobile-review] .mobile-topic>.program-section { margin:0; padding-block:4px 18px; }
body[data-mobile-review] [data-mobile-hidden] { display:none!important; }
body[data-mobile-review] .mobile-more.satin-button { --satin-width:260px; display:block; margin:10px auto 0; cursor:pointer; -webkit-tap-highlight-color:transparent; }
body[data-mobile-review] :is(.mobile-more,.mobile-topic>summary):focus-visible { outline:3px solid #a3f7ed; outline-offset:2px; }
body[data-mobile-review] .treatment-navigation { display:block; }
body[data-mobile-review] .treatment-legacy-index { display:none; }
body[data-mobile-review] .program-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
body[data-mobile-review] .program-nav a { display:flex; align-items:center; justify-content:center; min-height:44px; padding:8px; text-align:center; font-size:14px; }
body[data-mobile-review] .clinical-welcome { display:none; }
body[data-mobile-review] .program-section,body[data-mobile-review] .program-schedule { padding-block:18px; }
body[data-mobile-review] .clinical-paths { margin-bottom:18px; }
body[data-mobile-review] .request-card { grid-template-columns:minmax(0,1fr); }
body[data-mobile-review] .request-card>img { display:none; }
body[data-mobile-review] .collection-toolbar { flex-wrap:wrap; gap:8px; }
body[data-mobile-review] .collection-toolbar input { min-width:0; width:100%; font-size:16px; }
body[data-mobile-review] :is(.question-pagination,.gallery-pagination) { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:6px; }
body[data-mobile-review] :is(.question-pagination,.gallery-pagination) button { width:100%!important; min-width:0; min-height:44px; padding:6px; font-size:14px; }
body[data-mobile-review] :is(.question-pagination,.gallery-pagination) span { text-align:center; font-size:13px; }
body[data-mobile-review] .short-film-card { min-width:0; }
body[data-mobile-review] .doctor-directory summary { min-height:48px; }
body[data-mobile-review] .rapid .opening { gap:18px; }
body[data-mobile-review] .rapid .cartoon { max-height:130px; object-fit:contain; }
@media (prefers-reduced-motion:reduce) { html:has(body[data-mobile-review]) { scroll-behavior:auto; } }
/* Header Get Quote + Menu use the Satin artwork from the Command Center Button Directory
   (get-quote.png, menu.png), same as every other site button. Accessible names stay on the links. */
html body[data-mobile-review] .site-masthead .site-header :is(.site-quote,.site-patient) {
  display:block!important; align-items:center; justify-content:center; flex:none!important;
  width:var(--satin-width)!important; height:auto!important; min-height:44px; padding:0!important; margin:0;
  border:0!important; border-radius:0!important; background:none!important; box-shadow:none!important; font-size:0; line-height:0;
  filter:drop-shadow(0 2px 3px #00101c88); transition:transform .15s,filter .2s;
}
html body[data-mobile-review] .site-masthead .site-header :is(.site-quote,.site-patient).satin-button { aspect-ratio:2030/410; overflow:hidden; border-radius:10px!important; min-height:0; }
html body[data-mobile-review] .site-header :is(.site-quote,.site-patient)>img.satin-art { display:block!important; width:107.1%!important; max-width:none!important; height:auto!important; aspect-ratio:3/1; margin:-8.2% 0 0 -3.5%!important; }
html body[data-mobile-review] .site-header :is(.site-quote,.site-patient)>svg { display:none!important; }
html body[data-mobile-review] .site-header :is(.site-quote,.site-patient):not(.satin-button) { font-size:14px; line-height:1.2; color:#fff; }
html body[data-mobile-review] .site-header :is(.site-quote,.site-patient)::after { display:none!important; }
html body[data-mobile-review] .site-header :is(.site-quote,.site-patient):active { transform:scale(.95); filter:brightness(1.15) drop-shadow(0 2px 3px #00101c88); }
body[data-mobile-review] .mobile-dock-link { display:flex; align-items:center; justify-content:center; }
.sota-home #main .hero-proof { order:0; }
.sota-home #main .hero-content { order:-1; }
body[data-mobile-review] .treatment-navigation>.design-disclosure>summary { min-height:44px; padding-block:10px; }
body[data-mobile-review] .learn-directory .article-card {
  display:grid; grid-template-columns:80px minmax(0,1fr); align-items:center; gap:6px 14px;
  padding:10px; border-radius:12px;
}
body[data-mobile-review] .learn-directory .article-card[hidden] { display:none; }
body[data-mobile-review] .learn-directory .article-photo { grid-column:1; grid-row:1/3; width:80px; height:72px; object-fit:cover; margin:0; border-radius:8px; }
body[data-mobile-review] .learn-directory .article-card h2 { font-size:16px; line-height:1.35; margin:0; padding:0; }
body[data-mobile-review] .learn-directory .card-link { margin:0; padding:0; border:0; font-size:13px; }
body[data-mobile-review] .learn-directory .article-number { display:none; }
body[data-mobile-review] .learn-directory .article-card:not(:has(.article-photo)) { grid-template-columns:1fr; }
body[data-mobile-review] :is(.gallery-pagination,.question-pagination)[hidden] { display:none; }
body[data-mobile-review] .collection-hero .hero-shortcuts { display:none; }
body[data-mobile-review] :is(.results-collection,.photo-collection) .content-image img { object-fit:contain; }
body[data-mobile-review] .program-nav a { border:1px solid #709ba44f; border-radius:8px; background:#153b49; }

/* Doctor profiles put the clinician and specialty together above the biography. */
body[data-mobile-review] .doctor-profile-grid {
  grid-template-columns:clamp(84px,26vw,135px) minmax(0,1fr);
  align-items:center; gap:16px 14px; margin-top:14px;
}
body[data-mobile-review] .doctor-profile-grid :is(aside,.doctor-details) { display:contents; }
body[data-mobile-review] .doctor-profile .doctor-portrait { grid-column:1; grid-row:1; width:100%; aspect-ratio:1; height:auto; object-fit:contain; }
body[data-mobile-review] .doctor-identity { grid-column:2; grid-row:1; min-width:0; }
body[data-mobile-review] .doctor-identity .eyebrow { display:none; }
body[data-mobile-review] .doctor-profile .doctor-identity h1 { font-size:clamp(22px,5.5vw,31px); line-height:1.13; margin:0 0 6px; }
body[data-mobile-review] .doctor-chips { display:grid; gap:3px; margin:0; font-size:14px; line-height:1.35; }
body[data-mobile-review] .doctor-biography { grid-column:1/-1; font-size:16px; line-height:1.6; }
body[data-mobile-review] .doctor-profile-grid aside>a { grid-column:1/-1; grid-row:3; justify-self:start; --satin-width:190px; }
body[data-mobile-review] .doctor-pagination { gap:15px; margin-top:12px; padding-top:8px; }
body[data-mobile-review] .doctor-pagination a { display:flex; align-items:center; min-height:44px; }

body[data-mobile-review] .reading-article .newspaper-header.has-opening-media { grid-template-columns:minmax(0,1fr); gap:12px; }
body[data-mobile-review] .reading-article .newspaper-header .eyebrow { display:none; }
body[data-mobile-review] .reading-article .newspaper-header h1 { font-size:clamp(26px,6.4vw,34px); line-height:1.15; max-width:none; margin:10px 0; }
body[data-mobile-review] .reading-article .reading-tools { gap:12px; }
body[data-mobile-review] .reading-tools .satin-button { --satin-width:150px; }
body[data-mobile-review] .reading-tools>a { display:inline-flex; align-items:center; min-height:44px; }
body[data-mobile-review] .reading-article :is(.article-panels,.reading-section,.topic-content,.reading-topic,.reading-layout,.reading-topics,.reading-table-scroll) { min-width:0; max-width:100%; }
body[data-mobile-review] .reading-article .mobile-topic>.reading-section { margin:0 0 12px; }
body[data-mobile-review] .reading-article .rich-copy { overflow-wrap:anywhere; }
body[data-mobile-review] .reading-article .mobile-topic>summary { color:#d4f7f5; }
body[data-mobile-review] .reading-article :is(.topic-media,.article-opening-media) img { object-fit:contain; }
body[data-mobile-review] .guide-index nav { display:none; }
body[data-mobile-review] .guide-index { display:none; }
body[data-mobile-review] .survival-guide { padding-inline:clamp(16px,4vw,26px); }
body[data-mobile-review] .guide-chapter summary { min-height:48px; }
body[data-mobile-review][data-page=legal] .knowledge-grid { display:block; }
body[data-mobile-review][data-page=legal] .knowledge-wrap { padding:18px clamp(16px,4vw,26px); }
body[data-mobile-review][data-page=legal] .knowledge-article { min-width:0; padding:16px; overflow-wrap:anywhere; }
body[data-mobile-review][data-page=legal] .knowledge-help { margin-top:16px; }
body[data-mobile-review] .survival-guide .guide-compass { gap:0; margin-block:20px; }
body[data-mobile-review] .survival-guide .guide-compass>a { display:grid; grid-template-columns:30px minmax(0,1fr); align-items:center; column-gap:8px; padding:12px 20px 12px 10px; }
body[data-mobile-review] .guide-compass .guide-number { grid-row:1/3; }
body[data-mobile-review] .survival-guide .guide-compass h2 { margin:0; font-size:19px; }
body[data-mobile-review] .survival-guide .guide-compass p { grid-column:2; margin:4px 0 0; }
body[data-mobile-review] .survival-guide .guide-image img { height:auto; max-height:210px; object-fit:contain; }
body[data-mobile-review] .guide-hero .guide-image figcaption { display:none; }

/* ---------- header right side: Quote over Patient Form, then the hamburger ---------- */
html body .site-ctas { display:none!important; }
html body[data-mobile-review] .site-masthead .site-header .site-ctas {
  display:flex!important; flex-direction:column; gap:1px; flex:none; order:1; margin-left:auto; width:var(--hdr-btn);
}
html body[data-mobile-review] .site-masthead .site-header .site-ctas :is(.site-quote,.site-patient) { --satin-width:100%; width:100%!important; max-width:none!important; margin:0!important; order:0; }
html body[data-mobile-review] .site-masthead .site-header .site-menu-toggle {
  order:2; position:relative; display:block!important; flex:none!important; width:44px!important; height:44px!important; min-height:0!important; max-width:none!important; margin:0 0 0 2px!important; padding:0!important;
  font-size:0!important; line-height:0!important; color:transparent!important; overflow:visible;
  border:1px solid #8fe6ee88!important; border-radius:13px!important; cursor:pointer; -webkit-tap-highlight-color:transparent;
  background:linear-gradient(180deg,#34aebb,#0e6574 55%,#08414f)!important;
  box-shadow:inset 0 1px 0 #ffffff66,inset 0 -3px 6px #00222c88,0 2px 5px #00101c99,0 0 12px #3fd8e64d!important;
  transition:transform .15s,filter .2s;
}
html body[data-mobile-review] .site-masthead .site-header .site-menu-toggle::before,
html body[data-mobile-review] .site-masthead .site-header .site-menu-toggle::after {
  content:''; display:block!important; position:absolute; left:10px; height:3px; border-radius:3px; background:#fff; filter:drop-shadow(0 0 3px #ffffffaa);
  transition:transform .25s,width .25s,box-shadow .25s;
}
html body[data-mobile-review] .site-masthead .site-header .site-menu-toggle::before { top:19px; width:16px; }
html body[data-mobile-review] .site-masthead .site-header .site-menu-toggle::after { top:11px; width:22px; box-shadow:0 16px 0 #fff; }
html body[data-mobile-review] .site-masthead .site-header .site-menu-toggle[aria-expanded="true"]::after { top:19px; width:22px; box-shadow:none; transform:rotate(45deg); }
html body[data-mobile-review] .site-masthead .site-header .site-menu-toggle[aria-expanded="true"]::before { top:19px; width:22px; transform:rotate(-45deg); }
html body[data-mobile-review] .site-masthead .site-header .site-menu-toggle:active { transform:scale(.94); filter:brightness(1.15); }

/* ---------- animated separator under the header (replaces the thin line) ---------- */
body[data-mobile-review] > .site-masthead, body.sota-home[data-mobile-review] .homepage-navigation { border-bottom:0; }
body[data-mobile-review] > .site-masthead::after, body.sota-home[data-mobile-review] .homepage-navigation::after {
  content:''; position:absolute; left:0; right:0; bottom:-2px; height:4px; pointer-events:none; z-index:2;
  background:linear-gradient(90deg,#0b6f7c,#34d6e4 18%,#ffffff 28%,#34d6e4 38%,#0b6f7c 50%,#c4122f 62%,#ff5a72 72%,#c4122f 82%,#0b6f7c);
  background-size:200% 100%; animation:hdr-flow 5s linear infinite;
  box-shadow:0 0 8px #3fd8e688,0 2px 10px #00101ccc;
  -webkit-mask:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); mask:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
}
@keyframes hdr-flow { from { background-position:0 0; } to { background-position:-200% 0; } }
@media (prefers-reduced-motion:reduce) { body[data-mobile-review] > .site-masthead::after, body.sota-home[data-mobile-review] .homepage-navigation::after { animation:none; } }
