:root {
  font-family: system-ui, sans-serif;
  color-scheme: light;
  color: #201c32;
  background: #171827;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 85% 10%, #30284e, #171827 65%);
}

main {
  width: min(100%, 448px);
  padding: clamp(24px, 6vw, 44px);
  background: #f9f8f5;
  border: 1px solid #e7e4ef;
  border-radius: 22px;
  box-shadow: 0 20px 60px #0b081e80;
}

.brand {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -.04em;
}

.brand-icon {
  display: inline-flex;
  justify-content: center;
  align-items: flex-end;
  gap: 3px;
  width: 32px;
  height: 32px;
  margin-right: 8px;
  padding-bottom: 7px;
  border-radius: 9px;
  background: #dff588;
}

.brand-icon i { width: 4px; height: 7px; border-radius: 3px; background: #201c32; }
.brand-icon i:nth-child(2) { height: 12px; }
.brand-icon i:nth-child(3) { height: 17px; }

h1 { margin: 24px 0 15px; font-size: clamp(1.7rem, 6vw, 2.2rem); letter-spacing: -.04em; }
p { margin: 0; line-height: 1.5; color: #504b66; }
form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; font-weight: 650; }
label[hidden] { display: none; }

input, button {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfcadc;
  border-radius: 10px;
  font: inherit;
}

input { min-width: 0; color: inherit; background: #fff; font-weight: 450; }
input[readonly] { background: #efedf6; }
:focus-visible { outline: 3px solid #7547cd; outline-offset: 2px; }

button {
  margin-top: 3px;
  border-color: #bfd26f;
  color: #201c32;
  background: #dff588;
  cursor: pointer;
  font-weight: 750;
}

button:hover { background: #d3ee71; }
.notice { margin: 0 0 15px; color: #82341e; }
