:root {
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #201b33;
  background: #f7f6fb;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
}

main {
  box-sizing: border-box;
  width: min(36rem, calc(100% - 2rem));
  padding: 2rem;
}

.brand {
  margin: 0;
  color: #6246c7;
  font-weight: 750;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0.35rem 0 1.75rem;
  font-size: clamp(2rem, 8vw, 3rem);
  letter-spacing: -0.04em;
}

.status {
  display: flex;
  gap: 0.9rem;
  padding: 1.25rem;
  border: 1px solid #ded9ed;
  border-radius: 1rem;
  background: #ffffff;
}

.indicator {
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.35rem;
  flex: none;
  border-radius: 50%;
  background: #817a93;
}

.status.available .indicator { background: #16794b; }
.status.unavailable .indicator { background: #b42335; }

.state {
  margin: 0;
  font-weight: 700;
}

.detail,
.checked {
  margin: 0.3rem 0 0;
  color: #635c72;
}

.checked {
  padding-inline: 1.25rem;
  font-size: 0.85rem;
}

@media (prefers-color-scheme: dark) {
  :root { color: #f4f1ff; background: #0d0a16; }
  .brand { color: #b9a7ff; }
  .status { background: #171222; border-color: #383047; }
  .detail, .checked { color: #b8b0c6; }
  .status.available .indicator { background: #4fd092; }
  .status.unavailable .indicator { background: #ff7587; }
}
