.storyx404{--sx-red:#ff003c;--sx-line:#2c2c30;background:#080808;color:#fff;isolation:isolate;overflow:hidden;font-family:inherit}
.storyx404 *{box-sizing:border-box}.storyx404 h1,.storyx404 h2,.storyx404 h3,.storyx404 p{margin:0;color:inherit}.storyx404 h1,.storyx404 h2{font-weight:800;font-size:clamp(34px,4.6vw,70px);line-height:1.1;letter-spacing:-.035em;overflow-wrap:break-word}.storyx404 h1{font-size:clamp(36px,5.2vw,82px)}.storyx404[dir=rtl] h1,.storyx404[dir=rtl] h2{letter-spacing:normal;line-height:1.4;font-size:clamp(32px,4.5vw,68px)}.storyx404 h1 em,.storyx404 h2 em{display:block;color:var(--sx-red);font-style:normal}.storyx404 p:not(.sx404-kicker){color:#c4c4c8;line-height:1.85;font-size:clamp(15px,1.25vw,19px);margin-top:20px;max-width:52ch}.storyx404[dir=rtl] p:not(.sx404-kicker){line-height:1.95}.sx404-wrap{width:min(1320px,88%);margin-inline:auto}.sx404-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(30px,6vw,90px);align-items:center}.sx404-hero{min-height:min(740px,calc(100svh - 95px));display:grid;align-items:center;padding:clamp(55px,7vw,110px) 0;background:radial-gradient(ellipse at 64% 50%,#250811 0%,#080808 66%)}.sx404-kicker{display:flex;align-items:center;gap:12px;color:#e4e4e4!important;font-size:12px!important;letter-spacing:.12em;font-weight:700;text-transform:uppercase;margin-bottom:22px!important}.storyx404[dir=rtl] .sx404-kicker{letter-spacing:normal}.sx404-kicker:before{content:"";width:30px;height:2px;background:var(--sx-red);flex:none}.sx404-btn{display:inline-flex;gap:25px;align-items:center;min-height:48px;padding:13px 20px;border:1px solid var(--sx-red);color:#fff;text-decoration:none;font-weight:700;font-size:14px;margin-top:30px;transition:background .2s,border-color .2s}.sx404-btn:hover{background:var(--sx-red);color:#fff}.sx404-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform .2s}.sx404-btn:hover svg{transform:translateY(3px)}.sx404-btn:focus-visible{outline:2px solid white;outline-offset:4px}.sx404-primary{background:var(--sx-red)}.sx404-primary:hover{background:#fff;color:#080808;border-color:#fff}.storyx404[dir=rtl] .sx404-direction{transform:scaleX(-1)}.sx404-primary:hover .sx404-direction{transform:translateX(4px)}.storyx404[dir=rtl] .sx404-primary:hover .sx404-direction{transform:translateX(-4px) scaleX(-1)}
.sx404-terminal,.sx404-brand-board{border:1px solid #424247;padding:16px;background:#0c0c10;overflow:hidden;min-width:0}.sx404-terminal-head,.sx404-terminal-foot,.sx404-board-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#a7a7ae;font:10px/1.4 monospace;letter-spacing:.06em}.sx404-signal{display:flex;gap:5px}.sx404-signal i{width:8px;height:8px;background:#4a4a50}.sx404-signal i:last-child{background:var(--sx-red)}.sx404-ready{color:#fc3f71}.sx404-screen{position:relative;min-height:clamp(250px,28vw,400px);margin:16px 0;display:grid;place-items:center;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse,#35101b,#0a0a0d 70%)}.sx404-grid,.sx404-board-grid{background-image:linear-gradient(#ffffff10 1px,transparent 1px),linear-gradient(90deg,#ffffff10 1px,transparent 1px);background-size:24px 24px}.sx404-grid{position:absolute;inset:0;z-index:-1}.sx404-found,.sx404-error{grid-area:1/1;width:86%;text-align:center}.sx404-found img{display:block;width:min(100%,490px);height:auto;margin:auto;filter:drop-shadow(0 0 18px #ff003c45)}.sx404-found>span,.sx404-error>span{display:block;font:700 10px/1.5 monospace;letter-spacing:.15em;color:#ddd;margin-top:24px}.sx404-error{opacity:0;font:900 clamp(25px,4vw,60px)/1 monospace;color:var(--sx-red)}.sx404-scan{position:absolute;inset:0;background:linear-gradient(transparent 47%,#ff003c40 50%,transparent 53%);transform:translateY(-100%);pointer-events:none}.sx404-cross{position:absolute;width:22px;height:22px;border:2px solid var(--sx-red)}.sx404-cross-a{top:12px;left:12px;border-right:0;border-bottom:0}.sx404-cross-b{bottom:12px;right:12px;border-left:0;border-top:0}.sx404-running .sx404-error{animation:sx404-error 1.8s both}.sx404-running .sx404-found{animation:sx404-found 2.4s both}.sx404-running .sx404-scan{animation:sx404-scan 2.4s both}
@keyframes sx404-error{0%,28%{opacity:1;transform:none}35%{opacity:.8;transform:translateX(-6px)}48%,100%{opacity:0;transform:translateX(9px)}}@keyframes sx404-found{0%,35%{opacity:0;clip-path:inset(0 100% 0 0)}75%,100%{opacity:1;clip-path:inset(0)}}@keyframes sx404-scan{to{transform:translateY(100%)}}
.sx404-band{padding:clamp(58px,8vw,120px) 0;border-top:1px solid var(--sx-line);scroll-margin-top:80px}.sx404-origin-visual{border:1px solid var(--sx-line);padding:clamp(16px,3vw,36px);background:#111115;overflow:hidden}.sx404-code-row{display:flex;justify-content:space-between;align-items:center;gap:10px;font:700 12px/1.4 monospace;color:#82828a}.sx404-code-row>span:first-child{font-size:clamp(54px,8vw,116px);line-height:1.05;letter-spacing:-.075em}.sx404-code-end{color:#ff003c}.sx404-code-rule{display:grid;grid-template-columns:repeat(8,1fr);gap:5px;margin:25px 0}.sx404-code-rule i{height:8px;background:#37373d}.sx404-code-rule i:nth-child(n+5){background:var(--sx-red)}.sx404-visible .sx404-code-rule i{animation:sx404-pulse .7s both}.sx404-code-rule i:nth-child(2n){animation-delay:.15s}.sx404-code-rule i:nth-child(3n){animation-delay:.3s}@keyframes sx404-pulse{from{transform:scaleX(.1);opacity:.1}to{transform:none;opacity:1}}
.sx404-principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:40px}.sx404-principles article{padding:28px;border:1px solid var(--sx-line);background:linear-gradient(145deg,#151519,#080808);position:relative;min-width:0}.sx404-number{color:var(--sx-red);font:12px monospace}.sx404-principles svg{display:block;width:75px;height:75px;color:#eee;margin:26px 0}.sx404-principles h3{font-size:clamp(23px,2.6vw,38px);font-weight:800}.sx404-principles p{font-size:16px!important;margin-top:10px!important}.sx404-principles article:hover{border-color:#ff003c77}.sx404-visible svg{animation:sx404-icon .7s ease-out both}@keyframes sx404-icon{from{opacity:.2;transform:scale(.7)}to{opacity:1;transform:none}}
.sx404-colors{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px;direction:ltr}.sx404-colors span{display:grid;gap:8px;flex:1;min-width:80px;color:#bdbdc5;font:11px monospace}.sx404-colors span:before{content:"";display:block;height:55px;background:var(--swatch);border:1px solid #444}.sx404-board-grid{position:relative;display:grid;place-items:center;min-height:clamp(190px,24vw,330px);margin:16px 0;overflow:hidden}.sx404-board-grid img{width:82%;height:auto;position:relative;z-index:1}.sx404-grid-h,.sx404-grid-v{position:absolute;background:#ff003c44;pointer-events:none}.sx404-grid-h{width:100%;height:1px;top:50%}.sx404-grid-v{height:100%;width:1px;left:50%}
.sx404-close{background:radial-gradient(ellipse at var(--sx-x,50%) var(--sx-y,50%),#43001566,transparent 70%),#080808}.sx404-close-mark{direction:ltr;text-align:center;font:700 10px/1.5 monospace;letter-spacing:.12em;color:#ddd}.sx404-close-mark img{width:min(95%,490px);height:auto;display:block;margin:0 auto 26px;filter:drop-shadow(0 0 20px #ff003c40)}
.sx404-visible{animation:sx404-rise .75s cubic-bezier(.2,.7,.2,1) both}@keyframes sx404-rise{from{transform:translateY(20px);opacity:.25}to{transform:none;opacity:1}}
@media(max-width:900px){.sx404-split{grid-template-columns:1fr;gap:35px}.sx404-hero{min-height:0}.sx404-origin-visual{order:2}.sx404-principles{grid-template-columns:1fr}.sx404-principles article{padding:24px}.sx404-principles svg{margin:18px 0}}
@media(max-width:600px){.sx404-wrap{width:calc(100% - 40px)}.storyx404 h1,.storyx404[dir=rtl] h1{font-size:clamp(32px,8.2vw,45px)}.storyx404 h2,.storyx404[dir=rtl] h2{font-size:clamp(29px,7.7vw,41px)}.sx404-band,.sx404-hero{padding:52px 0}.sx404-screen{min-height:230px}.sx404-terminal,.sx404-brand-board{padding:12px}.sx404-terminal-head,.sx404-terminal-foot,.sx404-board-meta{font-size:8px}.sx404-principles{margin-top:24px;gap:12px}.sx404-close-mark{margin-top:8px}.sx404-close-mark img{width:85%}.sx404-code-row{font-size:10px}.sx404-code-row>span:first-child{font-size:64px}}
@media(prefers-reduced-motion:reduce){.storyx404 *,.storyx404 *:before,.storyx404 *:after{animation:none!important;transition:none!important}}
.storyx404[dir=rtl],.storyx404[dir=rtl] h1,.storyx404[dir=rtl] h2,.storyx404[dir=rtl] h3,.storyx404[dir=rtl] p,.storyx404[dir=rtl] a{font-family:Cairo,Tahoma,Arial,sans-serif}
.storyx404[dir=ltr] .sx404-intro h1{font-size:clamp(30px,3.6vw,56px);overflow-wrap:normal}
.storyx404[dir=ltr] .sx404-intro h1 em{white-space:nowrap}
@media(max-width:600px){.storyx404[dir=ltr] .sx404-intro h1{font-size:clamp(25px,7.7vw,40px)}}
