

/* Stage 6 final visual cleanup */
body.mx-site-shell :where(.mx2-hero-copy,.mx-secondary-copy,.mx-secondary-media,.mx-page-intro,.mx4-hero-copy,.mx4-selector-grid > div:first-child,.mx4-market-head,.mx4-market-head > div,.mx4-section-head,.mx4-section-head > div,.mx4-hero-grid > div:first-child,.mx-real-proof-head,.mx2-centered-heading,.section-header > div,.mx5-download-copy,.mx5-download-heading,.mx5-family-head){background:transparent !important;background-color:transparent !important;border:0 !important;box-shadow:none !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important}
body.mx-site-shell :where(.mx2-hero-copy,.mx-secondary-copy,.mx-page-intro,.mx4-hero-copy,.mx5-download-copy,.mx5-download-heading,.mx5-family-head){padding:0 !important;border-radius:0 !important}
body.mx-site-shell :where(.mx-secondary-media,.mx-secondary-visual,.mx-secondary-visual-card){background:transparent !important;background-color:transparent !important;border:0 !important;box-shadow:none !important}
body.mx-site-shell figure figcaption,body.mx-site-shell .mx2-wide-overlay,body.mx-site-shell .mx-proof-actions{display:none !important}
body.mx-site-shell .mx-real-shot,body.mx-site-shell .mx-feature-proof-grid .mx-real-shot{background:transparent !important;box-shadow:none !important;border:1px solid rgba(231,194,127,.14) !important}
body.mx-site-shell .mx-real-shot img,body.mx-site-shell .mx-feature-proof-grid .mx-real-shot img{padding:0 !important;background:transparent !important;border-radius:24px !important;object-fit:contain !important;width:100% !important;height:auto !important}
body.mx-site-shell .mx-real-shot-main img{min-height:0 !important}
body.mx-site-shell .mx-real-proof-grid{align-items:start !important}
body.mx-site-shell .mx-real-proof-head{margin-bottom:26px !important}
body.mx-site-shell .mx-mobile-trust{border-radius:30px !important;padding:24px !important;border:1px solid rgba(231,194,127,.12) !important;background:radial-gradient(circle at 84% 10%, rgba(232,194,123,.06), transparent 18rem), linear-gradient(160deg,rgba(14,14,14,.95),rgba(8,8,8,.99)) !important;box-shadow:none !important}
.mx4-market[data-commerce-market="INTL"] .mx4-market-head p{display:none !important}
.mx4-plan-card{transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease,background .35s ease}
.mx4-plan-card.featured{overflow:hidden;padding-top:64px !important;border-color: rgba(243,208,145,.52) !important;box-shadow: 0 28px 76px rgba(0,0,0,.30), 0 0 65px rgba(186,126,53,.10) !important;background: radial-gradient(circle at 84% 10%, rgba(236,197,126,.12), transparent 16rem), linear-gradient(160deg,#17120d,#080808 72%) !important}
.mx4-plan-card.featured::before{content:"";position:absolute;inset:0;background:linear-gradient(120deg, transparent 0%, rgba(255,244,221,.05) 34%, transparent 68%);transform:translateX(-120%);animation:mdPlanSheen 7.5s ease-in-out infinite;pointer-events:none}
.mx4-plan-card.featured::after{content:"";position:absolute;inset:-1px;border-radius:inherit;box-shadow: inset 0 0 0 1px rgba(255,233,194,.16), 0 0 22px rgba(218,164,82,.12);pointer-events:none}
.mx4-prefer-strip{display:block;position:absolute;top:0;inset-inline:0;margin:0;padding:12px 16px;border-radius:24px 24px 14px 14px;background:linear-gradient(90deg,#f3ddb4,#d0a15d);color:#20150a;font-size:.76rem;font-weight:900;letter-spacing:0;text-align:center;z-index:2;box-shadow:0 10px 28px rgba(191,135,58,.18)}
.mx4-plan-card.featured .mx4-prefer-strip{display:block}
@media (max-width:680px){.mx4-prefer-strip{padding:10px 12px;border-radius:20px 20px 12px 12px;font-size:.72rem}.mx4-plan-card.featured{padding-top:58px !important}}
.mx4-plan-card[data-plan-code="lifetime"].featured .mx4-plan-ribbon,.mx4-plan-card[data-plan-code="triennial"].featured .mx4-plan-ribbon{color:#1f1407 !important;background:linear-gradient(135deg,#f4ddb0,#d3a15a) !important;border-color:#f4ddb0 !important}
.mx4-plan-card[data-plan-code="lifetime"].featured .mx4-plan-price,.mx4-plan-card[data-plan-code="triennial"].featured .mx4-plan-price{color:#f2d49a !important}
.mx4-plan-card[data-plan-code="lifetime"].featured,.mx4-plan-card[data-plan-code="triennial"].featured{transform:translateY(-4px)}
@keyframes mdPlanSheen{0%,85%,100%{transform:translateX(-120%);opacity:0}12%{opacity:1}35%{transform:translateX(120%);opacity:1}50%{opacity:0}}
@media (max-width:900px){body.mx-site-shell .mx-mobile-trust{padding:18px !important;border-radius:24px !important}.mx4-plan-card[data-plan-code="lifetime"].featured,.mx4-plan-card[data-plan-code="triennial"].featured{transform:none}}


/* Launch offer pricing clarification */
.mx4-launch-strip{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 0 24px}
.mx4-launch-strip span,.mx4-launch-strip strong,.mx4-launch-strip b{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;border:1px solid rgba(231,194,127,.18);background:rgba(255,255,255,.03);font-weight:900;line-height:1.2}
.mx4-launch-strip span{color:#f1d39a}
.mx4-launch-strip strong{background:linear-gradient(135deg,#f0d195,#cb9952);color:#1e1409;border-color:#f3dba8}
.mx4-launch-strip b{color:#d8c3a3}
.mx4-market-offer-note{margin:12px 0 0;color:#ecd4a4;font-size:.9rem;line-height:1.85;max-width:70ch}
.mx4-plan-offer{display:inline-flex;align-self:flex-start;margin-top:10px;padding:6px 10px;border-radius:999px;background:rgba(240,209,149,.09);border:1px solid rgba(231,194,127,.16);color:#f0d5a0;font-size:.7rem;font-weight:900}
.mx4-plan-was{margin-top:10px;color:#bcb1a2;font-size:.82rem;font-weight:800;line-height:1.6}
.mx4-plan-was s{color:#8e8579;text-decoration-color:rgba(226,192,122,.6);text-decoration-thickness:2px}
@media (max-width:900px){.mx4-launch-strip{margin-bottom:18px}.mx4-launch-strip span,.mx4-launch-strip strong,.mx4-launch-strip b{width:auto;max-width:100%;padding:9px 12px;font-size:.78rem}.mx4-market-offer-note{font-size:.84rem;line-height:1.8}.mx4-plan-offer{font-size:.66rem}}
@media (max-width:680px){.mx4-launch-strip{gap:8px}.mx4-launch-strip span,.mx4-launch-strip strong,.mx4-launch-strip b{font-size:.72rem;padding:8px 11px}.mx4-plan-was{font-size:.77rem}}


/* Stage 6 regression hardening: keep main title wrappers transparent everywhere */
body.mx-site-shell .mx2-hero-copy,
body.mx-site-shell .mx-secondary-copy,
body.mx-site-shell .mx-secondary-media,
body.mx-site-shell .mx-page-intro,
body.mx-site-shell .mx4-hero-copy,
body.mx-site-shell .mx4-selector-grid > div:first-child,
body.mx-site-shell .mx4-market-head,
body.mx-site-shell .mx4-market-head > div,
body.mx-site-shell .mx4-section-head,
body.mx-site-shell .mx4-section-head > div,
body.mx-site-shell .mx4-hero-grid > div:first-child,
body.mx-site-shell .mx-real-proof-head,
body.mx-site-shell .mx2-centered-heading,
body.mx-site-shell .section-header > div,
body.mx-site-shell .mx5-download-copy,
body.mx-site-shell .mx5-download-heading,
body.mx-site-shell .mx5-family-head{
  background:none !important;
  background-image:none !important;
  background-color:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
body.mx-site-shell .mx2-hero-copy,
body.mx-site-shell .mx-secondary-copy,
body.mx-site-shell .mx-page-intro,
body.mx-site-shell .mx4-hero-copy,
body.mx-site-shell .mx5-download-copy,
body.mx-site-shell .mx5-download-heading,
body.mx-site-shell .mx5-family-head{
  padding:0 !important;
  border-radius:0 !important;
}
body.mx-site-shell .mx-feature-proof-grid--pair{
  grid-template-columns:1fr 1fr !important;
  gap:18px !important;
  margin-top:22px;
}
body.mx-site-shell .mx-feature-proof-grid--pair .mx-real-shot{margin:0}
@media (max-width:820px){body.mx-site-shell .mx-feature-proof-grid--pair{grid-template-columns:1fr !important}}


/* Stage 7 regression hardening: permanently remove title black boxes behind copy */
body.mx-site-shell :where(.mx2-hero-copy,.mx-secondary-copy,.mx-secondary-hero-grid>div:first-child,.mx-page-intro,.mx4-hero-copy,.mx4-selector-grid>div:first-child,.mx4-market-head,.mx4-market-head>div,.mx4-section-head,.mx4-section-head>div,.mx4-hero-grid>div:first-child,.mx-real-proof-head,.mx2-centered-heading,.section-header>div,.mx5-download-copy,.mx5-download-heading,.mx5-family-head){
  background:none !important;
  background-image:none !important;
  background-color:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
body.mx-site-shell :where(.mx2-hero-copy,.mx-secondary-copy,.mx-page-intro,.mx4-hero-copy,.mx5-download-copy,.mx5-download-heading,.mx5-family-head){
  padding:0 !important;
  border-radius:0 !important;
}

/* Requested layout: original price small above current price */
body.mx-site-shell .mx4-plan-name{order:1}
body.mx-site-shell .mx4-plan-was{order:2;margin:18px 0 6px;font-size:.78rem;color:#9e9385}
body.mx-site-shell .mx4-plan-was s{color:#8e8579;text-decoration-color:rgba(226,192,122,.72);text-decoration-thickness:2px}
body.mx-site-shell .mx4-plan-price{order:3;margin:0 0 10px}
body.mx-site-shell .mx4-plan-price small{display:block;margin-top:8px;font-size:.78rem}
body.mx-site-shell .commerce-price-scope{order:4}
body.mx-site-shell .mx4-plan-list{order:5}
body.mx-site-shell .commerce-total{order:6}
body.mx-site-shell .mx4-plan-cta{order:7}
body.mx-site-shell .mx4-plan-micro{order:8}


/* Stage 8: requested visual fixes and motion unification */
body.mx-site-shell .mx-feature-proof-grid--pair{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:18px !important;
  align-items:start !important;
}
body.mx-site-shell .mx-feature-proof-grid--pair .mx-real-shot,
body.mx-site-shell .mx-feature-proof-grid--pair .mx-real-shot:last-child,
body.mx-site-shell .mx-feature-proof-grid--pair .mx-feature-wide{
  grid-column:auto !important;
  grid-row:auto !important;
  width:100% !important;
  min-width:0 !important;
}
body.mx-site-shell .mx-feature-proof-grid--pair .mx-real-shot img{
  width:100% !important;
  aspect-ratio:1672/941 !important;
  object-fit:cover !important;
}
@media(max-width:820px){
  body.mx-site-shell .mx-feature-proof-grid--pair{grid-template-columns:1fr !important}
}

/* Same soft premium entrance used on the conversion pages, now across the whole marketing site. */
@keyframes mxGlobalSoftIn{
  from{opacity:0;transform:translateY(16px) scale(.992);filter:blur(2px)}
  to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}
}
body.mx-site-shell .reveal.visible,
body.mx-site-shell .mx-reveal.is-visible{
  animation:mxGlobalSoftIn .82s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes mxGlobalHeroFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-6px)}
}
body.mx-site-shell :where(.mx2-hero-media,.mx-secondary-picture,.mx-secondary-media,.mx4-hero-media,.mx5-download-hero-media) img{
  animation:mxGlobalHeroFloat 9s ease-in-out infinite;
  will-change:transform;
}

/* Slow glow/breathing animation for the score rings in “Why MaxDent?”. */
body.mx-site-shell .rings .ring .circle{
  isolation:isolate;
  animation:mxRingBreathe 5.8s ease-in-out infinite;
  box-shadow:0 0 10px color-mix(in srgb,var(--ring-color) 20%,transparent);
}
body.mx-site-shell .rings .ring .circle::before{
  content:"";
  position:absolute;
  inset:-5px;
  border-radius:50%;
  border:1px solid color-mix(in srgb,var(--ring-color) 52%,transparent);
  box-shadow:0 0 18px color-mix(in srgb,var(--ring-color) 34%,transparent),0 0 38px color-mix(in srgb,var(--ring-color) 16%,transparent);
  opacity:.28;
  z-index:-1;
  animation:mxRingHalo 5.8s ease-in-out infinite;
  pointer-events:none;
}
body.mx-site-shell .rings .ring:nth-child(2) .circle,body.mx-site-shell .rings .ring:nth-child(2) .circle::before{animation-delay:.55s}
body.mx-site-shell .rings .ring:nth-child(3) .circle,body.mx-site-shell .rings .ring:nth-child(3) .circle::before{animation-delay:1.1s}
body.mx-site-shell .rings .ring:nth-child(4) .circle,body.mx-site-shell .rings .ring:nth-child(4) .circle::before{animation-delay:1.65s}
body.mx-site-shell .rings .ring:nth-child(5) .circle,body.mx-site-shell .rings .ring:nth-child(5) .circle::before{animation-delay:2.2s}
@keyframes mxRingBreathe{0%,100%{transform:scale(1)}50%{transform:scale(1.025)}}
@keyframes mxRingHalo{0%,100%{opacity:.18;transform:scale(.98)}50%{opacity:.68;transform:scale(1.06)}}
@media(prefers-reduced-motion:reduce){
  body.mx-site-shell .reveal.visible,body.mx-site-shell .mx-reveal.is-visible,
  body.mx-site-shell :where(.mx2-hero-media,.mx-secondary-picture,.mx-secondary-media,.mx4-hero-media,.mx5-download-hero-media) img,
  body.mx-site-shell .rings .ring .circle,body.mx-site-shell .rings .ring .circle::before{animation:none !important;transform:none !important;filter:none !important}
}


/* Stage 9 requested-only polish — 2026-08-15 */
body.mx-site-shell .mx4-plan-card.featured{padding-top:25px !important;overflow:hidden}
body.mx-site-shell .mx4-prefer-strip{position:absolute !important;top:22px !important;left:-52px !important;right:auto !important;width:188px !important;margin:0 !important;padding:8px 10px !important;border-radius:0 !important;transform:rotate(-36deg) !important;transform-origin:center !important;z-index:5 !important;font-size:.70rem !important;line-height:1.15 !important;box-shadow:0 8px 28px rgba(191,135,58,.22) !important}
html[dir="ltr"] body.mx-site-shell .mx4-prefer-strip{left:auto !important;right:-52px !important;transform:rotate(36deg) !important}
@media(max-width:680px){body.mx-site-shell .mx4-plan-card.featured{padding-top:22px !important}body.mx-site-shell .mx4-prefer-strip{top:19px !important;left:-56px !important;width:184px !important;padding:7px 9px !important;font-size:.66rem !important}html[dir="ltr"] body.mx-site-shell .mx4-prefer-strip{left:auto !important;right:-56px !important}}
@media(min-width:981px){body.mx-secondary-page .mx-secondary-hero-grid{grid-template-columns:minmax(0,.78fr) minmax(460px,1.22fr) !important;gap:30px !important;align-items:center !important}body.mx-secondary-page .mx-secondary-visual,body.mx-secondary-page .mx-secondary-media{width:100% !important;max-width:none !important;align-self:center !important}body.mx-secondary-page .mx-secondary-picture,body.mx-secondary-page .mx-secondary-media>picture{width:100% !important;max-width:none !important}}
@keyframes mxSecondarySoftIn{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}
body.mx-secondary-page .reveal.visible{animation:mxSecondarySoftIn .72s cubic-bezier(.2,.8,.2,1) both !important}
body.mx-secondary-page .mx-secondary-picture img,body.mx-secondary-page .mx-secondary-media img{animation:mxGlobalHeroFloat 9s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){body.mx-secondary-page .reveal.visible,body.mx-secondary-page .mx-secondary-picture img,body.mx-secondary-page .mx-secondary-media img{animation:none !important;transform:none !important}}


/* Stage 12: normalized page-title hero media and +20% desktop visual scale. */
@media (min-width:981px){
  body.mx-secondary-page .mx-secondary-hero-grid{
    grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr) !important;
    gap:clamp(24px,2.2vw,36px) !important;
    align-items:center !important;
  }
  body.mx-secondary-page .mx-secondary-copy,
  body.mx-site-shell .mx4-hero-copy,
  body.mx-site-shell .mx5-download-copy{container-type:inline-size;min-width:0 !important}
  body.mx-secondary-page .mx-secondary-copy h1{
    font-size:clamp(2.15rem,11.8cqi,5.05rem) !important;
    line-height:1.12 !important;
    max-width:none !important;
    text-wrap:balance;
  }
  body.mx-site-shell .mx4-hero-grid{
    grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr) !important;
    gap:clamp(24px,2.6vw,42px) !important;
  }
  body.mx-site-shell .mx4-hero-copy h1{
    font-size:clamp(2.2rem,10.8cqi,5.2rem) !important;
    max-width:none !important;
    text-wrap:balance;
  }
  body.mx-site-shell .mx5-download-hero-grid{
    grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr) !important;
    gap:clamp(24px,2.2vw,36px) !important;
  }
  body.mx-site-shell .mx5-download-copy h1{
    font-size:clamp(2.15rem,11.4cqi,5.05rem) !important;
    max-width:none !important;
    text-wrap:balance;
  }
  body.mx-secondary-page .mx-secondary-picture,
  body.mx-secondary-page .mx-secondary-media>picture,
  body.mx-site-shell .mx4-hero-media picture,
  body.mx-site-shell .mx5-download-hero-media picture{
    display:block !important;
    width:100% !important;
    aspect-ratio:1672/941 !important;
    overflow:hidden !important;
  }
  body.mx-secondary-page .mx-secondary-picture img,
  body.mx-secondary-page .mx-secondary-media img,
  body.mx-site-shell .mx4-hero-media img,
  body.mx-site-shell .mx5-download-hero-media img{
    width:100% !important;
    height:100% !important;
    aspect-ratio:1672/941 !important;
    object-fit:cover !important;
    object-position:center !important;
  }
}


/* Stage 13 — mobile stability + requested 15% hero rebalance. */
@keyframes mxMobileStableIn{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}
@media (max-width:820px){
  html{scroll-behavior:auto !important}
  body.mx-site-shell{overflow-x:clip !important}
  body.mx-site-shell .reveal.visible,
  body.mx-site-shell .mx-reveal.is-visible{
    animation:mxMobileStableIn .48s cubic-bezier(.2,.8,.2,1) both !important;
    filter:none !important;
    will-change:auto !important;
  }
  body.mx-site-shell :where(.mx2-hero-media,.mx-secondary-picture,.mx-secondary-media,.mx4-hero-media,.mx5-download-hero-media) img{
    animation:none !important;
    transform:none !important;
    filter:none !important;
    will-change:auto !important;
    backface-visibility:hidden;
  }
  body.mx-site-shell :where(.mx-secondary-hero-grid,.mx4-hero-grid,.mx5-download-hero-grid){
    align-items:start !important;
  }
  body.mx-site-shell :where(.mx-secondary-picture,.mx-secondary-media>picture,.mx4-hero-media picture,.mx5-download-hero-media picture){
    contain:layout paint;
  }
}
