:root {
  --bg: #faf9f5;
  --text: #141413;
  --muted: #9c8e7a;
  --accent: #d97757;
  --green: #788c5d;
  --border: #e8e2d9;
  --font: "Poppins", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  -webkit-font-smoothing: antialiased;
}

main {
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.date {
  color: var(--muted);
  font-size: 0.9rem;
}

.answer {
  margin: 2.5rem 0 1.5rem;
}

.answer-word {
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.answer-loading {
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 800;
  color: var(--muted);
  line-height: 1;
}

.answer-no {
  color: var(--green);
}

.answer-yes {
  color: var(--accent);
}

.answer-yes-resolved {
  color: var(--muted);
}

.reason {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.current-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 2rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.status-dot-ok {
  background: var(--green);
}

.status-dot-degraded {
  background: var(--accent);
}

.status-dot-down {
  background: #c0392b;
}

.incidents {
  text-align: left;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.incidents-heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.incident {
  padding: 0.6rem 0;
  border-top: 1px solid var(--border);
}

.incident-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.incident-status {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.incident-resolved .incident-name {
  color: var(--muted);
}

footer {
  position: fixed;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
}

footer a {
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}

footer a:hover {
  color: var(--text);
}

.error-msg {
  color: var(--muted);
  font-size: 0.9rem;
}

.error-msg a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}
