:root {
    color-scheme: dark;

    --background: #080a0f;
    --surface: #10131a;
    --surface-hover: #151923;

    --border: rgba(255, 255, 255, 0.08);

    --text: #f5f7fa;
    --muted: #89909d;

    --green: #54d98c;
    --green-soft: rgba(84, 217, 140, 0.12);

    --red: #ff6b6b;
    --red-soft: rgba(255, 107, 107, 0.12);

    --yellow: #f3c969;
    --yellow-soft: rgba(243, 201, 105, 0.12);
}


* {
    box-sizing: border-box;
}


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


body {
    background:
        radial-gradient(
            circle at 30% -10%,
            rgba(104, 110, 255, 0.09),
            transparent 40%
        ),
        var(--background);

    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 16px;
}


.page {
    width: min(960px, calc(100% - 40px));

    margin: 0 auto;

    padding:
        48px 0
        32px;
}


.header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 24px;

    padding-bottom: 56px;
}


.brand {
    display: flex;

    align-items: center;

    gap: 14px;
}


.brand-mark {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.04);

    font-size: 19px;
    font-weight: 700;
}


.brand-name {
    font-size: 15px;
    font-weight: 700;

    letter-spacing: 0.12em;
}


.brand-subtitle {
    margin-top: 3px;

    color: var(--muted);

    font-size: 13px;
}


.overall {
    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        9px
        13px;

    border: 1px solid var(--border);
    border-radius: 999px;

    font-size: 13px;
    font-weight: 600;
}


.status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: currentColor;
}


.overall.operational {
    color: var(--green);
    background: var(--green-soft);
}


.overall.degraded {
    color: var(--red);
    background: var(--red-soft);
}


.overall.checking {
    color: var(--yellow);
    background: var(--yellow-soft);
}


.hero {
    max-width: 650px;

    margin-bottom: 42px;
}


.eyebrow {
    margin: 0 0 12px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.15em;
}


h1 {
    margin: 0;

    font-size:
        clamp(
            36px,
            6vw,
            58px
        );

    line-height: 1.05;

    letter-spacing: -0.045em;
}


.intro {
    margin:
        20px
        0 0;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.6;
}


.services {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 12px;
}


.service {
    display: flex;

    align-items: center;
    justify-content: space-between;

    min-height: 78px;

    padding:
        18px
        20px;

    border: 1px solid var(--border);
    border-radius: 15px;

    background: var(--surface);

    transition:
        background 140ms ease,
        border-color 140ms ease;
}


.service:hover {
    background: var(--surface-hover);
}


.service-info {
    min-width: 0;
}


.service-name {
    font-size: 15px;
    font-weight: 600;
}


.service-category {
    margin-top: 5px;

    color: var(--muted);

    font-size: 12px;
}


.service-status {
    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 12px;
    font-weight: 600;
}


.service-status.operational {
    color: var(--green);
}


.service-status.unavailable {
    color: var(--red);
}


.footer {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-top: 42px;

    padding-top: 22px;

    border-top: 1px solid var(--border);

    color: var(--muted);

    font-size: 12px;
}


@media (max-width: 680px) {

    .page {
        width: min(100% - 28px, 960px);

        padding-top: 28px;
    }


    .header {
        align-items: flex-start;
        flex-direction: column;

        padding-bottom: 44px;
    }


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


    .footer {
        flex-direction: column;
    }

}