: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;
  min-height: 100svh;
  background: #f2f5ed;
}

button,
a {
  font: inherit;
}

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

.card {
  width: min(100%, 400px);
  padding: 34px 26px 26px;
  border: 1px solid rgba(23, 25, 28, 0.08);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 22px 64px rgba(20, 30, 16, 0.1);
  text-align: center;
}

.brand {
  width: 68px;
  height: auto;
  margin: 0 auto 22px;
  display: block;
  filter: drop-shadow(0 12px 20px rgba(126, 162, 0, 0.22));
}

h1 {
  margin: 0;
  font-size: clamp(26px, 7vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.description {
  max-width: 330px;
  margin: 13px auto 0;
  color: #626a73;
  font-size: 16px;
  line-height: 1.5;
}

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

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

.actions {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

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

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

.button:focus-visible {
  outline: 3px solid rgba(80, 104, 0, 0.35);
  outline-offset: 3px;
}

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

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

.hint {
  margin: 18px 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: #090b09;
  }

  .card {
    border-color: rgba(255, 255, 255, 0.08);
    background: #141714;
    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: 28px 20px 22px;
    border-radius: 24px;
  }

  .brand {
    margin-bottom: 20px;
  }
}

@media (max-height: 700px) {
  .page {
    place-items: start center;
  }

  .card {
    margin-block: auto;
    padding-block: 26px 22px;
  }

  .brand {
    width: 64px;
    margin-bottom: 18px;
  }

  .status {
    margin-top: 18px;
  }
}
