:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: #000;
  color: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #000;
  color: #fff;
}

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

.brand {
  display: block;
  width: min(440px, 78vw);
  height: auto;
  margin: 0 auto 28px;
}

h1 {
  margin: 0 0 10px;
  text-align: center;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  letter-spacing: .04em;
}

.intro {
  margin: 0 auto 30px;
  max-width: 620px;
  text-align: center;
  color: #d7d7d7;
  line-height: 1.55;
}

.notice {
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid #585858;
  border-radius: 10px;
  background: #171717;
  line-height: 1.5;
}

.notice--success {
  border-color: #3f8f5a;
  background: #102819;
}

.notice--error {
  border-color: #b55454;
  background: #311515;
}

.notice ul {
  margin: 8px 0 0;
  padding-left: 22px;
}

form {
  padding: clamp(18px, 5vw, 32px);
  border: 1px solid #3a3a3a;
  border-radius: 14px;
  background: #101010;
  text-align: left;
}

.field {
  margin-bottom: 20px;
}

label,
legend {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

.optional {
  color: #aaa;
  font-weight: 400;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #686868;
  border-radius: 8px;
  padding: 11px 12px;
  background: #050505;
  color: #fff;
  font: inherit;
}

textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.45;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.help {
  display: block;
  margin-top: 6px;
  color: #aaa;
  font-size: .9rem;
}

button {
  width: 100%;
  border: 1px solid #fff;
  border-radius: 9px;
  padding: 12px 18px;
  background: #fff;
  color: #000;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s;
}

button:hover {
  background: #252525;
  color: #fff;
  transform: translateY(-1px);
}

.privacy {
  margin-top: 20px;
  color: #c5c5c5;
  font-size: .9rem;
  line-height: 1.5;
}

.privacy summary {
  cursor: pointer;
  color: #fff;
  font-weight: 700;
}

.back {
  display: inline-block;
  margin-top: 24px;
  color: #fff;
}

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 20px, 760px);
    padding-top: 20px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
