:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Tahoma, sans-serif;
  background: #101412;
  color: #f2f5ee;
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at 75% 15%, #243928 0, #101412 45%);
}
.panel {
  width: min(100%, 455px);
  border: 1px solid #354238;
  border-radius: 22px;
  background: #19201b;
  padding: clamp(24px, 5vw, 44px);
  box-shadow: 0 30px 90px #0005;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  font-size: 19px;
}
.brand img {
  width: 30px;
  height: 30px;
}
.brand span {
  font-size: 9px;
  color: #a2afa5;
  align-self: end;
  margin-bottom: 3px;
}
.eyebrow {
  color: #c8f36b;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 10px;
  margin-top: 52px;
}
h1 {
  margin: 8px 0 10px;
  line-height: 1.2;
  font-size: clamp(30px, 7vw, 40px);
  letter-spacing: -0.04em;
}
p {
  line-height: 1.7;
  color: #b8c5b9;
}
form {
  margin-top: 32px;
}
form[hidden] {
  display: none;
}
label {
  display: block;
  margin: 0 0 20px;
  color: #dfe7dc;
  font-weight: 600;
}
input {
  display: block;
  width: 100%;
  min-height: 49px;
  margin-top: 7px;
  border: 1px solid #435045;
  border-radius: 10px;
  background: #101412;
  color: #fff;
  padding: 12px;
  font: inherit;
}
input:focus {
  outline: 2px solid #c8f36b;
  outline-offset: 2px;
}
small {
  display: block;
  color: #a2afa5;
  line-height: 1.5;
  margin: -2px 0 20px;
}
button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  border-radius: 10px;
  background: #c8f36b;
  color: #172017;
  padding: 14px 18px;
  min-height: 50px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.message {
  min-height: 24px;
  margin-top: 14px;
  font-size: 13px;
}
.message.error {
  color: #ffb9ad;
}
.footer {
  border-top: 1px solid #354238;
  padding-top: 21px;
  color: #a2afa5;
  font-size: 12px;
  text-align: center;
  margin-top: 42px;
}
@media (max-width: 480px) {
  .panel {
    padding: 26px;
  }
  .eyebrow {
    margin-top: 36px;
  }
}
