/* Shared appearance for internal footer destinations and their checkout continuation. */
html body.pa-atmosphere.footer-page{padding:0;font-family:Arial,Helvetica,sans-serif!important;--text-color:#f7f7f2;--muted:#c6cdc7;--line:#ffffff38}
html body.footer-page :is(input,select,textarea,button){font-family:Arial,Helvetica,sans-serif!important}
html body.footer-page main{color:#f7f7f2!important}
html body.footer-page main :is(h1,h2,h3,p,a,label,span,small,strong,b,em,legend,button,input,textarea,select){color:inherit}
html body.pa-atmosphere.footer-page main :is(.cart-summary,.cart-empty,.cart-item,.checkout-card,.checkout-summary,.checkout-final-review,.payment-return-card,.card,.success,.help-empty,.legal-article,.legal-nav,.summary,.summary-line,.summary-total,.automation-preview,.runtime-process-notice){background:transparent!important;box-shadow:none!important;border-color:#ffffff38!important;color:#f7f7f2!important}
html body.pa-atmosphere.footer-page main :is(.muted,.lead,.demo-disclaimer,.checkout-benefit-note){color:#c6cdc7!important}
html body.footer-page main :is(button,.btn){border:1px solid #ffffff55;border-radius:2px}
html body.footer-page main button:disabled{opacity:.5;cursor:not-allowed}
html body.footer-page main :is(.checkout-error,.error){color:#ffb9af!important}
html body.footer-page .legal-main{max-width:none;width:auto;margin:60px var(--editorial-pad);padding:0;box-sizing:border-box;display:block}
html body.footer-page .legal-article{min-width:0}
html body.footer-page .legal-nav :is(a,button){font-size:14px;color:#f7f7f2!important}
html body.footer-page .legal-nav a.active{font-weight:700;text-decoration:underline}
html body.footer-page .legal-article h1{font-size:clamp(30px,4vw,44px);overflow-wrap:anywhere}
html body.footer-page .legal-article p{font-size:16px;line-height:1.7}
html body.footer-page #footer{margin-top:64px}
html body.footer-page.withdrawal-page main{width:calc(100% - 48px);max-width:900px;margin:60px auto}
html body.footer-page.withdrawal-page .card{border-radius:2px}
html body.footer-page.withdrawal-page #siteHeader .brand{margin-bottom:0;letter-spacing:normal}
html body.footer-page :is(.mobile-cart-bar,.order-success-card){background:#17221b!important;color:#f7f7f2!important;border-color:#ffffff38!important}
html body.footer-page .payment-return{width:calc(100% - 48px);margin:60px auto;max-width:1000px}
@media(max-width:640px){html body.footer-page .legal-main{display:block;width:calc(100% - 40px);margin:32px auto}html body.footer-page .legal-nav{margin-bottom:32px}html body.footer-page.withdrawal-page main{width:calc(100% - 40px);margin:32px auto}}

html body.pa-atmosphere.footer-page main :is(h1,h2,h3,p,a,label,span,small,strong,b,em,legend,button,input,textarea,select){color:#f7f7f2!important}
html body.pa-atmosphere.footer-page main .eyebrow{color:#c6cdc7!important;opacity:1!important}
html body.pa-atmosphere.footer-page main :is(.checkout-error,.error){color:#ffb9af!important}
html body.pa-atmosphere.footer-page #paWithdrawalPermanentLink{background:#17221b!important;color:#f7f7f2!important;border:1px solid #ffffff55!important;box-shadow:none!important;font-family:Arial,Helvetica,sans-serif!important}

html body.pa-atmosphere.footer-page main :is(a.secondary,a.primary,.summary-benefits,.demo-notice){background:transparent!important;color:#f7f7f2!important;border-color:#ffffff55!important}

html body.footer-page .legal-article{margin:0;padding:0;text-align:left;max-width:none}
@media(max-width:640px){html body.footer-page .legal-main{width:auto;margin:32px var(--editorial-pad)}}

html body.footer-page header#siteHeader.archive-header[data-unified-header] .brand-main{letter-spacing:.035em!important}

/* Withdrawal form follows the common content alignment and controls. */
html body.footer-page.withdrawal-page main{width:auto;max-width:none;margin:60px var(--editorial-pad)}
html body.footer-page.withdrawal-page main h1{font-size:clamp(30px,4vw,44px)}
html body.footer-page.withdrawal-page .card{max-width:900px}
html body.footer-page.withdrawal-page input{background:transparent;color:inherit;border:1px solid #ffffff55;border-radius:2px}
html body.footer-page.withdrawal-page input:focus-visible{outline:2px solid #ffffff99;outline-offset:2px}
@media(max-width:640px){html body.footer-page.withdrawal-page main{margin:32px var(--editorial-pad)}}

/* Long legal URLs and printable form lines must wrap on narrow screens. */
.legal-article .legal-content { overflow-wrap: anywhere; }
