:root {
    color-scheme: light;
    --navy: #17233f;
    --blue: #245ea8;
    --blue-soft: #eaf2fb;
    --green: #23845a;
    --amber: #b06a11;
    --red: #b33a3a;
    --ink: #1c2738;
    --muted: #657087;
    --line: #dce2ea;
    --surface: #ffffff;
    --background: #f3f6fa;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0 56px;
}

.topbar,
.intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar {
    padding: 24px 28px;
    color: #fff;
    background: var(--navy);
    border-radius: 18px 18px 0 0;
}

.eyebrow,
.section-label,
.card-label {
    margin: 0 0 6px;
    font-size: 0.8rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.eyebrow { color: #9fc5f3; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(1.45rem, 3vw, 2rem); }
h2 { margin-bottom: 8px; font-size: clamp(1.35rem, 2.5vw, 1.75rem); }

.environment {
    min-width: 54px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.intro {
    padding: 32px 28px 20px;
    background: var(--surface);
}

.section-label { color: var(--blue); }
.support { max-width: 700px; margin-bottom: 0; color: var(--muted); }

button {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--blue);
    border-radius: 10px;
    color: var(--blue);
    background: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

button:hover { background: var(--blue-soft); }
button:focus-visible { outline: 3px solid rgba(36, 94, 168, 0.3); outline-offset: 2px; }

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 20px 28px 32px;
    background: var(--surface);
}

.status-card {
    position: relative;
    min-height: 172px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.status-card strong,
.status-card small { display: block; }
.status-card strong { margin: 18px 0 6px; font-size: 1.25rem; }
.status-card small { color: var(--muted); font-size: 0.875rem; overflow-wrap: anywhere; }
.card-label { color: var(--muted); }

.status-dot {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #a6afbd;
    box-shadow: 0 0 0 4px rgba(166, 175, 189, 0.16);
}

.status-dot--ok { background: var(--green); box-shadow: 0 0 0 4px rgba(35, 132, 90, 0.14); }
.status-dot--warning { background: var(--amber); box-shadow: 0 0 0 4px rgba(176, 106, 17, 0.14); }
.status-dot--error { background: var(--red); box-shadow: 0 0 0 4px rgba(179, 58, 58, 0.14); }

.notice {
    padding: 20px 28px;
    border-top: 1px solid var(--line);
    border-radius: 0 0 18px 18px;
    background: var(--blue-soft);
}

.notice p { margin: 0; }

@media (max-width: 760px) {
    .shell { width: min(100% - 20px, 620px); padding-top: 10px; }
    .topbar, .intro { align-items: flex-start; }
    .intro { flex-direction: column; }
    .status-grid { grid-template-columns: 1fr; }
    button { width: 100%; }
}
