* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; }
.page {
  min-height: 100dvh;
  padding: 0 18px 40px;
  background: radial-gradient(ellipse at 70% 0%, #3a183b 0%, transparent 570px), #100e15;
  color: #faf6fa;
}

.nav {
  max-width: 840px;
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand, .back { text-decoration: none; color: inherit; }
.brand { font-size: 1.5rem; font-weight: 900; font-style: italic; }
.brand strong, .eyebrow { color: #ff8cbc; }
.back { color: #eac8dc; font-size: .9rem; }
.back:hover { text-decoration: underline; }

.card {
  width: min(100%, 570px);
  margin: 20px auto 0;
  padding: clamp(20px, 5vw, 34px);
  border: 1px solid #553a56;
  border-radius: 16px;
  background: #211927;
}

.eyebrow { font-size: .75rem; font-weight: 800; letter-spacing: .13em; margin: 0 0 8px; }
.card h1 { margin: 0; font-size: clamp(1.7rem, 5vw, 2.35rem); line-height: 1.12; }
.intro, .success p { margin: 10px 0 0; line-height: 1.5; color: #cfc0d3; }
.form { display: grid; gap: 14px; margin-top: 22px; }
.form label { display: block; color: #f1e6f0; font-size: .93rem; font-weight: 750; }
.form label span { color: #baa8be; font-weight: 400; }
.form input:not([type='hidden']), .form select {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 10px 11px;
  min-height: 44px;
  border: 1px solid #684b69;
  border-radius: 8px;
  background: #15111a;
  color: #fff4fb;
  font: 400 1rem Arial, Helvetica, sans-serif;
  color-scheme: dark;
}
.page :is(a, button, input, select):focus-visible { outline: 2px solid #ff8cbc; outline-offset: 3px; }
.submit {
  justify-self: start;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  min-height: 43px;
  padding: 9px 15px;
  border: 0;
  border-radius: 8px;
  background: #fa80b4;
  color: #21131d;
  font-weight: 800;
  text-decoration: none;
}
.submit:hover { background: #ffa2c9; }
.success .submit { margin-top: 18px; }
