@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/status-dm-sans-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/status-dm-sans-latin-600.woff2") format("woff2");
}
:root {
  font-family:
    "DM Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #24342c;
  background: #f7f9f7;
  --surface: #fff;
  --border: #dce4df;
  --muted: #596d61;
  --brand: #245c49;
  --ok: #30795e;
  --degraded: #a26813;
  --outage: #b94343;
  --unknown: #ccd4ce;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
}
a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
a {
  touch-action: manipulation;
}
button {
  font: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #9a682c;
  outline-offset: 3px;
}
.skip {
  position: fixed;
  top: -80px;
  left: 16px;
  padding: 12px;
  background: var(--surface);
  z-index: 10;
}
.skip:focus {
  top: 8px;
}
.site-head,
main,
footer {
  max-width: 1080px;
  margin: auto;
}
.site-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 21px;
  font-weight: 650;
  color: inherit;
}
.brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
main {
  padding: 48px 24px 32px;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.13em;
  color: var(--muted);
  margin: 0 0 14px;
}
h1 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.04em;
  margin: 0 0 14px;
  font-weight: 620;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.02em;
  margin: 0;
}
.intro,
.scope,
.history-section > p,
.notice {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.intro {
  margin: 0;
  max-width: 540px;
}
#refresh {
  border: 1px solid var(--border);
  background: var(--surface);
  color: inherit;
  border-radius: 9px;
  padding: 11px 16px;
  white-space: nowrap;
  font-size: 12px;
}
#refresh:disabled {
  cursor: wait;
  opacity: 0.7;
}
.overall {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.overall p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.signal {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--unknown);
  flex: none;
}
.signal.ok,
.ok {
  background: var(--ok);
}
.signal.degraded,
.degraded {
  background: var(--degraded);
}
.signal.outage,
.outage {
  background: var(--outage);
}
.signal.unknown,
.unknown {
  background: var(--unknown);
}
.notice:empty {
  display: none;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 34px 0 18px;
}
.section-head > span {
  font-size: 11px;
  color: var(--muted);
}
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.service {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  min-width: 0;
}
.service-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.service h3 {
  font-size: 14px;
  margin: 0;
}
.state {
  font-size: 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 7px;
  white-space: nowrap;
}
.service p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 12px 0;
  min-height: 40px;
}
.chart {
  display: grid;
  grid-template-columns: repeat(96, minmax(0, 1fr));
  gap: 2px;
  margin: 18px 0 10px;
}
.bar {
  height: 24px;
  border: 0;
  border-radius: 2px;
  padding: 0;
  min-width: 0;
}
.bar:hover {
  outline: 2px solid currentColor;
  outline-offset: 1px;
}
.metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 16px;
}
.metrics b {
  color: inherit;
  font-weight: 650;
}
.detail {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  min-height: 36px;
  margin: 12px 0 0;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 11px;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.days {
  display: grid;
  grid-template-columns: repeat(30, minmax(0, 1fr));
  gap: 4px;
  margin-top: 20px;
}
.days .bar {
  height: 28px;
}
.incidents {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  margin-top: 32px;
}
.incident {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.scope {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 24px;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}
@media (max-width: 640px) {
  main {
    padding: 32px 18px;
  }
  .site-head {
    padding: 18px;
  }
  .site-head > a:last-child {
    font-size: 11px;
    max-width: 130px;
    text-align: right;
  }
  .page-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .section-head {
    flex-direction: column;
    gap: 8px;
  }
  .service {
    padding: 18px;
  }
  .chart {
    gap: 1px;
  }
  .days {
    grid-template-columns: repeat(15, minmax(0, 1fr));
  }
  .legend {
    gap: 14px;
  }
  .overall {
    padding: 20px;
  }
  footer {
    padding: 22px 18px;
  }
  .metrics {
    gap: 10px 18px;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    color: #e2e9e4;
    background: #131b17;
    --surface: #1b2620;
    --border: #35493c;
    --muted: #b2c1b7;
    --brand: #a4d3b6;
    --ok: #58a883;
    --degraded: #cb963f;
    --outage: #d96f6f;
    --unknown: #4c6053;
    color-scheme: dark;
  }
}
