@font-face {
  font-family: Geist;
  src: url("/geist-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 500;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("/geist-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #181818;
  --raised: #1f1f1f;
  --line: #313131;
  --text: #f3f3f5;
  --muted: #a1a1aa;
  --violet: #b7a3ff;
  --green: #3cd6a1;
  --amber: #f6ba60;
  --red: #fb7b82;
  --unknown: #71717a;
  --curve: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Geist, system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
select {
  font: inherit;
}
button,
a {
  transition:
    background-color 0.3s var(--curve),
    color 0.3s var(--curve),
    opacity 0.3s var(--curve),
    transform 0.3s var(--curve);
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--violet);
}
button {
  cursor: pointer;
}
button:active,
.button:active {
  transform: translateY(1px);
}
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p,
li {
  text-wrap: pretty;
}
h1 {
  font-size: 36px;
  line-height: 40px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
h2 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
}
button {
  border: 0;
}
strong {
  font-weight: 600;
}
.shell {
  width: min(100% - 48px, 1040px);
  margin: 0 auto;
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  padding: 12px 16px;
  background: var(--text);
  color: #000;
  z-index: 10;
}
.skip:focus {
  top: 16px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 64px 0 32px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.brand img {
  width: 32px;
  height: 32px;
}
.brand-divider {
  color: #71717a;
  margin: 0 12px;
  font-weight: 400;
}
.brand-light {
  font-weight: 400;
  color: #bfbfc8;
  letter-spacing: -0.02em;
}
.button {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  background: var(--surface);
  color: var(--text);
}
.button:hover {
  background: #272727;
  color: #fff;
}
.button.primary {
  background: var(--text);
  color: #181818;
  border-color: var(--text);
}
.button.primary:hover {
  background: #ddd;
}
.button span {
  color: var(--muted);
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 0 24px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
nav a {
  padding: 4px 0;
}
nav a[aria-current] {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--violet);
  text-underline-offset: 12px;
}
nav [hidden] {
  display: none;
}
main {
  min-height: 60vh;
  padding-top: 24px;
}
.status-banner {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.status-banner h1 {
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.02em;
}
.status-banner p {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  margin-top: 8px;
}
.status-banner.up {
  border-color: #245f4b;
}
.status-banner.down {
  border-color: #79363d;
}
.status-banner.degraded {
  border-color: #765c31;
}
.banner-icon {
  font-size: 30px;
  line-height: 36px;
  color: var(--amber);
}
.up .banner-icon {
  color: var(--green);
}
.down .banner-icon {
  color: var(--red);
}
.banner-label {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.12em;
}
.last-update {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 64px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
.last-update > span:last-child {
  margin-left: auto;
}
.live-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--violet);
}
.eyebrow {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--muted);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin: 0 0 32px;
}
.section-heading h2 {
  margin-top: 8px;
}
.small {
  font-size: 12px;
  line-height: 16px;
}
.muted {
  color: var(--muted);
}
.services {
  display: grid;
  gap: 8px;
}
.service {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.service:first-child {
  padding-top: 0;
}
.service:last-child {
  border-bottom: 0;
}
.service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  white-space: nowrap;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--unknown);
}
.pill.up {
  color: var(--green);
}
.pill.up .dot {
  background: var(--green);
}
.pill.down {
  color: var(--red);
}
.pill.down .dot {
  background: var(--red);
}
.pill.degraded,
.pill.checking {
  color: var(--amber);
}
.pill.degraded .dot,
.pill.checking .dot {
  background: var(--amber);
}
.service-details {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  margin: 8px 0 16px;
}
.service-details summary {
  cursor: pointer;
  width: max-content;
}
.service-details p {
  padding-top: 8px;
  max-width: 680px;
}
.history-strip {
  display: flex;
  gap: 2px;
  height: 32px;
}
.history-day {
  flex: 1;
  min-width: 0;
  background: #272727;
  border-radius: 2px;
  padding: 0;
  position: relative;
}
.history-day:hover,
.history-day:focus-visible {
  transform: translateY(-4px);
  opacity: 0.75;
}
.history-day.up,
.legend-swatch.up {
  background: var(--green);
}
.history-day.down,
.legend-swatch.down {
  background: var(--red);
}
.history-day.degraded,
.legend-swatch.degraded {
  background: var(--amber);
}
.history-day.partial,
.legend-swatch.partial {
  background: #716592;
}
.history-day.checking {
  background: #716592;
}
.history-day.unknown,
.legend-swatch.unknown {
  background: #313131;
}
.service-meta {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  color: #898991;
  font-size: 12px;
  line-height: 16px;
  margin-top: 8px;
}
.service-meta span:nth-child(2) {
  margin-left: auto;
}
.day-detail {
  min-height: 16px;
  margin-top: 8px;
  color: #8b8b95;
}
.legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0 32px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
.legend span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.legend-swatch {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
}
.measurement {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 64px;
}
.measurement strong {
  font-size: 14px;
  line-height: 20px;
}
.measurement p {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  margin: 8px 0 16px;
}
.measurement a,
.text-link {
  color: var(--violet);
  font-size: 14px;
  line-height: 20px;
}
.empty {
  display: flex;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.empty-mark {
  font-size: 24px;
  line-height: 32px;
  color: var(--violet);
}
.empty p {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  max-width: 680px;
  margin-top: 8px;
}
.intro {
  padding: 32px 0 48px;
  max-width: 680px;
}
.intro h1 {
  margin: 16px 0 24px;
}
.lead {
  font-size: 18px;
  line-height: 28px;
  color: #b1b1bb;
}
.editorial {
  max-width: 680px;
}
.editorial h2 {
  margin: 40px 0 16px;
}
.editorial h2:first-child {
  margin-top: 0;
}
.editorial p,
.editorial li {
  color: #b1b1bb;
  margin-bottom: 16px;
}
.editorial ul {
  padding-left: 24px;
}
.editorial .button {
  margin-bottom: 16px;
}
.publication {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  background: var(--surface);
}
.publication-meta {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  margin-bottom: 16px;
}
.publication-status {
  text-transform: capitalize;
  color: var(--violet);
}
.publication h2 {
  margin-bottom: 16px;
}
.publication > p {
  color: #b1b1bb;
  margin-bottom: 16px;
}
.timeline {
  padding-left: 24px;
  margin: 24px 0 0;
}
.timeline li {
  padding-left: 8px;
  margin-bottom: 24px;
}
.timeline time {
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}
.timeline p {
  margin-top: 8px;
}
.filter-row {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text);
}
footer {
  margin-top: 80px;
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}
footer > div {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
}
footer > div:first-child {
  justify-content: space-between;
}
.footer-brand {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
}
footer p {
  color: #85858f;
}
dialog {
  width: min(100% - 32px, 480px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  padding: 32px;
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(8px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.icon-button {
  font-size: 24px;
  line-height: 32px;
  background: none;
  color: var(--muted);
  padding: 0 8px;
  border-radius: 4px;
}
.icon-button:hover {
  background: #313131;
  color: white;
}
dialog h2 {
  margin-bottom: 16px;
}
dialog p {
  color: var(--muted);
  margin-bottom: 24px;
}
dialog .button {
  margin: 0 8px 24px 0;
}
dialog .small {
  margin-bottom: 0;
}
#copy-result {
  margin-top: 16px;
  color: var(--green);
}
.skeleton {
  display: grid;
  gap: 32px;
}
.skeleton > div {
  height: 80px;
  background: var(--surface);
  border-radius: 12px;
}
.skeleton > div:first-child {
  height: 128px;
}
noscript {
  display: block;
  padding: 32px;
  color: var(--amber);
}
@media (max-width: 720px) {
  .shell {
    width: calc(100% - 32px);
  }
  header {
    padding: 32px 0 24px;
  }
  .brand {
    font-size: 20px;
    line-height: 28px;
  }
  .brand-divider {
    margin: 0 8px;
  }
  nav {
    gap: 16px;
    row-gap: 8px;
    padding-bottom: 16px;
  }
  .status-banner {
    padding: 24px;
    gap: 16px;
    align-items: flex-start;
  }
  .status-banner h1 {
    font-size: 20px;
    line-height: 28px;
  }
  .banner-label {
    display: none;
  }
  .last-update {
    margin-bottom: 40px;
  }
  .last-update > span:last-child {
    margin-left: 12px;
  }
  .section-heading {
    margin-bottom: 24px;
  }
  .service-top {
    align-items: flex-start;
  }
  .service h3 {
    font-size: 16px;
    line-height: 24px;
  }
  .pill {
    white-space: normal;
    text-align: right;
    justify-content: flex-end;
  }
  .dot {
    flex-shrink: 0;
  }
  .service-meta {
    flex-wrap: wrap;
  }
  .service-meta span:nth-child(2) {
    order: 3;
    width: 100%;
    margin: 0;
  }
  .service-meta span:last-child {
    margin-left: auto;
  }
  .history-strip {
    height: 24px;
    gap: 2px;
  }
  .day-detail {
    font-size: 12px;
  }
  .empty {
    padding: 24px;
    gap: 16px;
  }
  .measurement {
    padding: 24px;
    margin-bottom: 40px;
  }
  .intro {
    padding: 24px 0 32px;
  }
  h1 {
    font-size: 30px;
    line-height: 36px;
  }
  .publication {
    padding: 24px;
  }
  .publication-meta {
    flex-wrap: wrap;
  }
  footer {
    margin-top: 48px;
  }
  footer > div {
    gap: 16px;
  }
  dialog {
    padding: 24px;
  }
  .brand img {
    width: 24px;
    height: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
  .history-day:hover,
  .history-day:focus-visible {
    transform: none;
  }
}
