* {
    box-sizing: border-box;
}

:root {
    color-scheme: dark;

    --bg: #0b0f14;
    --panel: #111720;
    --panel-hover: #151c26;

    --border: #202a36;

    --text: #f1f5f9;
    --muted: #8c99a8;
    --muted-2: #667382;

    --accent: #69d18b;
    --accent-soft: rgba(105, 209, 139, 0.11);
    --accent-border: rgba(105, 209, 139, 0.25);
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% -15%,
            rgba(105, 209, 139, 0.07),
            transparent 34rem
        ),
        var(--bg);

    color: var(--text);

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

    line-height: 1.5;
}


a {
    color: inherit;
    text-decoration: none;
}


.page {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
}


/* HEADER */

.header {
    height: 82px;

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

    border-bottom: 1px solid var(--border);
}


.brand {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    font-size: 15px;
    font-weight: 750;

    letter-spacing: 0.16em;
}


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

    display: grid;
    place-items: center;

    border: 1px solid var(--accent-border);
    border-radius: 8px;

    background: var(--accent-soft);

    color: var(--accent);

    font-size: 14px;
    letter-spacing: 0;
}


.nav {
    display: flex;
    gap: 26px;

    color: var(--muted);

    font-size: 14px;
}


.nav a {
    position: relative;

    padding: 31px 0;

    transition: color 0.2s ease;
}


.nav a:hover,
.nav a.active {
    color: var(--text);
}


.nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 2px;

    background: var(--accent);
}


/* HERO */

.hero {
    padding: 92px 0 55px;

    max-width: 760px;
}


.eyebrow {
    color: var(--accent);

    font-size: 11px;
    font-weight: 750;

    letter-spacing: 0.18em;
}


.pulse {
    display: inline-block;

    width: 7px;
    height: 7px;

    margin-right: 7px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 0 4px var(--accent-soft);

    vertical-align: 1px;
}


.hero h1 {
    margin: 17px 0 18px;

    font-size: clamp(48px, 8vw, 82px);

    line-height: 0.98;

    letter-spacing: -0.055em;

    font-weight: 720;
}


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


.intro {
    max-width: 580px;

    margin: 0;

    color: var(--muted);

    font-size: 17px;
}


.updated {
    margin-top: 22px;

    color: var(--muted-2);

    font-size: 12px;
}


.updated strong {
    color: var(--muted);

    font-weight: 600;
}


/* STATUS */

.status-card {
    display: flex;
    align-items: center;

    gap: 18px;

    padding: 22px 24px;

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

    background: var(--accent-soft);
}


.status-icon {
    flex: 0 0 auto;

    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(105, 209, 139, 0.16);

    color: var(--accent);

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


.status-title {
    font-size: 15px;
    font-weight: 700;
}


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

    color: var(--muted);

    font-size: 13px;
}


.status-badge {
    margin-left: auto;

    padding: 6px 10px;

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

    color: var(--accent);

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


/* SECTIONS */

.section {
    padding-top: 82px;
}


.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;

    margin-bottom: 20px;
}


.section h2 {
    margin: 7px 0 0;

    font-size: 25px;

    letter-spacing: -0.025em;
}


.timestamp {
    color: var(--muted-2);

    font-size: 12px;
}


/* SERVICES */

.services {
    display: grid;

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

    gap: 10px;
}


.service {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    min-height: 94px;

    padding: 19px 20px;

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

    background: var(--panel);

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}


.service:hover {
    border-color: #2b3745;

    background: var(--panel-hover);
}


.service-info {
    display: flex;
    align-items: center;

    gap: 13px;
}


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

    flex: 0 0 auto;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 0 4px var(--accent-soft);
}


.service h3 {
    margin: 0;

    font-size: 14px;
    font-weight: 650;
}


.service p {
    margin: 3px 0 0;

    color: var(--muted-2);

    font-size: 12px;
}


.service-meta {
    text-align: right;

    white-space: nowrap;
}


.service-meta span {
    display: block;

    color: var(--muted);

    font-size: 12px;
}


.service-meta strong {
    display: block;

    margin-top: 2px;

    color: var(--accent);

    font-size: 11px;

    font-weight: 650;
}


/* INCIDENTS */

.incident-section {
    padding-bottom: 85px;
}


.incident {
    display: grid;

    grid-template-columns: 52px 1fr auto;

    align-items: center;

    gap: 18px;

    padding: 20px 0;

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


.incident-date {
    width: 44px;

    text-align: center;

    line-height: 1;
}


.incident-date span {
    display: block;

    color: var(--muted-2);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 0.12em;
}


.incident-date strong {
    display: block;

    margin-top: 5px;

    font-size: 21px;
}


.incident-body h3 {
    margin: 0;

    font-size: 14px;
}


.incident-body p {
    margin: 4px 0 0;

    color: var(--muted);

    font-size: 12px;
}


.resolved {
    padding: 5px 9px;

    border-radius: 999px;

    background: var(--accent-soft);

    color: var(--accent);

    font-size: 10px;

    font-weight: 700;
}


/* FOOTER */

.footer {
    display: flex;

    justify-content: space-between;

    padding: 24px 0 32px;

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

    color: var(--muted-2);

    font-size: 11px;
}


/* MOBILE */

@media (max-width: 680px) {

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


    .header {
        height: 68px;
    }


    .nav {
        gap: 15px;

        font-size: 12px;
    }


    .nav a {
        padding: 24px 0;
    }


    .hero {
        padding: 68px 0 42px;
    }


    .hero h1 {
        font-size: clamp(46px, 14vw, 68px);
    }


    .status-card {
        align-items: flex-start;

        flex-wrap: wrap;
    }


    .status-badge {
        margin-left: 58px;

        margin-top: -6px;
    }


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


    .section {
        padding-top: 62px;
    }


    .incident {
        grid-template-columns: 44px 1fr;
    }


    .resolved {
        grid-column: 2;

        justify-self: start;

        margin-top: -8px;
    }


    .footer {
        gap: 15px;

        flex-direction: column;
    }
}
