:root {
  font-family:
    "Segoe UI",
    -apple-system,
    BlinkMacSystemFont,
    Arial,
    sans-serif;
  color: #38343e;
  background: #f7f5f1;
  color-scheme: light;
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #8c72ac;
}
header,
footer {
  max-width: 1240px;
  margin: auto;
  padding: 30px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header {
  height: 102px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: #e9e2f1;
  color: #806398;
  border-radius: 12px;
  width: 36px;
  height: 36px;
  font-family: Georgia, serif;
  font-size: 25px;
  font-style: italic;
}
.header-note {
  font-size: 12px;
  color: #a49aa9;
}
main {
  max-width: 1160px;
  margin: 45px auto 65px;
  padding: 0 42px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 90px;
  align-items: center;
  min-height: calc(100vh - 310px);
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: #a092ad;
}
.welcome h1 {
  font-size: clamp(35px, 4.5vw, 57px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -2px;
  margin: 24px 0;
}
.welcome h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #967aa9;
  letter-spacing: -1.8px;
}
.welcome > p {
  font-size: 14px;
  line-height: 1.9;
  color: #98909d;
}
.day-note {
  margin: 44px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #a198aa;
  font-size: 12px;
  line-height: 1.9;
}
.day-note strong {
  font-weight: 500;
  color: #807489;
}
.note-spark {
  font-size: 45px;
  color: #b5ad8b;
}
.welcome-footer {
  padding-top: 22px;
  border-top: 1px solid #e9e4df;
  font-weight: 650;
  font-size: 17px;
  color: #8a7a97;
}
.welcome-footer span {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  font-weight: 400;
  color: #ada3b4;
}
.account-card {
  padding: 38px;
  background: #fffefa;
  border: 1px solid #eae4e9;
  border-radius: 28px;
  box-shadow: 0 16px 60px #55406406;
  max-width: 450px;
  width: 100%;
}
.app-icon {
  display: block;
  margin-bottom: 25px;
}
.account-card h2 {
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -0.8px;
  margin: 13px 0 10px;
}
.account-card > p {
  font-size: 12px;
  line-height: 1.8;
  color: #a097a6;
  margin-bottom: 25px;
}
.account-form {
  display: grid;
  gap: 9px;
}
.account-form label {
  font-size: 11px;
  color: #918496;
  margin-top: 10px;
}
.account-form input {
  width: 100%;
  border: 1px solid #e4dce9;
  border-radius: 12px;
  padding: 13px 14px;
  min-height: 46px;
  outline-color: #9c85b4;
  background: #faf8fc;
  color: #65546f;
  font-size: 13px;
}
.account-form input::placeholder {
  color: #b7aabd;
}
.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: 0;
  background: #8c72ac;
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  margin-top: 16px;
  cursor: pointer;
  font-size: 13px;
  min-height: 46px;
}
.primary-button:hover {
  background: #7f629f;
}
button:disabled {
  opacity: 0.55;
  cursor: default;
}
.secondary-button {
  display: block;
  width: 100%;
  border: 1px solid #e5ddea;
  border-radius: 12px;
  background: none;
  padding: 12px;
  margin-top: 12px;
  color: #90789f;
  font-size: 12px;
  cursor: pointer;
}
.account-error {
  color: #ab7283;
  font-size: 12px;
  line-height: 1.7;
  margin-top: 8px;
}
.account-card .account-footer {
  font-size: 10px;
  color: #b0a5b7;
  border-top: 1px solid #eee9ef;
  padding-top: 20px;
  margin: 25px 0 0;
}
.loading {
  font-size: 12px;
  color: #a69bad;
}
.success {
  color: #7e9771;
  font-size: 12px;
  line-height: 1.7;
}
.account-note {
  font-size: 10px;
  line-height: 1.7;
  color: #a69bad;
}
.account-footer strong {
  font-weight: 600;
  color: #9a87a6;
}
.account-footer p {
  margin: 7px 0 0;
  line-height: 1.8;
}
.account-footer a,
.contact-email {
  color: #8c72ac;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.registration-closed {
  padding: 18px;
  border: 1px solid #e8e0ed;
  background: #f5f1f8;
  border-radius: 15px;
  margin: 23px 0;
}
.registration-closed p {
  color: #a092aa;
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 9px;
}
.contact-email {
  font-size: 13px;
  line-height: 1.8;
}
footer {
  font-size: 10px;
  color: #b0a7b4;
  border-top: 1px solid #e9e4df;
}
footer span {
  font-size: 10px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  header {
    padding: 22px;
    height: 78px;
  }
  .header-note {
    display: none;
  }
  main {
    display: block;
    margin: 22px auto 45px;
    padding: 0 22px;
    min-height: calc(100vh - 210px);
  }
  .welcome {
    display: none;
  }
  .account-card {
    margin: auto;
    padding: 28px 25px;
    border-radius: 23px;
    max-width: 430px;
  }
  .account-card h2 {
    font-size: 25px;
  }
  footer {
    margin: 0 22px;
    padding: 22px 0;
    font-size: 9px;
  }
  footer span {
    font-size: 9px;
  }
}
