@font-face {
  font-family: DM;
  src: url('/assets/fonts/dm-sans-400.ttf') format('truetype');
  font-display: swap;
}
:root {
  color-scheme: dark;
  background: #0a0a0f;
  color: #f3f0e9;
  font: 1rem/1.55 DM, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
header, main { width: min(100% - 2.5rem, 36rem); margin-inline: auto; }
header { padding-block: 1.5rem; }
header a { display: inline-block; }
header img { display: block; max-width: 100%; }
main {
  margin-block: 1rem 3rem;
  padding: clamp(1rem, 5vw, 2.25rem);
  border: 1px solid #3b374a;
  border-radius: 1rem;
  background: #121119;
}
h1 { margin: 0; line-height: 1.15; font-size: clamp(2rem, 7vw, 3rem); }
p { margin: .75rem 0 1.5rem; color: #c5c1cf; }
label { display: block; margin: 1rem 0 .35rem; }
input, select, textarea, button { font: inherit; }
input, select, textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  border: 1px solid #6b647e;
  border-radius: .5rem;
  padding: .65rem .75rem;
  color: inherit;
  background: #1c1927;
}
textarea { resize: vertical; }
button {
  margin-top: 1.25rem;
  min-height: 44px;
  border: 0;
  border-radius: .5rem;
  padding: .65rem 1rem;
  color: #151120;
  background: #d7cbff;
  font-weight: 700;
  cursor: pointer;
}
:focus-visible { outline: 2px solid #d7cbff; outline-offset: 3px; }
#status { margin-bottom: 0; }
#status:empty { display: none; }
button:disabled { opacity: .65; cursor: wait; }
