:root{
  --accent:#6448e3;--accent-hover:#7659fd;--accent-ghost:#6448e333;--accent-soft:#6448e31a;
  --title:#fff;--text:#c5c5d8;--hide:#565666;--ghost:#3d3d4d;
  --bg:#111117;--surface:#191921;--surface-70:#191921b3;--surface-m:#262631;--surface-m-70:#262631b3;--surface-s:#22222c;--surface-empty:#121219;--surface-black:#0f0f14;
  --outline-1:#e3ddfa03;--outline-3:#e3ddfa08;--outline-5:#e3ddfa0d;
  --green:#86e08c;--green-20:#86e08c33;--red:#fe7a7c;--red-20:#fe7a7c33;--yellow:#f5c76b;
  --ring:inset 0 0 0 1px var(--outline-3);--ring2:inset 0 0 0 2px var(--outline-3);
  --shadow:0 24px 64px #0000008c,0 2px 8px #00000059;
  --t:.2s cubic-bezier(.4,0,.2,1);
  --font:"SF Pro Display",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;color-scheme:dark;scrollbar-color:#2c2c38 transparent}
body{background:var(--bg);color:var(--text);font:400 16px/1.45 var(--font);letter-spacing:-.005em;min-height:100vh;display:flex;flex-direction:column;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit;color:inherit;letter-spacing:inherit}
img{display:block;max-width:100%}
::selection{background:var(--accent);color:#fff}
.ic{width:24px;height:24px;flex:none}
.ic.mace{color:var(--accent)}
.hide{color:var(--hide)}
.wrap{width:min(1180px,calc(100% - 40px));margin:0 auto}
main{flex:1;padding-top:96px}

/* rise animation (staggered) */
.rise{animation:rise-fade .4s cubic-bezier(.5,0,.5,1) var(--d,0s) both,rise-drop .6s cubic-bezier(.05,.4,.5,1) var(--d,0s) both}
@keyframes rise-fade{from{opacity:0}to{opacity:1}}
@keyframes rise-drop{from{translate:0 -40px}to{translate:0 0}}
@keyframes float{0%,100%{translate:0 0;rotate:var(--r,0deg)}50%{translate:0 -14px;rotate:calc(var(--r,0deg) + 4deg)}}
@keyframes pulse-dot{0%,100%{opacity:.4}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.rise,.gem{animation:none!important}}
.reveal{opacity:0;translate:0 24px;transition:opacity .6s ease,translate .7s cubic-bezier(.05,.4,.5,1)}
.reveal.in{opacity:1;translate:0 0}

/* nav */
.nav{position:fixed;top:12px;left:0;right:0;z-index:50;pointer-events:none}
.nav-inner{pointer-events:auto;width:min(1180px,calc(100% - 24px));margin:0 auto;height:48px;padding:0 8px 0 16px;display:flex;align-items:center;gap:20px;
  background:var(--surface-70);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:var(--ring);border-radius:24px}
.brand{display:flex;align-items:center;gap:10px;color:var(--title);font-weight:500;font-size:17px}
.brand .ic.mace{width:22px;height:22px}
.nav-links{display:flex;gap:2px;flex:1;justify-content:center}
.nav-links a{padding:7px 12px;border-radius:8px;color:var(--hide);font-size:14px;transition:var(--t)}
.nav-links a:hover{color:var(--text);background:var(--surface-m-70)}
.nav-right{display:flex;align-items:center;gap:6px;margin-left:auto}
.chip{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 14px;border-radius:45px;background:var(--surface-70);box-shadow:var(--ring);font-size:14px;color:var(--hide);transition:var(--t)}
.chip:hover{color:var(--text);background:var(--surface-m)}
.chip img,.chip .avatar{width:22px;height:22px;border-radius:50%;object-fit:cover;font-size:11px}
.burger{display:none;width:36px;height:32px;border:0;background:none;cursor:pointer;color:var(--text);align-items:center;justify-content:center;border-radius:8px}
.burger:hover{background:var(--surface-m-70)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:40px;padding:0 16px;border-radius:6px;border:0;cursor:pointer;font-weight:400;font-size:15px;transition:var(--t);white-space:nowrap;box-shadow:var(--ring);background:var(--surface-70);color:var(--hide);backdrop-filter:blur(8px)}
.btn .ic{width:20px;height:20px}
.btn:hover:not(:disabled){background:var(--surface-m);color:var(--text)}
.btn:disabled{opacity:.5;cursor:default}
.btn-primary{background:var(--accent);color:var(--title);backdrop-filter:none}
.btn-primary:hover:not(:disabled){background:var(--accent-hover);color:var(--title)}
.btn-ghost{}
.btn-danger{background:var(--red-20);color:var(--red)}
.btn-danger:hover:not(:disabled){background:#fe7a7c44;color:var(--red)}
.btn-xl{height:56px;padding:0 28px;font-size:16px;gap:12px}
.btn-xl .ic{width:24px;height:24px}
.btn-sm{height:32px;padding:0 12px;font-size:13.5px;gap:8px}
.btn-sm .ic{width:16px;height:16px}
.btn-block{width:100%}

/* hero */
.hero{text-align:center;padding:44px 0 0;position:relative}
.badge{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 14px;border-radius:16px;background:var(--accent-ghost);box-shadow:var(--ring2);color:#8f7bff;font-size:14px}
.badge .ic{width:16px;height:16px;color:#8f7bff}
.hero h1{color:var(--title);font-size:clamp(36px,5vw,48px);font-weight:500;line-height:1.12;letter-spacing:-.01em;margin:24px auto 12px}
.hero .lead{max-width:520px;margin:0 auto;color:var(--hide);font-size:16px}
.hero .ver{color:var(--text);font-size:14px;margin:10px 0 30px}
.hero .actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.scene{position:relative;margin:64px auto 0;width:min(1000px,100%);height:520px}
.scene:before{content:'';position:absolute;inset:8% 6% -10%;background:radial-gradient(50% 50% at 50% 50%,#6448e355,transparent 70%);filter:blur(40px);pointer-events:none}
.gui{position:absolute;left:50%;top:40px;translate:-50% 0;width:min(640px,92%);background:#14141bf2;border-radius:16px;box-shadow:var(--ring),var(--shadow);padding:16px;text-align:left;backdrop-filter:blur(16px)}
.gui-top{display:flex;align-items:center;gap:22px;margin-bottom:14px;font-size:14px;color:var(--ghost)}
.gui-top .ic.mace{width:20px;height:20px}
.gui-top b{color:var(--title);font-weight:500}
.gui-top .sp{flex:1}
.gui-top .av{width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,#8f7bff,#4a32c0)}
.gui-cols{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.mod{display:flex;align-items:center;justify-content:space-between;height:40px;padding:0 12px;border-radius:8px;font-size:13.5px;color:var(--ghost);transition:var(--t)}
.mod.on{background:var(--surface);color:var(--title);box-shadow:var(--ring)}
.mod .dots{letter-spacing:1px;color:var(--hide);margin-left:auto;margin-right:12px;font-size:12px}
.tog{width:28px;height:16px;border-radius:8px;background:#2a2a35;position:relative;flex:none;transition:var(--t)}
.tog:after{content:'';position:absolute;top:3px;left:3px;width:10px;height:10px;border-radius:50%;background:#6c6c7c;transition:var(--t)}
.tog.on{background:var(--accent)}.tog.on:after{left:15px;background:#fff}
.gui-tabs{display:flex;justify-content:center;gap:6px;margin-top:14px}
.gui-tabs i{width:28px;height:24px;border-radius:6px;background:var(--surface-s)}
.gui-tabs i:first-child{background:var(--accent)}
.widget{position:absolute;background:#16161ef0;border-radius:10px;box-shadow:var(--ring),0 12px 32px #0007;padding:10px 12px;font-size:12px;color:var(--text);text-align:left;backdrop-filter:blur(12px)}
.widget b{color:var(--title);font-weight:500}
.widget .ttl{display:flex;align-items:center;gap:8px;color:var(--title);font-weight:500;margin-bottom:6px}
.widget .ttl .ic{width:15px;height:15px;color:#8f7bff}
.widget .kv{display:flex;justify-content:space-between;gap:24px;color:var(--hide);line-height:1.9}
.widget .kv span:last-child{color:var(--text)}
.w-keys{left:0;top:0;width:150px}
.w-mark{left:28%;top:-34px;display:flex;align-items:center;gap:8px;padding:8px 12px}
.w-mark .ic{width:15px;height:15px;color:#8f7bff}.w-mark em{font-style:normal;color:#8f7bff}
.w-mark:after{content:'';position:absolute;left:50%;bottom:-16px;width:6px;height:6px;border-radius:50%;background:#8f7bff;translate:-50% 0;box-shadow:0 0 10px #8f7bff;animation:pulse-dot 1.6s infinite}
.w-water{right:0;top:-8px;display:flex;align-items:center;gap:12px;border-radius:20px;padding:8px 14px}
.w-water .ic.mace{width:16px;height:16px}
.w-pot{right:-10px;bottom:30px;width:170px}
.w-target{left:-10px;bottom:60px;width:190px}
.w-target .hp{height:4px;border-radius:2px;background:#2a2a35;margin-top:8px;overflow:hidden}.w-target .hp i{display:block;height:100%;width:72%;background:var(--accent)}
.w-target .row{display:flex;align-items:center;gap:10px}.w-target .face{width:28px;height:28px;border-radius:6px;background:linear-gradient(135deg,#d9a066,#8a5a2b)}
.gem{position:absolute;width:96px;image-rendering:pixelated;filter:drop-shadow(0 0 18px #8a6cffcc) drop-shadow(0 0 42px #6448e388);animation:float 6s ease-in-out infinite;pointer-events:none}
.gem.g1{left:6%;top:200px;--r:-24deg}.gem.g2{right:5%;top:260px;width:84px;--r:18deg;animation-delay:-2s}.gem.g3{left:46%;top:-60px;width:40px;opacity:.5;filter:blur(1px) drop-shadow(0 0 16px #8a6cff);animation-delay:-4s}

.section{padding:96px 0 0}
.section-head{margin-bottom:32px}
.section-head h2{color:var(--title);font-size:32px;font-weight:500;letter-spacing:-.01em;line-height:1.2}
.section-head p{color:var(--hide);max-width:720px;margin-top:10px}
.center{text-align:center}.center p{margin-left:auto;margin-right:auto}

/* cards / bento */
.grid{display:grid;gap:16px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.card{background:var(--surface);box-shadow:var(--ring);border-radius:16px;padding:24px;position:relative;overflow:hidden}
.feature{min-height:300px;display:flex;flex-direction:column;transition:var(--t)}
.feature:hover{background:#1c1c25}
.feature h3{color:var(--title);font-size:20px;font-weight:500;margin-bottom:10px;position:relative;z-index:1}
.feature p{color:var(--text);font-size:15px;max-width:min(320px,52%);position:relative;z-index:1}
.feature .more{margin-top:auto;align-self:flex-start;position:relative;z-index:1}
.feature .vis{position:absolute;right:0;bottom:0;width:50%;height:85%;display:flex;align-items:flex-end;justify-content:flex-end}
.vis-panel{width:88%;background:var(--surface-black);border-radius:12px 0 0 0;box-shadow:var(--ring);padding:12px;font-size:12.5px}
.vis-panel .mod{height:34px;font-size:12.5px}
.vis-chat .msg{max-width:none;margin:6px 0;font-size:12.5px}
.vis-icon{position:absolute;right:28px;top:28px;width:64px;height:64px;border-radius:16px;background:var(--accent-ghost);box-shadow:var(--ring2);display:grid;place-items:center;color:#9d8bff}
.vis-icon .ic{width:30px;height:30px}
.vis-glow{position:absolute;right:-60px;bottom:-60px;width:260px;height:260px;border-radius:50%;background:radial-gradient(closest-side,#6448e340,transparent);pointer-events:none}

/* compare */
.compare{position:relative;height:440px;border-radius:16px;overflow:hidden;box-shadow:var(--ring);user-select:none;cursor:ew-resize;background:#0c0c12}
.compare .layer{position:absolute;inset:0;display:grid;place-items:center}
.compare .before{background:linear-gradient(180deg,#7fa7d9 0%,#a9c6e8 45%,#4f7a3a 46%,#3d6230 100%)}
.compare .after{background:linear-gradient(180deg,#3a2a6e 0%,#7a5ad0 40%,#d8a6ff 46%,#2e2a52 47%,#1b1a33 100%);clip-path:inset(0 0 0 var(--x,50%))}
.compare .after .gui{top:50%;translate:-50% -50%;width:min(520px,80%);transform:scale(.92)}
.compare .line{position:absolute;top:0;bottom:0;left:var(--x,50%);width:2px;background:var(--accent);translate:-1px 0}
.compare .line:after{content:'';position:absolute;top:50%;left:50%;width:18px;height:18px;border-radius:50%;background:var(--accent);translate:-50% -50%;box-shadow:0 0 0 6px #6448e355}
.compare .tagl,.compare .tagr{position:absolute;top:16px;padding:6px 12px;border-radius:14px;font-size:13px;background:#0009;color:#fff;backdrop-filter:blur(8px)}
.compare .tagl{left:16px}.compare .tagr{right:16px}

/* tariffs */
.tariff{text-align:center;display:flex;flex-direction:column;padding:32px 24px 24px}
.tariff .ico{width:40px;height:40px;border-radius:10px;margin:0 auto 16px;background:var(--surface-s);box-shadow:var(--ring);display:grid;place-items:center;color:var(--hide)}
.tariff .ico .ic{width:20px;height:20px}
.tariff.pop .ico{background:var(--accent-ghost);color:#9d8bff}
.tariff h3{color:var(--title);font-size:22px;font-weight:500}
.tariff .desc{color:var(--hide);font-size:14px;margin:8px auto 22px;max-width:260px}
.tariff ul{list-style:none;text-align:left;margin:0 0 24px;display:grid;gap:9px;font-size:14px}
.tariff li{display:flex;gap:10px;align-items:center}.tariff li .ic{width:16px;height:16px;color:var(--green)}
.tariff .price{color:var(--title);font-size:32px;font-weight:500;margin-top:auto}
.tariff .price span{color:var(--hide)}
.tariff .note{font-size:13px;color:var(--hide);margin:4px 0 20px}.tariff .note.good{color:var(--green)}
.tariff.pop{box-shadow:inset 0 0 0 1px #6448e366,0 0 60px -20px #6448e3aa}
.tariff .ribbon{position:absolute;top:14px;right:14px;font-size:12px;padding:3px 9px;border-radius:10px;background:var(--accent-ghost);color:#9d8bff}

/* faq */
.faq{max-width:820px;margin:0 auto;display:grid;gap:8px}
.faq details{background:var(--surface);box-shadow:var(--ring);border-radius:12px;padding:18px 20px;transition:var(--t)}
.faq details:hover{background:#1c1c25}
.faq summary{cursor:pointer;color:var(--title);font-weight:400;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px}
.faq summary::-webkit-details-marker{display:none}
.faq summary .ic{width:20px;height:20px;color:var(--hide);transition:var(--t)}
.faq details[open] summary .ic{rotate:90deg}
.faq details p{margin-top:12px;color:var(--hide);font-size:15px}
.cta{margin-top:96px;text-align:center;padding:56px 24px;border-radius:20px;background:radial-gradient(60% 120% at 50% 0%,#6448e344,transparent 70%),var(--surface);box-shadow:var(--ring)}
.cta h2{color:var(--title);font-size:32px;font-weight:500}.cta p{color:var(--hide);margin:10px 0 26px}

/* auth */
.auth{min-height:calc(100vh - 300px);display:grid;place-items:center;padding:24px 0 72px;position:relative}
.auth:before{content:'';position:absolute;left:50%;top:10%;width:520px;height:360px;translate:-50% 0;background:radial-gradient(closest-side,#6448e333,transparent);filter:blur(30px);pointer-events:none}
.auth .card{width:min(420px,100%);padding:32px;box-shadow:var(--ring),var(--shadow)}
.auth .logo{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 18px;border-radius:12px;background:var(--accent-ghost);box-shadow:var(--ring2)}
.auth .logo .ic{width:26px;height:26px}
.auth h1{color:var(--title);font-size:26px;font-weight:500;text-align:center}
.auth .sub{color:var(--hide);text-align:center;margin:6px 0 24px;font-size:14px}
.field{display:block;margin-bottom:14px}
.field span{display:block;font-size:13px;color:var(--hide);margin-bottom:7px}
.input{width:100%;height:44px;padding:0 14px;border-radius:8px;background:var(--surface-empty);border:0;box-shadow:var(--ring);outline:none;color:var(--title);font-size:15px;transition:var(--t)}
.input::placeholder{color:var(--ghost)}
.input:focus{box-shadow:inset 0 0 0 1px #6448e3aa,0 0 0 3px var(--accent-soft)}
textarea.input{height:auto;padding:12px 14px;resize:vertical;min-height:84px;line-height:1.45}
.err{color:var(--red);font-size:13px;min-height:19px;margin:2px 0 10px;text-align:center}
.auth .alt{text-align:center;margin-top:18px;font-size:14px;color:var(--hide)}
.auth .alt a{color:#8f7bff}

/* cabinet */
.cab{display:grid;grid-template-columns:264px 1fr;gap:16px;align-items:start;padding-bottom:72px}
.side{position:sticky;top:96px;padding:12px}
.side .me{display:flex;gap:12px;align-items:center;padding:8px 8px 16px;margin-bottom:8px;box-shadow:inset 0 -1px 0 var(--outline-5)}
.avatar{width:44px;height:44px;border-radius:12px;object-fit:cover;background:linear-gradient(135deg,#3a2f74,#24203f);flex:none;display:grid;place-items:center;color:var(--title);font-weight:500;box-shadow:var(--ring)}
.avatar.lg{width:96px;height:96px;border-radius:24px;font-size:36px}
.avatar.sm{width:36px;height:36px;border-radius:10px;font-size:14px}
.side .me b{color:var(--title);display:block;font-weight:500}
.side .me small{color:var(--hide);font-size:13px}
.side a.tab{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:8px;color:var(--hide);font-size:15px;transition:var(--t)}
.side a.tab .ic{width:20px;height:20px}
.side a.tab:hover{background:var(--surface-m-70);color:var(--text)}
.side a.tab.active{background:var(--accent-ghost);color:var(--title)}
.side a.tab.active .ic{color:#9d8bff}
.side .count{margin-left:auto;background:var(--accent);color:#fff;border-radius:9px;font-size:12px;padding:0 7px;line-height:18px}
.content{display:grid;gap:16px;min-width:0}
.h2{color:var(--title);font-size:20px;font-weight:500;margin-bottom:4px;display:flex;align-items:center;gap:10px}
.h2 .ic{width:20px;height:20px;color:#9d8bff}
.muted{color:var(--hide);font-size:14px}
.cover{height:120px;margin:-24px -24px 0;background:radial-gradient(80% 140% at 20% 0%,#6448e366,transparent 60%),radial-gradient(60% 120% at 90% 10%,#3b2a8a55,transparent 60%),#15151d}
.profile-head{display:flex;gap:20px;align-items:flex-end;flex-wrap:wrap;margin-top:-48px;position:relative}
.profile-head .avatar.lg{box-shadow:0 0 0 6px var(--surface)}
.profile-head .name{color:var(--title);font-size:28px;font-weight:500;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.role{font-size:12px;padding:3px 9px;border-radius:7px;background:var(--accent-ghost);color:#a99bff;font-weight:400}
.role.dev{background:var(--red-20);color:var(--red)}.role.media{background:#f5c76b26;color:var(--yellow)}
.level{margin-top:14px;max-width:440px}
.level .bar{height:6px;border-radius:3px;background:var(--surface-m);overflow:hidden;margin-top:8px}
.level .bar i{display:block;height:100%;background:var(--accent);border-radius:3px;box-shadow:0 0 12px #6448e3}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.stat{background:var(--surface);box-shadow:var(--ring);border-radius:16px;padding:18px 20px;display:flex;gap:14px;align-items:center}
.stat .si{width:40px;height:40px;border-radius:10px;background:var(--accent-ghost);display:grid;place-items:center;color:#9d8bff;flex:none}
.stat .si .ic{width:20px;height:20px}
.stat b{display:block;color:var(--title);font-size:22px;font-weight:500;line-height:1.2}
.stat span{color:var(--hide);font-size:13px}
.achs{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
.ach{display:flex;gap:12px;align-items:center;background:var(--surface-s);border-radius:12px;padding:12px;box-shadow:var(--ring)}
.ach .ico{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;background:var(--surface-m);color:var(--ghost);flex:none}
.ach .ico .ic{width:22px;height:22px}
.ach.done .ico{background:var(--accent-ghost);color:#a99bff;box-shadow:0 0 18px -6px #6448e3}
.ach b{color:var(--title);font-size:14px;font-weight:500;display:block}.ach:not(.done) b{color:var(--hide)}
.ach small{color:var(--hide);font-size:12.5px}.ach.done small{color:var(--green)}
.kv{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}
.kv div{background:var(--surface-s);border-radius:10px;padding:12px 14px;box-shadow:var(--ring)}
.kv span{display:block;color:var(--hide);font-size:13px}.kv b{color:var(--title);font-weight:500;word-break:break-all}
.code{font-family:ui-monospace,"SF Mono",Consolas,monospace;letter-spacing:.06em}
.row-flex{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.row-flex .input{flex:1;min-width:200px}
.pills{display:inline-flex;background:var(--surface-empty);box-shadow:var(--ring);border-radius:10px;padding:4px;gap:4px;flex-wrap:wrap}
.pills button{border:0;background:none;padding:7px 14px;border-radius:7px;cursor:pointer;color:var(--hide);font-size:14px;transition:var(--t)}
.pills button:hover{color:var(--text)}
.pills button.on{background:var(--surface-m);color:var(--title)}
.list{display:grid;gap:8px}
.item{display:flex;gap:12px;align-items:center;background:var(--surface-s);border-radius:12px;padding:10px 12px;box-shadow:var(--ring)}
.item .grow{flex:1;min-width:0}
.item b{color:var(--title);font-weight:500;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.item small{color:var(--hide);font-size:13px}
.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--ghost);margin-left:7px;vertical-align:middle}
.dot.on{background:var(--green);box-shadow:0 0 8px var(--green)}.dot.dnd{background:var(--red)}
.tag{font-size:12px;padding:2px 8px;border-radius:6px;background:var(--accent-ghost);color:#a99bff;white-space:nowrap}
.status-ok{color:var(--green)}.status-bad{color:var(--red)}
.chat{display:grid;grid-template-columns:260px 1fr;height:600px;padding:0}
.chat .convs{box-shadow:inset -1px 0 0 var(--outline-5);overflow:auto;padding:10px}
.chat .conv{display:flex;gap:10px;align-items:center;padding:10px;border-radius:10px;cursor:pointer;transition:var(--t)}
.chat .conv:hover{background:var(--surface-s)}.chat .conv.active{background:var(--surface-m)}
.chat .conv b{color:var(--title);font-weight:500;font-size:14px;display:block}
.chat .conv small{color:var(--hide);font-size:12.5px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}
.chat .pane{display:flex;flex-direction:column;min-width:0}
.chat .msgs{flex:1;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:6px}
.msg{max-width:70%;padding:9px 13px;border-radius:12px;background:var(--surface-s);color:var(--title);font-size:14px;align-self:flex-start;word-wrap:break-word;box-shadow:var(--ring)}
.msg.mine{align-self:flex-end;background:var(--accent)}
.msg time{display:block;font-size:11px;opacity:.6;margin-top:2px;text-align:right}
.msg.sys{align-self:center;background:none;box-shadow:none;color:var(--hide);font-size:13px}
.msg .who{font-size:12px;color:#a99bff;display:block;margin-bottom:2px}
.chat form{display:flex;gap:8px;padding:12px;box-shadow:inset 0 1px 0 var(--outline-5)}
.empty{text-align:center;color:var(--hide);padding:44px 10px}
.pub{max-width:820px;margin:0 auto 72px}

.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,16px) scale(.98);opacity:0;background:var(--surface-m);box-shadow:var(--ring),var(--shadow);color:var(--title);padding:12px 18px;border-radius:10px;transition:var(--t);z-index:99;pointer-events:none;font-size:14px}
.toast.show{opacity:1;transform:translate(-50%,0)}
.toast.bad{color:var(--red)}

.footer{padding:56px 0 40px;margin-top:96px;box-shadow:inset 0 1px 0 var(--outline-5)}
.footer-inner{width:min(1180px,calc(100% - 40px));margin:0 auto;display:flex;justify-content:space-between;gap:32px;flex-wrap:wrap}
.footer p{margin-top:14px;font-size:14px}
.footer .socials{display:flex;gap:8px;margin-top:16px}
.footer .socials a{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;background:var(--surface);box-shadow:var(--ring);color:var(--hide);transition:var(--t)}
.footer .socials a:hover{color:var(--text);background:var(--surface-m)}
.footer .socials .ic{width:18px;height:18px}
.footer-cols{display:flex;gap:64px;flex-wrap:wrap}
.footer-cols div{display:grid;gap:10px;align-content:start;font-size:14px}
.footer-cols b{color:var(--title);font-weight:500}
.footer-cols a{color:var(--hide);transition:var(--t)}.footer-cols a:hover{color:var(--text)}
.doc{max-width:820px;margin:0 auto 40px}.doc h2{color:var(--title);font-weight:500;margin:28px 0 10px}.doc p{margin-bottom:12px;color:var(--text)}
.steps{display:grid;gap:12px;max-width:660px;margin:32px auto 0;text-align:left;counter-reset:s}
.steps div{counter-increment:s;display:flex;gap:16px;align-items:center;background:var(--surface);box-shadow:var(--ring);border-radius:12px;padding:16px 18px}
.steps div:before{content:counter(s);width:30px;height:30px;border-radius:8px;background:var(--accent-ghost);color:#a99bff;display:grid;place-items:center;flex:none;font-weight:500}

@media(max-width:960px){
  .nav-links{display:none;position:absolute;top:56px;left:12px;right:12px;flex-direction:column;background:var(--surface);box-shadow:var(--ring),var(--shadow);border-radius:16px;padding:8px}
  .nav-links.open{display:flex}
  .burger{display:flex}
  .grid-2,.grid-3{grid-template-columns:1fr}
  .cab{grid-template-columns:1fr}
  .side{position:static}
  .stats{grid-template-columns:repeat(2,1fr)}
  .chat{grid-template-columns:1fr;height:auto}
  .chat .convs{box-shadow:inset 0 -1px 0 var(--outline-5);max-height:220px}
  .chat .msgs{height:400px}
  .scene{height:auto;padding-bottom:20px}
  .gui{position:relative;left:auto;top:auto;translate:none;margin:0 auto}
  .widget,.gem{display:none}
  .feature p{max-width:none}
  .feature .vis{display:none}
  .feature{min-height:220px}
}
@media(max-width:560px){.gui-cols{grid-template-columns:1fr}.stats{grid-template-columns:1fr}.hero h1 br{display:none}}
.cab .reveal,.pub .reveal{opacity:1;translate:0 0}
.compare .after .gui{left:73%;width:min(440px,44%)}
.compare .after .gui .gui-cols{grid-template-columns:1fr}
.compare .before:after{content:'';position:absolute;left:50%;bottom:22px;width:364px;height:44px;translate:-50% 0;background:repeating-linear-gradient(90deg,#8b8b8b 0 2px,#3b3b3b 2px 40px);border:2px solid #c6c6c6;opacity:.85}

/* interface showcase */
.shots{display:grid;grid-template-columns:1.25fr 1fr;gap:16px}
.shot{position:relative;border-radius:16px;overflow:hidden;box-shadow:var(--ring);background:linear-gradient(160deg,#8fb3e0 0%,#b9d3ef 42%,#5c8a44 43%,#3f6a32 100%);min-height:300px}
.shot.night{background:linear-gradient(170deg,#2a2550 0%,#4a3f8a 45%,#6b5bb0 46%,#241f3e 100%)}
.shot .label{position:absolute;left:14px;bottom:12px;z-index:3;background:#000a;backdrop-filter:blur(8px);color:#fff;font-size:13px;padding:6px 12px;border-radius:12px}
.shot .label b{color:#fff;font-weight:500}
/* paranoya gui */
.para{position:absolute;inset:0;display:flex;gap:7px;align-items:center;justify-content:center;background:#0b0b11cc;backdrop-filter:blur(3px)}
.para .pcol{width:84px;background:#12121955;border-radius:10px;box-shadow:var(--ring);overflow:hidden;align-self:center;height:220px;backdrop-filter:blur(10px)}
.para .phead{display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 0 8px;color:var(--title);font-size:11px;font-weight:500}
.para .pi{width:22px;height:22px;border-radius:7px;background:var(--accent-ghost);display:grid;place-items:center;color:#9d8bff;font-weight:600}
.para .pr{display:flex;align-items:center;justify-content:space-between;padding:5px 9px;font-size:10px;color:var(--ghost)}
.para .pr.on{color:var(--title)}
.para .pt{width:16px;height:9px;border-radius:5px;background:#2a2a35;position:relative}
.para .pr.on .pt{background:var(--accent)}
.para .pr.on .pt:after{content:'';position:absolute;right:2px;top:2px;width:5px;height:5px;border-radius:50%;background:#fff}
/* ares hud */
.ares .wm{position:absolute;left:14px;top:12px;display:flex;align-items:center;gap:8px;background:#12121bcc;border-radius:9px;padding:6px 10px;box-shadow:var(--ring);font-size:12px;color:var(--title);font-weight:500}
.ares .wm .ic.mace{width:14px;height:14px}
.ares .wm small{color:var(--hide);font-weight:400}
.ares .pot{position:absolute;right:14px;top:12px;background:#12121bcc;border-radius:9px;padding:9px 11px;box-shadow:var(--ring);font-size:11px;min-width:120px}
.ares .pot .pttl{color:var(--title);font-weight:500;margin-bottom:5px;font-size:12px}
.ares .pot .row{display:flex;justify-content:space-between;color:var(--hide);line-height:1.8}.ares .pot .row span:last-child{color:var(--text)}
.ares .tgt{position:absolute;left:14px;bottom:52px;background:#12121bcc;border-radius:9px;padding:9px;box-shadow:var(--ring);width:170px}
.ares .tgt .row{display:flex;gap:9px;align-items:center}.ares .tgt .face{width:26px;height:26px;border-radius:6px;background:linear-gradient(135deg,#8fd1a0,#3b7a4f)}
.ares .tgt b{color:var(--title);font-weight:500;font-size:12px}.ares .tgt small{color:var(--hide)}
.ares .tgt .hp{height:4px;border-radius:2px;background:#2a2a35;margin-top:8px;overflow:hidden}.ares .tgt .hp i{display:block;height:100%;width:64%;background:var(--accent)}
.ares .keys{position:absolute;right:16px;bottom:16px;display:grid;grid-template-columns:repeat(3,22px);gap:3px}
.ares .keys i{height:22px;border-radius:5px;background:#12121bcc;box-shadow:var(--ring);display:grid;place-items:center;color:var(--hide);font-size:10px;font-weight:500}
.ares .keys i.w{grid-column:2}.ares .keys i.on{background:var(--accent);color:#fff}
.ares .keys i.lmb,.ares .keys i.rmb{grid-column:span 1;font-size:8px}
@media(max-width:960px){.shots{grid-template-columns:1fr}.shot{min-height:240px}}
