:root {
  font: 100%/1.5 "Inter", "Segoe UI", sans-serif;
  color: #222335;
  background: #f7f7fc;
  --accent: #5643ba;
}
* { box-sizing: border-box }
body { margin: 0 }
main {
  max-width: 110rem;
  min-height: 100svh;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  padding: clamp(.8rem, 2.2vw, 2.4rem);
}
aside {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 2rem;
  color: #fff;
  background: radial-gradient(ellipse at 65% 32%, #535284, #272746 58%, #191930);
}
.sky { position: absolute; inset: 0; z-index: -1; overflow: hidden }
.sky::before, .sky::after {
  content: "";
  position: absolute;
  width: 145%;
  height: 52%;
  left: -25%;
  border-radius: 50%;
  transform: rotate(-32deg);
}
.sky::before {
  top: 19%;
  background: linear-gradient(170deg, #d8fffa 0%, #91c8d5 8%, #978bd9 23%, #514983 49%, #24213f 78%);
  box-shadow: inset 0 2px 6px #fff9, 0 -12px 60px #a1a2f64d;
}
.sky::after {
  top: 54%;
  left: -15%;
  background: linear-gradient(175deg, #e1ddff, #988bd1 13%, #514b81 35%, #282641 70%);
  box-shadow: inset 0 2px 4px #fff9;
}
.caption {
  font-size: clamp(4.5rem, 9vw, 10rem);
  line-height: 1;
  font-weight: 550;
  letter-spacing: -.075em;
  text-shadow: 0 3px 20px #211c4755;
}
aside header {
  position: absolute;
  right: clamp(1.2rem, 3vw, 3rem);
  bottom: clamp(1rem, 3vw, 3rem);
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
}
.mark, .panel-icon { display: grid; place-items: center; border-radius: .85rem }
.mark { width: 2.35rem; height: 2.35rem; background: #ffffff24; border: 1px solid #ffffff66 }
.mark svg { width: 1.5rem }
section { display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 5rem) }
.panel { width: min(100%, 25rem) }
.panel-icon { width: 3.25rem; height: 3.25rem; margin-bottom: 1.6rem; color: var(--accent); background: #e9e6fa }
h1 { margin: 0; font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: 1.09; letter-spacing: -.055em; font-weight: 650 }
p { color: #57596a; margin: .85rem 0 2rem }
label { display: block; font-size: .94rem; font-weight: 600; margin: 1rem 0 .45rem }
input, button, .login-link { font: inherit; width: 100%; border-radius: .85rem; padding: .85rem 1rem }
input { color: inherit; background: white; border: 1px solid #b9b8c8 }
button, .login-link {
  border: 0; display: block; text-align: center; cursor: pointer;
  color: white; background: var(--accent); font-weight: 600; text-decoration: none;
  box-shadow: 0 4px 12px #43368a22;
}
button { margin-top: 1.5rem }
button:hover, .login-link:hover { background: #48379f }
:focus-visible { outline: 3px solid #806ad8; outline-offset: 3px }
.error { color: #822941; padding: .8rem 1rem; border-radius: .65rem; background: #fceaf0; margin: 1rem 0 }
.error:empty { display: none }
@media (max-width: 700px) {
  main { grid-template-columns: 1fr; grid-template-rows: clamp(12rem, 32svh, 17rem) 1fr; padding: .65rem }
  aside { border-radius: 1.4rem }
  section { padding: 2.25rem 1rem; align-items: start }
  .caption { font-size: 4.5rem }
  .panel-icon { margin-bottom: 1rem }
}
