/* Peptix - auth page layer. Builds on app.css tokens and components.css. */

.auth { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 48px 32px; }
.auth-grid { width: 100%; max-width: 1100px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 80px; align-items: center; }
.auth-pitch, .auth-panel { min-width: 0; }
.auth-brand { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.brand-name { font-size: 24px; letter-spacing: -.04em; }
.auth-brand-caption { font-size: 12px; font-weight: 400; color: var(--text-3); }
.pitch-eyebrow, .auth-card-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .12em; color: var(--text-3); }
.pitch-title { margin-top: 16px; font-size: clamp(32px, 4vw, 48px); line-height: 1.16; letter-spacing: -.04em; }
.pitch-title > span { color: var(--text-2); }
.auth-intro { max-width: 42ch; margin-top: 20px; font-size: 14px; line-height: 1.7; color: var(--text-2); }
.pitch-list { display: grid; gap: 16px; list-style: none; padding: 0; margin: 26px 0 0; }
.pitch-list li { display: flex; gap: 12px; align-items: center; }
.pitch-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.pitch-list strong, .pitch-list li div > span { display: block; }
.pitch-list strong { font-size: 13px; font-weight: 600; }
.pitch-list li div > span { margin-top: 2px; font-size: 12px; color: var(--text-2); }
.auth-card { padding: 32px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-2); }
.auth-card-eyebrow { margin-bottom: 20px; }
.auth-seg { display: flex; margin-bottom: 28px; }
.auth-seg button { flex: 1; }
.auth-title { font-size: 23px; letter-spacing: -.025em; }
.auth-sub { margin-top: 8px; margin-bottom: 26px; color: var(--text-2); line-height: 1.6; }
.auth-form > .field + .field { margin-top: 16px; }
.auth-form .input { min-height: 44px; }
.auth-aside { margin-top: 12px; text-align: right; font-size: 12px; }
.auth-form > .err { margin-top: 16px; }
.auth-form > .btn { margin-top: 24px; }
.auth-note { margin-bottom: 20px; }
.auth-foot, .auth-legal { text-align: center; font-size: 12px; color: var(--text-2); margin: 20px auto 0; }
.auth-legal { max-width: 42ch; font-size: 11px; line-height: 1.6; color: var(--text-3); margin-top: 12px; }

/* Decorative collection uses the same restrained palette as the app. */
.auth-gallery { position: relative; height: 210px; margin-top: 20px; max-width: 420px; }
.auth-gallery-orbit { position: absolute; inset: 70px 35px 25px; border: 1px solid var(--border); border-radius: 50%; }
.auth-gallery-orbit-outer { inset: 50px 0 10px; }
.auth-gallery-caption { position: absolute; bottom: 0; width: 100%; text-align: center; font: 500 9px var(--mono); letter-spacing: .12em; color: var(--text-3); }
.auth-vial { position: absolute; width: 76px; height: 138px; left: calc(50% - 38px); top: 20px; filter: drop-shadow(0 12px 8px var(--art-shadow)); }
.auth-vial-left { transform: translateX(-102px) rotate(-12deg) scale(.82); top: 36px; }
.auth-vial-right { transform: translateX(102px) rotate(12deg) scale(.82); top: 36px; }
.auth-vial-cap { position: absolute; top: 0; left: 8px; width: 60px; height: 17px; background: var(--border-firm); border: 1px solid var(--text-3); border-radius: 5px 5px 2px 2px; }
.auth-vial-neck { position: absolute; top: 17px; left: 16px; width: 44px; height: 12px; background: var(--sunken); border: 1px solid var(--border-firm); }
.auth-vial-glass { position: absolute; inset: 27px 0 0; background: linear-gradient(90deg, var(--sunken), var(--surface) 30%, var(--sunken)); border: 1px solid var(--border-firm); border-radius: 12px 12px 16px 16px; overflow: hidden; }
.auth-vial-liquid { position: absolute; inset: 50% 4px 4px; border-radius: 0 0 12px 12px; background: var(--accent-wash); border-top: 1px solid var(--accent-line); }
.auth-vial-label { position: absolute; inset: 20px 0 22px; display: grid; place-content: center; gap: 6px; background: var(--surface); border-block: 1px solid var(--border); text-align: center; }
.auth-vial-label small { font: 600 9px var(--sans); letter-spacing: .1em; }
.auth-vial-label > span, .auth-vial-label i { display: block; width: 30px; height: 2px; background: var(--border-firm); margin: auto; }
.auth-vial-label i { width: 18px; }
@media (max-width: 900px) {
  .auth { padding: 36px 24px; }
  .auth-grid { gap: 36px; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
  .auth-gallery { display: none; }
  .pitch-title { font-size: 34px; }
}
@media (max-width: 700px) {
  .auth { padding: 28px 16px; align-items: start; }
  .auth-grid { max-width: 440px; grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .auth-brand { margin-bottom: 20px; }
  .pitch-title { font-size: 30px; }
  .pitch-list, .pitch-eyebrow { display: none; }
  .auth-intro { margin-top: 12px; font-size: 13px; }
  .auth-card { padding: 24px; }
}
