:root {
    color-scheme: dark;

    --background: #080b14;
    --surface: rgba(17, 23, 39, 0.78);
    --surface-strong: #111827;
    --border: rgba(148, 163, 184, 0.16);
    --text: #f8fafc;
    --muted: #94a3b8;
    --accent: #7c9cff;
    --accent-light: #a8baff;
    --green: #39d98a;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;

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

    color: var(--text);
    background:
        radial-gradient(circle at 14% 0%, rgba(68, 93, 190, 0.25), transparent 34rem),
        radial-gradient(circle at 88% 18%, rgba(58, 104, 184, 0.15), transparent 30rem),
        var(--background);
}

.background-grid {
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;

    opacity: 0.32;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);

    background-size: 38px 38px;

    mask-image:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
}

.topbar {
    width: min(1160px, calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;

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

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

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

    color: inherit;
    text-decoration: none;
}

.brand-mark {
    width: 39px;
    height: 39px;
    border-radius: 12px;

    display: grid;
    place-items: center;

    background:
        linear-gradient(145deg, #a9bbff, #617ee8);

    box-shadow:
        0 10px 30px rgba(93, 120, 230, 0.32);
}

.brand-mark span {
    width: 0;
    height: 0;
    margin-left: 3px;

    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid #08101f;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text strong {
    letter-spacing: 0.14em;
    font-size: 15px;
}

.brand-text small {
    margin-top: 5px;

    color: var(--muted);
    font-size: 9px;
    letter-spacing: 0.17em;
}

.header-status,
.state {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
}

.status-dot,
.state i {
    width: 8px;
    height: 8px;
    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 0 5px rgba(57, 217, 138, 0.1),
        0 0 18px rgba(57, 217, 138, 0.55);
}

.container {
    width: min(1040px, calc(100% - 40px));
    margin: 0 auto;
    padding: 96px 0 48px;
}

.hero {
    max-width: 800px;
}

.eyebrow,
.card-label {
    color: var(--accent-light);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.17em;
}

h1 {
    max-width: 800px;
    margin: 20px 0 18px;

    font-size: clamp(46px, 7vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero-text {
    max-width: 700px;
    margin: 0;

    color: #aab5c7;
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.65;
}

.overall-status {
    max-width: 620px;
    margin-top: 42px;
    padding: 19px 21px;

    display: flex;
    align-items: center;
    gap: 16px;

    border: 1px solid rgba(57, 217, 138, 0.2);
    border-radius: 16px;

    background:
        linear-gradient(90deg, rgba(57, 217, 138, 0.08), rgba(57, 217, 138, 0.02));
}

.overall-status strong {
    display: block;
    margin-bottom: 4px;
}

.overall-status p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.overall-icon {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: rgba(57, 217, 138, 0.12);
}

.overall-icon span {
    width: 11px;
    height: 6px;

    transform: rotate(-45deg) translateY(-1px);

    border-left: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
}

.status-grid {
    margin-top: 84px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.status-card,
.details,
.notice {
    border: 1px solid var(--border);
    background: var(--surface);

    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.18);

    backdrop-filter: blur(18px);
}

.status-card {
    min-height: 145px;
    padding: 23px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border-radius: 18px;
}

.status-card h2,
.details h2 {
    margin: 8px 0 0;
    font-size: 19px;
    letter-spacing: -0.025em;
}

.state {
    color: var(--green);
}

.state i {
    width: 7px;
    height: 7px;
}

.details {
    margin-top: 14px;
    padding: 26px;

    border-radius: 20px;
}

.details-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

button {
    padding: 10px 14px;

    border: 1px solid rgba(124, 156, 255, 0.26);
    border-radius: 10px;

    color: #dbe4ff;
    background: rgba(124, 156, 255, 0.09);

    font: inherit;
    font-size: 12px;
    font-weight: 650;

    cursor: pointer;
}

button:hover {
    background: rgba(124, 156, 255, 0.16);
}

.details-list {
    margin: 27px 0 0;

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

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

.details-list div {
    min-height: 92px;
    padding: 18px;

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

.details-list dt {
    margin-bottom: 9px;

    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.details-list dd {
    margin: 0;
    overflow-wrap: anywhere;

    color: #e2e8f0;
    font-size: 14px;
    font-weight: 600;
}

.notice {
    margin-top: 14px;
    padding: 18px 20px;

    display: flex;
    align-items: flex-start;
    gap: 13px;

    border-radius: 15px;
}

.notice-icon {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: var(--accent-light);
    background: rgba(124, 156, 255, 0.12);

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

.notice p {
    margin: 1px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

footer {
    width: min(1040px, calc(100% - 40px));
    margin: 0 auto;
    padding: 20px 0 38px;

    display: flex;
    align-items: center;
    gap: 11px;

    color: #657086;
    font-size: 11px;
    letter-spacing: 0.04em;
}

.footer-separator {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #485266;
}

@media (max-width: 720px) {
    .topbar {
        min-height: 72px;
    }

    .header-status {
        font-size: 0;
    }

    .container {
        padding-top: 64px;
    }

    .status-grid,
    .details-list {
        grid-template-columns: 1fr;
    }

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

    h1 {
        font-size: clamp(43px, 14vw, 64px);
    }

    footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-separator {
        display: none;
    }
}
