/* Login / signup — the two-column entry screen. */

.wf-auth {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  height: 100%;
}

/* Short viewports scroll rather than crushing the hero. */
@media (max-height: 720px) {
  .wf-auth { overflow-y: auto; height: 100%; }
  .wf-auth-left { min-height: min(100%, 720px); }
}

/* Phones: one column — a compact pitch above the form, everything scrolls. */
@media (max-width: 760px) {
  .wf-auth {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100%;
    overflow-y: auto;
  }
  .wf-auth-left { padding: 28px 22px 10px; min-height: 0; }
  .wf-auth-mid { gap: 16px; }
  .wf-auth-blurb { font-size: 16px; }
  .wf-auth-stats { gap: 28px; }
  .wf-auth-stat-n { font-size: 24px; }
}

/* ── left: the pitch ────────────────────────────────────────────────────── */

.wf-auth-left {
  display: flex;
  flex-direction: column;
  padding: 52px 60px;
}

.wf-auth-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.wf-auth-h1 {
  max-width: 14ch;
  animation: wf-rise 900ms var(--ease) 80ms both;
}

.wf-auth-blurb {
  max-width: 46ch;
  margin: 0;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-dim);
  animation: wf-rise 900ms var(--ease) 200ms both;
}

.wf-auth-brand { animation: wf-fade 700ms ease both; }

.wf-auth-stats {
  display: flex;
  gap: 52px;
  animation: wf-rise 900ms var(--ease) 320ms both;
}
.wf-auth-stat { display: flex; flex-direction: column; gap: 6px; }
.wf-auth-stat-n {
  font-family: var(--fh);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
}
.wf-auth-stat-l {
  font-family: var(--fm);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
}

.wf-auth-lines { flex-direction: column; gap: 6px; }
.wf-auth-line {
  font-family: var(--fh);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink-dim);
}
.wf-auth-line:last-child { color: var(--ink); }

/* ── right: the form ────────────────────────────────────────────────────── */

.wf-auth-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 52px 56px;
  border-left: 1px solid var(--bd);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.006));
  animation: wf-fade 800ms ease 200ms both;
}

.wf-auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wf-auth-field { display: flex; flex-direction: column; gap: 9px; }
.wf-auth-field[hidden] { display: none; }
.wf-auth-field > span {
  font-family: var(--fm);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-muted);
}

.wf-auth-submit { width: 100%; padding: 16px 20px; }

.wf-auth-foot {
  margin: 0;
  font-family: var(--fm);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-faintest);
}
.wf-auth-foot a { color: var(--acc); }
.wf-auth-foot a:hover { text-decoration: underline; }

.wf-auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--fm);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-faintest);
}
.wf-auth-divider::before,
.wf-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--hair);
}
