.auth-layout { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.auth-story { text-align: center; width: 100%; }
.auth-story h1 { font-size: clamp(34px, 7.8vw, 56px); font-weight: 500; line-height: 1.25; letter-spacing: -1.5px; margin: 18px 0 22px; }
.story-description { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 0; }
.auth-form-wrap { width: 100%; max-width: 520px; position: relative; isolation: isolate; }
.auth-form-wrap::before { content: ""; position: absolute; left: 3px; right: 3px; bottom: 38px; height: 34px; background: var(--grad); border-radius: 50%; filter: blur(16px); opacity: .3; z-index: -1; }
.auth-form { position: relative; padding: 26px 22px; background: linear-gradient(180deg, rgba(255,255,255,.028), transparent 42%), #111; border: 1px solid rgba(255,255,255,.065); border-radius: 18px; box-shadow: 0 2px 40px #0007, inset 0 1px #ffffff0a; }
.auth-form::after { content: ""; position: absolute; bottom: -2px; left: 16px; right: 16px; height: 3px; background: var(--grad); border-radius: 0 0 22px 22px; opacity: .95; pointer-events: none; }
.auth-form > .eyebrow { font-size: 10px; letter-spacing: 1px; }
.auth-form h2 { font-size: 24px; font-weight: 500; line-height: 1.4; letter-spacing: -.5px; margin: 8px 0 7px; }
.auth-form > .muted { font-size: 12px; margin-bottom: 22px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #ffffff03; border: 1px solid #ffffff0c; border-radius: 999px; gap: 4px; margin-bottom: 22px; }
.auth-tabs a { text-align: center; text-decoration: none; font-size: 13px; padding: 8px; color: #aaa; border-radius: 999px; }
.auth-tabs a:hover { color: #f2f2f2; }
.auth-tabs a[aria-current="page"] { background: #ffffff0a; color: #fafafa; box-shadow: inset 0 0 0 1px #ffffff1a; font-weight: 500; }
.auth-form label { margin-top: 18px; }
.auth-form input { background: #ffffff03; padding: 13px 16px; }
.auth-submit { display: flex; width: 100%; margin-top: 26px; padding: 8px 9px 8px 21px; justify-content: space-between; min-height: 50px; }
.action-icon { display: flex; align-items: center; justify-content: center; position: relative; isolation: isolate; width: 34px; height: 34px; padding: 1px; border-radius: 50%; overflow: hidden; background: var(--grad); color: #fafafa; }
.action-icon::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--grad); z-index: -1; }
.action-icon svg { width: 100%; height: 100%; padding: 8px; border-radius: inherit; background: #141414; }
.auth-switch { text-align: center; font-size: 12px; color: var(--muted); margin: 20px 0 0; }
.auth-switch a { margin-left: 7px; text-decoration: none; color: #dedede; }
.auth-switch a:hover { text-decoration: underline; }
.auth-note { display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 24px; font-size: 11px; color: #a2a2a2; }
.auth-note svg { width: 15px; height: 15px; flex-shrink: 0; }
.auth-note p { margin: 0; }
@media (min-width: 37.5rem) {
  .auth-layout { gap: 36px; margin: 0 auto; }
  .auth-story h1 { font-size: 56px; margin: 22px 0 26px; line-height: 1.2; letter-spacing: -2px; }
  .story-description { font-size: 15px; line-height: 1.5; }
  .auth-form { padding: 28px 32px; }
}
@media (min-width: 56.25rem) {
  .auth-layout { gap: 38px; }
  .auth-story h1 { font-size: 64px; letter-spacing: -2.2px; }
  .story-description { font-size: 16px; }
  .auth-form-wrap { max-width: 560px; }
  .auth-form { padding: 30px 36px; }
}
@media (prefers-reduced-motion: no-preference) {
  .auth-form-wrap { animation: composer-reveal .95s .2s cubic-bezier(.16,1,.3,1) both; }
  .action-icon::before { animation: send-ring-sweep 10s linear infinite; }
  @keyframes composer-reveal { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
  @keyframes send-ring-sweep { from { transform: rotate(0); } to { transform: rotate(360deg); } }
}
