
:root {
    color-scheme: dark;
    --bg: #0a0d12;
    --panel: #11161e;
    --panel-light: #171e28;
    --border: #252e3b;
    --text: #edf2f8;
    --muted: #8793a3;
    --accent: #f0a43b;
    --green: #64d7a0;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 250px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    background: #0d1118;
    border-right: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 55px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-weight: 900;
    font-size: 18px;
    transform: skew(-5deg);
}

.brand strong,
.brand small {
    display: block;
    letter-spacing: 2px;
}

.brand strong {
    font-size: 14px;
}

.brand small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
}

.nav-label,
.eyebrow {
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-label {
    padding: 0 12px 14px;
}

.nav-link {
    margin: 3px 0;
    padding: 13px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #a9b3c1;
    transition: background .2s, color .2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
    background: var(--panel-light);
    border-color: var(--border);
}

.nav-link.active {
    box-shadow: inset 3px 0 var(--accent);
}

.sidebar-bottom {
    margin-top: auto;
    padding: 16px 10px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

.sidebar-bottom small {
    display: block;
    margin: 10px 0 0 17px;
    color: #667283;
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px #64d7a044;
}

.main-content {
    max-width: 1600px;
    margin-left: 250px;
    padding: 34px 42px;
}

.topbar,
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

h1 {
    margin: 8px 0 0;
    font-size: 27px;
    letter-spacing: -.8px;
}

.environment {
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 1px;
}

.welcome {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 310px;
    margin-top: 35px;
    padding: 38px 42px;
    border: 1px solid #34313a;
    border-radius: 10px;
    background:
        radial-gradient(ellipse at 82% 50%, #e59a3015, transparent 45%),
        linear-gradient(115deg, #171c25, #10141c);
}

.welcome h2 {
    margin: 18px 0 12px;
    font-size: clamp(30px, 3vw, 45px);
    line-height: 1.13;
    letter-spacing: -1.5px;
}

.welcome h2 span {
    color: var(--accent);
}

.welcome p {
    max-width: 470px;
    color: #9da8b7;
    line-height: 1.8;
}

.welcome-badge {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 12px;
    border: 1px solid #35443f;
    border-radius: 5px;
    color: #b8dccc;
    font-size: 11px;
}

.hero-symbol {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 230px;
    height: 230px;
    margin: 0 20px;
    border: 1px solid #e0a13b35;
    border-radius: 50%;
}

.symbol-ring {
    position: absolute;
    inset: 18px;
    border: 1px dashed #e0a13b55;
    border-radius: 50%;
}

.hero-symbol > span {
    color: #f0a43b;
    font-size: 66px;
    font-weight: 900;
    letter-spacing: -6px;
}

.hero-symbol small {
    position: absolute;
    bottom: 37px;
    color: #8e7857;
    font-size: 8px;
    letter-spacing: 1.5px;
}

.section-heading {
    margin: 38px 0 18px;
}

.section-heading h2 {
    margin: 8px 0 0;
    font-size: 21px;
}

.section-note {
    color: var(--muted);
    font-size: 11px;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.module-card {
    min-height: 210px;
    padding: 19px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--panel);
    transition: transform .2s, border-color .2s;
}

.module-card:hover {
    transform: translateY(-3px);
    border-color: #6c5638;
}

.card-number {
    color: #718094;
    font-size: 9px;
    letter-spacing: 1px;
}

.card-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-top: 24px;
    border: 1px solid #5b4529;
    border-radius: 5px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.module-card h3 {
    margin: 15px 0 8px;
    font-size: 16px;
}

.module-card p {
    min-height: 38px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.card-status {
    display: block;
    margin-top: 17px;
    color: #c59a5c;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 38px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    color: #687486;
    font-size: 9px;
    letter-spacing: 1.3px;
}

@media (max-width: 1100px) {
    .module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-symbol {
        flex-basis: 170px;
        height: 170px;
    }

    .hero-symbol > span {
        font-size: 50px;
    }
}

@media (max-width: 700px) {
    .sidebar {
        position: static;
        width: 100%;
        padding: 18px;
    }

    .brand {
        margin-bottom: 20px;
    }

    .sidebar-bottom {
        display: none;
    }

    .main-content {
        margin-left: 0;
        padding: 24px 18px;
    }

    .welcome {
        padding: 25px;
    }

    .hero-symbol {
        display: none;
    }

    .module-grid {
        grid-template-columns: 1fr;
    }

    .section-note {
        display: none;
    }

    footer {
        flex-direction: column;
    }
}
