/* Login & simple pages */
.auth-page { min-height: 100vh; min-height: 100dvh; display: flex; justify-content: center; background: var(--soft); }
.auth-card {
  position: relative; overflow: hidden; width: 100%; max-width: 460px; min-height: 100vh; min-height: 100dvh;
  padding: 16px 24px 32px; background: var(--white); display: flex; flex-direction: column; gap: 14px;
}
@media (min-width: 560px) {
  .auth-page { align-items: center; padding: 32px 16px; }
  .auth-card { min-height: 0; border-radius: 32px; box-shadow: var(--shadow); padding: 20px 32px 32px; }
}
.auth-blob { position: absolute; right: -60px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: var(--accent); z-index: 0; }
.auth-blob-2 { position: absolute; right: 120px; top: 64px; width: 44px; height: 44px; border-radius: 14px; background: #CDBBFF; transform: rotate(-14deg); z-index: 0; }
.auth-card > :not(.auth-blob):not(.auth-blob-2) { position: relative; z-index: 1; }
.auth-back { background: var(--soft); align-self: flex-start; }
.auth-head { margin-top: 40px; margin-bottom: 8px; }
.auth-head h1 { margin: 16px 0 6px; font-size: 32px; line-height: 1.25; letter-spacing: -.02em; }
.auth-head p { margin: 0; color: var(--muted); }
.auth-note { margin: -4px 4px 0; font-size: 14px; color: var(--muted); text-align: center; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; font-size: 13px; color: var(--muted); }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1 1 0; height: 1px; background: var(--line); }
.code-input { height: 60px; font-size: 26px; font-weight: 700; letter-spacing: .32em; text-align: center; }
.auth-foot { margin: auto 0 0; padding-top: 12px; text-align: center; font-size: 15px; }
.auth-foot a { font-weight: 700; color: var(--orange-text); }

.dev-login { margin-top: 8px; padding: 16px; border-radius: 20px; border: 1.5px dashed var(--line-2); display: flex; flex-direction: column; gap: 8px; }
.dev-title { margin: 0; font-weight: 700; font-size: 15px; }
.dev-title span { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }
.dev-row { display: flex; gap: 8px; }
.dev-row .input { flex: 1 1 auto; min-width: 0; }
.dev-row .btn { flex: none; white-space: nowrap; }

/* Legal / 404 pages */
.doc-page { background: var(--white); }
.doc { max-width: 760px; margin: 0 auto; padding: 24px 20px 64px; }
.doc header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 32px; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.25; letter-spacing: -.02em; margin: 0 0 8px; }
.doc h2 { font-size: 20px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc .draft { padding: 12px 16px; border-radius: 16px; background: var(--t-yellow); font-size: 15px; }
