/* Keidian interactions and visual rhythm. */
[hidden]{display:none!important}
.header-shell{position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid #eeecf2}
.header{width:min(1600px,calc(100% - 64px));height:104px;gap:24px}
.header .logo,.foot-brand .logo{width:480px;gap:26px;height:42px}
.header .logo-en,.foot-brand .logo-en{width:259px;height:36px}
.header .logo-zh,.foot-brand .logo-zh{width:193.7px;height:36px}
.navigation{gap:22px;white-space:nowrap;align-items:stretch;align-self:stretch}
.mega-trigger{position:relative;padding:0;border:0;background:none;font:inherit;font-weight:650;color:var(--ink);display:flex;gap:7px;align-items:center}
.mega-trigger:after{content:"";width:5px;height:5px;border-bottom:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg);transition:transform .2s}
.mega-trigger[aria-expanded=true]{color:var(--purple)}
.mega-trigger[aria-expanded=true]:before{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--purple)}
.mega-trigger[aria-expanded=true]:after{transform:rotate(225deg)}
.mega-panel{position:absolute;left:0;right:0;top:100%;background:#fff;box-shadow:0 18px 30px #29242a0b;max-height:calc(100dvh - 104px);overflow:auto;animation:menuEnter .2s ease both}
.mega-grid{display:grid;grid-template-columns:1fr 1fr 1.05fr;width:min(1600px,100%);margin:auto}
.mega-column{padding:42px 46px 44px}
.mega-column:last-child{background:#f5f6f8}
.mega-heading{font-size:18px;letter-spacing:-.025em;font-weight:750;padding:0 0 20px;border-bottom:1px solid #dedbe4;margin:0 0 18px;display:flex;gap:13px;align-items:center}
.mega-index{font-size:11px;color:var(--purple);font-weight:700}
.mega-link{display:block;width:100%;text-align:left;border:0;background:none;padding:13px 0;color:var(--ink);font:inherit;border-radius:3px;transition:color .2s,transform .2s}
.mega-link:hover{color:var(--purple);transform:translateX(5px)}
.mega-link span{display:block;font-weight:650;font-size:15px;line-height:1.5}
.mega-link small{display:block;color:#68616f;font-size:12px;font-weight:450;line-height:1.7;margin-top:4px}
.mega-link-feature{margin-top:22px;color:var(--purple);font-size:13px;font-weight:650}
.mega-scrim{position:fixed;inset:0;background:#21172f24;z-index:30;border:0;cursor:default}
.tech-banner{background:#f4f5f7}.banner-image{animation:bannerSettle 1.1s ease both}
.banner-copy{animation:copyEnter .7s .1s ease both}.banner-caption{background:#ffffffbf;padding:4px 9px;border-radius:3px}
.agent{background:#fff}
.business{background:#f2f3f6}
#solutions{background:#fff}
.closing{background:#f1f2f5}
.foot-complete{background:#202024;color:#f5f4f7;border-color:#202024}
.foot-complete .foot-brand{border-color:#3a373f}.foot-complete .foot-tagline{color:#d6d0dd}.foot-complete .logo svg{filter:url(#keidian-footer-ink)}
.foot-complete .footer-group h3{color:#fff}.foot-complete .footer-group a,.foot-complete .footer-group button,.foot-complete .legal-links button{color:#c9c3d1}.foot-complete .footer-group a:hover,.foot-complete .footer-group button:hover,.foot-complete .legal-links button:hover{color:#bb9fff}
.foot-complete .footer-contact{border-color:#3a373f}.foot-complete .footer-contact p{color:#e2dce9}.foot-complete .footer-langs,.foot-complete .footer-langs button{color:#c9c3d1}.foot-complete .footer-langs button[aria-pressed=true]{color:#bb9fff}.foot-complete .footer-bottom,.foot-complete .preview-label{color:#bdb5c7}
.foot-complete .social-label{color:#e2dce9}.foot-complete .social-button{background:#29262f;border-color:#514958}.foot-complete .social-button img{filter:invert(1)}.foot-complete .social-button:hover{border-color:#b99bff;background:#443452}
.section{scroll-margin-top:120px}.footer-group button,.footer-group a{transition:color .2s,transform .2s}.footer-group button:hover,.footer-group a:hover{transform:translateX(3px)}
.btn{transition:background .2s,transform .2s,box-shadow .2s}.btn:hover{transform:translateY(-2px);box-shadow:0 6px 18px #6742dc25}.btn:active{transform:translateY(0) scale(.98)}
.link{transition:color .2s,gap .2s}.link:hover{color:var(--purple);gap:35px}
.task-flow{display:grid;grid-template-columns:1fr 28px 1fr 28px 1fr;align-items:center;margin-bottom:24px;gap:0;position:relative}
.flow-box{background:#fff;padding:14px 9px;border:1px solid #dedbe6;border-radius:5px;text-align:center;animation:flowFocus 6s infinite}
.flow-box:nth-of-type(3){animation-delay:2s}.flow-box:nth-of-type(5){animation-delay:4s}
.flow-box strong{font-size:11px;display:block;font-weight:700}.flow-box small{font-size:9px;color:#665d70;display:block;margin-top:4px;line-height:1.5}
.flow-line{height:1px;background:#cbc4dd;position:relative;overflow:hidden}.flow-line:after{content:"";position:absolute;height:2px;width:14px;background:var(--purple);top:0;left:-14px;animation:signalTravel 2s linear infinite}
.flow-line:nth-of-type(4):after{animation-delay:1s}
.task-line{animation:taskFocus 6s infinite}.task-line:nth-child(2){animation-delay:2s}.task-line:nth-child(3){animation-delay:4s}
.motion-label{display:flex;justify-content:space-between;align-items:center;margin-top:13px;gap:16px;color:#665e70;font-size:10px}.motion-toggle{border:0;border-bottom:1px solid #aaa1ba;background:none;color:#51475f;font-size:10px;padding:3px 0}
.compute-photo,.scene-image{overflow:hidden}.compute-photo img{transition:transform .8s ease}.compute-photo:hover img{transform:scale(1.035)}
.tab-panel.panel-enter{animation:copyEnter .3s ease both}
.step{transition:background .25s,transform .25s;padding:10px;margin:-10px;border-radius:4px}.step:hover{background:#f5f2fc;transform:translateY(-3px)}
.social-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:25px}.social-label{font-size:12px;color:#514c56;margin-right:6px}.social-button{border:1px solid #e0dce7;border-radius:5px;background:#fff;display:grid;place-items:center;width:37px;height:37px;transition:border-color .2s,transform .2s,background .2s}.social-button img{width:17px;height:17px}.social-button:hover{border-color:var(--purple);background:#f3effd;transform:translateY(-3px)}
.return-top{position:fixed;bottom:26px;right:22px;z-index:25;border:1px solid #ddd7e7;background:#fff;color:#382c49;border-radius:5px;width:42px;height:42px;font-size:19px;box-shadow:0 3px 16px #29242a0b}
.reveal-in{animation:copyEnter .65s ease both}
@keyframes copyEnter{from{opacity:0;transform:translateY(17px)}to{opacity:1;transform:none}}
@keyframes menuEnter{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}
@keyframes bannerSettle{from{opacity:.3;transform:scale(1.025)}to{opacity:1;transform:none}}
@keyframes signalTravel{to{left:100%}}
@keyframes flowFocus{0%,25%,100%{border-color:#dedbe6;transform:none}7%,20%{border-color:#7858d9;transform:translateY(-3px)}}
@keyframes taskFocus{0%,28%,100%{background:#f6f5f8}5%,23%{background:#eee8fc}}
html[data-motion=paused] .task-flow *,html[data-motion=paused] .task-lines *{animation-play-state:paused!important}
@media(max-width:1400px){.header .logo{width:350px;gap:19px}.header .logo-en{width:189px;height:26.4px}.header .logo-zh{width:141px;height:26.4px}.navigation{gap:17px;font-size:12px}.header{gap:20px}.mega-column{padding:34px 32px}}
@media(min-width:1401px){.header .logo{width:480px;gap:26px}.header .logo-en{width:259px;height:36px}.header .logo-zh{width:193.7px;height:36px}}
@media(max-width:1100px){.header .logo{width:280px;gap:15px}.header .logo-en{width:151px;height:21px}.header .logo-zh{width:113px;height:21px}.navigation{gap:12px;font-size:11px}.header{gap:14px;width:calc(100% - 40px)}.mega-column{padding:28px 25px}.mega-heading{font-size:16px}.mega-link span{font-size:14px}.mega-link small{font-size:11px}}
@media(max-width:900px){.header{flex-wrap:wrap;height:auto;min-height:82px;justify-content:space-between}.header .logo{width:280px;gap:15px}.tools{height:82px}.tools>.btn{display:none}.menu{display:block}.navigation{order:3;align-self:auto;display:none;position:static;width:100%;padding:10px 0 20px;border:0;gap:0;flex-direction:row;flex-wrap:wrap}.navigation.open{display:flex}.mega-trigger{padding:13px 17px 13px 0;margin-right:10px;font-size:13px}.mega-trigger[aria-expanded=true]:before{bottom:5px}.mega-panel{position:relative;top:auto;max-height:60dvh}.mega-grid{grid-template-columns:1fr}.mega-column{padding:22px 25px}.mega-heading{margin-bottom:8px;padding-bottom:12px}.mega-link{padding:10px 0}.mega-link small{font-size:12px}.mega-column:nth-child(2){background:#faf9fc}.foot-brand .logo{width:350px;gap:19px}.foot-brand .logo-en{width:189px;height:26.4px}.foot-brand .logo-zh{width:141px;height:26.4px}}
@media(max-width:480px){.header .logo{width:240px;gap:13px}.header .logo-en{width:129.5px;height:18px}.header .logo-zh{width:96.8px;height:18px}.tools{gap:2px}.header{gap:8px}.foot-brand .logo{width:300px;gap:16px}.foot-brand .logo-en{width:162px;height:22.5px}.foot-brand .logo-zh{width:121px;height:22.5px}.task-flow{grid-template-columns:1fr 18px 1fr 18px 1fr}.flow-box{padding:11px 5px}.flow-box strong{font-size:10px}.flow-box small{font-size:8px}.social-row{gap:8px}.return-top{bottom:16px;right:12px}.banner-label{font-size:9px}}
@media(max-width:380px){.header .logo{width:213px;gap:12px}.header .logo-en{width:115px;height:16px}.header .logo-zh{width:86px;height:16px}.header .tools{gap:0}.lang,.menu{padding:5px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.reveal-in{opacity:1;transform:none}}
