:root {
    color-scheme: dark;
    --bg: #191d21;
    --panel: #252b31;
    --text: #f1f1f1;
    --muted: #aab4be;
    --button: #f4f4f4;
    --button-text: #20262c;
    --line: rgba(255, 255, 255, 0.14);
    --cyan: #49c6d8;
    --amber: #f2b84b;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    background: var(--bg);
    font-family: Arial, Helvetica, sans-serif;
}

.home {
    position: relative;
    display: grid;
    place-items: center;
    width: 100vw;
    min-height: 100vh;
    padding: 48px 24px;
    background:
        linear-gradient(135deg, rgba(73, 198, 216, 0.12), transparent 34%),
        linear-gradient(315deg, rgba(242, 184, 75, 0.1), transparent 30%),
        var(--bg);
}

.ambient-grid {
    position: absolute;
    inset: 0;
    opacity: 0.24;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent);
}

.menu {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 38px;
    width: min(1080px, calc(100vw - 48px));
}

.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.brand-mark {
    position: relative;
    width: 72px;
    height: 72px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
}

.brand-mark span {
    position: absolute;
    display: block;
    height: 3px;
    border-radius: 999px;
    background: var(--cyan);
}

.brand-mark span:nth-child(1) {
    left: 16px;
    top: 24px;
    width: 38px;
}

.brand-mark span:nth-child(2) {
    left: 16px;
    top: 35px;
    width: 26px;
    background: var(--amber);
}

.brand-mark span:nth-child(3) {
    left: 16px;
    top: 46px;
    width: 46px;
}

.brand h1 {
    margin: 0;
    color: var(--text);
    font-size: 56px;
    font-weight: 700;
}

.brand p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 18px;
    letter-spacing: 0;
}

.menu-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.menu-actions a {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 12px;
    min-height: 220px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(37, 43, 49, 0.88);
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
    transition: border-color 120ms ease, background-color 120ms ease, transform 120ms ease;
}

.menu-actions a:hover {
    border-color: rgba(73, 198, 216, 0.72);
    background: rgba(44, 52, 59, 0.96);
    transform: translateY(-2px);
}

.menu-actions a:active {
    transform: translateY(0);
}

.mode-title {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
}

.mode-copy {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.45;
}

.mode-action {
    display: inline-grid;
    place-items: center;
    justify-self: start;
    min-width: 112px;
    height: 42px;
    padding: 0 18px;
    border-radius: 2px;
    background: var(--button);
    color: var(--button-text);
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .brand {
        justify-content: flex-start;
    }

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

    .menu-actions a {
        min-height: 168px;
    }
}
