/* Scoped footer styles: shared mobile navigation and payment UI stay intact. */
.site-footer.cert-footer{background:#fff;border-top:1px solid #e2e8f0;padding:0 0 28px;overflow:hidden;color:#0f172a}
.cert-footer::before,.cert-footer .footer-blobs{display:none}
.cert-footer .container{max-width:1168px}
.cert-footer .cf-banner{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:32px;margin:40px 0 44px;border:1px solid #dbeafe;border-radius:20px;background:radial-gradient(ellipse at right top,#dbeafe,transparent 65%),#f8faff}
.cert-footer .cf-eyebrow{display:block;font-size:11px;font-weight:750;letter-spacing:1.6px;color:#2563eb;margin-bottom:10px}
.cert-footer .cf-banner h2{font-size:clamp(22px,2.4vw,28px);line-height:1.35;letter-spacing:-.6px;margin:0 0 8px;color:#172554}
.cert-footer .cf-banner p{font-size:14px;color:#64748b;margin:0;line-height:1.7}
.cert-footer .cf-actions{display:flex;flex-direction:column;gap:12px;align-items:center;flex-shrink:0}
.cert-footer .cf-primary{display:inline-flex;align-items:center;gap:16px;background:#2563eb;color:#fff;border-radius:10px;padding:13px 20px;font-size:14px;font-weight:650;text-decoration:none;box-shadow:0 4px 12px #2563eb20}
.cert-footer .cf-primary:hover{background:#1d4ed8}
.cert-footer .cf-secondary{font-size:13px;color:#475569;text-decoration:none;font-weight:600}
.cert-footer .footer-grid{grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:32px;margin-bottom:36px}
.cert-footer .nav-logo{gap:10px;white-space:normal}
.cert-footer .cf-logo{max-width:210px;max-height:48px;object-fit:contain}
.cert-footer .cf-brand-mark{display:grid;place-items:center;background:#eff6ff;border:1px solid #dbeafe;color:#2563eb;width:40px;height:40px;border-radius:12px;flex-shrink:0}
.cert-footer .cf-brand-name{font-size:19px;font-weight:800;color:#172554;letter-spacing:-.5px}
.cert-footer .footer-brand p{font-size:13px;line-height:1.85;color:#64748b;max-width:300px;margin:12px 0 18px}
.cert-footer .cf-device{display:inline-flex;gap:7px;align-items:center;border:1px solid #e2e8f0;border-radius:7px;padding:6px 10px;font-size:11px;color:#475569;background:#f8fafc}
.cert-footer h4{color:#0f172a;font-size:13px;text-transform:none;letter-spacing:0;margin:6px 0 18px;font-weight:750}
.cert-footer .footer-menu{padding:0;margin:0;display:block}
.cert-footer .footer-menu li{margin:0 0 12px}
.cert-footer .footer-menu a{font-size:13px;line-height:1.6;color:#64748b;text-decoration:none;overflow-wrap:anywhere}
.cert-footer .footer-menu a:hover{color:#2563eb;transform:none;display:inline}
.cert-footer .footer-menu a.cf-contact,.cert-footer .footer-menu a.cf-contact:hover{display:flex;align-items:center;gap:9px}
.cert-footer svg{width:16px;height:16px;flex-shrink:0}
.cert-footer .cf-brand-mark svg{width:23px;height:23px}
.cert-footer .footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;text-align:left;padding-top:24px;border-color:#e2e8f0}
.cert-footer .footer-bottom p{font-size:12px;line-height:1.8;color:#64748b;margin:0}
.cert-footer .footer-bottom a{color:#334155;text-decoration:none;font-weight:600}
.cert-footer .footer-bottom .cf-credit{font-size:11px;margin-top:4px}
.cert-footer .cf-back-top{display:inline-flex;align-items:center;gap:10px;border:1px solid #e2e8f0;padding:9px 12px;border-radius:8px;font-size:12px;white-space:nowrap}
.cert-footer .cf-disclaimer{font-size:11px;color:#64748b;line-height:1.8;margin-top:20px;max-width:760px}
.cert-footer a:focus-visible{outline:3px solid #60a5fa;outline-offset:5px;border-radius:4px}
[data-theme=dark] .site-footer.cert-footer{background:#0f172a;border-color:#334155;color:#e2e8f0}
[data-theme=dark] .cert-footer .cf-banner{background:radial-gradient(ellipse at right top,#1e3a5f,transparent 65%),#172236;border-color:#334155}
[data-theme=dark] .cert-footer .cf-banner h2,[data-theme=dark] .cert-footer .cf-brand-name,[data-theme=dark] .cert-footer h4,[data-theme=dark] .cert-footer .footer-bottom a{color:#e2e8f0}
[data-theme=dark] .cert-footer .footer-menu a,[data-theme=dark] .cert-footer .footer-brand p,[data-theme=dark] .cert-footer .cf-banner p,[data-theme=dark] .cert-footer .cf-secondary,[data-theme=dark] .cert-footer .footer-bottom p,[data-theme=dark] .cert-footer .cf-disclaimer{color:#a8b8ce}
[data-theme=dark] .cert-footer .cf-device,[data-theme=dark] .cert-footer .cf-brand-mark{background:#1e293b;color:#93c5fd;border-color:#334155}
[data-theme=dark] .cert-footer .footer-bottom,[data-theme=dark] .cert-footer .cf-back-top{border-color:#334155}
[data-theme=dark] .cert-footer .cf-eyebrow,[data-theme=dark] .cert-footer .footer-menu a:hover{color:#93c5fd}
@media(max-width:1000px){.cert-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}}
@media(max-width:768px){.site-footer.cert-footer{padding:0 0 calc(115px + env(safe-area-inset-bottom));margin-top:0}.cert-footer .cf-banner{margin:24px 0 30px;padding:24px;flex-direction:column;align-items:flex-start;gap:22px}.cert-footer .cf-actions{flex-direction:row;flex-wrap:wrap;gap:16px}.cert-footer .footer-brand{margin-bottom:0}.cert-footer .footer-col{border:0;padding:0;min-width:0}.cert-footer .footer-menu{display:block;margin:0;padding:0}.cert-footer .footer-bottom{align-items:flex-start}.cert-footer .footer-menu a{display:inline-block;padding:3px 0}.cert-footer .footer-menu a:hover{display:inline-block}}
@media(max-width:420px){.cert-footer .footer-grid{gap:24px 18px}.cert-footer .footer-brand,.cert-footer .footer-col:last-child{grid-column:1/-1}.cert-footer .footer-bottom{flex-direction:column;gap:14px}.cert-footer .cf-banner{padding:20px}.cert-footer .cf-primary{padding:12px 14px}}

/* Compact layout: no promotional banner, badges or decorative panels. */
.site-footer.cert-footer{padding:36px 0 22px;background:var(--bg-card);color:var(--text);border-color:var(--border)}
.cert-footer .container{width:100%;max-width:1200px;padding:0 24px;margin:auto}
.cert-footer .footer-grid{grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:32px;margin-bottom:28px}
.cert-footer .footer-brand,.cert-footer .footer-col{min-width:0}
.cert-footer .cf-brand-name{font-size:19px;color:var(--text)}
.cert-footer .footer-brand p{margin:10px 0 0;font-size:13px;line-height:1.8}
.cert-footer h4{margin:3px 0 14px;font-size:13px}
.cert-footer .footer-menu li{margin-bottom:8px}
.cert-footer .footer-bottom{padding-top:16px;gap:16px}
.cert-footer .cf-back-top{border:0;padding:0;border-radius:0}
.cert-footer .cf-disclaimer{margin-top:12px;max-width:none}
@media(max-width:900px){.cert-footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
@media(max-width:768px){.site-footer.cert-footer{padding:28px 0 calc(110px + env(safe-area-inset-bottom))}.cert-footer .container{padding:0 20px}.cert-footer .footer-menu a{padding:3px 0}.cert-footer .footer-brand{margin:0}}
@media(max-width:480px){.cert-footer .footer-brand,.cert-footer .footer-col:last-child{grid-column:1/-1}.cert-footer .footer-bottom{flex-direction:column;gap:10px}}