:root {
    --bg: #07101c;
    --panel: #0d1928;
    --panel-soft: #111f31;
    --line: #203248;
    --text: #edf5ff;
    --muted: #8fa3ba;
    --cyan: #24d0d8;
    --blue: #2b7fff;
    --green: #35d07f;
    --red: #ff6577;
    --amber: #ffbd4a;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 75% -10%, rgba(43,127,255,.18), transparent 32rem),
        linear-gradient(180deg, #08121f 0%, var(--bg) 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.topbar {
    height: 72px;
    padding: 0 clamp(20px, 5vw, 72px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(143,163,186,.16);
    background: rgba(7,16,28,.72);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.brand-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #031014;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--cyan), #73f5c6);
    font-size: 15px;
    font-weight: 900;
}

.environment, .version-chip {
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.page-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 76px 0;
}

.hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 42px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
}

h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.hero-copy {
    max-width: 690px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.status-card, .empty-state {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(17,31,49,.96), rgba(10,21,35,.96));
    box-shadow: 0 18px 50px rgba(0,0,0,.16);
}

.status-card { padding: 24px; }
.status-card--muted { opacity: .78; }

.status-card__top {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 26px;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(143,163,186,.08);
}

.status-dot--ok { background: var(--green); box-shadow: 0 0 0 5px rgba(53,208,127,.10); }
.status-dot--error { background: var(--red); box-shadow: 0 0 0 5px rgba(255,101,119,.10); }
.status-dot--pending { background: var(--amber); box-shadow: 0 0 0 5px rgba(255,189,74,.10); }
.status-label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.status-card strong { display: block; font-size: 24px; letter-spacing: -.025em; }
.status-card p { min-height: 44px; margin: 9px 0 0; color: var(--muted); line-height: 1.5; }

.empty-state {
    margin-top: 18px;
    padding: 26px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
}

.empty-state h2 { margin: 0; font-size: 19px; }
.empty-state p { margin: 6px 0 0; color: var(--muted); }

.ups-icon {
    width: 58px;
    height: 58px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 13px;
    border: 1px solid #2d4964;
    border-radius: 15px;
    background: #0a1624;
}

.ups-icon span { height: 4px; border-radius: 3px; background: #29445e; }
.ups-icon span:first-child { width: 60%; background: var(--cyan); }
.ups-icon span:nth-child(2) { width: 85%; }
.ups-icon span:nth-child(3) { width: 70%; }

.button {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 17px;
    color: #021013;
    background: var(--cyan);
    border-radius: 11px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 820px) {
    .page-shell { padding: 48px 0; }
    .hero { display: block; }
    .version-chip { display: inline-block; margin-top: 24px; }
    .status-grid { grid-template-columns: 1fr; }
    .empty-state { grid-template-columns: auto 1fr; }
    .empty-state .button { grid-column: 1 / -1; justify-content: center; }
}
