:root {
    color-scheme: light dark;
    --background: #101411;
    --surface: #171d19;
    --text: #edf1eb;
    --muted: #a4afa5;
    --line: #303a32;
    --accent: #a6d7a2;
    --danger: #ffb4a8;
}

@media (prefers-color-scheme: light) {
    :root {
        --background: #f4f5ef;
        --surface: #fffefa;
        --text: #172019;
        --muted: #59665c;
        --line: #d9dfd7;
        --accent: #376e40;
        --danger: #a52c1c;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 5px;
}

.page-shell {
    width: min(100% - 48px, 1040px);
    min-height: 100svh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.masthead,
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.masthead {
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
}

.wordmark {
    font-size: 1rem;
    font-weight: 720;
    letter-spacing: -0.045em;
    text-decoration: none;
}

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

.location,
.eyebrow,
.footer,
.checked-at {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.location span {
    padding: 0 8px;
    color: var(--accent);
}

.introduction {
    padding: clamp(88px, 15vh, 160px) 0 112px;
}

.eyebrow {
    margin: 0 0 24px;
}

.introduction h1 {
    margin: 0;
    font-size: clamp(4rem, 11vw, 8.5rem);
    font-weight: 560;
    letter-spacing: -0.085em;
    line-height: 0.91;
}

.intro-bottom {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-top: 42px;
}

.intro-copy {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.github-link {
    display: inline-flex;
    gap: 24px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--accent);
    color: var(--text);
    font-size: 0.9rem;
    text-decoration: none;
}

.arrow {
    color: var(--accent);
    font-size: 1.2rem;
}

.status-panel {
    max-width: 620px;
    margin: 0 0 72px auto;
    padding: 28px 32px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--surface);
}

.status-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-heading h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.status-heading-failed .status-indicator {
    background: var(--danger);
}

.status-heading-failed h2 {
    color: var(--danger);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 14px color-mix(in srgb, var(--accent), transparent 35%);
}

.checked-at {
    margin: 12px 0 0 20px;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
}

.quiet-checks,
.check-list {
    margin: 22px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.quiet-checks li {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.check-list li {
    display: grid;
    gap: 6px;
    padding: 12px 0;
    font-size: 0.85rem;
}

.check-list strong {
    font-weight: 600;
}

.check-list span,
.check-list small {
    color: var(--muted);
    line-height: 1.5;
}

.check-list small {
    font-size: 0.75rem;
}

.footer {
    margin-top: auto;
    padding: 24px 0 30px;
    border-top: 1px solid var(--line);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
}

@media (max-width: 600px) {
    .page-shell {
        width: min(100% - 36px, 1040px);
    }

    .masthead {
        padding: 24px 0;
    }

    .location {
        font-size: 0.58rem;
        letter-spacing: 0.07em;
    }

    .introduction {
        padding: 100px 0 92px;
    }

    .introduction h1 {
        font-size: clamp(3.5rem, 17vw, 6rem);
    }

    .intro-bottom {
        align-items: start;
        flex-direction: column;
        gap: 24px;
    }

    .status-panel {
        margin-bottom: 56px;
        padding: 24px 20px;
    }

    .footer {
        gap: 16px;
        font-size: 0.58rem;
        letter-spacing: 0.04em;
    }
}
