:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f6f5f1;
  color: #17201b;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(61, 93, 77, 0.12), transparent 42%),
    linear-gradient(315deg, rgba(169, 79, 58, 0.12), transparent 45%),
    #f6f5f1;
}

.panel {
  width: min(100%, 420px);
  padding: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 1px 2px rgba(23, 32, 27, 0.08),
    0 18px 48px rgba(23, 32, 27, 0.12);
  text-align: center;
}

.status-dot {
  width: 40px;
  height: 40px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #2f7d5b;
  box-shadow: 0 0 0 0 rgba(47, 125, 91, 0.28);
  animation: pulse 1.35s cubic-bezier(0.2, 0, 0, 1) infinite;
}

.status-dot.is-error {
  background: #b84a3a;
  animation: none;
}

h1 {
  margin: 0;
  font-size: clamp(24px, 6vw, 32px);
  line-height: 1.18;
  letter-spacing: 0;
  text-wrap: balance;
}

p {
  margin: 14px 0 0;
  color: #526158;
  font-size: 16px;
  line-height: 1.7;
  text-wrap: pretty;
}

.button {
  min-width: 120px;
  min-height: 44px;
  margin-top: 24px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: #17201b;
  color: #ffffff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition-property: transform, opacity;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.button:active {
  transform: scale(0.96);
}

.button[hidden] {
  display: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 125, 91, 0.28);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(47, 125, 91, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 125, 91, 0);
  }
}
