/* Mysterious loader. Dimensions are the real window's pixels multiplied by --u,
   so it keeps its proportions at any width. Narrow containers get an icon rail. */
[data-loader]{container-type:inline-size;min-width:0}
.ldr{
  --u:1px;
  --l-bg:#0a0a0a; --l-panel:#111113; --l-line:#222225; --l-muted:#8e8e93; --l-purple:#8b63f6; --l-green:#34d399;
  position:relative;isolation:isolate;margin-inline:auto;overflow:hidden;
  border:1px solid #232327;border-radius:10px;background:var(--l-bg);color:#f4f4f5;text-align:left;
  font-family:"Inter",var(--sans);line-height:1.350;
  box-shadow:0 40px 80px -30px rgba(0,0,0,.95);
  animation:l-in .3s var(--ease);
}
@keyframes l-in{from{opacity:.35}}
.ldr-main{--u:min(1px,calc(100cqw / 880));display:flex;width:calc(880 * var(--u));height:calc(552 * var(--u))}
.ldr-login{--u:min(1px,calc(100cqw / 537));width:calc(537 * var(--u));height:calc(596 * var(--u))}
.ldr button,.ldr input{font:inherit;color:inherit}
.ldr button{text-align:left}
.ldr h3{font-weight:700;letter-spacing:-.015em}
.ldr b{font-weight:600}

/* particle field */
.l-stars{position:absolute;inset:0;z-index:-1;pointer-events:none}
.l-stars i{position:absolute;border-radius:50%;background:#fff;animation:l-drift 9s ease-in-out infinite alternate}
@keyframes l-drift{to{translate:6px -10px}}

/* shared pieces */
.l-logo{display:grid;place-items:center;flex:none;width:calc(32 * var(--u));height:calc(32 * var(--u));border-radius:calc(8 * var(--u));background:var(--l-purple)}
.l-logo svg{width:74%;height:74%;color:#0b0712}
.l-win{position:absolute;top:calc(3 * var(--u));right:calc(8 * var(--u));display:flex}
.ldr-login .l-win{top:calc(6 * var(--u));right:calc(4 * var(--u))}
.l-win i{position:relative;width:calc(32 * var(--u));height:calc(24 * var(--u))}
.l-win i::before,.l-win i::after{content:"";position:absolute;left:calc(11 * var(--u));top:50%;width:calc(11 * var(--u));height:1px;background:#8a8a90}
.l-win .min::after{display:none}
.l-win .cls::before{rotate:45deg;width:calc(14 * var(--u));left:calc(9 * var(--u))}
.l-win .cls::after{rotate:-45deg;width:calc(14 * var(--u));left:calc(9 * var(--u))}
.l-ghost{display:inline-flex;align-items:center;justify-content:center;width:calc(155 * var(--u));height:calc(36 * var(--u));border:1px solid #27272b;border-radius:calc(8 * var(--u));background:#141416;color:#9b9ba1;font-size:calc(14.500 * var(--u));font-weight:600;transition:background .2s,color .2s}
.l-ghost:hover{background:#1c1c20;color:#e4e4e7}
.ldr .l-solid{display:inline-flex;align-items:center;justify-content:center;gap:calc(8 * var(--u));border-radius:calc(8 * var(--u));background:#fff;color:#09090b;font-weight:600;transition:background .2s}
.ldr .l-solid:hover{background:#e4e4e7}
.l-arrow{width:calc(15 * var(--u));height:calc(15 * var(--u));fill:none;stroke:currentColor;stroke-width:2.200;stroke-linecap:round;stroke-linejoin:round}
.l-active{display:inline-flex;align-items:center;gap:calc(7 * var(--u));color:var(--l-green);font-weight:600}
.l-active::before{content:"";width:calc(7 * var(--u));height:calc(7 * var(--u));border-radius:50%;background:currentColor;box-shadow:0 0 0 calc(2.500 * var(--u)) rgba(52,211,153,.18)}

/* sign in */
.l-titlebar{display:flex;align-items:center;gap:calc(9 * var(--u));padding:calc(7 * var(--u)) calc(16 * var(--u))}
.l-titlebar .l-logo{width:calc(24 * var(--u));height:calc(24 * var(--u));border-radius:calc(6 * var(--u))}
.l-titlebar b{font-size:calc(15 * var(--u))}
.l-login{position:absolute;left:calc(79 * var(--u));right:calc(76 * var(--u));top:calc(124 * var(--u))}
.l-login h3{font-size:calc(37 * var(--u));line-height:calc(50 * var(--u));white-space:nowrap}
.l-login h3 span{background:linear-gradient(90deg,#8b63f6,#a58cf5 55%,#c3b2f8 75%,#9a78f6);-webkit-background-clip:text;background-clip:text;color:transparent}
.l-tag{margin-top:calc(5 * var(--u));font-size:calc(16 * var(--u));color:var(--l-muted)}
.l-field{display:flex;align-items:center;gap:calc(13 * var(--u));height:calc(50 * var(--u));margin-top:calc(32 * var(--u));padding:0 calc(13 * var(--u));border:1px solid #252529;border-radius:calc(8 * var(--u));background:#17171a}
.l-field:focus-within{border-color:var(--l-purple)}
.l-key{flex:none;width:calc(16 * var(--u));height:calc(16 * var(--u));fill:none;stroke:#73737a;stroke-width:2;stroke-linecap:round}
.l-field input{flex:1;min-width:0;border:0;outline:0;background:none;font-size:calc(16.500 * var(--u))!important}
.ldr .l-check{display:flex;align-items:center;gap:calc(9 * var(--u));margin-top:calc(21 * var(--u));color:var(--l-muted);font-size:calc(15 * var(--u))}
.l-check i{position:relative;width:calc(18 * var(--u));height:calc(18 * var(--u));border:1px solid #3f3f46;border-radius:calc(5 * var(--u))}
.l-check[aria-checked=true] i{border-color:var(--l-purple);background:var(--l-purple)}
.l-check[aria-checked=true] i::after{content:"";position:absolute;left:32%;top:14%;width:26%;height:52%;border:solid #fff;border-width:0 calc(2 * var(--u)) calc(2 * var(--u)) 0;rotate:45deg}
.ldr .l-signin{width:100%;height:calc(50 * var(--u));margin-top:calc(21 * var(--u));font-size:calc(17 * var(--u))}
.l-nokey{margin-top:calc(18 * var(--u));padding-left:calc(2 * var(--u));font-size:calc(15 * var(--u));color:var(--l-muted)}
.l-nokey a{color:#a17cfa;font-weight:600}
.l-nokey a:hover{text-decoration:underline}
.l-login>.l-ghost{margin-top:calc(38 * var(--u))}

/* sidebar */
.l-side{display:flex;flex-direction:column;flex:none;width:calc(230 * var(--u));padding:calc(15 * var(--u)) calc(16 * var(--u)) calc(13 * var(--u));border-right:1px solid #1d1d20;background:rgba(13,13,14,.82)}
.l-brand{display:flex;align-items:center;gap:calc(11 * var(--u));padding-left:calc(6 * var(--u));font-size:calc(19 * var(--u))}
.l-side nav{display:grid;margin-top:calc(28 * var(--u))}
.ldr .l-side nav button{position:relative;display:flex;align-items:center;gap:calc(10 * var(--u));height:calc(44 * var(--u));padding:0 calc(12 * var(--u));border-radius:calc(8 * var(--u));color:var(--l-muted);font-size:calc(16 * var(--u));transition:background .2s,color .2s}
.ldr .l-side nav button:hover{background:#151517;color:#e4e4e7}
.ldr .l-side nav button[aria-current]{background:#1b1b1d;color:#fff;font-weight:600}
.l-side nav button[aria-current]::before{content:"";position:absolute;left:0;top:calc(10 * var(--u));bottom:calc(10 * var(--u));width:calc(3 * var(--u));border-radius:2px;background:var(--l-purple)}
.l-ico{flex:none;width:calc(20 * var(--u));height:calc(20 * var(--u));fill:currentColor}
.l-bottom{margin-top:auto}
.l-user{display:flex;align-items:center;gap:calc(7 * var(--u));height:calc(62 * var(--u));margin-top:calc(12 * var(--u));padding:0 calc(9 * var(--u));border:1px solid var(--l-line);border-radius:calc(8 * var(--u));background:var(--l-panel)}
.l-avatar{display:grid;place-items:center;flex:none;width:calc(35 * var(--u));height:calc(35 * var(--u));border:1px solid #6d4fc4;border-radius:50%;background:#241b3d;color:#b49cfb}
.l-user-text{min-width:0}
.l-user-text b{display:block;font-size:calc(15.500 * var(--u));white-space:nowrap}
.l-user-text em{display:inline-flex;align-items:center;gap:calc(5 * var(--u));padding:0 calc(7 * var(--u));border:1px solid #4c3a85;border-radius:calc(9 * var(--u));background:#1d1733;color:#a88cf9;font-size:calc(12.500 * var(--u));font-style:normal;font-weight:600}
.l-user-text em::before{content:"";width:calc(5 * var(--u));height:calc(5 * var(--u));border-radius:50%;background:currentColor}

/* pages */
.l-content{flex:1;min-width:0;padding:calc(16 * var(--u)) calc(30 * var(--u)) calc(16 * var(--u)) calc(29 * var(--u));animation:l-page .3s var(--ease)}
@keyframes l-page{from{opacity:0;transform:translateY(6px)}}
.l-content h3{font-size:calc(26 * var(--u));line-height:calc(34 * var(--u))}
.l-sub{margin-top:calc(3 * var(--u));font-size:calc(15 * var(--u));color:var(--l-muted)}
.l-product{display:flex;justify-content:space-between;align-items:center;gap:calc(12 * var(--u));min-height:calc(84 * var(--u));margin-top:calc(21 * var(--u));padding:calc(10 * var(--u)) calc(18 * var(--u)) calc(10 * var(--u)) calc(19 * var(--u));border:1px solid var(--l-line);border-radius:calc(9 * var(--u));background:var(--l-panel)}
.l-product b{display:block;font-size:calc(18 * var(--u))}
.l-product .l-active{font-size:calc(14 * var(--u))}
.ldr .l-product .l-solid{flex:none;width:calc(118 * var(--u));height:calc(38 * var(--u));font-size:calc(15 * var(--u))}
.l-license{margin-top:calc(21 * var(--u));padding:0 calc(19 * var(--u));border:1px solid var(--l-line);border-radius:calc(9 * var(--u));background:var(--l-panel);font-size:calc(15 * var(--u))}
.l-license>div{display:flex;justify-content:space-between;align-items:center;gap:calc(12 * var(--u));min-height:calc(48 * var(--u))}
.l-license>div+div{border-top:1px solid var(--l-line)}
.l-license dt{color:var(--l-muted)}
.l-license dd{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:0 calc(10 * var(--u));font-weight:600}
.l-license small{font-size:calc(14.500 * var(--u));font-weight:400;color:#5d5d64}
.ldr .l-copy{justify-content:center;width:calc(63 * var(--u));height:calc(32 * var(--u));margin-left:calc(4 * var(--u));font-size:calc(14 * var(--u));color:#9b9ba1}
.ldr .l-copy:hover{color:#e4e4e7}
.ldr .l-logout{display:inline-flex;align-items:center;justify-content:center;width:calc(82 * var(--u));height:calc(34 * var(--u));margin-top:calc(16 * var(--u));border-radius:calc(7 * var(--u));background:#ef5f70;color:#fff;font-size:calc(14 * var(--u));font-weight:600;transition:filter .2s}
.ldr .l-logout:hover{filter:brightness(1.100)}

/* hero: sign-in matches the main window's height, so logging out never shifts the page */
@container (min-width:561px){
  [data-loader=hero] .ldr-login{--u:min(calc(1px * 552 / 596),calc(100cqw * 552 / 596 / 880))}
}
@container (min-width:461px) and (max-width:560px){
  [data-loader=hero] .ldr-login{--u:min(calc(440px / 596),calc(100cqw / 537))}
}
/* phone sign-in: fixed readable scale with a wrapping heading */
@container (max-width:460px){
  .ldr-login{--u:.8px;width:100%;height:477px}
  .l-login{left:20px;right:20px;top:70px}
  .l-login h3{white-space:normal;line-height:1.2}
  [data-loader=hero] .ldr-login{--u:.74px;height:440px}
  [data-loader=hero] .l-login{top:52px}
}
/* narrow main window: fixed readable scale, sidebar collapses to icons */
@container (max-width:560px){
  .ldr-main{--u:.8px;width:100%;height:440px}
  .l-side{width:56px;padding:12px 7px}
  .l-brand{justify-content:center;padding:0}
  .l-brand b,.l-side nav span,.l-user-text,.l-bottom .l-ghost{display:none}
  .ldr .l-side nav button{justify-content:center;padding:0}
  .l-user{justify-content:center;height:auto;margin:0;padding:0;border:0;background:none}
  .l-content{padding:34px 12px 12px}
  .l-license{padding:0 12px}
  .l-license>div{padding:6px 0}
}

/* hero staging */
.stage{position:relative}
.stage-glow{position:absolute;left:8%;right:8%;bottom:-24px;height:56px;border-radius:50%;background:rgba(112,80,240,.38);filter:blur(34px);animation:breathe 6s ease-in-out infinite}
.stage [data-loader]{position:relative}
