:root {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #ecf4f1;
    background: #08110f;
    font-synthesis: none;
}

* { box-sizing: border-box; }

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 15% 10%, rgba(30, 155, 119, .18), transparent 35rem),
        radial-gradient(circle at 90% 80%, rgba(63, 107, 218, .13), transparent 34rem),
        #08110f;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 36px 36px;
    content: "";
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

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

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

.eyebrow, .label {
    margin: 0 0 10px;
    color: #5de1b7;
    font-size: .74rem;
    font-weight: 750;
    letter-spacing: .16em;
    text-transform: uppercase;
}

h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(2.35rem, 6vw, 5rem);
    font-weight: 680;
    letter-spacing: -.055em;
    line-height: .98;
}

.subtitle {
    max-width: 650px;
    margin: 22px 0 0;
    color: #9db0aa;
    font-size: 1.06rem;
    line-height: 1.65;
}

.status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    margin-top: 7px;
    padding: 11px 15px;
    border: 1px solid #293a35;
    border-radius: 999px;
    background: rgba(13, 28, 24, .8);
    color: #b3c3be;
    font-size: .88rem;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e0af45;
    box-shadow: 0 0 14px currentColor;
}

.status-online { color: #72e6bf; border-color: rgba(75, 217, 169, .32); }
.status-online .status-dot { background: #46daa9; }
.status-offline { color: #ff9f9f; border-color: rgba(255, 106, 106, .3); }
.status-offline .status-dot { background: #ff6a6a; }

.grid {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(520px, 1.4fr);
    gap: 18px;
}

.card {
    overflow: hidden;
    border: 1px solid rgba(144, 179, 167, .16);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(19, 38, 33, .94), rgba(10, 22, 19, .94));
    box-shadow: 0 24px 65px rgba(0, 0, 0, .25);
}

.status-card { padding: 26px; }
.data-card { padding: 26px 0 0; }
.data-card .card-heading { padding: 0 26px; }

.card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

h2 {
    margin: 0;
    font-size: 1.22rem;
    font-weight: 650;
    letter-spacing: -.02em;
}

button {
    border: 1px solid rgba(91, 225, 182, .3);
    border-radius: 10px;
    padding: 9px 13px;
    background: rgba(47, 176, 134, .12);
    color: #84e8c7;
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 650;
}

button:hover { background: rgba(47, 176, 134, .22); }
button:disabled { cursor: wait; opacity: .6; }

.message {
    min-height: 76px;
    margin: 34px 0;
    color: #a8bab4;
    line-height: 1.6;
}

code, .api-path {
    border: 1px solid rgba(136, 170, 158, .14);
    border-radius: 7px;
    background: rgba(4, 11, 9, .42);
    color: #c2d4ce;
    font-family: "Cascadia Code", Consolas, monospace;
    font-size: .76rem;
}

code { padding: 3px 6px; }
.api-path { padding: 7px 9px; white-space: nowrap; }

.facts {
    display: grid;
    gap: 20px;
    margin: 0;
    padding-top: 22px;
    border-top: 1px solid rgba(148, 180, 169, .12);
}

.facts div { display: grid; gap: 6px; }
dt { color: #6f847d; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
dd { overflow-wrap: anywhere; margin: 0; color: #d3dfdb; font-size: .88rem; }

.table-wrap { overflow-x: auto; margin-top: 25px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 17px 26px; border-top: 1px solid rgba(148, 180, 169, .1); text-align: left; }
th { color: #71867f; font-size: .71rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
td { color: #cad8d3; font-size: .88rem; }
td.price { color: #79e4c1; font-variant-numeric: tabular-nums; font-weight: 700; }
.empty { padding: 46px 26px; color: #768a83; text-align: center; }

footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 4px 0;
    color: #5e716b;
    font-size: .77rem;
}

@media (max-width: 850px) {
    .shell { padding-top: 44px; }
    .hero { flex-direction: column; }
    .grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .shell { width: min(100% - 20px, 1120px); }
    .card-heading { flex-direction: column; }
    .status-card { padding: 21px; }
    .data-card .card-heading { padding: 0 21px; }
    th, td { padding: 15px 21px; }
    footer { flex-direction: column; }
}
