:root {
    --bg: #1f2124;
    --panel: #26282c;
    --panel-2: #2e3136;
    --text: #d7d9de;
    --muted: #aeb3bc;
    --accent: #5fb3ff;
    --accent-2: #ff5f78;
    --outline: #3a3e45;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .03);
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

/* add/replace near the top of your CSS */
html,
body {
    height: 100%
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
    line-height: 1.45;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

/* page shell */
.wrap {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
    width: 100%;
}

header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
}

.logo {
    color: #ff5e5e;
    font-family: monospace;
    font-size: 28pt;
    margin: 0.5em 0;
}

.logo-web {
    color: #2d73ff;
}

.logo-itor {
    color: #a3a3a3;
}

.logo-cursor {
    color: #a3a3a3;
}

.tagline {
    max-width: 900px;
    color: var(--muted);
    font-size: 22px;
}

/* layout */
.grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 16px;
    align-items: stretch;
}

/* left menu */
.menu {
    background: var(--panel);
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}

    .menu button {
        appearance: none;
        width: 100%;
        border: 1px solid var(--outline);
        background: linear-gradient(#2a2d32, #26292e);
        color: var(--text);
        padding: 22px 18px;
        border-radius: 10px;
        font-size: 20px;
        text-align: left;
        cursor: pointer;
        transition: transform .15s ease-out, background .2s, border-color .2s, box-shadow .2s;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
    }

        .menu button:hover,
        .menu button[aria-current="true"] {
            background: linear-gradient(#343941, #2b2f36);
            border-color: #4b5059;
            box-shadow: 0 10px 20px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .05);
            transform: translateY(-1px);
        }

        .menu button:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 3px;
        }

    .menu small {
        display: block;
        color: var(--muted);
        margin-top: 4px;
        font-size: 14px;
    }

/* content panel */
.panel {
    background: var(--panel);
    border: 1px solid var(--outline);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    overflow: hidden;
    position: relative;
}

    .panel::after {
        /* subtle inner frame for depth */
        content: "";
        position: absolute;
        inset: 0;
        border-radius: var(--radius);
        box-shadow: inset 0 30px 60px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(255, 255, 255, .02);
        pointer-events: none;
    }

.h1 {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: .4px;
    color: #dfe3ea;
    margin: 0 0 10px;
}

.desc {
    font-size: 22px;
    color: var(--muted);
    max-width: 950px;
}

.hero {
    margin: 28px 0;
    height: 260px;
    border-radius: 10px;
    border: 1px solid #2d73ff;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03), 0 10px 30px rgba(0, 0, 0, .35);
}

    .hero span {
        opacity: .25;
        font-size: 56px;
        font-weight: 800;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .hero img {
        object-fit: scale-down;
        background: var(--bg);
        width: 100%;
        height: -webkit-fill-available;
        border-radius: 10px;
    }

.cta {
    margin-top: 10px;
    font-size: 22px;
    color: var(--muted);
}

    .cta a {
        color: #cfe7ff;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

        .cta a:hover {
            color: #ffffff;
        }

/* sticky footer */
footer.site-footer {
    margin-top: auto;
    /* push footer to the bottom when content is short */
    border-top: 1px solid var(--outline);
    background: linear-gradient(#222427, #1e2023);
    color: var(--muted);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .03);
}

footer .foot-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-brand {
    font-weight: 700;
    color: #dfe3ea;
}

.footer-spacer {
    flex: 1 1 auto;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

    .footer-links a {
        color: #cfe7ff;
        text-decoration: none;
        border-bottom: 1px dashed rgba(207, 231, 255, .35);
        padding-bottom: 2px;
        font-size: 14px;
    }

        .footer-links a:hover {
            color: #ffffff;
            border-bottom-color: #fff;
        }

.footer-copy {
    font-size: 14px;
    opacity: .85;
}

/* Optional: make footer always visible (fixed). Add class 'is-fixed' to footer to enable. */
footer.site-footer.is-fixed {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
}

/* prevent overlap */
body:has(footer.site-footer.is-fixed) .wrap {
    padding-bottom: 150px;
}

#footer-logo {
    font-family: monospace;
    color: #ff5e5e;
    font-size: 18px;
}

    #footer-logo .web {
        color: #2d73ff;
    }

    #footer-logo .itor {
        color: #a3a3a3;
    }

/* responsive */
@media (max-width: 920px) {
    body {
        line-height: 1.1;
    }

    .h1 {
        font-size: 36px;
    }

    .tagline {
        font-size: 20px;
    }

    .desc {
        font-size: 18px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .menu {
        position: sticky;
        top: 0;
        z-index: 5;
    }

        .menu button {
            padding: 8px;
        }

    .footer-links {
        gap: 7px;
    }

    footer .foot-wrap {
        padding: 5px 24px;
    }
}

@media (max-width: 600px) {
    .menu button {
        font-size: 16px;
    }

    .grid button small {
        display: none;
    }
}
