:root { --footer-ink:#071225; --footer-blue:#2864ff; --footer-violet:#7047ef; }
.site-footer { position:relative; overflow:hidden; isolation:isolate; color:#fff; background:radial-gradient(ellipse at 86% 5%,rgba(112,71,239,.23),transparent 34%),radial-gradient(ellipse at 8% 60%,rgba(40,100,255,.14),transparent 40%),linear-gradient(125deg,#050c1a,#09152f 60%,#11153a); border-top:1px solid rgba(255,255,255,.1); }
.site-footer::before { position:absolute; z-index:-1; top:-245px; right:8%; width:520px; height:520px; border:1px solid rgba(164,178,255,.12); border-radius:50%; content:""; box-shadow:0 0 0 52px rgba(164,178,255,.025),0 0 0 104px rgba(164,178,255,.018); pointer-events:none; }
.site-footer * { box-sizing:border-box; }
.footer-container { width:min(1200px,calc(100% - 64px)); margin-inline:auto; }
.footer-cta { min-height:230px; display:flex; align-items:center; justify-content:space-between; gap:36px; padding:58px 0 52px; border-bottom:1px solid rgba(223,231,250,.15); }
.footer-kicker { display:flex; align-items:center; gap:10px; margin-bottom:16px; color:#a9b8e0; font-size:9px; font-weight:700;  }
.footer-kicker::before { width:20px; height:1px; background:#8096ff; content:""; }
.footer-cta h2 { margin:0; color:#fff; font:700 clamp(34px,4.2vw,52px)/1.08 "Inter",sans-serif;  }
.footer-cta h2 span { color:#91a2ff; }
.footer-cta p { max-width:490px; margin:14px 0 0; color:#aebbd4; font-size:13px; line-height:1.7; }
.footer-cta-button { min-height:54px; display:inline-flex; flex:none; align-items:center; justify-content:center; gap:25px; padding:0 21px; border:1px solid rgba(255,255,255,.18); border-radius:7px; color:#fff; background:linear-gradient(105deg,#2864ff,#7047ef); box-shadow:0 12px 32px rgba(40,70,210,.24); text-decoration:none; font-size:12px; font-weight:700; transition:transform .25s ease,box-shadow .25s ease; }
.footer-cta-button:hover { transform:translateY(-3px); box-shadow:0 17px 36px rgba(40,70,210,.34); }
.footer-cta-button span { font-size:17px; }
.site-footer-main { display:grid; grid-template-columns:1.45fr .78fr 1fr .9fr; gap:48px; padding:44px 0 48px; }
.footer-wordmark { display:inline-flex; align-items:center; color:#fff; text-decoration:none; font:800 25px/1 "Inter",sans-serif;  }
.footer-brand-mark { width:34px; height:34px; flex:0 0 auto; margin-right:9px; object-fit:contain; }
.footer-wordmark span { color:#829aff; }
.footer-brand p { max-width:270px; margin:14px 0 19px; color:#9ba9c4; font-size:12px; line-height:1.75; }
.footer-email { display:inline-flex; align-items:center; gap:9px; color:#d8e1f5; text-decoration:none; font-size:12px; font-weight:600; }
.footer-email svg { width:15px; height:15px; stroke:#91a2ff; }
.footer-email:hover,.footer-nav a:hover { color:#fff; }
.footer-nav { display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.footer-nav h3 { margin:2px 0 5px; color:#8796b7; font-size:9px; font-weight:700;  }
.footer-nav a { color:#c5cee0; text-decoration:none; font-size:11px; line-height:1.5; transition:color .2s ease; }
.footer-contact-card { align-self:start; padding:17px; border:1px solid rgba(255,255,255,.12); border-radius:9px; background:rgba(255,255,255,.045); }
.footer-contact-card span { display:block; margin-bottom:10px; color:#8f9fbe; font-size:8px; font-weight:700;  }
.footer-contact-card strong { display:block; color:#fff; font:600 15px/1.35 "Inter",sans-serif; }
.footer-contact-card p { margin:9px 0 0; color:#97a5bf; font-size:10px; line-height:1.6; }
.site-footer-bottom { min-height:62px; display:flex; align-items:center; justify-content:space-between; gap:18px; border-top:1px solid rgba(223,231,250,.13); color:#8190ad; font-size:10px; }
.site-footer-bottom span:nth-child(2) { color:#9eabc4; }
.site-footer a:focus-visible,.site-footer button:focus-visible { outline:2px solid #9aabff; outline-offset:4px; border-radius:3px; }
@media(max-width:900px) { .site-footer-main { grid-template-columns:1.2fr 1fr 1fr; gap:32px; } .footer-brand { grid-row:span 2; } .footer-contact-card { grid-column:2/4; max-width:360px; } }
@media(max-width:620px) { .footer-container { width:calc(100% - 40px); } .footer-cta { align-items:flex-start; flex-direction:column; gap:24px; padding:44px 0 38px; } .footer-cta h2 { font-size:38px; } .footer-cta p { font-size:12px; } .site-footer-main { grid-template-columns:1fr 1fr; gap:31px 20px; padding:32px 0; } .footer-brand { grid-column:1/3; grid-row:auto; } .footer-contact-card { grid-column:1/3; max-width:none; } .site-footer-bottom { align-items:flex-start; flex-direction:column; justify-content:center; gap:8px; padding:17px 0; } }
@media(prefers-reduced-motion:reduce) { .site-footer * { scroll-behavior:auto!important; transition:none!important; } }
/* Floating page-level return-to-top control */
.back-to-top { position:fixed; z-index:9999; right:22px; bottom:22px; width:44px; height:44px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.2); border-radius:50%; color:#fff; background:linear-gradient(135deg,#2864ff,#7047ef); box-shadow:0 9px 27px rgba(40,100,255,.32); font-size:22px; line-height:1; opacity:0; visibility:hidden; transform:translateY(10px); transition:opacity .25s ease,visibility .25s ease,transform .25s ease,box-shadow .25s ease; cursor:pointer; }
.back-to-top.show { opacity:1; visibility:visible; transform:translateY(0); }
.back-to-top:hover { box-shadow:0 13px 32px rgba(40,100,255,.42); transform:translateY(-3px); }
.back-to-top:focus-visible { outline:2px solid #9aabff; outline-offset:4px; }
@media(max-width:600px) { .back-to-top { right:18px; bottom:18px; width:44px; height:44px; font-size:20px; } }
@media(prefers-reduced-motion:reduce) { .back-to-top { transition:none; } }
/* Keep shared footer independent from legacy page-level footer rules. */
.site-footer { height:auto; min-height:0; display:block; padding:0; align-items:initial; justify-content:initial; }
