:root {
    --bg: #ffffff;
    --text: #1a1a1a;
    --text-light: #888888;
    --accent: #000000;
    --success: #28a745;
    --danger: #c43d35;
    --checking: #b5b5b5;
    --line: #eeeeee;
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-stack);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.status-card {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    text-align: center;
}

.indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: var(--checking);
    box-shadow: 0 0 0 4px rgba(181, 181, 181, .10);
}

.indicator.operational {
    background: var(--success);
    animation: pulse 2s infinite;
}

.indicator.unavailable {
    background: var(--danger);
    box-shadow: 0 0 0 4px rgba(196, 61, 53, .10);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, .4); }
    70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

h1 {
    margin: 0 0 40px;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -.5px;
}

.metrics {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.metric {
    min-width: 104px;
    text-align: center;
}

.metric-label {
    display: block;
    margin-bottom: 4px;
    color: var(--text-light);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.metric-value {
    font-family: "SF Mono", "Menlo", monospace;
    font-size: 16px;
    font-weight: 500;
}

.links a {
    margin: 0 10px;
    color: var(--text-light);
    font-size: 13px;
    text-decoration: none;
    transition: color .2s;
}

.links a:hover { color: var(--accent); }
.links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (max-width: 440px) {
    .status-card { padding: 28px 24px; }
    .metrics { gap: 24px; }
    .metric { min-width: 96px; }
}

@media (prefers-reduced-motion: reduce) {
    .indicator.operational { animation: none; box-shadow: 0 0 0 4px rgba(40, 167, 69, .10); }
}
