:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #102033;
  background: #f4f7fa;
  --navy: #17365d;
  --blue: #2f6b7c;
  --line: #d8e0e8;
  --muted: #5d6a78;
  --ok: #17653a;
  --ok-bg: #e8f5ed;
  --warn: #865900;
  --warn-bg: #fff4d6;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem clamp(1rem, 5vw, 4.5rem);
  color: #fff;
  background: linear-gradient(120deg, #102b4e, #245b73);
}
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.03em; }
h2 { margin-bottom: .8rem; font-size: 1.35rem; }
.eyebrow { margin-bottom: .45rem; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; opacity: .8; }
main { width: min(1120px, calc(100% - 2rem)); margin: 2rem auto 4rem; display: grid; gap: 2rem; }
section { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1rem, 3vw, 1.75rem); box-shadow: 0 12px 30px rgba(16, 43, 78, .06); }
.intro, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.intro p, .section-heading p { margin-bottom: 0; color: var(--muted); max-width: 760px; line-height: 1.55; }
button { border: 0; border-radius: 10px; padding: .8rem 1rem; background: var(--navy); color: #fff; font-weight: 700; cursor: pointer; }
button:hover { background: #245b73; }
.status { display: inline-flex; align-items: center; min-width: 7rem; justify-content: center; border-radius: 999px; padding: .55rem .9rem; font-weight: 800; }
.status-ok { color: var(--ok); background: var(--ok-bg); }
.status-warn { color: var(--warn); background: var(--warn-bg); }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: .85rem; }
.metric { border: 1px solid var(--line); border-radius: 14px; padding: 1rem; background: #fbfcfd; }
.metric strong { display: block; font-size: 1.7rem; color: var(--navy); }
.metric span { color: var(--muted); font-size: .9rem; }
.checks { display: grid; gap: .7rem; margin-top: 1.2rem; }
.check { display: grid; grid-template-columns: 1.3rem minmax(180px, .8fr) 2fr; gap: .8rem; align-items: start; padding: .9rem; border: 1px solid var(--line); border-radius: 12px; }
.check-icon { font-weight: 900; color: var(--ok); }
.check.fail .check-icon { color: var(--warn); }
.check p { margin: 0; color: var(--muted); line-height: 1.45; }
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.brand { padding: 1rem; border-left: 4px solid var(--blue); background: #f6fafc; border-radius: 0 12px 12px 0; }
.brand strong { display: block; margin-bottom: .35rem; }
.brand span { color: var(--muted); }
footer { padding: 1.25rem; text-align: center; color: var(--muted); font-size: .9rem; }
@media (max-width: 700px) {
  .topbar, .intro, .section-heading { align-items: flex-start; flex-direction: column; }
  .check { grid-template-columns: 1.3rem 1fr; }
  .check p { grid-column: 2; }
  button { width: 100%; }
}
