/* ===== MG Thank-you + Privacy (html body-scoped to beat legacy preserve-css) ===== */
/* FIX 2026-07-27: de-:has() the page-bg rule (see 60-pages) — fixes white bands on Thank-you/Privacy. */
html body .thankyou-page,html body .privacy-page,html body .privacy-container{background:var(--mg-base)!important;color:var(--mg-text)!important;}
@supports selector(:has(*)){html body #page:has(.thankyou-page),html body #page:has(.privacy-page){background:var(--mg-base)!important;}}
/* --- Thank-you --- */
html body .thankyou-card{background:var(--mg-panel)!important;border:1px solid var(--mg-hair)!important;border-top:3px solid var(--mg-accent)!important;border-radius:0!important;box-shadow:0 24px 60px rgba(0,0,0,.6)!important;}
html body .thankyou-icon{background:var(--mg-accent)!important;color:#fff!important;}
html body .thankyou-icon,html body .thankyou-icon *{color:#fff!important;}
html body .thankyou-icon svg,html body .thankyou-icon path{fill:#fff!important;stroke:#fff!important;}
html body .thankyou-title{font-family:var(--mg-head)!important;color:var(--mg-white)!important;text-transform:uppercase;letter-spacing:.02em;}
html body .thankyou-subtitle{color:var(--mg-text)!important;}
html body .thankyou-countdown{color:var(--mg-dim)!important;}
html body .thankyou-countdown span,html body #thankyou-count{color:var(--mg-accent-2)!important;font-family:var(--mg-head)!important;}
html body .thankyou-btn.thankyou-btn--primary{background:var(--mg-accent)!important;background-image:none!important;border:1px solid var(--mg-accent)!important;color:#fff!important;border-radius:0!important;font-family:var(--mg-head)!important;text-transform:uppercase;letter-spacing:.05em;}
html body .thankyou-btn.thankyou-btn--primary:hover{background:var(--mg-accent-2)!important;}
html body .thankyou-btn.thankyou-btn--outline{background:transparent!important;border:1px solid var(--mg-hair-2)!important;color:var(--mg-text)!important;border-radius:0!important;font-family:var(--mg-head)!important;text-transform:uppercase;}
html body .thankyou-btn.thankyou-btn--outline:hover{border-color:var(--mg-accent)!important;color:var(--mg-white)!important;}
/* --- Privacy --- */
html body .privacy-hero__title{font-family:var(--mg-head)!important;color:var(--mg-white)!important;text-transform:uppercase;letter-spacing:.02em;}
html body .privacy-hero__overlay{background:linear-gradient(180deg,rgba(9,10,12,.5),rgba(9,10,12,.82))!important;}
html body .privacy-content{color:var(--mg-text)!important;}
html body .privacy-content p,html body .privacy-content li,html body .privacy-content td,html body .privacy-content span{color:var(--mg-text)!important;}
html body .privacy-content h1,html body .privacy-content h2,html body .privacy-content h3,html body .privacy-content h4,html body .privacy-content h5{font-family:var(--mg-head)!important;color:var(--mg-white)!important;text-transform:uppercase;letter-spacing:.02em;}
html body .privacy-content a{color:var(--mg-accent-2)!important;}
html body .privacy-contact-cta{background:var(--mg-panel)!important;border:1px solid var(--mg-hair)!important;border-top:3px solid var(--mg-accent)!important;border-radius:0!important;}
html body .privacy-contact-btn,html body .privacy-page .btn-primary,html body .privacy-page .btn--primary{background:var(--mg-accent)!important;background-image:none!important;border:1px solid var(--mg-accent)!important;color:#fff!important;border-radius:0!important;font-family:var(--mg-head)!important;text-transform:uppercase;letter-spacing:.05em;}
html body .privacy-contact-btn:hover{background:var(--mg-accent-2)!important;}

/* FIX 2026-07-28 (air): Privacy/Terms CTA button was flush to the block's LEFT edge
 * (.privacy-contact-cta shipped `padding:20px 0 80px` — zero horizontal padding). Pad + center it,
 * and give the legal text more breathing room + a comfortable reading width. */
html body .privacy-contact-cta{padding:30px 28px!important;text-align:center!important;}
html body .privacy-content{max-width:900px;margin-left:auto;margin-right:auto;}
html body .privacy-content p,html body .privacy-content li{line-height:1.8!important;margin-bottom:14px!important;}
html body .privacy-content h2,html body .privacy-content h3,html body .privacy-content h4{margin-top:34px!important;margin-bottom:12px!important;}
