:root {
  color-scheme: light;
  --ink: #202125;
  --muted: #6e6d71;
  --line: #e8e5df;
  --paper: #fffdfa;
  --canvas: #f7f5f1;
  --ok: #16825c;
  --ok-pale: #e4f5ed;
  --warn: #bd7200;
  --warn-pale: #fff1d7;
  --down: #bd3044;
  --down-pale: #fde8eb;
  --unknown: #74747a;
  --unknown-pale: #efeff1;
  --primary: #852cb2;
  --primary-light: #e5b0ff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
.shell { width: min(100% - 2rem, 780px); margin: 0 auto; padding: 2rem 0 4rem; }
.masthead { display: flex; align-items: center; justify-content: space-between; padding-bottom: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: inherit; font-size: 1.1rem; font-weight: 700; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: grid; width: 1.85rem; height: 1.85rem; place-items: center; background: var(--primary); color: white; border-radius: .48rem; font-size: .88rem; box-shadow:0 0 0 4px color-mix(in srgb,var(--primary-light) 55%,transparent); }
.brand-logo { display:none; width:auto; height:2rem; max-width:9rem; object-fit:contain; object-position:left center; }
.brand-logo.visible { display:block; }
.live-dot { color: var(--muted); font-size: .82rem; }
.live-dot i { display: inline-block; width: .5rem; height: .5rem; margin-right: .35rem; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-pale); }
.hero { padding: 0 0 3rem; }
.eyebrow { margin: 0 0 .55rem; color: var(--muted); font-size: .82rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: .75rem; font-size: clamp(2.35rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -.06em; }
.summary { margin: 0; font-size: 1.15rem; color: var(--muted); }
.services, .information { background: var(--paper); border: 1px solid var(--line); border-radius: 1rem; }
.services { overflow: hidden; }
.section-heading { display: flex; gap: 1rem; justify-content: space-between; align-items: start; padding: 1.4rem 1.45rem; border-bottom: 1px solid var(--line); }
.section-heading h2, .information h2 { margin-bottom: .22rem; font-size: 1.05rem; letter-spacing: -.02em; }
.section-heading p, .information p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }
#updated-at { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.component { padding: 1.3rem 1.45rem 1.25rem; border-bottom: 1px solid var(--line); }
.component:last-child { border-bottom: 0; }
.component-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.component h3 { margin: 0; font-size: 1rem; letter-spacing: -.015em; }
.state { display: inline-flex; align-items: center; gap: .38rem; font-size: .8rem; font-weight: 650; white-space: nowrap; }
.state::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.state.operational { color: var(--ok); }
.state.degraded { color: var(--warn); }
.state.outage { color: var(--down); }
.state.unknown { color: var(--unknown); }
.uptime { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; color: var(--muted); font-size: .78rem; }
.bars { display: grid; flex: 1; grid-template-columns: repeat(30, 1fr); gap: 2px; max-width: 370px; }
.bar { height: .48rem; border-radius: 2px; background: var(--ok); }
.bar.degraded { background: var(--warn); }
.bar.outage { background: var(--down); }
.bar.unknown { background: #d8d8db; }
.information { margin-top: 1.15rem; padding: 1.35rem 1.45rem; }
footer { width: min(100% - 2rem, 780px); margin: 0 auto; padding: 0 0 2rem; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .76rem; }

@media (max-width: 540px) {
  .shell { width: min(100% - 1.35rem, 780px); padding-top: 1.25rem; }
  .masthead { padding-bottom: 3.5rem; }
  .section-heading, footer { align-items: start; flex-direction: column; }
  .bars { max-width: none; }
}
