:root {
  color-scheme: light dark;
  --background: #f7f8f7;
  --ink: #15161a;
  --muted: #535b58;
  --line: #dce2de;
  --ok: #0b7848;
  --ok-bg: #e7f5ed;
  --warning: #8c4906;
  --warning-bg: #fff2dc;
}

* { box-sizing: border-box; }

body {
  display: grid;
  place-items: center;
  min-height: 100svh;
  margin: 0;
  padding: 24px;
  background: var(--background);
  color: var(--ink);
  font: 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.status {
  display: grid;
  justify-items: center;
  width: min(100%, 620px);
  text-align: center;
}

.logo {
  display: block;
  width: 137px;
  height: auto;
}

.status-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: 34px;
  border: 1px solid color-mix(in srgb, var(--ok) 23%, var(--ok-bg));
  border-radius: 12px;
  background: var(--ok-bg);
  color: var(--ok);
  font-size: 24px;
}

.status-mark.warning {
  border-color: color-mix(in srgb, var(--warning) 23%, var(--warning-bg));
  background: var(--warning-bg);
  color: var(--warning);
}

h1 {
  margin: 15px 0 20px;
  font-size: clamp(1.65rem, 6vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.15;
}

.report {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  text-decoration: none;
}

.report:hover {
  border-color: var(--muted);
}

.report:focus-visible {
  outline: 2px solid var(--ok);
  outline-offset: 4px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #151719;
    --ink: #ecf0ed;
    --muted: #a8b3ac;
    --line: #343a37;
    --ok: #6bdaa0;
    --ok-bg: #192e24;
    --warning: #ffc578;
    --warning-bg: #332516;
  }
}
