:root {
  color-scheme: light;
  font: 16px/1.5 system-ui, sans-serif;
  color: #1b2532;
  background: #f5f7fa;
}

* { box-sizing: border-box; }
body { margin: 0; }
.shell { min-height: 100vh; display: grid; grid-template-columns: minmax(17rem, 34%) 1fr; }
.brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 12rem;
  padding: clamp(2rem, 6vw, 5rem);
  color: #eef4fa;
  background: radial-gradient(ellipse at 85% 85%, #263c58, transparent 60%), #142233;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: inherit;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.2;
}
.mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid #71849d;
  border-radius: .35rem;
  font-size: .92rem;
  letter-spacing: .06em;
}
.brand p { margin: 0; font-size: clamp(1.7rem, 3.8vw, 3.4rem); line-height: 1.12; letter-spacing: -.045em; }
main { display: grid; align-items: center; justify-items: center; padding: 3rem 1.5rem; }
.content { width: min(100%, 24rem); }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.14; letter-spacing: -.045em; }
.intro { margin: .75rem 0 2rem; color: #47576a; }
form { display: grid; gap: .5rem; }
label { font-weight: 650; }
input:not([type="hidden"]) {
  display: block;
  width: 100%;
  min-width: 0;
  padding: .8rem .9rem;
  margin-bottom: .65rem;
  border: 1px solid #a8b4c3;
  border-radius: .45rem;
  background: white;
  color: inherit;
  font: inherit;
}
button {
  min-height: 3rem;
  margin-top: .5rem;
  border: 0;
  border-radius: .45rem;
  color: white;
  background: #23476e;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
button:hover { background: #173655; }
button:disabled { opacity: .7; cursor: wait; }
:focus-visible { outline: 3px solid #3268a3; outline-offset: 3px; }
.error { margin: 0 0 .45rem; border-radius: .45rem; padding: .75rem; background: #fbedeb; color: #7e2925; }

@media (max-width: 44rem) {
  .shell { display: block; min-height: initial; }
  .brand { min-height: 0; padding: 1.25rem 1.5rem; }
  .brand p { display: none; }
}
