/* Shared VulnDrive navigation and subtle grid treatment. */
:root{--vd-nav-bg:rgba(14,13,18,.9)}
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;background-image:linear-gradient(rgba(255,255,255,.017) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.017) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.6) 52%,transparent 100%)}
/* Legal pages already had the grid; use one consistent intensity. */
.legal-page,.license-shell,.status-shell{position:relative;z-index:1}
.legal-header,.portal-header,.status-header{position:sticky;top:14px;z-index:100;display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:66px;margin:0 auto 52px;padding:10px 22px;border:1px solid rgba(255,255,255,.1);border-radius:15px;background:var(--vd-nav-bg);backdrop-filter:blur(20px) saturate(140%);-webkit-backdrop-filter:blur(20px) saturate(140%);box-shadow:0 12px 42px rgba(0,0,0,.35);transition:min-height .25s ease,padding .25s ease,background .25s ease}
.legal-header.vd-compact,.portal-header.vd-compact,.status-header.vd-compact{min-height:54px;padding:7px 18px;background:rgba(12,11,16,.96)}
.legal-header .back-link,.portal-header .portal-home,.status-header .status-back{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 13px;border-radius:9px;background:rgba(255,255,255,.065);color:#e5e1e9;text-decoration:none;font-size:12px;font-weight:650;white-space:nowrap;transition:background .2s ease,color .2s ease}
.legal-header .back-link:hover,.portal-header .portal-home:hover,.status-header .status-back:hover{background:rgba(255,48,75,.14);color:#fff}
.legal-header .brand,.portal-header .portal-brand,.status-header .status-brand{font-size:15px;letter-spacing:1.2px}
.legal-page{padding-top:18px}
.legal-header{padding-bottom:10px}
.license-page,.status-page{padding-top:18px}
.portal-header,.status-header{padding-bottom:10px}
@media(max-width:600px){.legal-header,.portal-header,.status-header{top:9px;min-height:58px;padding:8px 12px;margin-bottom:35px}.legal-header .brand,.portal-header .portal-brand,.status-header .status-brand{font-size:12px}.legal-header .back-link,.portal-header .portal-home,.status-header .status-back{font-size:11px;padding:6px 9px}}
@media(prefers-reduced-motion:reduce){.legal-header,.portal-header,.status-header{transition:none}}

/* Shared page footer, aligned with the floating navigation. */
.vd-site-footer{position:relative;z-index:1;width:min(900px,calc(100% - 40px));margin:78px auto 0;padding:28px 20px 38px;border-top:1px solid rgba(255,255,255,.09);display:flex;flex-direction:column;align-items:center;gap:15px;text-align:center;color:#89848f;font:12px/1.5 Inter,system-ui,-apple-system,Segoe UI,sans-serif}
.vd-site-footer p{margin:0;color:#89848f}
.vd-site-footer nav{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap}
.vd-site-footer a{color:#a49daa;text-decoration:none;transition:color .2s ease}
.vd-site-footer a:hover{color:#fff}
.vd-footer-discord{padding:9px 14px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:rgba(255,255,255,.035);font-weight:650}
.legal-page .vd-site-footer{width:100%;margin-top:70px}
.license-page,.status-page{padding-bottom:0}
.legal-header,.portal-header,.status-header{justify-content:flex-start}
.legal-header .brand,.portal-header .portal-brand,.status-header .status-brand{margin-right:auto}
@media(max-width:600px){.vd-site-footer{margin-top:55px;padding-bottom:30px}}

/* Compact logo-only navigation: no empty horizontal bar. */
.legal-header,.portal-header,.status-header{width:max-content!important;max-width:100%;margin-left:auto!important;margin-right:auto!important;min-height:56px;padding:9px 15px!important;justify-content:center!important;gap:0!important}
.legal-header.vd-compact,.portal-header.vd-compact,.status-header.vd-compact{min-height:48px;padding:6px 12px!important}
.legal-header .brand,.portal-header .portal-brand,.status-header .status-brand{margin:0!important;white-space:nowrap}
.legal-header .back-link,.portal-header .portal-home,.status-header .status-back{display:none!important}
/* Homepage-style footer across customer, status and legal pages. */
.vd-site-footer{display:block!important;width:min(1160px,calc(100% - 48px))!important;max-width:1160px;margin:85px auto 0!important;padding:0!important;text-align:left!important;font-size:13px;color:#aaa5b0}
.legal-page .vd-site-footer{width:100%!important}
.vd-footer-main{display:grid;grid-template-columns:minmax(240px,1.7fr) repeat(2,minmax(120px,1fr));gap:clamp(28px,5vw,72px);padding:58px 0 52px}
.vd-footer-brand-block{max-width:300px}
.vd-footer-brand{display:inline-flex;align-items:center;gap:12px;color:#f3f1f5!important;text-decoration:none;font-weight:800;letter-spacing:1.7px}
.vd-footer-brand strong{color:#ff4058}
.vd-footer-mark{display:grid;place-items:center;width:38px;height:38px;border:1px solid rgba(255,48,75,.23);border-radius:10px;background:rgba(255,48,75,.08);color:#ff4058;font-weight:800;font-size:16px}
.vd-footer-brand-block p{max-width:290px;margin:20px 0 22px!important;color:#8d8894;line-height:1.85}
.vd-site-footer .vd-footer-discord{display:inline-flex;align-items:center;padding:10px 14px;border:1px solid rgba(255,255,255,.13);border-radius:10px;background:#15151a;color:#eee!important;font-weight:650}
.vd-footer-column{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:flex-start!important;gap:17px!important}
.vd-footer-column h2{margin:3px 0 6px;color:#f5f4f7;font-size:13px;font-weight:750}
.vd-footer-column a{color:#96909d;text-decoration:none;font-size:13px}
.vd-footer-column a:hover{color:#fff}
.vd-footer-bottom{padding:25px 0 32px;border-top:1px solid rgba(255,255,255,.09);color:#77717e;font-size:12px}
@media(max-width:700px){.vd-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.vd-footer-brand-block{grid-column:1/-1}.vd-site-footer{margin-top:60px!important}}
@media(max-width:420px){.vd-footer-main{grid-template-columns:1fr}.vd-footer-brand-block{grid-column:auto}}

/* Legal header: identical centered floating monogram treatment to portal/status. */
.legal-page .legal-header{box-sizing:border-box;width:max-content!important;max-width:calc(100% - 24px);height:auto;min-height:56px;margin:0 auto 52px!important;padding:9px 15px!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:15px!important;background:rgba(14,13,18,.9)!important;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 42px rgba(0,0,0,.35)}
.legal-page .legal-header .brand{display:inline-flex;align-items:center;gap:10px;margin:0!important;font-size:15px;letter-spacing:1.2px;white-space:nowrap}
.legal-page .legal-header .brand-icon{display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(255,48,75,.23);border-radius:10px;background:rgba(255,48,75,.08);color:#ff4058;font-size:15px;font-weight:800}
.legal-page .legal-header.vd-compact{min-height:48px;padding:6px 12px!important}
@media(max-width:600px){.legal-page .legal-header{margin-bottom:35px!important}.legal-page .legal-header .brand{font-size:12px}}

/* Prevent selecting decorative and marketing text; preserve form usability. */
body, body *:not(input):not(textarea):not(select):not(option):not([contenteditable]):not([contenteditable] *){ -webkit-user-select:none;user-select:none; }
input,textarea,select,[contenteditable],[role="textbox"]{ -webkit-user-select:text!important;user-select:text!important; }

/* Keep the VULNDRIVE wordmark beside the new brand artwork. */
.legal-page .legal-header img.brand-icon,.portal-header img.brand-icon,.status-header img.status-logo,.vd-footer-brand img.vd-footer-mark{display:block;width:36px;height:36px;object-fit:cover;padding:0;border:0;background:transparent;border-radius:9px;flex-shrink:0}
.vd-footer-brand img.vd-footer-mark{width:38px;height:38px}
@media(max-width:600px){.legal-page .legal-header img.brand-icon,.portal-header img.brand-icon,.status-header img.status-logo{width:32px;height:32px}}
