:root {
  color-scheme: light;
  --ink: #0b2540;
  --ink-soft: #526b7d;
  --blue: #0b63f6;
  --navy: #092944;
  --line: #d8e6ed;
  --surface: #ffffff;
  --background: #f3f7f9;
  --green: #16856f;
  --green-strong: #087461;
  --green-soft: #e8f7f2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
}

.header-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; }
.brand img { display: block; width: 154px; height: auto; }

.header-label {
  padding-left: 18px;
  border-left: 1px solid #cbdbe3;
  color: #496679;
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .055em;
  text-transform: uppercase;
}

main { padding: 56px 0 68px; }

.page-heading,
.section-title,
.incident-summary,
.support-card,
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.page-heading { align-items: flex-end; margin-bottom: 30px; }

.eyebrow {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1, h2, h3, h4, p { overflow-wrap: anywhere; }

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.last-checked {
  flex: 0 0 auto;
  margin: 0;
  color: #718696;
  font-size: .78rem;
  line-height: 1.55;
  text-align: right;
}

.last-checked strong { color: #425d70; font-size: .82rem; }

.overall-status {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 23px 25px;
  border: 1px solid #b9dfd4;
  border-radius: 16px;
  background: var(--green-soft);
}

.status-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 1.15rem;
  font-weight: 900;
}

.overall-status h2 {
  margin: 0;
  color: #075b4e;
  font-size: 1.2rem;
  line-height: 1.35;
}

.overall-status p { margin: 3px 0 0; color: #3c6f64; font-size: .92rem; }

.service-card,
.incident-card {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(17, 61, 84, .055);
}

.section-title { align-items: center; padding: 25px 27px 21px; }

.section-title h2 {
  margin: 0;
  color: #17384f;
  font-size: 1.25rem;
  letter-spacing: -.018em;
}

.legend,
.service-state,
.resolved-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-strong);
  font-size: .8rem;
  font-weight: 760;
  white-space: nowrap;
}

.legend i,
.service-state i,
.resolved-label i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20a887;
  box-shadow: 0 0 0 4px rgba(32, 168, 135, .12);
}

.service-list { border-top: 1px solid var(--line); }

.service-row {
  display: flex;
  min-height: 82px;
  padding: 17px 27px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #e4edf1;
}

.service-row:last-child { border-bottom: 0; }
.service-row > div { display: grid; gap: 2px; }
.service-row strong { color: #214158; font-size: .96rem; }
.service-row span:not(.service-state) { color: #687f8f; font-size: .83rem; }

.incident-section { margin-top: 42px; }
.incidents-heading { padding: 0; }
.incident-card { margin-top: 18px; }

.incident-summary { padding: 28px; }
.incident-summary > div { flex: 0 0 260px; }

.resolved-label {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  font-size: .75rem;
}

.incident-summary h3 {
  margin: 13px 0 3px;
  color: #17384f;
  font-size: 1.22rem;
}

.incident-time {
  display: flex;
  gap: 6px;
  margin: 0;
  color: #718696;
  font-size: .8rem;
}

.incident-result {
  max-width: 520px;
  margin: 3px 0 0;
  color: #496679;
  font-size: .95rem;
}

.incident-details { border-top: 1px solid var(--line); }

.incident-details summary {
  display: flex;
  min-height: 58px;
  padding: 0 28px;
  align-items: center;
  justify-content: space-between;
  color: #31566d;
  font-size: .86rem;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.incident-details summary::-webkit-details-marker { display: none; }

.incident-details summary span {
  width: 9px;
  height: 9px;
  border-right: 2px solid #597587;
  border-bottom: 2px solid #597587;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}

.incident-details[open] summary span { transform: rotate(225deg) translate(-2px, -2px); }

.timeline {
  margin: 0;
  padding: 4px 28px 26px;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 19px;
  padding: 14px 0 14px 22px;
  border-left: 2px solid #dbe6eb;
}

.timeline li::before {
  position: absolute;
  left: -6px;
  top: 22px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  content: "";
  background: #8aa0ae;
  box-shadow: 0 0 0 1px #8aa0ae;
}

.timeline li.is-resolved::before { background: #20a887; box-shadow: 0 0 0 1px #20a887; }
.timeline time { color: #637c8d; font-size: .82rem; font-weight: 700; }
.timeline h4 { margin: 0; color: #284b62; font-size: .92rem; }
.timeline p { margin: 3px 0 0; color: #61798a; font-size: .86rem; }

.support-card {
  margin-top: 24px;
  padding: 24px 27px;
  align-items: center;
  border: 1px solid #cadde5;
  border-radius: 16px;
  background: #eaf3f7;
}

.support-card h2 { margin: 0; color: #17384f; font-size: 1.05rem; }
.support-card p { max-width: 580px; margin: 4px 0 0; color: #526e80; font-size: .88rem; }

.support-links {
  display: grid;
  flex: 0 0 auto;
  gap: 3px;
  text-align: right;
}

.support-links a { color: #0755cf; font-size: .84rem; font-weight: 750; text-decoration: none; }
.support-links a:hover { text-decoration: underline; }

.site-footer { border-top: 1px solid var(--line); background: #fff; }

.footer-inner {
  min-height: 84px;
  align-items: center;
  color: #667e8e;
  font-size: .78rem;
}

.footer-inner a { color: #31566d; font-weight: 700; text-decoration: none; }

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 920px); }
  .header-inner { min-height: 76px; }
  .brand img { width: 132px; }
  .header-label { padding-left: 12px; font-size: .7rem; }
  main { padding: 38px 0 50px; }
  .page-heading,
  .incident-summary,
  .support-card,
  .footer-inner { flex-direction: column; }
  .page-heading { align-items: flex-start; gap: 12px; }
  .last-checked { text-align: left; }
  .overall-status { padding: 19px; }
  .overall-status p { font-size: .86rem; }
  .section-title { padding: 21px 19px 17px; }
  .legend { display: none; }
  .service-row { padding: 17px 19px; align-items: flex-start; gap: 13px; }
  .service-row span:not(.service-state) { max-width: 220px; }
  .service-state { margin-top: 2px; font-size: 0; }
  .service-state i { width: 10px; height: 10px; }
  .incident-summary { padding: 22px 20px; gap: 17px; }
  .incident-summary > div { flex-basis: auto; }
  .incident-details summary { padding: 0 20px; }
  .timeline { padding: 3px 20px 23px; }
  .timeline li { grid-template-columns: 76px 1fr; gap: 12px; padding-left: 17px; }
  .support-card { padding: 21px 20px; align-items: flex-start; gap: 13px; }
  .support-links { text-align: left; }
  .footer-inner { min-height: 96px; justify-content: center; align-items: flex-start; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
