:root {
    color-scheme: dark;
    --bg: #071118;
    --surface: #0e1a23;
    --surface-raised: #13232e;
    --text: #eef7f8;
    --muted: #9eb0b7;
    --accent: #62e1c4;
    --accent-soft: rgba(98, 225, 196, .12);
    --line: rgba(255, 255, 255, .09);
    --shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 5%, rgba(98,225,196,.10), transparent 32rem),
        radial-gradient(circle at 90% 8%, rgba(91,144,255,.08), transparent 30rem),
        var(--bg);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

a {
    color: inherit;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-symbol {
    position: relative;
    width: 46px;
    height: 46px;
    border: 2px solid var(--accent);
    border-radius: 12px;
    box-shadow:
        0 0 24px rgba(98,225,196,.10),
        inset 0 0 20px rgba(98,225,196,.06);
    transform: rotate(-4deg);
}

.brand-symbol::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 10px;
    width: 20px;
    height: 3px;
    border-radius: 3px;
    background: var(--accent);
    box-shadow:
        0 8px 0 var(--accent),
        0 16px 0 var(--accent);
}

.brand-symbol::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 6px;
    width: 3px;
    height: 31px;
    border-radius: 3px;
    background: rgba(98,225,196,.30);
}

.wordmark {
    font-size: 1.72rem;
    font-weight: 780;
    letter-spacing: -.055em;
}

.wordmark span {
    color: var(--accent);
}

.shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 52px 0 80px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.signout {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 9px 14px;
    color: var(--muted);
    text-decoration: none;
    font-size: .9rem;
}

.signout:hover {
    border-color: rgba(255,255,255,.22);
    color: var(--text);
}

.hero {
    margin-top: 76px;
    max-width: 760px;
}

.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .73rem;
    font-weight: 800;
}

.hero h1 {
    margin: 14px 0 21px;
    font-size: clamp(2.8rem, 7vw, 5.7rem);
    line-height: .96;
    letter-spacing: -.07em;
}

.lead {
    margin: 0;
    max-width: 650px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.72;
}

.apps-heading {
    margin: 62px 0 17px;
    color: #c6d4d9;
    font-size: .83rem;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-weight: 750;
}

.apps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(305px, 1fr));
    gap: 21px;
}

.app-card {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: 21px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            transparent 52%
        ),
        var(--surface);
    box-shadow: var(--shadow);
    color: var(--text);
    text-decoration: none;
    transition:
        transform .18s ease,
        border-color .18s ease,
        background-color .18s ease;
}

.app-card:hover {
    transform: translateY(-4px);
    border-color: rgba(98,225,196,.38);
    background-color: var(--surface-raised);
}

.app-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background:
        linear-gradient(135deg, #62e1c4, #98f4df);
    color: #051714;
    font-size: 1.32rem;
    font-weight: 850;
    letter-spacing: -.06em;
    box-shadow: 0 12px 32px rgba(98,225,196,.16);
}

.app-card h2 {
    margin: 25px 0 5px;
    font-size: 1.55rem;
    letter-spacing: -.035em;
}

.app-type {
    color: var(--accent);
    font-size: .81rem;
    font-weight: 750;
}

.app-description {
    margin: 18px 0 28px;
    color: var(--muted);
    line-height: 1.65;
}

.open-app {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 750;
}

.open-app span:last-child {
    font-size: 1.3rem;
    color: var(--accent);
}

/* Login */

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 20px;
}

.login-panel {
    width: min(440px, 100%);
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: rgba(14,26,35,.96);
    box-shadow: var(--shadow);
}

.login-panel .brand {
    margin-bottom: 39px;
}

.login-panel h1 {
    margin: 0 0 9px;
    font-size: 2.05rem;
    letter-spacing: -.045em;
}

.login-intro {
    margin: 0 0 29px;
    color: var(--muted);
    line-height: 1.6;
}

label {
    display: block;
    margin: 18px 0 8px;
    color: #cad7db;
    font-size: .88rem;
    font-weight: 700;
}

input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--line);
    border-radius: 11px;
    outline: none;
    background: #09141b;
    color: var(--text);
    font: inherit;
}

input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

button {
    width: 100%;
    margin-top: 26px;
    padding: 14px 17px;
    border: 0;
    border-radius: 11px;
    background: var(--accent);
    color: #041612;
    font: inherit;
    font-weight: 820;
    cursor: pointer;
}

button:hover {
    filter: brightness(1.05);
}

.private-note {
    margin: 20px 0 0;
    text-align: center;
    color: #71848b;
    font-size: .78rem;
}

@media (max-width: 600px) {
    .shell {
        width: min(100% - 28px, 1120px);
        padding-top: 30px;
    }

    .hero {
        margin-top: 55px;
    }

    .login-panel {
        padding: 29px 24px;
    }

    .app-card {
        min-height: 300px;
    }
}
