:root {
  --ember: #E8833A; --ink: #1C1F24; --paper: #F5F3EF; --white: #FFFFFF; --muted: #585e66; --line: #d6d4d0;
  --ok: #1f7a3a; --warn: #8a5a00; --bad: #b42318; --none: #d6d4d0;
  --ok-fill: #2f9e52; --warn-fill: #d29922; --bad-fill: #d1432f;
  font-family: 'Segoe UI', Arial, sans-serif; color: var(--ink); background: var(--paper); color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid #a74310; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(980px, calc(100% - 40px)); margin-inline: auto; }
.top { background: var(--ink); color: var(--paper); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; flex-wrap: wrap; }
.top :focus-visible { outline-color: #FFC857; }
.top nav { display: flex; gap: 20px; flex-wrap: wrap; }
.top nav a { text-decoration: none; }
.top nav a[aria-current="page"] { color: var(--ember); }
.note { color: var(--muted); font-size: .92rem; }
.banner { margin: 32px 0 24px; padding: 22px 24px; border-radius: 10px; border: 2px solid currentColor; background: var(--white); }
.banner h1 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); letter-spacing: -.02em; line-height: 1.2; }
.banner p { margin-top: 6px; color: var(--ink); }
.banner.up { color: var(--ok); } .banner.degraded { color: var(--warn); } .banner.down { color: var(--bad); } .banner.unknown { color: var(--muted); }
.banner h1 { color: inherit; }
.components { list-style: none; padding: 0; margin: 0 0 28px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; }
.component { padding: 18px 20px; }
.component + .component { border-top: 1px solid var(--line); }
.component-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.component h3 { font-size: 1.1rem; }
.component-state { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.pill { display: inline-block; font-size: .85rem; font-weight: 700; padding: 1px 10px; border-radius: 999px; border: 2px solid currentColor; }
.pill.up { color: var(--ok); } .pill.degraded { color: var(--warn); } .pill.down { color: var(--bad); } .pill.unknown { color: var(--muted); }
.bars { display: grid; grid-template-columns: repeat(90, 1fr); gap: 2px; height: 30px; margin-top: 14px; }
.day { display: block; border-radius: 2px; background: var(--none); }
.day.up { background: var(--ok-fill); } .day.degraded { background: var(--warn-fill); } .day.down { background: var(--bad-fill); }
.bars-legend { display: flex; justify-content: space-between; margin-top: 4px; font-size: .8rem; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--ink); color: var(--paper); border-radius: 10px; padding: 22px 24px; margin-bottom: 32px; }
.cta h2 { font-size: 1.3rem; } .cta p { color: #c9ced6; }
.cta :focus-visible { outline-color: #FFC857; }
.button { display: inline-block; font-weight: 700; text-decoration: none; padding: 10px 20px; border-radius: 6px; background: var(--ember); color: var(--ink); }
.button:hover { background: #f09a57; }
section > h2 { font-size: 1.3rem; margin-bottom: 10px; }
.events { list-style: none; padding: 0; margin: 0 0 32px; }
.events li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.events time { color: var(--muted); font-variant-numeric: tabular-nums; }
.foot { color: var(--muted); font-size: .85rem; padding-block: 20px 40px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
@media (max-width: 560px) { .bars { gap: 1px; height: 24px; } .component-state { align-items: flex-start; text-align: left; } }
