:root {
  color-scheme: light;
  --ink: #14243a;
  --muted: #5a6879;
  --line: #d8e0e9;
  --surface: #ffffff;
  --surface-soft: #f5f8fb;
  --navy: #10233f;
  --operational: #17724f;
  --degraded: #a86413;
  --outage: #b53f45;
  --maintenance: #4f5fb4;
  --recovering: #1f6f8b;
  --unknown: #697688;
}

* {
  box-sizing: border-box;
}
html {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  background: #eef3f8;
  color: var(--ink);
}
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 0%, #dfeafb 0, transparent 30rem),
    linear-gradient(#f8fafc, #edf2f7);
}
a {
  color: #24569b;
  text-underline-offset: 0.18em;
}
a:hover {
  color: #163f79;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: #fff;
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #f4c95d;
  background: var(--navy);
  font-size: 18px;
}
.brand-section {
  padding-left: 10px;
  border-left: 1px solid #bfcbd8;
  color: var(--muted);
  font-weight: 650;
}
nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 650;
}
main {
  width: min(980px, calc(100% - 32px));
  margin: 32px auto 72px;
  display: grid;
  gap: 32px;
}
.status-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(29, 53, 82, 0.09);
}
.status-symbol {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--state-color, var(--unknown)) 12%, white);
  border: 1px solid
    color-mix(in srgb, var(--state-color, var(--unknown)) 30%, white);
}
.status-symbol span {
  width: 18px;
  height: 18px;
  border: 5px solid var(--state-color, var(--unknown));
  border-radius: 50%;
}
.eyebrow {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  margin-bottom: 10px;
  font-size: clamp(29px, 5vw, 46px);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
h2 {
  margin-bottom: 0;
  font-size: 21px;
  letter-spacing: -0.015em;
}
h3 {
  margin-bottom: 6px;
  font-size: 16px;
}
.hero-summary {
  margin-bottom: 14px;
  color: #35465d;
  font-size: 17px;
  line-height: 1.55;
}
.freshness {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 14px;
  padding: 0 4px;
}
.legend {
  color: var(--muted);
  font-size: 12px;
}
.component-list,
.timeline-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.component {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.component:last-child {
  border-bottom: 0;
}
.component p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.status-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--state-color, var(--unknown));
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.status-label::before {
  content: '';
  width: 9px;
  height: 9px;
  border: 3px solid currentColor;
  border-radius: 50%;
}
.timeline-item {
  padding: 21px 22px;
  border-bottom: 1px solid var(--line);
}
.timeline-item:last-child {
  border-bottom: 0;
}
.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}
.timeline-meta {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.timeline-item > p {
  color: #40516a;
  line-height: 1.55;
}
.updates {
  margin: 16px 0 0;
  padding-left: 20px;
  border-left: 2px solid var(--line);
  list-style: none;
}
.updates li {
  position: relative;
  margin: 0 0 15px;
  color: #35465d;
  font-size: 14px;
  line-height: 1.5;
}
.updates li:last-child {
  margin-bottom: 0;
}
.updates li::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--state-color, var(--unknown));
}
.updates time {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}
.empty {
  padding: 22px;
  color: var(--muted);
}
.subscription-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: 20px;
  color: #fff;
  background: var(--navy);
}
.subscription-card p:not(.eyebrow) {
  max-width: 600px;
  margin: 8px 0 0;
  color: #d9e4f2;
  line-height: 1.55;
}
.subscription-card .eyebrow {
  color: #aabdd4;
}
.feed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  color: #fff;
  background: #285792;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.button:hover {
  color: #fff;
  background: #1d477d;
}
.button-secondary {
  border-color: #b9c9db;
  color: var(--navy);
  background: #fff;
}
.button-secondary:hover {
  color: var(--navy);
  background: #edf3f8;
}
.explanation {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}
.explanation p {
  margin: 10px 0 0;
  color: #48596f;
  line-height: 1.65;
}
.notice {
  padding: 16px 18px;
  border: 1px solid #dfbd79;
  border-radius: 12px;
  background: #fff9e9;
}
footer {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
body[data-overall-status='operational'] {
  --state-color: var(--operational);
}
body[data-overall-status='degraded'] {
  --state-color: var(--degraded);
}
body[data-overall-status='major_outage'] {
  --state-color: var(--outage);
}
body[data-overall-status='maintenance'] {
  --state-color: var(--maintenance);
}
body[data-overall-status='unknown'] {
  --state-color: var(--unknown);
}
[data-status='operational'] {
  --state-color: var(--operational);
}
[data-status='degraded'] {
  --state-color: var(--degraded);
}
[data-status='major_outage'] {
  --state-color: var(--outage);
}
[data-status='maintenance'] {
  --state-color: var(--maintenance);
}
[data-status='recovering'] {
  --state-color: var(--recovering);
}
[data-status='unknown'] {
  --state-color: var(--unknown);
}
@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    padding: 18px 0;
  }
  .brand-section,
  nav > a:first-child {
    display: none;
  }
  main {
    margin-top: 16px;
  }
  .status-hero {
    grid-template-columns: 1fr;
  }
  .status-symbol {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
  .component {
    align-items: start;
  }
  .status-label {
    white-space: normal;
    text-align: right;
  }
  .legend {
    display: none;
  }
  .timeline-header,
  .subscription-card {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
@media (forced-colors: active) {
  .status-symbol span,
  .status-label::before {
    forced-color-adjust: none;
  }
}
