/* UX3: common footer only; no redesign of hero/cards/charts. */
body.zz-site{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;padding-bottom:var(--zz-notice-space,0px)}
body.zz-site>.page{flex:1 0 auto;min-height:0}
body.zz-site>main{flex:1 0 auto}
body.zz-site.reference-auth>.page,body.zz-site.reference-portfolio>.page{display:flex;flex-direction:column}
body.zz-site.reference-auth>.page>.wrap,body.zz-site.reference-portfolio>.page>.wrap{display:flex;flex-direction:column;flex:1 0 auto}
body.zz-site.reference-auth main,body.zz-site.reference-portfolio main{min-height:0;flex:1 0 auto}
body.zz-site .zz-footer{position:relative!important;inset:auto!important;display:block!important;flex:0 0 auto;box-sizing:border-box;width:100%!important;max-width:none!important;margin:0!important;padding:22px 4.2vw!important;border:0!important;background:#fff;color:#111;font:13px/1.45 Arial,Helvetica,sans-serif;z-index:3;text-align:left!important}
.zz-footer .zz-footer-inner{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px}
.zz-footer .zz-copyright{white-space:nowrap;flex:0 0 auto}
.zz-footer .zz-footer-right{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:0}
.zz-footer .zz-legal-links,.zz-footer .zz-account-links{display:flex!important;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 16px!important;margin:0!important;padding:0!important;width:auto!important}
.zz-footer a,.zz-footer button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:3px 0;font:inherit;color:#111;background:none;border:0;text-decoration:none;white-space:nowrap;cursor:pointer;box-sizing:border-box}
.zz-footer .zz-language{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;flex:0 0 auto;border:1px solid #eadfce;border-radius:999px;background:#fff;padding:2px}
.zz-footer .zz-language a{min-width:40px;min-height:40px;padding:5px 8px;border-radius:999px;font-size:12px}
.zz-footer .zz-language a[aria-current=true]{background:#fff1d9}
.zz-footer .zz-language-divider{font-size:12px;color:#555}
.zz-footer a:focus-visible,.zz-footer button:focus-visible,.zz-cookie-banner button:focus-visible,.zz-cookie-dialog button:focus-visible{outline:2px solid #fe950c;outline-offset:3px}
.zz-footer a:hover,.zz-footer button:hover{text-decoration:underline;text-underline-offset:4px}
.zz-cookie-banner{position:fixed;inset:auto 20px 16px;z-index:50;max-width:1060px;margin:0 auto;padding:20px 24px;box-sizing:border-box;display:flex;align-items:center;gap:24px;color:#111;background:#fffaf4;border:1px solid #eadfce;border-radius:18px;box-shadow:0 8px 34px #33200e22;font:14px/1.5 Arial,Helvetica,sans-serif;max-height:50vh;overflow:auto}
.zz-cookie-banner[hidden]{display:none!important}
.zz-cookie-banner h2{font:600 16px/1.4 Arial,Helvetica,sans-serif;letter-spacing:0;margin:0 0 6px;color:#111}
.zz-cookie-banner p{font:14px/1.5 Arial,Helvetica,sans-serif;margin:0;max-width:720px;color:#111}
.zz-cookie-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;flex:0 0 auto}
.zz-cookie-actions button{font:14px/1.4 Arial,Helvetica,sans-serif;min-height:44px;border:1px solid #cfbfa9;border-radius:999px;background:#fff;color:#111;padding:10px 18px;cursor:pointer}
.zz-cookie-actions [data-cookie-ack]{background:#ffb640;border-color:#ffb640}
.zz-cookie-dialog{width:min(620px,calc(100% - 32px));max-height:80dvh;box-sizing:border-box;border:1px solid #eadfce;border-radius:20px;padding:28px;background:#fff;color:#111;font:15px/1.6 Arial,Helvetica,sans-serif;overflow:auto}
.zz-cookie-dialog:not([open]){display:none}
.zz-cookie-dialog::backdrop{background:#1116}
.zz-cookie-dialog h2{font:400 28px/1.2 Georgia,serif;margin:0 0 18px}
.zz-cookie-dialog dt{font-weight:bold;margin-top:16px;overflow-wrap:anywhere}
.zz-cookie-dialog dd{margin:4px 0 0}
.zz-cookie-dialog a{color:#111;text-decoration:underline;text-decoration-color:#fe950c}
/* Source logo is 640+ real pixels; no upscaling or CSS filters. */
.zz-site .zeiziq-logo{max-width:240px}
.zz-site .zeiziq-logo img.logo{object-fit:contain;filter:none;image-rendering:auto}
@media(max-width:900px){body.zz-site .zz-footer{padding:20px 22px!important}.zz-footer .zz-footer-inner{align-items:flex-end}.zz-cookie-banner{flex-direction:column;align-items:stretch;gap:14px}.zz-cookie-actions{justify-content:flex-end}}
@media(max-width:620px){body.zz-site .zz-footer{padding:18px 12px!important}.zz-footer .zz-footer-inner{flex-direction:column;align-items:stretch;gap:8px}.zz-footer .zz-footer-right{align-items:flex-start}.zz-footer .zz-legal-links,.zz-footer .zz-account-links{justify-content:flex-start;gap:6px 12px!important}.zz-cookie-banner{inset:auto 12px 12px;padding:16px}.zz-cookie-dialog{padding:20px}.zz-cookie-actions button{padding:9px 14px}}

.zz-language-status{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:1000;max-width:min(540px,90vw);padding:16px 22px;border:1px solid #dca967;border-radius:18px;background:#fffaf4;color:#111;box-shadow:0 8px 32px #1111;font:14px/1.6 Arial,sans-serif}

/* ZEIZIQ_WEB_LEGAL_20261006: content and responsive repairs, no header rebuild. */
.zeiziq-wordmark{white-space:nowrap}.brand-iq,.brand .iq{color:#fe8800}
.zz-product-links,.zz-legal-links{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
.zz-footer-right{display:flex;flex-direction:column;align-items:flex-end;gap:12px;min-width:0}
.zz-withdraw{font-weight:700;text-decoration:underline;text-underline-offset:3px}
.zz-legal61{border:0;margin:18px 0 0;padding:0;text-align:left;font-size:14px;line-height:1.55}
.zz-legal61 label{display:flex!important;align-items:flex-start;gap:10px;margin:10px 0!important;font-size:14px!important;line-height:1.55}
.zz-legal61 input[type=checkbox]{width:18px!important;height:18px!important;min-width:18px;flex:0 0 18px;margin-top:3px;accent-color:#fe8800}
.zz-legal61 a{text-decoration:underline}.zz-legal61 legend{font-weight:600;margin-bottom:6px}
.zz-legal61[hidden]{display:none!important}.zz-legal61-note{font-size:13px;line-height:1.5;margin:12px 0}
.reference-how .step-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.reference-how .step-grid .step{min-width:0}.reference-how .intel{line-height:1.65}
.legal-card input,.legal-card textarea{font:inherit;max-width:100%;box-sizing:border-box;width:100%;padding:12px;border:1px solid #c8c8c8;border-radius:10px}
.legal-card label{display:block;margin:18px 0 7px}.legal-card button{font:inherit;cursor:pointer;padding:12px 18px;border:1px solid #111;border-radius:12px;background:#fffaf1;color:#111}
.legal-card .zz-primary{background:#fe8800}.legal-card #withdraw-result{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:760px){.reference-how .step-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.zz-footer-inner{align-items:flex-start;gap:18px}.zz-footer-right{align-items:flex-start}.zz-legal-links{gap:12px 16px}}
@media(max-width:560px){
 .zz-footer-inner{flex-direction:column}.zz-footer-right,.zz-product-links,.zz-legal-links{width:100%;min-width:0}
 .zz-legal-links a,.zz-legal-links button,.zz-product-links a{min-height:40px;display:inline-flex;align-items:center}
 .reference-landing h1{font-size:clamp(32px,8vw,44px);overflow-wrap:normal}.reference-landing .subline{max-width:100%;font-size:17px;line-height:1.6}
 .reference-how .step-grid{grid-template-columns:1fr}.reference-how .route{grid-template-columns:minmax(0,1fr)}
 .reference-how .route .spark{max-width:100%}.reference-how .compare-notes{grid-template-columns:1fr}
 .zz-site .zeiziq-header{gap:10px!important}.zz-site .zeiziq-header .top-actions,.zz-site .zeiziq-header .header-actions,.zz-site .zeiziq-header>nav{min-width:0;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
 .zz-site .zeiziq-header .top-actions a,.zz-site .zeiziq-header .header-actions a,.zz-site .zeiziq-header>nav a{white-space:normal}
 .beta-start .login-wrap{min-width:0;width:auto}.beta-start .login-main,.reference-auth .shell{min-width:0}
 .reference-auth .email-row{min-width:0}.reference-auth #email{min-width:0;width:100%}
 .zz-cookie-banner{left:10px;right:10px;bottom:10px;max-height:70vh;overflow:auto}
 .zz-cookie-dialog{max-width:calc(100vw - 24px);box-sizing:border-box;overflow-wrap:anywhere}
}

/* Equal-weight actions and an explicit, honest category selection. */
.zz-cookie-actions [data-cookie-ack],.zz-cookie-actions [data-cookie-save]{background:#fff;border-color:#cfbfa9;color:#111}
.zz-cookie-categories{display:grid;gap:12px;border:1px solid #eadfce;border-radius:12px;padding:16px;margin:18px 0}
.zz-cookie-categories label{display:flex;gap:10px;align-items:flex-start}
.zz-cookie-categories input{margin:5px 0 0;flex:none}
@media(max-width:700px){.zz-cookie-banner{inset:auto 12px 12px;padding:16px;display:block;max-height:60dvh}.zz-cookie-banner .zz-cookie-actions{margin-top:12px}}

/* Brand spans stay in normal text flow; flex would swallow surrounding spaces. */
body.zz-site .zz-footer .zz-product-links a{display:block;line-height:38px}
.reference-landing{overflow-x:clip}


.zz-legal-menu{position:relative;font:inherit;min-width:0;}.zz-legal-menu summary{cursor:pointer;list-style:none;padding:8px 0;}.zz-legal-menu summary::-webkit-details-marker{display:none;}.zz-legal-menu summary::after{content:" +";}
.zz-legal-menu[open] summary::after{content:" -";}.zz-legal-menu>nav{display:flex;flex-direction:column;gap:12px;position:absolute;right:0;bottom:100%;min-width:220px;padding:18px;border:1px solid #eadfce;border-radius:16px;background:#fffaf4;z-index:30;box-shadow:0 8px 24px #00000010;}
.zz-footer .zz-legal-links{justify-content:flex-end;gap:8px 18px;}.zz-footer .zz-withdraw{font-weight:400;text-decoration:none;}
@media(max-width:700px){.zz-footer-inner{align-items:flex-start!important;}.zz-footer .zz-footer-right{width:100%;}.zz-footer .zz-legal-links{justify-content:flex-start;}.zz-legal-menu>nav{left:0;right:auto;}.zz-footer .zz-product-links{justify-content:flex-start;}}

.zz-page-menu{position:relative;margin-left:auto;flex:0 0 auto;font:14px/1.5 Arial,sans-serif}.zz-page-menu summary{cursor:pointer;padding:8px 14px;border:1px solid #e7d9c7;border-radius:24px;list-style:none}.zz-page-menu>nav{position:absolute;right:0;top:100%;z-index:50;width:260px;max-width:80vw;display:flex;flex-direction:column;gap:14px;padding:20px;background:#fff;border:1px solid #e7d9c7;border-radius:12px;box-shadow:0 8px 24px #0001}.zz-page-menu:not([open])>nav{display:none}.zz-page-menu a{white-space:normal}.zz-footer-right{display:flex!important;flex-direction:row!important;justify-content:flex-end;gap:18px;align-items:center}.zz-page-menu .zz-language{align-self:flex-start}

/* Keep all footer links in one wrapping row, including cookie settings. */
.zz-footer .zz-footer-right{flex-direction:row;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 18px}
@media(max-width:620px){.zz-footer .zz-footer-inner{align-items:flex-start;flex-wrap:wrap}.zz-footer .zz-footer-right{justify-content:flex-start}}

/* Signed-in footer: same two links and spacing throughout the application. */
body[data-authenticated-layout="true"]{--zz-notice-space:0px!important}
body .zz-app-footer{position:relative!important;inset:auto!important;display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;width:calc(100% - 40px);max-width:1280px;margin:32px auto 0!important;padding:18px 0!important;box-sizing:border-box;font:12px/1.45 Arial,sans-serif;color:#181612;background:transparent;border:0;border-top:1px solid #eee8de;min-height:64px}
body .zz-app-footer nav{display:flex!important;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 18px!important;margin:0;padding:0}
body .zz-app-footer a{display:inline-flex;align-items:center;min-height:44px;padding:4px 0;color:inherit;font:inherit;white-space:nowrap;text-decoration:none}
body .zz-app-footer a:focus-visible{outline:2px solid #fe950c;outline-offset:4px}
@media(max-width:430px){body .zz-app-footer{width:calc(100% - 32px);font-size:12px;margin-top:24px!important;gap:4px 16px}}

/* Public mobile footer: aligned targets; the signed-in footer stays separate. */
body.zz-site .zz-footer .zz-footer-right{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:wrap;gap:6px 18px!important;}
body.zz-site .zz-footer .zz-footer-right>a,body.zz-site .zz-footer .zz-footer-right>button{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;line-height:1.4;font:inherit;box-sizing:border-box;margin:0;padding:8px 0;vertical-align:middle;}
@media(max-width:620px){
 body.zz-site .zz-footer{padding:20px 16px calc(20px + env(safe-area-inset-bottom,0px))!important;text-align:center!important;}
 body.zz-site .zz-footer .zz-footer-inner{display:flex;flex-direction:column;align-items:center!important;gap:8px;}
 body.zz-site .zz-footer .zz-copyright{align-self:center;line-height:1.5;}
 body.zz-site .zz-footer .zz-footer-right{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:center!important;align-items:center!important;gap:0 12px!important;width:100%;max-width:360px;}
 body.zz-site .zz-footer .zz-footer-right>button[data-cookie-details]{grid-column:1/-1;justify-self:center;padding:8px 12px;}
 body.zz-site .zz-footer .zz-footer-right>a{width:100%;justify-self:stretch;}
}

/* Hide private pixels immediately while automatic sign-out completes. */
html.zz-session-locked body>*{visibility:hidden!important;pointer-events:none!important}
html.zz-session-locked body{background:#fff!important}
