:root {
  color-scheme: light dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f3f5f7;
  color: #17191c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(199, 255, 0, 0.2), transparent 38%),
    #f3f5f7;
}

button,
a {
  font: inherit;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
}

.card {
  width: min(100%, 420px);
  padding: 36px 28px 28px;
  border: 1px solid rgba(23, 25, 28, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(17, 20, 24, 0.12);
  text-align: center;
}

.brand {
  width: 78px;
  height: 78px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #111;
  background: #c7ff00;
  box-shadow: 0 14px 30px rgba(130, 168, 0, 0.28);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -4px;
}

h1 {
  margin: 0;
  font-size: clamp(26px, 7vw, 34px);
  line-height: 1.15;
}

.description {
  margin: 14px auto 0;
  color: #626a73;
  font-size: 16px;
  line-height: 1.55;
}

.status {
  min-height: 22px;
  margin: 24px 0 0;
  color: #7b838c;
  font-size: 14px;
  line-height: 1.5;
}

.status--error {
  color: #b42318;
}

.actions {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.button {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.button--primary {
  color: #101214;
  background: #c7ff00;
}

.button--secondary {
  color: #25292e;
  background: #edf0f3;
}

.hint {
  margin: 20px 0 0;
  color: #9098a1;
  font-size: 12px;
  line-height: 1.5;
}

[hidden] {
  display: none !important;
}

@media (prefers-color-scheme: dark) {
  :root {
    background: #080a0b;
    color: #f4f6f8;
  }

  body {
    background:
      radial-gradient(circle at 50% 0%, rgba(199, 255, 0, 0.13), transparent 36%),
      #080a0b;
  }

  .card {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(18, 20, 22, 0.96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  }

  .description,
  .status {
    color: #a8afb7;
  }

  .status--error {
    color: #ffb4ab;
  }

  .button--secondary {
    color: #f0f2f4;
    background: #292d31;
  }

  .hint {
    color: #858d96;
  }
}

@media (max-width: 360px) {
  .card {
    padding: 30px 20px 24px;
    border-radius: 24px;
  }
}
