/* ════════════════════════════════════════════════════════
   Auth page — email verification-code register / login
   (scoped under .auth-* so it won't clash with styles.css)
   ════════════════════════════════════════════════════════ */

.auth-sec { padding: 56px 0 112px; }
.auth-inner { max-width: 440px; margin: 0 auto; padding: 0 var(--side-pad); }

.auth-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.auth-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.15;
}
.auth-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* fields */
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.auth-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.auth-input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #c8c2ba;
  background: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.auth-input::placeholder { color: #a89f96; }
.auth-input:focus { border-color: var(--ink); }
.auth-input--error { border-color: #c0392b; }

/* send-code row */
.auth-code-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.auth-send-btn {
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.auth-send-btn:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.auth-send-btn:disabled { opacity: 0.5; cursor: default; }
.auth-send-timer {
  font-size: 13px;
  font-weight: 300;
  color: var(--ink-muted);
}

/* primary submit */
.auth-btn {
  width: 100%;
  height: 50px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.auth-btn:hover { opacity: 0.82; }

/* error + terms */
.auth-error {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 400;
  color: #c0392b;
  min-height: 18px;
  line-height: 1.5;
}
.auth-error.auth-success { color: var(--ink-muted); }
.auth-terms {
  margin-top: 20px;
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-muted);
  line-height: 1.7;
}
.auth-terms a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 768px) {
  .auth-sec { padding: 32px 0 80px; }
}
