/* Toa Health, auth screens.
 *
 * Two panes: the form on the left, a reason to trust it on the right.
 * The right pane is not decoration. Someone typing their health details
 * into a new product is deciding whether to, and the founder line plus
 * the plain privacy statement are what answers that.
 */

.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
}
@media (max-width: 940px) {
  .auth { grid-template-columns: 1fr; min-height: 0; }
}

/* ---------------------------------------------------------- form pane */

.auth-main {
  display: flex; flex-direction: column;
  padding: var(--s5) clamp(var(--s5), 5vw, var(--s8)) var(--s7);
}

.auth-head { margin-bottom: auto; padding-bottom: var(--s7); }

.auth-form-wrap { width: min(100%, 420px); margin-inline: auto; }
.auth-form-wrap > h1 {
  font-size: clamp(28px, 3.6vw, 36px);
  margin-bottom: var(--s3);
}
.auth-form-wrap > .lede { margin-bottom: var(--s6); font-size: 16.5px; }

.auth-form { margin-bottom: var(--s5); }
.auth-form .btn-block { margin-top: var(--s5); }

.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 520px) { .auth-row { grid-template-columns: 1fr; } }

.auth-alt {
  margin-top: var(--s5);
  padding-top: var(--s5);
  border-top: 1px solid var(--border);
  font-size: 15px; color: var(--ink-2);
}

.auth-legal { margin-top: var(--s5); max-width: 46ch; }

.auth-foot { margin-top: auto; padding-top: var(--s7); }

/* The shell has no backend. Saying so on the screen where somebody is
   about to type a password is not optional. */
.auth-demo {
  display: flex; gap: var(--s3);
  padding: var(--s3) var(--s4);
  margin-bottom: var(--s5);
  border-radius: var(--r-sm);
  border: 1px solid rgba(196, 136, 31, 0.35);
  background: var(--watch-tint);
  color: var(--watch-ink);
  font-size: 13.5px; line-height: 1.5;
}
.auth-demo strong { color: var(--watch-ink); }

/* --------------------------------------------------------- side pane */

.auth-aside {
  display: flex; flex-direction: column; justify-content: center;
  gap: var(--s6);
  padding: var(--s8) clamp(var(--s5), 4vw, var(--s7));
  background: var(--surface-2);
  border-left: 1px solid var(--border);
}
@media (max-width: 940px) {
  .auth-aside { border-left: 0; border-top: 1px solid var(--border); padding-block: var(--s7); }
}

.auth-aside blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.9vw, 21px);
  line-height: 1.56;
  color: var(--ink);
}
.auth-aside blockquote p { max-width: 40ch; }
.auth-aside figcaption { margin-top: var(--s4); font-size: 14.5px; color: var(--ink-3); }
.auth-aside figcaption strong { display: block; color: var(--ink); font-size: 15px; }

.auth-points { max-width: 40ch; }
.auth-points h2 { font-size: 17px; margin-bottom: var(--s3); }

.auth-badge {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13.5px; color: var(--ink-2);
  width: fit-content;
}
