/* Login, waitlist sign-up and password reset pages. Built on the tokens in ui.css. */

body { background: var(--sand); min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow-x: hidden; overflow-x: clip; }

.topmark { position: relative; z-index: 2; padding: 24px 36px; }
.wrap { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; justify-content: center; padding: 16px 20px 150px; }
body > .band__waves { position: fixed; height: 110px; z-index: 0; }
.auth-sun { position: fixed; z-index: 0; right: 6vw; top: 70px; width: min(360px, 34vw); pointer-events: none; }
.auth-sun svg { width: 100%; height: auto; display: block; }

.card {
  width: 100%; max-width: 440px; padding: 34px;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 30px; box-shadow: 6px 6px 0 var(--ink);
}
.card__header { margin-bottom: 24px; }
.eyebrow {
  display: inline-block; transform: rotate(-3deg);
  font-size: 13px; font-weight: 700; padding: 5px 13px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--pink); color: var(--ink); margin-bottom: 14px;
}
.eyebrow--ok { background: var(--olive); color: var(--bg); }
.card h1 { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1.04; margin-bottom: 10px; }
.card h1 .it { font-style: normal; }
.subtitle { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.list-art { display: block; width: 220px; margin: 0 auto 8px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.form-group input {
  width: 100%; font-family: var(--font); font-size: 15px; color: var(--ink);
  padding: 13px 20px; background: var(--surface);
  border: 2px solid var(--ink); border-radius: 999px; outline: none;
}
.form-group input:focus { box-shadow: var(--ring); }
.form-group input::placeholder { color: #9C8676; }
.form-group__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.form-group__row a { font-size: 13px; font-weight: 700; }
.hint { font-size: 13px; color: var(--ink-2); margin-top: 6px; padding-left: 20px; }
.optional { font-weight: 500; color: var(--ink-2); }

.card .btn {
  display: flex; width: 100%; justify-content: center; margin-top: 8px;
  font-size: 16px; padding: 14px 24px; box-shadow: 4px 4px 0 var(--orange);
}
.card .btn:active { box-shadow: 2px 2px 0 var(--orange); }

.back-link { text-align: center; margin-top: 20px; font-size: 14px; }
.back-link a { font-weight: 700; }

@media (max-width: 600px) {
  .topmark { padding: 18px 16px; }
  .card { padding: 26px 20px; }
  .card h1 { font-size: 32px; }
  .auth-sun { opacity: 0.35; right: -60px; }
}
