:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0b1020;
  color: #e5e7eb;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 0, rgb(69 84 170 / 22%), transparent 55%),
    #0b1020;
}

.page {
  width: min(100% - 32px, 520px);
  margin: 0 auto;
  padding: 64px 0 32px;
}

.card {
  padding: 36px;
  border: 1px solid #29334a;
  border-radius: 20px;
  background: rgb(17 24 39 / 92%);
  box-shadow: 0 24px 80px rgb(0 0 0 / 30%);
}

.eyebrow {
  color: #a5b4fc;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

h1 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 7vw, 36px);
  letter-spacing: -0.04em;
}

.intro {
  margin: 0 0 28px;
  color: #a8b1c3;
  line-height: 1.6;
}

.button {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: filter 120ms ease, transform 120ms ease;
}

.button:hover:not(:disabled) {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.discord-button {
  background: #5865f2;
}

.discord-mark {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 7px;
  background: rgb(255 255 255 / 18%);
  font-weight: 800;
}

.submit-button {
  width: 100%;
  margin-top: 20px;
  background: #6366f1;
}

.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
  padding: 12px 14px;
  border: 1px solid #29334a;
  border-radius: 10px;
  background: #151d30;
}

.account-row p {
  margin: 0;
  color: #a8b1c3;
  overflow-wrap: anywhere;
}

.account-row strong {
  color: #f3f4f6;
}

.text-link {
  flex: none;
  color: #a5b4fc;
  font-size: 14px;
}

label {
  display: block;
  margin: 18px 0 8px;
  color: #f3f4f6;
  font-size: 14px;
  font-weight: 650;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #35415a;
  border-radius: 9px;
  outline: none;
  background: #0e1628;
  color: #f3f4f6;
  font: inherit;
}

input:focus,
select:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgb(99 102 241 / 20%);
}

input[type="file"] {
  padding: 8px;
  color: #a8b1c3;
  font-size: 13px;
}

input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  background: #28334a;
  color: #e5e7eb;
  font: inherit;
  cursor: pointer;
}

.help,
.fine-print {
  color: #8792a8;
  font-size: 12px;
  line-height: 1.55;
}

.help {
  margin: 7px 0 0;
}

.error-text {
  color: #fecdd3;
}

.fine-print {
  margin: 22px 0 0;
}

.notice {
  padding: 12px 14px;
  border-radius: 9px;
  background: #1e293b;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.5;
}

.notice.error {
  background: #3b1d2a;
  color: #fecdd3;
}

.notice.success {
  margin-top: 14px;
  background: #15362c;
  color: #bbf7d0;
}

footer {
  margin: 20px 0 0;
  color: #738098;
  font-size: 12px;
  text-align: center;
}

[hidden] {
  display: none !important;
}

@media (max-width: 520px) {
  .page {
    padding-top: 24px;
  }

  .card {
    padding: 24px 20px;
    border-radius: 15px;
  }
}
