:root {
  color-scheme: dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #090e18;
  color: #e9eef7;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% -220px,
      rgba(41, 80, 140, .16), transparent 55%),
    #090e18;
}

a { color: inherit; text-decoration: none; }

.site {
  max-width: 1060px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 28px;
}

.header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1d2939;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1.2px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: #3877f5;
  color: white;
  font-size: 22px;
  font-weight: 800;
}

.brand-accent, .footer-brand span { color: #5791ff; }

.brand-divider {
  width: 1px;
  height: 23px;
  background: #334155;
  margin: 0 5px;
}

.brand-status {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.3px;
  color: #94a3b8;
}

.live-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #8997ad;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4c9a75;
}

.intro { padding: 80px 0 42px; }

.eyebrow, .section-kicker {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 2px;
  color: #699dff;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-line {
  width: 19px;
  height: 2px;
  background: #699dff;
}

.intro h1 {
  font-size: clamp(38px, 5.5vw, 58px);
  letter-spacing: -2.3px;
  line-height: 1.12;
  margin: 17px 0 16px;
  font-weight: 750;
}

.intro p {
  margin: 0;
  color: #91a0b6;
  font-size: 16px;
  line-height: 1.7;
}

.overview {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 27px 29px;
  border: 1px solid #334054;
  border-radius: 15px;
  background: #131d2c;
}

.overview-icon {
  width: 47px;
  height: 47px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(245, 183, 75, .11);
  color: #f3bf65;
  font-size: 23px;
  font-weight: 700;
}

.overview-copy { flex: 1; min-width: 0; }

.overview h2 {
  margin: 0 0 7px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.4px;
}

.overview p {
  margin: 0;
  color: #8d9cb2;
  font-size: 13px;
  line-height: 1.5;
}

.overview-state {
  border: 1px solid #5b4931;
  background: #2a241e;
  color: #efc47b;
  border-radius: 50px;
  padding: 8px 13px;
  font-size: 12px;
  white-space: nowrap;
}

.overview[data-state="operational"] .overview-icon {
  background: #143c2d;
  color: #56d99b;
}
.overview[data-state="operational"] .overview-state {
  background: #143c2d;
  border-color: #24543f;
  color: #56d99b;
}
.overview[data-state="outage"] .overview-icon {
  background: #40232a;
  color: #ff7786;
}
.overview[data-state="outage"] .overview-state {
  background: #40232a;
  border-color: #68333f;
  color: #ff7786;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 18px;
}

.metric {
  border: 1px solid #202d3e;
  background: #101826;
  border-radius: 13px;
  padding: 24px;
}

.metric-label {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.2px;
  color: #7e90a8;
}

.metric-value {
  margin-top: 18px;
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}

.metric-sub {
  margin-top: 5px;
  font-size: 12px;
  color: #74859d;
}

.section { margin-top: 67px; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: 23px;
  letter-spacing: -.7px;
  margin: 9px 0 0;
}

.section-note {
  color: #74859d;
  font-size: 12px;
}

.server-list { display: grid; gap: 13px; }

.server-card {
  border: 1px solid #243246;
  border-radius: 14px;
  background: #111a28;
  padding: 25px 27px;
}

.server-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.server-name {
  font-size: 17px;
  font-weight: 650;
  margin: 0;
}

.server-location {
  color: #8494ac;
  font-size: 12px;
  margin-top: 8px;
}

.server-state {
  font-size: 12px;
  color: #f1c477;
  white-space: nowrap;
}

.server-state.operational { color: #5edca0; }
.server-state.outage { color: #ff7e8b; }

.uptime-bars {
  display: grid;
  grid-template-columns: repeat(30, minmax(0, 1fr));
  gap: 4px;
  margin-top: 26px;
  height: 34px;
}

.uptime-bar {
  min-width: 0;
  border-radius: 3px;
  background: #344153;
}

.uptime-bar.operational { background: #3fc58a; }
.uptime-bar.degraded { background: #efb650; }
.uptime-bar.outage { background: #ec6673; }

.uptime-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 11px;
  color: #71839a;
}

.uptime-percent {
  color: #cbd5e1;
  font-weight: 650;
}

.incident-panel {
  border: 1px solid #243246;
  background: #111a28;
  border-radius: 14px;
  padding: 28px;
}

.empty-state {
  color: #8d9bb0;
  font-size: 14px;
  line-height: 1.7;
}

.incident {
  padding: 15px 0;
  border-bottom: 1px solid #263448;
}

.incident:last-child { border-bottom: none; }

.incident-title { font-weight: 650; }

.incident-date {
  color: #7c8da5;
  font-size: 12px;
  margin-top: 8px;
}

.last-update {
  margin-top: 36px;
  text-align: right;
  color: #697b93;
  font-size: 11px;
}

.footer {
  margin-top: 80px;
  padding: 28px 0 35px;
  border-top: 1px solid #1d2939;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  color: #74849b;
  font-size: 12px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 800;
  color: #e9eef7;
  letter-spacing: -.8px;
}

.footer-brand small {
  margin-left: 5px;
  font-size: 9px;
  color: #8292a9;
  letter-spacing: 1px;
}

@media (max-width: 650px) {
  .site { padding: 0 18px; }
  .header { height: 74px; }
  .live-label { display: none; }
  .intro { padding: 60px 0 35px; }
  .overview { padding: 20px; gap: 14px; flex-wrap: wrap; }
  .overview h2 { font-size: 17px; }
  .overview-state { margin-left: 61px; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric { padding: 18px; }
  .metric:last-child { grid-column: 1 / -1; }
  .metric-label { font-size: 9px; }
  .metric-value { font-size: 25px; }
  .section { margin-top: 50px; }
  .section-note { display: none; }
  .server-card { padding: 19px; }
  .uptime-bars { gap: 2px; height: 30px; }
  .footer { flex-direction: column; align-items: flex-start; }
}
