/* Sign in, create account, onboarding — same tokens as the site (home.css / v4.css). */
.au-body { min-height: 100vh; background: var(--bg-2); }
.au-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1180px; margin: 0 auto; padding: 18px 20px; }
.au-top__end { display: flex; align-items: center; gap: 10px; }
.au-top__q { color: var(--text-2); font-size: .9rem; }
.au-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; max-width: 1180px; margin: 0 auto; padding: 8px 20px 60px; align-items: stretch; }
.au-card { display: grid; gap: 16px; align-content: start; padding: 36px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.au-kicker { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 32px; padding: 0 12px; border-radius: var(--pill); border: 1px solid var(--line); font-weight: 600; font-size: .84rem; }
.au-kicker .qq-ic { width: 15px; height: 15px; color: var(--accent); }
.au-card h1, .ob-step h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: var(--display-track); line-height: var(--display-lh); font-size: clamp(2.4rem, 1.6rem + 2vw, 3.4rem); }
:root[data-font="oswald"] .au-card h1, :root[data-font="shoulders"] .au-card h1, :root[data-font="barlow"] .au-card h1, :root[data-font="oswald"] .ob-step h1, :root[data-font="shoulders"] .ob-step h1, :root[data-font="barlow"] .ob-step h1 { font-weight: 700; }
.au-lead { color: var(--text-2); font-size: 1.02rem; }
.au-social { display: grid; gap: 8px; }
.au-social__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.au-sbtn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); text-decoration: none; font-weight: 600; transition: background .15s, transform .15s; }
.au-sbtn:hover { background: var(--surface-2); transform: translateY(-1px); }
.au-sbtn .qq-ic { width: 19px; height: 19px; }
.au-or { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: .84rem; font-weight: 500; }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.au-form { display: grid; gap: 14px; }
.au-field { display: grid; gap: 6px; }
.au-field > span { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 600; font-size: .88rem; }
.au-field > span em { font-style: normal; font-weight: 500; color: var(--text-2); }
.au-input { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 6px 0 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.au-input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.au-input.is-bad { border-color: #c2321f; box-shadow: 0 0 0 3px rgba(194, 50, 31, .15); }
.au-input > .qq-ic { width: 18px; height: 18px; color: var(--text-2); flex: none; }
.au-input input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: none; font: inherit; color: var(--text); }
.au-input--pw input { font-family: var(--mono); }
.au-input .qq-iconbtn { width: 38px; height: 38px; flex: none; }
.au-input .qq-iconbtn.is-done { color: var(--accent); }
.au-link { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; padding: 0; font: 600 .84rem var(--font); color: var(--accent); text-decoration: none; cursor: pointer; }
.au-link .qq-ic { width: 14px; height: 14px; }
.au-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.au-meter i { height: 5px; border-radius: 3px; background: var(--surface-3); transition: background .25s; }
.au-meter[data-s="1"] i:nth-child(-n+1) { background: #c2321f; }
.au-meter[data-s="2"] i:nth-child(-n+2) { background: #d97706; }
.au-meter[data-s="3"] i:nth-child(-n+3) { background: #65a30d; }
.au-meter[data-s="4"] i { background: var(--accent); }
.au-hint, .au-err { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--text-2); }
.au-err { color: #c2321f; } .au-err .qq-ic { width: 14px; height: 14px; }
.au-err[hidden] { display: none; }
.au-ts { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); font-weight: 600; font-size: .9rem; }
.au-ts__box { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; border: 2px solid var(--line-2); background: var(--surface); color: transparent; transition: all .3s; }
.au-ts__box .qq-ic { width: 14px; height: 14px; }
.au-ts.is-ok .au-ts__box { background: var(--accent); border-color: var(--accent); color: #fff; }
.au-ts em { margin-left: auto; font-style: normal; font-size: .72rem; color: var(--text-2); }
.au-ts--widget { justify-content: center; padding: 12px 14px; }
.au-ts--widget[hidden] { display: none; }
.au-ts--widget .cf-turnstile { max-width: 100%; line-height: 0; }
.au-check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--text-2); cursor: pointer; }
.au-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.au-submit { width: 100%; }
.au-legal { font-size: .8rem; color: var(--text-2); text-align: center; }
.au-legal a { color: var(--text); font-weight: 600; }
.au-2fa { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); }
.au-2fa .qq-ic { width: 28px; height: 28px; color: var(--accent); flex: none; }
.au-2fa small { display: block; color: var(--text-2); }
/* side */
.au-side { position: relative; min-height: 560px; border-radius: 28px; overflow: hidden; background: var(--ink); }
.au-side__img, .au-side__img .qq-img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto !important; border: 0; border-radius: 0; }
.au-side__card { position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; gap: 12px; padding: 22px; border-radius: 22px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line); }
.au-free { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 4px 10px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .8rem; }
.au-free .qq-ic { width: 14px; height: 14px; }
.au-side__card h2 { font-size: 1.4rem; letter-spacing: -.02em; }
.au-side__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.au-side__card li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.au-side__card li .qq-ic { width: 18px; height: 18px; color: var(--accent); }

/* onboarding */
.ob { max-width: 1080px; margin: 0 auto; padding: 0 20px 48px; }
.ob-progress { display: flex; align-items: center; gap: 14px; margin: 4px 0 18px; font-weight: 600; font-size: .86rem; color: var(--text-2); }
.ob-progress__bar { flex: 1; height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.ob-progress__bar i { display: block; height: 100%; width: 16%; border-radius: inherit; background: var(--accent); transition: width .7s cubic-bezier(.4, 0, .2, 1); }
.ob-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-2); overflow: hidden; min-height: 560px; }
.ob-stage { position: relative; overflow: clip; }
.ob-step { position: absolute; inset: 0; display: grid; gap: 14px; align-content: start; padding: 40px; opacity: 0; transform: translateX(40px); transition: opacity .65s cubic-bezier(.4, 0, .2, 1), transform .65s cubic-bezier(.4, 0, .2, 1); pointer-events: none; overflow: auto; }
.ob-step.is-on { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.ob-step.is-in-right { transform: translateX(40px); opacity: 0; transition: none; }
.ob-step.is-in-left { transform: translateX(-40px); opacity: 0; transition: none; }
.ob-step.is-out-left { opacity: 0; transform: translateX(-40px); }
.ob-step.is-out-right { opacity: 0; transform: translateX(40px); }
.ob-step .au-kicker { margin-bottom: 4px; }
.ob-body { display: grid; gap: 14px; margin-top: 8px; }
.ob-opts { display: grid; gap: 10px; }
.ob-opts--2 { grid-template-columns: 1fr 1fr; } .ob-opts--3 { grid-template-columns: repeat(3, 1fr); }
.ob-opt { position: relative; display: grid; gap: 4px; align-content: start; padding: 16px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s, background .2s; }
.ob-opt:hover { border-color: var(--line-2); transform: translateY(-2px); }
.ob-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ob-opt__ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 6px; border-radius: 13px; background: var(--surface-2); }
.ob-opt__ic .qq-ic { width: 24px; height: 24px; }
.ob-opt b { font-size: .98rem; }
.ob-opt small { color: var(--text-2); font-size: .84rem; }
.ob-opt__ck { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-2); color: transparent; transition: all .2s; }
.ob-opt__ck .qq-ic { width: 13px; height: 13px; }
.ob-opt:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); background: var(--bg-2); }
.ob-opt:has(input:checked) .ob-opt__ic { background: var(--accent-soft); color: var(--accent); }
.ob-opt:has(input:checked) .ob-opt__ck { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.ob-opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.ob-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ob-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--pill); border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: .92rem; transition: all .2s; }
.ob-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ob-chip .qq-ic { width: 18px; height: 18px; }
.ob-chip:has(input:checked) { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.ob-toggles { display: grid; gap: 8px; }
.ob-tg { display: grid; grid-template-columns: 40px 1fr 44px; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); cursor: pointer; }
.ob-tg__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); }
.ob-tg__ic .qq-ic { width: 20px; height: 20px; }
.ob-tg small { display: block; color: var(--text-2); font-size: .82rem; }
.ob-tg input { position: absolute; opacity: 0; pointer-events: none; }
.ob-tg__sw { position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--surface-3); transition: background .25s; }
.ob-tg__sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); transition: transform .25s; }
.ob-tg:has(input:checked) .ob-tg__sw { background: var(--accent); }
.ob-tg:has(input:checked) .ob-tg__sw::after { transform: translateX(18px); }
.ob-done { justify-items: start; }
.ob-done__ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; animation: ob-pop .6s cubic-bezier(.3, 1.5, .5, 1) .2s both; }
.ob-done__ic .qq-ic { width: 32px; height: 32px; }
@keyframes ob-pop { from { transform: scale(.4); opacity: 0; } }
.ob-sum { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 8px; width: 100%; }
.ob-sum li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.ob-sum li span { color: var(--text-2); text-align: right; }
.ob-art { position: relative; background: var(--bg-2); border-left: 1px solid var(--line); }
.ob-art__img { position: absolute; inset: 24px 24px 56px; opacity: 0; transform: scale(.96); transition: opacity .8s ease, transform .8s ease; }
.ob-art__img.is-on { opacity: 1; transform: none; }
.ob-art__img .qq-img { height: 100%; aspect-ratio: auto !important; border-radius: 22px; }
.ob-dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 8px; }
.ob-dots i { width: 8px; height: 8px; border-radius: 4px; background: var(--line-2); transition: width .5s, background .5s; }
.ob-dots i.is-on { width: 22px; background: var(--accent); }
.ob-nav { display: flex; justify-content: space-between; margin-top: 18px; }
.ob-nav [hidden] { display: none; }
@media (max-width: 900px) {
  .au-main, .ob-card { grid-template-columns: 1fr; }
  .au-side { min-height: 360px; }
  .ob-art { display: none; }
  .ob-step { padding: 26px; }
  .ob-opts--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .au-card { padding: 22px; } .ob-opts--2, .ob-opts--3, .au-social__row { grid-template-columns: 1fr; } .au-top__q { display: none; } }
@media (prefers-reduced-motion: reduce) { .ob-step, .ob-art__img, .ob-progress__bar i { transition: none !important; } }
