:root {
  color-scheme: light;
  color: #201638;
  background: #f5f1fc;
  font-family: system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; padding: clamp(1rem, 4vw, 3rem); }
main {
  max-width: 36rem;
  margin: clamp(0rem, 8vh, 4rem) auto 0;
  padding: clamp(1.25rem, 5vw, 2.75rem);
  background: #fff;
  border: 1px solid #e6def2;
  border-radius: 1.2rem;
}
h1 { margin: 0 0 1.5rem; font-size: clamp(1.75rem, 5vw, 2.5rem); }
nav, form { display: grid; gap: .75rem; }
nav a, button {
  display: flex;
  justify-content: space-between;
  min-height: 3rem;
  align-items: center;
  padding: .7rem 1rem;
  border-radius: .55rem;
  border: 1px solid #d9cef0;
  background: #f2ebfc;
  color: #4b2492;
  font-weight: 650;
  text-decoration: none;
}
button { background: #5328a4; color: white; justify-content: center; cursor: pointer; }
button:disabled { opacity: .65; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #7647ce;
  outline-offset: 3px;
}
.back { display: inline-block; color: #5328a4; margin-bottom: 1rem; }
label { font-weight: 600; }
input, select, textarea, button { font: inherit; }
input, select, textarea {
  width: 100%;
  color: inherit;
  min-height: 2.75rem;
  padding: .6rem;
  border: 1px solid #a99abb;
  border-radius: .45rem;
  background: white;
}
p { margin: 0; font-size: .9rem; color: #554969; }
#status[data-error] { color: #9b1740; }
