/* Sign up, forgot password. Builds on course.css (.cp, .cp-btn, .cp-wrap) and shop.css (.sh-field, .sh-err, .sh-ok). Prefix: au- */
.au { min-height: 100vh; padding-top: var(--eh-h); background: var(--eh-bg); }
.au-wrap { max-width: 1040px; margin: 0 auto; padding: 40px 16px 72px; display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 56px; align-items: start; }
.au-wrap--narrow { grid-template-columns: minmax(0, 480px); justify-content: center; }
.au-main { min-width: 0; }
.au-main h1 { margin: 0; font-size: clamp(28px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -.03em; font-weight: 800; }
.au-sub { margin: 8px 0 24px; color: var(--eh-muted); font-size: 16px; }
.au-form { display: grid; gap: 16px; }
.au-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.au-form .sh-field small { color: var(--eh-muted); font-weight: 400; font-size: 13px; }
.au-form .cp-btn { width: 100%; height: 48px; }
.au-form .cp-btn:disabled { opacity: .6; cursor: progress; }
.au-spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 999px; animation: au-spin .7s linear infinite; }
@keyframes au-spin { to { transform: rotate(360deg); } }
.au-alt { margin: 20px 0 0; color: var(--eh-muted); font-size: 15px; }
.au-alt a { color: var(--eh-accent); font-weight: 700; }
.au-alt a:hover { text-decoration: underline; }
.au-msg { margin: 0 0 16px; }
.au-msg[hidden] { display: none; }
.au-msg .sh-err, .au-msg .sh-ok { margin-top: 0; }
.sh-warn { margin: 0 0 16px; display: flex; gap: 12px; padding: 14px 18px; border-radius: 10px; border: 1px solid #fcd34d; background: #fffbeb; color: #92400e; font-weight: 600; font-size: 14.5px; }
.sh-warn i { font-size: 22px; flex-shrink: 0; }
:root[data-theme="dark"] .sh-warn { background: #2a2210; border-color: #78561a; color: #fcd34d; }

.au-pw { position: relative; display: block; }
.au-pw input { width: 100%; padding-right: 48px; }
.au-pw button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 10px; background: none; color: var(--eh-muted); font-size: 20px; cursor: pointer; display: grid; place-items: center; }
.au-pw button:hover { background: var(--eh-bg-soft); color: var(--eh-text); }
.au-pw button:focus-visible, .au-link:focus-visible, .au-between a:focus-visible, .au-check input:focus-visible { outline: 2px solid var(--eh-accent); outline-offset: 2px; }
.au-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14.5px; }
.au-between a { color: var(--eh-accent); font-weight: 700; }
.au-between a:hover { text-decoration: underline; }
.au-check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.au-check input { width: 18px; height: 18px; accent-color: var(--eh-accent); }
.au-link { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--eh-accent); font: inherit; font-weight: 700; cursor: pointer; }
.au-link:hover { text-decoration: underline; }
.au-offer { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 16px 0; border-block: 1px solid var(--eh-border); }
.au-offer b { font-size: 28px; letter-spacing: -.02em; line-height: 1; }
.au-offer s { color: var(--eh-muted); }
.au-offer em { font-style: normal; font-weight: 700; font-size: 14px; color: #15803d; }
:root[data-theme="dark"] .au-offer em { color: #4ade80; }
.au-offer span { width: 100%; color: var(--eh-muted); font-size: 13px; }

.au-art { position: sticky; top: calc(var(--eh-h) + 40px); }
.au-art img { display: block; width: 100%; height: auto; border-radius: 14px; background: var(--eh-bg-soft); }
.au-pitch { margin-top: 28px; }
.au-pitch h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
.au-pitch ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.au-pitch li { display: flex; gap: 14px; align-items: center; }
.au-pitch li > i { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--eh-accent-soft); color: var(--eh-accent); font-size: 21px; }
.au-pitch strong { display: block; font-size: 15.5px; }

.au-done { display: grid; gap: 12px; justify-items: start; }
.au-done[hidden], .au-step[hidden] { display: none; }
.au-done > i { font-size: 44px; color: #15803d; }
:root[data-theme="dark"] .au-done > i { color: #4ade80; }
.au-done h1 { font-size: 28px; }
.au-done p { margin: 0; color: var(--eh-muted); }
.au-done .cp-btn { margin-top: 8px; }

@media (max-width: 900px) { .au-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } .au-art { position: static; } .au-art img { display: none; } .au-pitch { margin-top: 0; } }
@media (max-width: 640px) { .au-row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .au-spin { animation-duration: 1.6s; } }
