:root {
    color-scheme: dark;
    --status-background: #08080c;
    --status-surface: #0d0d12;
    --status-surface-raised: #111117;
    --status-surface-soft: #15151c;
    --status-border: #202028;
    --status-border-strong: #2b2b36;
    --status-text: #f5f5f8;
    --status-text-soft: #b7b7c2;
    --status-text-muted: #747481;
    --status-purple: #8b5cf6;
    --status-blue: #60a5fa;
    --status-operational: #34d399;
    --status-degraded: #fbbf24;
    --status-partial: #fb923c;
    --status-outage: #f87171;
    --status-maintenance: #60a5fa;
    --status-unknown: #62626f;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(
            180deg,
            #08080c 0%,
            #09090e 46%,
            #08080c 100%
        );
    color: var(--status-text);
    font-family:
        "Poppins",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--status-blue);
    outline-offset: 3px;
}

.status-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.status-background::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.014) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.014) 1px,
            transparent 1px
        );
    background-size: 80px 80px;
    mask-image:
        linear-gradient(
            to bottom,
            #000 0%,
            transparent 78%
        );
    content: "";
}

.status-background > span {
    position: absolute;
    border-radius: 999px;
    filter: blur(130px);
    opacity: 0.13;
}

.status-background > span:first-child {
    top: -280px;
    left: 6%;
    width: 650px;
    height: 650px;
    background: var(--status-blue);
}

.status-background > span:last-child {
    top: 70px;
    right: -260px;
    width: 680px;
    height: 680px;
    background: var(--status-purple);
}

.status-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(43, 43, 54, 0.8);
    background: rgba(8, 8, 12, 0.84);
    backdrop-filter: blur(24px);
}

.status-header-inner {
    display: flex;
    width: min(1320px, calc(100% - 64px));
    min-height: 80px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.status-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    color: var(--status-text);
    text-decoration: none;
}

.status-brand img {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    object-fit: contain;
}

.status-brand > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 1px;
}

.status-brand strong {
    overflow: hidden;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -0.015em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-brand small {
    color: var(--status-text-muted);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.status-header nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.status-header nav > a {
    color: #9696a1;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: color 160ms ease;
}

.status-header nav > a:hover {
    color: #f0f0f4;
}

.status-header nav > button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid var(--status-border-strong);
    border-radius: 6px;
    background: #111117;
    color: #c2c2cb;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        color 160ms ease;
}

.status-header nav > button:hover {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.09);
    color: #ddd6fe;
}

.status-header nav > button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.status-header nav > button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.status-header nav > button.status-refreshing svg {
    animation: status-spin 700ms linear infinite;
}

.status-main {
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;
    padding: 92px 0 84px;
}

.status-introduction {
    max-width: 820px;
    margin-bottom: 42px;
}

.status-introduction > span,
.status-section-heading > div > span {
    display: block;
    margin-bottom: 9px;
    color: #a78bfa;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.status-introduction h1 {
    margin: 0;
    color: #fafafd;
    font-size: clamp(44px, 5vw, 64px);
    font-weight: 650;
    letter-spacing: -0.058em;
    line-height: 1.04;
}

.status-introduction p {
    max-width: 720px;
    margin: 18px 0 0;
    color: #92929e;
    font-size: 15px;
    line-height: 1.8;
}

.status-overview {
    position: relative;
    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;
    min-height: 154px;
    align-items: center;
    gap: 24px;
    padding: 31px 34px;
    overflow: hidden;
    border: 1px solid var(--status-border);
    background:
        linear-gradient(
            112deg,
            rgba(139, 92, 246, 0.065),
            transparent 48%
        ),
        var(--status-surface);
}

.status-overview::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--status-unknown);
    content: "";
}

.status-overview::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 260px;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--status-purple)
        );
    content: "";
    opacity: 0.65;
}

.status-overview-indicator {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(98, 98, 111, 0.34);
    border-radius: 50%;
    background: rgba(98, 98, 111, 0.08);
}

.status-overview-indicator > span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--status-unknown);
    box-shadow: 0 0 0 6px rgba(98, 98, 111, 0.1);
}

.status-overview-copy {
    min-width: 0;
}

.status-overview-copy > span {
    display: block;
    margin-bottom: 4px;
    color: var(--status-text-muted);
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-overview-copy h2 {
    margin: 0;
    color: #f1f1f5;
    font-size: 24px;
    font-weight: 620;
    letter-spacing: -0.032em;
}

.status-overview-copy p {
    margin: 7px 0 0;
    color: #858591;
    font-size: 12px;
}

.status-overview-time {
    display: flex;
    min-width: 190px;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    padding-left: 28px;
    border-left: 1px solid var(--status-border);
}

.status-overview-time span {
    color: #686875;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.status-overview-time strong {
    color: #b8b8c2;
    font-size: 12px;
    font-weight: 550;
}

.status-overview[data-overall-status="operational"] {
    border-color: rgba(52, 211, 153, 0.3);
}

.status-overview[data-overall-status="operational"]::before {
    background: var(--status-operational);
}

.status-overview[data-overall-status="operational"]
.status-overview-indicator {
    border-color: rgba(52, 211, 153, 0.3);
    background: rgba(52, 211, 153, 0.08);
}

.status-overview[data-overall-status="operational"]
.status-overview-indicator > span {
    background: var(--status-operational);
    box-shadow:
        0 0 0 6px rgba(52, 211, 153, 0.11),
        0 0 24px rgba(52, 211, 153, 0.45);
}

.status-overview[data-overall-status="degraded"]::before {
    background: var(--status-degraded);
}

.status-overview[data-overall-status="degraded"]
.status-overview-indicator > span {
    background: var(--status-degraded);
    box-shadow:
        0 0 0 6px rgba(251, 191, 36, 0.1),
        0 0 24px rgba(251, 191, 36, 0.42);
}

.status-overview[data-overall-status="partial_outage"]::before {
    background: var(--status-partial);
}

.status-overview[data-overall-status="partial_outage"]
.status-overview-indicator > span {
    background: var(--status-partial);
    box-shadow:
        0 0 0 6px rgba(251, 146, 60, 0.1),
        0 0 24px rgba(251, 146, 60, 0.42);
}

.status-overview[data-overall-status="major_outage"]::before {
    background: var(--status-outage);
}

.status-overview[data-overall-status="major_outage"]
.status-overview-indicator > span {
    background: var(--status-outage);
    box-shadow:
        0 0 0 6px rgba(248, 113, 113, 0.1),
        0 0 24px rgba(248, 113, 113, 0.45);
}

.status-overview[data-overall-status="maintenance"]::before {
    background: var(--status-maintenance);
}

.status-overview[data-overall-status="maintenance"]
.status-overview-indicator > span {
    background: var(--status-maintenance);
    box-shadow:
        0 0 0 6px rgba(96, 165, 250, 0.1),
        0 0 24px rgba(96, 165, 250, 0.45);
}

.status-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 16px;
    border: 1px solid var(--status-border);
    background: rgba(13, 13, 18, 0.82);
}

.status-summary article {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 24px 27px;
}

.status-summary article + article {
    border-left: 1px solid var(--status-border);
}

.status-summary article > span {
    color: #858591;
    font-size: 10px;
    font-weight: 600;
}

.status-summary strong {
    margin-top: 6px;
    color: #f2f2f6;
    font-size: 24px;
    font-weight: 650;
    letter-spacing: -0.03em;
}

.status-summary small {
    margin-top: 2px;
    color: #62626f;
    font-size: 9px;
}

.status-section {
    margin-top: 72px;
}

.status-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 34px;
    margin-bottom: 22px;
}

.status-section-heading > div > span {
    margin-bottom: 4px;
}

.status-section-heading h2 {
    margin: 0;
    color: #f0f0f4;
    font-size: 28px;
    font-weight: 620;
    letter-spacing: -0.04em;
}

.status-section-heading > p {
    max-width: 460px;
    margin: 0;
    color: #767683;
    font-size: 12px;
    text-align: right;
}

.status-component-groups {
    display: grid;
    gap: 20px;
}

.status-component-group {
    overflow: hidden;
    border: 1px solid var(--status-border);
    background: var(--status-surface);
}

.status-component-group > header {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 26px;
    border-bottom: 1px solid var(--status-border);
    background: #0b0b10;
}

.status-component-group > header strong {
    color: #b6b6c0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.status-component-group > header span {
    color: #676773;
    font-size: 9px;
}

.status-component {
    padding: 26px;
}

.status-component + .status-component {
    border-top: 1px solid var(--status-border);
}

.status-component-main {
    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto
        minmax(124px, auto);
    align-items: center;
    gap: 16px;
}

.status-component-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--status-unknown);
}

.status-component-copy {
    min-width: 0;
}

.status-component-copy strong {
    display: block;
    overflow: hidden;
    color: #e2e2e7;
    font-size: 14px;
    font-weight: 620;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.status-component-copy p {
    margin: 3px 0 0;
    color: #747481;
    font-size: 10px;
}

.status-component-metrics {
    display: flex;
    align-items: center;
    gap: 30px;
}

.status-component-metric {
    display: flex;
    min-width: 92px;
    flex-direction: column;
    align-items: flex-end;
}

.status-component-metric span {
    color: #676773;
    font-size: 9px;
}

.status-component-metric strong {
    margin-top: 2px;
    color: #c0c0ca;
    font-size: 11px;
    font-weight: 650;
}

.status-component-state {
    color: var(--status-unknown);
    font-size: 10px;
    font-weight: 650;
    text-align: right;
}

.status-component[data-status="operational"]
.status-component-indicator {
    background: var(--status-operational);
    box-shadow: 0 0 14px rgba(52, 211, 153, 0.42);
}

.status-component[data-status="operational"]
.status-component-state {
    color: var(--status-operational);
}

.status-component[data-status="degraded"]
.status-component-indicator {
    background: var(--status-degraded);
}

.status-component[data-status="degraded"]
.status-component-state {
    color: var(--status-degraded);
}

.status-component[data-status="partial_outage"]
.status-component-indicator {
    background: var(--status-partial);
}

.status-component[data-status="partial_outage"]
.status-component-state {
    color: var(--status-partial);
}

.status-component[data-status="major_outage"]
.status-component-indicator {
    background: var(--status-outage);
}

.status-component[data-status="major_outage"]
.status-component-state {
    color: var(--status-outage);
}

.status-component[data-status="maintenance"]
.status-component-indicator {
    background: var(--status-maintenance);
}

.status-component[data-status="maintenance"]
.status-component-state {
    color: var(--status-maintenance);
}

.status-component-history {
    display: flex;
    margin-top: 24px;
    flex-direction: column;
    gap: 9px;
}

.status-component-history-bars {
    display: grid;
    grid-template-columns: repeat(90, minmax(3px, 1fr));
    gap: 3px;
    order: 1;
}

.status-history-day {
    position: relative;
    height: 36px;
    border-radius: 2px;
    background: #22222b;
    cursor: help;
    transition:
        filter 140ms ease,
        transform 140ms ease;
}

.status-history-day:hover {
    z-index: 2;
    filter: brightness(1.3);
    transform: scaleY(1.12);
}

.status-history-day[data-status="operational"] {
    background: var(--status-operational);
}

.status-history-day[data-status="degraded"] {
    background: var(--status-degraded);
}

.status-history-day[data-status="partial_outage"] {
    background: var(--status-partial);
}

.status-history-day[data-status="major_outage"] {
    background: var(--status-outage);
}

.status-history-day[data-status="maintenance"] {
    background: var(--status-maintenance);
}

.status-history-day[data-status="unknown"] {
    background: #22222b;
}

.status-component-history-legend {
    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;
    align-items: center;
    gap: 14px;
    order: 2;
    color: #62626f;
    font-size: 9px;
}

.status-component-history-legend::after {
    width: 100%;
    height: 1px;
    grid-column: 2;
    grid-row: 1;
    background: #25252e;
    content: "";
}

.status-component-history-legend span {
    grid-column: 1;
    grid-row: 1;
}

.status-component-history-legend small {
    grid-column: 3;
    grid-row: 1;
    font-size: inherit;
}

.status-empty {
    display: flex;
    min-height: 126px;
    align-items: center;
    gap: 17px;
    padding: 27px;
    border: 1px solid var(--status-border);
    background: var(--status-surface);
}

.status-empty-indicator {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--status-operational);
    box-shadow: 0 0 0 6px rgba(52, 211, 153, 0.09);
}

.status-empty strong {
    color: #dedee4;
    font-size: 13px;
    font-weight: 600;
}

.status-empty p {
    margin: 4px 0 0;
    color: #747481;
    font-size: 10px;
}

.status-incident-list,
.status-maintenance-list {
    display: grid;
    gap: 14px;
}

.status-incident,
.status-maintenance {
    overflow: hidden;
    border: 1px solid var(--status-border);
    background: var(--status-surface);
}

.status-incident > header,
.status-maintenance > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    padding: 24px 26px;
}

.status-incident > header h3,
.status-maintenance > header h3 {
    margin: 0;
    color: #e0e0e6;
    font-size: 15px;
    font-weight: 620;
}

.status-incident > header p,
.status-maintenance > header p {
    margin: 6px 0 0;
    color: #777784;
    font-size: 10px;
}

.status-incident-impact,
.status-maintenance-state {
    flex: 0 0 auto;
    padding: 6px 10px;
    border: 1px solid var(--status-border-strong);
    border-radius: 4px;
    color: #aaaab5;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.status-incident-impact[data-status="degraded"] {
    border-color: rgba(251, 191, 36, 0.28);
    color: var(--status-degraded);
}

.status-incident-impact[data-status="partial_outage"] {
    border-color: rgba(251, 146, 60, 0.28);
    color: var(--status-partial);
}

.status-incident-impact[data-status="major_outage"] {
    border-color: rgba(248, 113, 113, 0.28);
    color: var(--status-outage);
}

.status-maintenance-state[data-status="maintenance"] {
    border-color: rgba(96, 165, 250, 0.28);
    color: var(--status-maintenance);
}

.status-incident > p {
    margin: 0;
    padding: 0 26px 22px;
    color: #898995;
    font-size: 11px;
}

.status-incident-components,
.status-maintenance-components {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    padding: 13px 26px;
    border-top: 1px solid var(--status-border);
    border-bottom: 1px solid var(--status-border);
}

.status-incident-components > span,
.status-maintenance-components > span {
    margin-right: 3px;
    color: #676773;
    font-size: 9px;
    font-weight: 650;
}

.status-incident-components > strong,
.status-maintenance-components > strong {
    padding: 4px 8px;
    border: 1px solid #292933;
    border-radius: 3px;
    background: #131319;
    color: #9999a5;
    font-size: 9px;
    font-weight: 550;
}

.status-incident-updates {
    display: grid;
    padding: 4px 26px 16px;
}

.status-incident-update {
    padding: 16px 0;
}

.status-incident-update + .status-incident-update {
    border-top: 1px solid var(--status-border);
}

.status-incident-update > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.status-incident-update strong {
    color: #b5b5bf;
    font-size: 10px;
    font-weight: 650;
}

.status-incident-update time {
    color: #676773;
    font-size: 9px;
}

.status-incident-update p {
    margin: 6px 0 0;
    color: #7d7d89;
    font-size: 10px;
}

.status-maintenance-window {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--status-border);
}

.status-maintenance-window div {
    padding: 17px 26px;
}

.status-maintenance-window div + div {
    border-left: 1px solid var(--status-border);
}

.status-maintenance-window span {
    display: block;
    color: #676773;
    font-size: 9px;
}

.status-maintenance-window strong {
    display: block;
    margin-top: 4px;
    color: #b6b6c0;
    font-size: 10px;
    font-weight: 600;
}

.status-monitoring-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 72px;
    padding: 22px 26px;
    border-top: 1px solid var(--status-border);
    border-bottom: 1px solid var(--status-border);
    background: rgba(13, 13, 18, 0.52);
}

.status-monitoring-note > div {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
}

.status-monitoring-note > div > span {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--status-blue);
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.38);
}

.status-monitoring-note p {
    margin: 0;
    color: #7e7e8a;
    font-size: 10px;
}

.status-monitoring-note > a {
    flex: 0 0 auto;
    color: #a78bfa;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease;
}

.status-monitoring-note > a:hover {
    color: #c4b5fd;
}

.status-footer {
    border-top: 1px solid rgba(32, 32, 40, 0.8);
}

.status-footer > div {
    display: flex;
    width: min(1320px, calc(100% - 64px));
    min-height: 78px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #5d5d69;
    font-size: 9px;
}

.status-loading-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 112px;
    padding: 24px 26px;
    border: 1px solid var(--status-border);
    background: var(--status-surface);
}

.status-loading-row + .status-loading-row {
    margin-top: 14px;
}

.status-loading-row > span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #25252e;
    animation: status-pulse 1.4s ease-in-out infinite;
}

.status-loading-row > div {
    display: grid;
    gap: 9px;
}

.status-loading-row strong,
.status-loading-row small {
    display: block;
    border-radius: 3px;
    background:
        linear-gradient(
            90deg,
            #17171e 25%,
            #202028 50%,
            #17171e 75%
        );
    background-size: 200% 100%;
    animation: status-loading 1.5s linear infinite;
}

.status-loading-row strong {
    width: 34%;
    height: 12px;
}

.status-loading-row small {
    width: 58%;
    height: 8px;
}

.status-load-error {
    display: grid;
    min-height: 130px;
    place-content: center;
    padding: 28px;
    border: 1px solid rgba(248, 113, 113, 0.23);
    background: rgba(248, 113, 113, 0.035);
    text-align: center;
}

.status-load-error strong {
    color: #fca5a5;
    font-size: 13px;
    font-weight: 600;
}

.status-load-error p {
    max-width: 520px;
    margin: 6px 0 0;
    color: #858591;
    font-size: 10px;
}

@keyframes status-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes status-pulse {
    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

@keyframes status-loading {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}