/* APSAKA architectural signal field — crisp geometry, restrained light. */
.hero{position:relative;isolation:isolate;grid-template-columns:1.02fr 1fr;gap:48px;padding-block:76px 80px}
.hero::before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:-20px 0;background:radial-gradient(ellipse at 88% 35%,#b37e1510,transparent 56%),radial-gradient(ellipse at 72% 68%,#ad182009,transparent 45%)}
.hero-copy{position:relative;z-index:2}.hero h1 em{color:#edbb4b}.hero h1 em::after{content:".";color:#e6324e;margin-left:.015em}
.hero-copy>.eyebrow{display:flex;align-items:center;gap:12px}.hero-copy>.eyebrow::before{content:"";width:28px;height:2px;background:var(--gold);flex-shrink:0}
.motion-stage{position:relative;isolation:isolate;min-width:0;height:630px;border-radius:24px;overflow:hidden;background:radial-gradient(ellipse at 55% 45%,#77501713,transparent 58%);border:1px solid #78643730}
.motion-stage::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;box-shadow:inset 0 0 75px 12px #090b0d80;background:linear-gradient(0deg,#090b0de8,transparent 20%,transparent 85%,#090b0d9c)}
#architectureCanvas{display:block;width:100%;height:100%;position:absolute;inset:0}
.motion-stage-top{position:absolute;z-index:2;left:24px;right:24px;top:24px;display:flex;justify-content:space-between;align-items:flex-start;gap:18px;pointer-events:none}
.motion-stage-top .eyebrow{font-size:10px;letter-spacing:.12em;max-width:160px}.motion-stage-top>span{font:10px/1.5 monospace;color:#a8a28f;text-align:right}
.motion-stage-bottom{position:absolute;z-index:2;bottom:24px;left:24px;right:24px;pointer-events:none}.motion-stage-bottom>p{font-size:12px;color:#d1c4a8;line-height:1.6;max-width:350px;margin-top:14px}
.motion-key{display:flex;flex-wrap:wrap;gap:8px}.motion-key span{border:1px solid #9170406b;background:#151510db;padding:7px 10px;border-radius:6px;color:#dfd3b6;font-size:10px;line-height:1.4;backdrop-filter:blur(8px)}
.motion-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;min-width:40px;height:40px;min-height:40px;margin-left:-8px;padding:0;background:#151a1c;border:1px solid #3b4243;border-radius:50%;font:14px/1 Arial,sans-serif;color:#ead7a6;transition:border-color .2s,background .2s}
.motion-toggle:hover{border-color:#b68a3b;background:#292319}.motion-toggle:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.nav{gap:22px}.nav-links{margin-left:auto}.service,.demo-preview,.brief-guide{position:relative}.service{transition:border-color .3s,transform .3s,box-shadow .3s}
.service::after{content:"";position:absolute;pointer-events:none;inset:0;border-radius:inherit;opacity:0;background:radial-gradient(300px circle at var(--glow-x,50%) var(--glow-y,30%),#e8b4480c,transparent 80%);transition:opacity .3s}
.service:hover{border-color:#a7813f;box-shadow:0 16px 45px #0003;transform:translateY(-3px)}.service:hover::after{opacity:1}
.service-top .service-icon{color:#efbd55}.service:nth-child(3) .service-icon{color:#e75a60}
.scope-strip{background:linear-gradient(100deg,#121513,#17150f 50%,#111516)}
.demo-section{background:radial-gradient(ellipse at 0 65%,#5e37152b,transparent 55%),radial-gradient(ellipse at 95% 20%,#3b222322,transparent 46%),#0d1214}
.demo-preview{border-color:#675332}.preview-bar{background:linear-gradient(110deg,#1c1d16,#101618)}
.scenario{transition:border-color .2s,background .2s,box-shadow .2s}.scenario.selected{box-shadow:inset 3px 0 #edba50,0 0 22px #c1932910}.scenario.selected>span:last-child{color:#f1c25f}
.delivery-grid article{transition:border-color .3s}.delivery-grid article:hover{border-color:var(--gold)}
.contact-section{background:radial-gradient(ellipse at 10% 30%,#8a5b192b,transparent 65%),radial-gradient(ellipse at 90% 90%,#8d1f2810,transparent 60%),#131410}
.motion-enter{animation:apsakaEnter .72s cubic-bezier(.2,.65,.25,1) both;animation-delay:var(--motion-delay,0ms)}
@keyframes apsakaEnter{from{opacity:.35;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
.preview-shift{animation:apsakaPreview .32s ease-out}@keyframes apsakaPreview{from{opacity:.55;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.motion-off *, .motion-off *::before, .motion-off *::after{animation:none!important;transition:none!important}
@media(max-width:1100px){.hero{gap:32px}.motion-stage{height:590px}.nav{gap:18px}.nav-links{gap:18px}}
@media(max-width:900px){.hero{grid-template-columns:1fr;gap:34px;padding-block:56px}.motion-stage{max-width:680px;width:100%;height:550px}.nav{gap:12px}.nav-links{gap:12px}.motion-toggle{margin-left:0;flex-basis:36px;min-width:36px;height:36px;min-height:36px}}
@media(max-width:680px){.hero{gap:32px;padding-block:42px 48px}.hero-copy>.eyebrow{gap:8px}.hero-copy>.eyebrow::before{width:18px}.hero-copy>.eyebrow{font-size:9px;letter-spacing:.075em}.hero h1{line-height:1.1}.nav{gap:10px}.nav .brand{flex-shrink:1;min-width:0;max-width:145px}.nav-links{margin-left:0}.menu-toggle{margin-left:auto;gap:8px;padding:8px 10px}.motion-toggle{flex-basis:40px;min-width:40px;min-height:40px;height:40px}.motion-stage{height:475px;border-radius:18px}.motion-stage-top{top:18px;left:18px;right:18px;gap:12px}.motion-stage-top .eyebrow{font-size:9px;letter-spacing:.1em;max-width:150px}.motion-stage-top>span{font-size:9px}.motion-stage-bottom{left:18px;right:18px;bottom:18px}.motion-stage-bottom>p{font-size:12px;margin-top:12px}.motion-key{gap:6px}.motion-key span{font-size:10px;padding:6px 8px}.service:hover{transform:none}}
@media(max-width:360px){.nav{gap:8px}.nav .brand{max-width:130px}.menu-toggle{font-size:12px;padding-inline:8px}.motion-stage{height:450px}.hero-copy>.eyebrow{font-size:8.5px;letter-spacing:.045em}.hero-copy>.eyebrow::before{width:14px}}
@media(prefers-reduced-motion:reduce){.motion-enter,.preview-shift{animation:none!important}.service:hover{transform:none}}

/* Interactive architecture: controls remain in normal reading order. */
.architecture-explorer{min-width:0;border:1px solid #65502e;border-radius:24px;background:#101313;box-shadow:0 24px 80px #0003;overflow:hidden}
.architecture-explorer .motion-stage{height:410px;border:0;border-radius:0;background:radial-gradient(ellipse at 50% 30%,#a77a1b1c,transparent 70%)}
.architecture-explorer .motion-stage-bottom{bottom:18px;pointer-events:auto}
.architecture-explorer .motion-stage-bottom>p{margin:0 0 10px;font-size:11px;color:#c1bba9}
.motion-key{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px}
.motion-key button{min-width:0;min-height:44px;padding:10px 7px;border:1px solid #62583f;border-radius:8px;background:#151914ee;color:#c9c7bd;font-family:inherit;font-size:11px;font-weight:500;line-height:1.4;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.motion-key button[aria-pressed="true"]{background:#e8bb57;color:#17150e;border-color:#f4d486;box-shadow:0 0 24px #e8bb5726}
.motion-key button:hover{border-color:#f4d486;transform:translateY(-2px)}
.motion-key button:focus-visible,.system-cta:focus-visible{outline:3px solid #f2c05d;outline-offset:3px}
.architecture-detail{position:relative;border-top:1px solid #4d422d;padding:22px 24px 20px;background:linear-gradient(120deg,#1c201a,#121618)}
.architecture-detail-head{display:flex;justify-content:space-between;align-items:center}.system-label{font:10px/1.5 monospace;letter-spacing:.15em;color:#e7bd61}.system-symbol{color:#e6bb59;font-size:26px;line-height:1}
.architecture-detail h2{font-size:23px;line-height:1.25;letter-spacing:-.03em;margin:8px 0 10px}
.architecture-detail>p{font-size:13px;line-height:1.65;color:#b8bfb8;min-height:44px;margin:0 0 15px}
.system-flow{display:flex;align-items:center;gap:8px;font:10px/1.5 monospace;color:#d7dace;flex-wrap:wrap;margin-bottom:18px}.system-flow span{padding:6px 8px;border:1px solid #454c40;border-radius:5px;background:#22271d}.system-flow b{color:#ddb457;font-weight:400}
.system-cta{font-size:13px;display:flex;justify-content:space-between;align-items:center;gap:16px;color:#f2c968;text-decoration:none;min-height:32px}.system-cta span{transition:transform .2s}.system-cta:hover span{transform:translate(3px,-3px)}
.architecture-detail small{display:block;font-size:10px;color:#91998f;margin-top:12px;line-height:1.5}
.architecture-orbit{position:absolute;pointer-events:none;width:190px;height:190px;border:1px solid #c39a4322;border-radius:50%;top:22%;left:calc(50% - 95px);transform:rotateX(60deg);animation:orbitTurn 18s linear infinite}.architecture-orbit span{position:absolute;top:14px;left:34px;width:5px;height:5px;border-radius:50%;background:#e4c16b;box-shadow:0 0 15px #f6c253}
@keyframes orbitTurn{to{transform:rotateX(60deg) rotate(360deg)}}
.motion-stage[data-motion="static"] .architecture-orbit{animation-play-state:paused}
.button{transition:box-shadow .25s,transform .25s}.button:hover{box-shadow:0 8px 28px #dcae3d24;transform:translateY(-2px)}.button>span{display:inline-block;transition:transform .25s}.button:hover>span{transform:translate(2px,-2px)}
.faqs details[open]{border-color:#8b703e}.faqs summary{transition:color .2s}.faqs summary:hover{color:#efc56b}
@media(max-width:900px){.architecture-explorer{max-width:680px;width:100%}.architecture-explorer .motion-stage{height:390px}}
@media(max-width:680px){.architecture-explorer{border-radius:18px}.architecture-explorer .motion-stage{height:335px}.architecture-detail{padding:19px 18px}.architecture-detail h2{font-size:22px}.architecture-detail>p{min-height:0}.motion-key button{font-size:11px;padding:10px 4px}.system-flow{gap:6px;font-size:9px}.system-flow span{padding:6px}.architecture-orbit{width:150px;height:150px;left:calc(50% - 75px)}}
@media(prefers-reduced-motion:reduce){.architecture-orbit{animation:none}.motion-key button:hover,.button:hover{transform:none}}
