/* Site navigation and contact footer. Keep the creative sections independent. */
:root{--site-header-height:94px}
html{scroll-padding-top:var(--site-header-height);scrollbar-gutter:stable}
body{padding-top:var(--site-header-height)}
.site-header{position:fixed;inset:0 0 auto;width:100%;max-width:none;height:var(--site-header-height);margin:0;display:block;z-index:50;background:#101015f5;border-bottom:1px solid #ffffff14;backdrop-filter:blur(20px)}
.header-inner{position:relative;width:calc(100% - 128px);max-width:1320px;height:100%;margin-inline:auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:24px}
.site-header nav{position:static;top:auto;left:auto;transform:none;justify-self:center}.site-header .header-cta{justify-self:end}
.site-header .nav-contact{appearance:none;background:none;border:0;border-bottom:1px solid transparent;border-radius:0;padding:14px 2px;font-size:15px;font-weight:400;color:#aba6b7;white-space:nowrap}.site-header .nav-contact:hover,.site-header .nav-contact[aria-expanded=true]{color:#e4d7ff;border-bottom-color:#9671ec}
.feature-section[id],#tools,#main,#contact{scroll-margin-top:20px}
.site-footer{width:calc(100% - 128px);max-width:1320px;gap:24px;padding:27px 0;align-items:center}
.footer-brand-group,.footer-contacts{display:flex;align-items:center;gap:24px}
.footer-brand-group{flex-shrink:0}
.footer-brand{display:inline-flex;flex-shrink:0}
.footer-copyright{font-size:13px;color:#827e8f;white-space:nowrap}
.footer-contacts{justify-content:flex-end;flex-wrap:wrap;gap:20px;font-style:normal}
.footer-contacts>a{font-size:13px;white-space:nowrap;color:#aaa5b5;transition:color .2s}
.footer-contacts>a:hover{color:#e3d5ff}

.footer-wechat{position:relative;display:flex}
.wechat-toggle{width:36px;height:36px;display:grid;place-items:center;border:1px solid #ffffff22;border-radius:50%;background:transparent;color:#b8b0c7;transition:color .2s,border-color .2s,background .2s}
.wechat-toggle:hover,.wechat-toggle[aria-expanded=true]{background:#241d35;border-color:#a57cea88;color:#d7c0ff}
.wechat-toggle svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.wechat-toggle svg circle{fill:currentColor;stroke:none}
.wechat-card{position:absolute;right:-12px;bottom:calc(100% + 16px);z-index:60;width:280px;padding:13px 13px 17px;border:1px solid #6f5b8c;border-radius:17px;background:#18151f;box-shadow:0 18px 60px #0009;text-align:center;transform-origin:calc(100% - 30px) bottom;animation:contact-card-in .18s ease-out}
.wechat-card:after{content:"";position:absolute;bottom:-6px;right:25px;width:10px;height:10px;background:#18151f;border-right:1px solid #6f5b8c;border-bottom:1px solid #6f5b8c;transform:rotate(45deg)}
.wechat-qr-area{width:100%;padding:0;border-radius:9px;background:white;display:grid;place-items:center}
.wechat-qr-area img{width:100%;height:auto;object-fit:contain;border-radius:9px}
.wechat-card-label{font-size:15px;line-height:1.4;font-weight:500;color:#f0eaf7;margin:14px 0 0}
.wechat-card-name{font-size:12px;line-height:1.5;color:#a69ab8;margin:5px 0 0;overflow-wrap:anywhere}
@keyframes contact-card-in{from{opacity:0;transform:translateY(6px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:1100px){:root{--site-header-height:82px}.header-inner{gap:18px}.site-header nav{gap:16px}.site-header .nav-contact{font-size:13px}.header-inner,.site-footer{width:calc(100% - 64px)}.footer-brand-group{gap:16px}.footer-contacts{gap:15px}.footer-copyright{font-size:12px}}
@media(max-width:950px){.site-footer{align-items:flex-start;flex-direction:column;gap:18px}.footer-contacts{width:100%;justify-content:space-between}.wechat-card{right:0}.wechat-card:after{right:12px}}
@media(max-width:760px){:root{--site-header-height:72px}.header-inner{grid-template-columns:1fr auto}.site-header nav{display:flex;gap:0;justify-self:end}.site-header nav a,.site-header .header-cta{display:none}.site-header .nav-contact{font-size:14px}.header-inner,.site-footer{width:calc(100% - 40px)}.site-header .brand img{width:136px;height:48px}.site-header .header-cta{min-height:39px;font-size:13px;padding-inline:15px}.site-footer{padding:24px 0;gap:17px}.footer-brand img{width:112px;height:39px}.footer-brand-group{gap:18px}.footer-contacts{display:grid;grid-template-columns:1fr auto;gap:8px 18px}.footer-contacts>a{grid-column:1;font-size:12px;line-height:1.6}.footer-wechat{grid-column:2;grid-row:1 / 3;align-self:center}.wechat-card{right:0;width:min(280px,calc(100vw - 40px))}.wechat-card:after{right:12px}}
@media(prefers-reduced-motion:reduce){.wechat-card{animation:none}}

/* A wide contact panel; the original QR asset is only cropped by the viewport below. */
html.contact-modal-open,html.contact-modal-open body{overflow:hidden;overscroll-behavior:none}
.contact-dialog{width:min(920px,calc(100% - 64px));max-width:none;max-height:calc(100dvh - 48px);padding:56px;border:1px solid #b7a0d021;border-radius:18px;background:#121016;color:var(--fg);box-shadow:0 30px 100px #0009;overflow:auto;overscroll-behavior:contain}
.contact-dialog::backdrop{background:#09060cc2;backdrop-filter:blur(10px)}
.contact-dialog-close{position:absolute;top:19px;right:19px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:5px;background:transparent;color:#8c8298;transition:color .2s,background .2s}
.contact-dialog-close:hover{background:#ffffff08;color:#f3eefa}.contact-dialog-close svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.contact-dialog-content{display:grid;grid-template-columns:1fr;gap:48px;align-items:center}
.contact-dialog.has-wechat .contact-dialog-content{grid-template-columns:minmax(0,1fr) 280px}
.contact-dialog-copy{min-width:0}.contact-dialog-eyebrow{margin:0 0 23px;font-size:14px;line-height:1.5;letter-spacing:.04em;color:#9e92af}
.contact-dialog-copy h2{margin:0;font-size:48px;line-height:1.25;letter-spacing:-.035em;font-weight:600}.contact-dialog-copy h2 span{color:#c4a8ed;white-space:nowrap}
.contact-dialog-details{display:grid;gap:25px;margin-top:48px;font-style:normal;min-width:0}.contact-dialog-details div{display:grid;gap:7px}.contact-dialog-details span{font-size:12px;line-height:1.5;color:#82768f}.contact-dialog-details a{font-size:19px;line-height:1.5;color:#ebe5f2;overflow-wrap:anywhere;transition:color .2s}.contact-dialog-details a[href^="tel:"]{font-size:24px;letter-spacing:.01em}.contact-dialog-details a:hover{color:#c6a2f5}
.contact-dialog-qr{margin:0;min-width:0;padding-left:39px;border-left:1px solid #b5a0ca13;text-align:center}.contact-qr-heading{display:flex;justify-content:center;align-items:center;gap:10px;margin:0 0 21px;color:#c8bbd7;font-size:14px;line-height:1.5}.contact-qr-heading svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.contact-qr-heading circle{fill:currentColor;stroke:none}
.contact-qr-crop{position:relative;width:240px;max-width:100%;aspect-ratio:1;overflow:hidden;background:#292136;border-radius:8px;isolation:isolate}
.contact-qr-crop img{position:absolute;width:120.9589%;max-width:none;height:auto;left:-9.58904%;top:-42.46575%;border-radius:0;mix-blend-mode:screen}
.contact-dialog-qr figcaption{margin-top:18px;color:#85798f;font-size:13px;line-height:1.5}
@media(max-width:800px){.contact-dialog{width:calc(100% - 40px);padding:36px}.contact-dialog-content{gap:28px}.contact-dialog.has-wechat .contact-dialog-content{grid-template-columns:minmax(0,1fr) 220px}.contact-dialog-copy h2{font-size:38px}.contact-dialog-qr{padding-left:29px}.contact-qr-crop{width:190px}.contact-dialog-details{margin-top:36px;gap:22px}.contact-dialog-details a[href^="tel:"]{font-size:22px}.contact-dialog-details a{font-size:17px}}
@media(max-width:640px){.contact-dialog{width:calc(100% - 32px);max-height:calc(100dvh - 32px);padding:30px 28px;border-radius:18px}.contact-dialog-close{top:13px;right:13px}.contact-dialog.has-wechat .contact-dialog-content{grid-template-columns:1fr;gap:29px}.contact-dialog-eyebrow{font-size:13px;margin-bottom:16px}.contact-dialog-copy h2{font-size:30px;line-height:1.25}.contact-dialog-details{gap:14px;margin-top:28px}.contact-dialog-details div{grid-template-columns:38px minmax(0,1fr);gap:13px;align-items:baseline}.contact-dialog-details a,.contact-dialog-details a[href^="tel:"]{font-size:16px}.contact-dialog-qr{width:100%;padding:27px 0 0;border-left:0;border-top:1px solid #b5a0ca13;justify-self:center}.contact-qr-heading{margin-bottom:17px;font-size:13px}.contact-qr-crop{width:190px;margin-inline:auto}.contact-dialog-qr figcaption{margin-top:14px;font-size:12px}}
