:root {
    color-scheme: light dark;
    --status-background: #fafafa;
    --status-foreground: #2e3436;
    --status-muted: rgba(46, 52, 54, 0.7);
    --status-icon: brightness(0) saturate(100%) opacity(0.65);
}

@media (prefers-color-scheme: dark) {
    :root {
        --status-background: #1e1e1e;
        --status-foreground: #f6f5f4;
        --status-muted: rgba(246, 245, 244, 0.7);
        --status-icon: brightness(0) invert(1) opacity(0.65);
    }
}

* {
    box-sizing: border-box;
}

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

body {
    overflow: hidden;
    background: var(--status-background);
    color: var(--status-foreground);
    font-family: "Adwaita Sans", system-ui, sans-serif;
}

.status-page {
    width: 100%;
    height: 100%;
    padding: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.status-icon {
    width: 128px;
    height: 128px;
    margin-bottom: 32px;
    filter: var(--status-icon);
}

h1 {
    max-width: 480px;
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

p {
    max-width: 480px;
    margin: 14px 0 0;
    color: var(--status-muted);
    font-family: system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

button {
    min-height: 34px;
    margin-top: 24px;
    padding: 7px 18px;
    border: 0;
    border-radius: 8px;
    background: #3584e4;
    color: #ffffff;
    font: 600 14px system-ui, sans-serif;
    cursor: default;
}

button:hover {
    background: #1c71d8;
}

button:active {
    background: #1a5fb4;
}

button:focus-visible {
    outline: 2px solid color-mix(in srgb, #3584e4, white 45%);
    outline-offset: 2px;
}

@media (max-height: 420px), (max-width: 420px) {
    .status-icon {
        width: 96px;
        height: 96px;
        margin-bottom: 24px;
    }
}
