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

* { box-sizing: border-box; }
html { overflow-wrap: anywhere; }
body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 85% 5%, rgba(47, 197, 181, .20), transparent 34rem),
        radial-gradient(circle at 0 45%, rgba(32, 103, 255, .22), transparent 38rem),
        linear-gradient(150deg, #091729, #07111f 55%, #0c2630);
}
button, a { font: inherit; }
.shell { width: min(72rem, 100%); margin: 0 auto; padding: 1rem 1rem 3rem; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: .65rem; color: inherit; font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2.25rem; aspect-ratio: 1; border-radius: .8rem; color: #07111f; background: linear-gradient(135deg, #a7f3c2, #40d5d2 55%, #6e8cff); }
.languages { display: flex; gap: .3rem; padding: .25rem; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(10,26,44,.55); }
.languages button { min-width: 2.4rem; min-height: 2.2rem; border: 0; border-radius: 999px; color: #b8c5d8; background: transparent; cursor: pointer; }
.languages button[aria-current="true"] { color: #07111f; background: #abf1d0; font-weight: 800; }
.glass { border: 1px solid rgba(185,226,255,.18); background: linear-gradient(135deg, rgba(24,51,77,.83), rgba(12,35,47,.76)); box-shadow: 0 1.5rem 4rem rgba(0,0,0,.25); backdrop-filter: blur(18px); }
.hero { margin: 1.5rem 0 2.25rem; padding: clamp(1.35rem, 4vw, 2.75rem); border-radius: 1.75rem; }
.eyebrow { color: #80e5d3; font-size: .78rem; font-weight: 800; letter-spacing: .18em; }
h1 { margin: .5rem 0 1rem; font-size: clamp(2rem, 6vw, 3.7rem); line-height: 1.04; }
h2 { margin: 2rem 0 1rem; font-size: clamp(1.25rem, 3vw, 1.7rem); }
.overall { display: inline-flex; align-items: center; gap: .7rem; min-height: 2.8rem; padding: .65rem 1rem; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(3,15,27,.38); font-weight: 750; }
.status-dot { width: .72rem; aspect-ratio: 1; border-radius: 50%; background: #8da0b9; box-shadow: 0 0 0 .28rem rgba(141,160,185,.12); }
.status-operational .status-dot, .dot-operational { background: #45daa2; }
.status-degraded_performance .status-dot, .dot-degraded_performance { background: #f6c453; }
.status-partial_outage .status-dot, .dot-partial_outage { background: #ff9863; }
.status-major_outage .status-dot, .dot-major_outage { background: #ff657a; }
.status-maintenance .status-dot, .dot-maintenance { background: #7ba8ff; }
.muted { color: #a7b6ca; }
.public-message { max-width: 52rem; margin: 1rem 0 .4rem; color: #e3edf9; font-size: 1.02rem; line-height: 1.65; white-space: pre-wrap; }
.warning { padding: .8rem 1rem; border: 1px solid rgba(255,196,83,.45); border-radius: .9rem; color: #ffe1a3; background: rgba(93,60,8,.28); }
.component-grid { display: grid; grid-template-columns: 1fr; gap: .8rem; }
.component { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .85rem; padding: 1rem; border: 1px solid rgba(185,226,255,.14); border-radius: 1.15rem; background: rgba(16,39,60,.64); }
.component .dot { width: .72rem; aspect-ratio: 1; border-radius: 50%; background: #8da0b9; }
.component h3 { margin: 0; font-size: 1rem; }
.component p { margin: .25rem 0 0; color: #9eb0c8; font-size: .9rem; }
.component .state { color: #c8d6e8; font-size: .84rem; font-weight: 700; text-align: end; }
.uptime { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; margin-top: .8rem; }
.uptime-window { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem; padding: .35rem .5rem; border: 1px solid rgba(185,226,255,.1); border-radius: .6rem; background: rgba(3,15,27,.25); }
.uptime-window small { color: #8296b0; }
.uptime-window strong { color: #dce8f8; font-size: .78rem; }
.incident-list { display: grid; gap: 1rem; }
.incident { padding: 1.2rem; border: 1px solid rgba(185,226,255,.14); border-radius: 1.2rem; background: rgba(16,39,60,.66); }
.incident header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.incident h3 { margin: 0; }
.incident p { color: #b5c2d3; white-space: pre-wrap; }
.incident time, .impact { color: #8fa3bd; font-size: .82rem; }
.incident-meta { display: flex; flex-wrap: wrap; gap: .45rem 1rem; color: #9fb0c6; font-size: .84rem; }
.updates { margin: 1rem 0 0; padding-inline-start: 1.2rem; border-inline-start: 2px solid rgba(112,174,255,.38); list-style: none; }
.updates li + li { margin-top: .8rem; }
.postmortem { margin-top: 1rem; padding: .9rem; border: 1px solid rgba(69,218,162,.24); border-radius: .85rem; background: rgba(15,80,65,.2); }
.postmortem p { margin-bottom: 0; }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.1); color: #8497b1; font-size: .85rem; }
[dir="rtl"] .component .state { text-align: start; }

@media (min-width: 44rem) {
    .shell { padding-inline: 2rem; }
    .component-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 60rem) { .uptime { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
@media (forced-colors: active) { .glass, .component, .incident { border: 1px solid CanvasText; } }
