:root {
  --navy: #242732;
  --teal: #5fbbb9;
  --gold: #c9a751;
  --red: #b91817;
  --ink: #20232b;
  --muted: #657080;
  --surface: #ffffff;
  --background: #f2f4f7;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 6vw;
  color: #fff;
  background: var(--navy);
}
.brand { color: #fff; font-weight: 700; text-decoration: none; }
.separator { color: var(--gold); }
.container { width: min(1100px, 92vw); margin: 34px auto; }
.hero { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 22px; }
.eyebrow { margin: 0 0 8px; color: var(--teal); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1, h2 { margin-top: 0; }
h1 { margin-bottom: 10px; font-size: clamp(1.8rem, 4vw, 2.7rem); }
h2 { margin-bottom: 8px; font-size: 1.15rem; }
.hero p:last-child, .card p { color: var(--muted); line-height: 1.55; }
.card { margin-bottom: 20px; padding: 24px; border: 1px solid #e1e5ea; border-radius: 12px; background: var(--surface); box-shadow: 0 5px 18px #20232b0d; }
button { padding: 11px 15px; color: #fff; border: 0; border-radius: 7px; background: var(--teal); cursor: pointer; font-weight: 700; }
button:hover { filter: brightness(.92); }
button:disabled { cursor: wait; opacity: .6; }
.link-button { padding: 0; color: var(--navy); background: transparent; }
.link-button:hover { text-decoration: underline; }
.status { padding: 9px 12px; border-radius: 99px; font-size: .85rem; font-weight: 700; }
.status-ok { color: #166534; background: #dcfce7; }
.status-degraded { color: #854d0e; background: #fef9c3; }
.status-loading { color: var(--muted); background: #e8edf2; }
.report { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 15px 0; border-bottom: 1px solid #edf0f3; }
.report:last-child { border-bottom: 0; }
.report strong { display: block; margin-bottom: 4px; }
.report small { color: var(--muted); }
.report button { padding: 7px 10px; color: var(--navy); background: #e8f7f6; }
.finding { margin: 12px 0; padding: 13px; border-left: 4px solid var(--gold); background: #fafafa; }
.finding h3 { margin: 0 0 5px; font-size: 1rem; }
.finding p { margin: 4px 0; font-size: .92rem; }
.markdown { overflow-x: auto; padding: 18px; border-radius: 8px; color: var(--ink); background: #f7f8fa; line-height: 1.55; }
.markdown h1, .markdown h2, .markdown h3 { margin-top: 18px; }
.markdown h1:first-child, .markdown h2:first-child, .markdown h3:first-child { margin-top: 0; }
.markdown ul { padding-left: 24px; }
.markdown code { padding: 2px 5px; border-radius: 4px; background: #e8edf2; font-family: ui-monospace, monospace; font-size: .9em; }
.hidden { display: none; }
footer { padding: 20px; color: var(--muted); text-align: center; font-size: .85rem; }
@media (max-width: 700px) {
  .hero { display: block; }
  .status { display: inline-block; margin-top: 12px; }
  button { width: 100%; }
}
