:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #fff6e8;
  background: #160d2f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: radial-gradient(ellipse at 80% 0, #43215e, transparent 60%);
  min-height: 100vh;
}
main {
  max-width: 660px;
  margin: auto;
  padding: 48px 24px;
}
a {
  color: #f5c65b;
}
.brand {
  font-weight: 900;
  font-size: 28px;
  text-decoration: none;
  letter-spacing: 3px;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 4px;
  margin-top: 5px;
}
h1 {
  font-size: clamp(32px, 7vw, 48px);
  line-height: 1.1;
  margin: 36px 0 20px;
}
h2 {
  font-size: 22px;
}
p {
  line-height: 1.65;
}
section {
  padding: 24px;
  margin-top: 28px;
  border: 1px solid #684785;
  border-radius: 20px;
  background: #281540;
}
label {
  display: block;
  margin: 18px 0 8px;
  font-weight: 650;
}
input,
button {
  font: inherit;
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid #846398;
  padding: 12px 14px;
}
input {
  background: #160d2f;
  color: #fff;
}
button {
  background: linear-gradient(#ffdf92, #e7b94a);
  color: #28153c;
  font-weight: 750;
  margin-top: 18px;
  cursor: pointer;
  border-color: #f5c65b;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
.danger {
  background: #963846;
  color: white;
  border-color: #db7886;
}
.secondary {
  background: transparent;
  color: #f5c65b;
}
input:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #a1ddff;
  outline-offset: 3px;
}
.muted {
  font-size: 13px;
  color: #c3b4d8;
}
#status {
  white-space: pre-line;
  color: #ffdb9f;
}
footer {
  margin-top: 30px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 440px) {
  main {
    padding: 28px 16px;
  }
  section {
    padding: 18px;
  }
}
