*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Segoe UI',system-ui,-apple-system,Roboto,Helvetica,Arial,sans-serif;
-webkit-font-smoothing:antialiased;min-height:100vh}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button{font-family:inherit;cursor:pointer;border:none}
ul{list-style:none}

body{background:#0f172a}
.app{display:flex;min-height:100vh}
.side{width:250px;background:#1e293b;padding:24px 16px;display:flex;flex-direction:column;position:relative;transition:width .4s}
.side.closed{width:76px}
.brand{display:flex;align-items:center;gap:12px;margin-bottom:34px;padding:0 10px}
.logo{color:#6366f1;font-size:1.8rem}.name{color:#fff;font-weight:800;font-size:1.2rem;white-space:nowrap}
.side.closed .name,.side.closed .t{opacity:0;width:0;overflow:hidden}
nav a{display:flex;align-items:center;gap:14px;padding:14px;border-radius:12px;color:#94a3b8;margin-bottom:6px;cursor:pointer;transition:.25s;white-space:nowrap}
nav a:hover,nav a.active{background:#6366f1;color:#fff}
.i{font-size:1.2rem;min-width:24px;text-align:center}
.collapse{position:absolute;top:30px;right:-14px;width:28px;height:28px;border-radius:50%;background:#6366f1;color:#fff;transition:.4s}
.side.closed .collapse{transform:rotate(180deg)}
.main{flex:1;padding:60px}
.main h1{color:#fff;font-size:2.4rem;margin-bottom:14px}
.main p{color:#94a3b8;line-height:1.8;max-width:500px}