/* N10 (Kevin 9 Nov): buyer log-in and sign-up in Shopora's look.
   Poppins · text #183615 · main button #EE9F3A pill with a #C97F22 shadow ·
   inputs 52px, 1.5px #D9D2C3 border, 12px corners, #5DA249 focus ring ·
   no ALL CAPS. Computer: picture panel + form (max 460px). Phone: one column. */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/landing/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/landing/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/landing/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/landing/poppins-800.woff2') format('woff2'); }

:root {
    --au-ink: #183615; --au-ink-2: #4b5a47; --au-cream: #fdf6ea; --au-card: #fffdf8;
    --au-orange: #EE9F3A; --au-orange-shadow: #C97F22; --au-line: #D9D2C3; --au-green: #5DA249;
    --au-green-bg: #e8f3e1; --au-red: #A3361B; --au-tab: #efe8da;
}
.au-body { margin: 0; min-height: 100vh; background: var(--au-cream); color: var(--au-ink); font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.au-body *, .au-body *::before, .au-body *::after { box-sizing: border-box; text-transform: none; letter-spacing: normal; }
.au-body a { color: var(--au-ink); }
.au-body [hidden] { display: none !important; }

.au { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - 44px); }
.au-pic { position: relative; overflow: hidden; background: #d9c7a3; }
.au-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.au-pic-card { position: absolute; left: 32px; right: 32px; bottom: 32px; max-width: 460px; padding: 22px 24px; border-radius: 16px; background: rgba(24, 54, 21, .94); color: #fff; }
.au-pic-eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; opacity: .85; }
.au-pic-title { margin: 0 0 12px; font-size: 22px; line-height: 1.25; font-weight: 800; color: #fff; }
.au-pic-lines { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.au-pic-lines li { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 0; }
.au-pic-lines li::before { content: '✓'; flex: none; color: #f3c27a; font-weight: 800; }
.au-pic-lines--numbered { counter-reset: au; }
.au-pic-lines--numbered li::before { counter-increment: au; content: counter(au); display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--au-orange); color: var(--au-ink); font-size: 12px; }

.au-main { display: flex; justify-content: center; padding: 28px 24px 40px; }
.au-form { width: 100%; max-width: 460px; }
.au-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-bottom: 24px; }
.au-logo { display: inline-flex; align-items: center; min-height: 44px; }
.au-logo img { display: block; height: 34px; width: auto; }
.au-top-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; text-decoration: none; }
.au-top-link:hover { text-decoration: underline; }
.au-top-link a { font-weight: 700; text-decoration: underline; }

.au-h1 { margin: 0 0 6px; font-size: 30px; line-height: 1.2; font-weight: 800; color: var(--au-ink); }
.au-sub { margin: 0 0 22px; color: var(--au-ink-2); font-size: 15px; }

.au-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--au-green-bg); color: var(--au-ink); font-size: 14px; }
.au-note strong { font-weight: 700; }

.au-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.au-steps li { font-size: 12px; color: #8a8f86; }
.au-steps li::before { content: ''; display: block; height: 5px; margin-bottom: 6px; border-radius: 3px; background: #e7e0d2; }
.au-steps li.is-done::before, .au-steps li.is-now::before { background: var(--au-green); }
.au-steps li.is-now { color: var(--au-ink); font-weight: 700; }

.au-tabs { display: flex; gap: 4px; margin: 0 0 20px; padding: 4px; border-radius: 999px; background: var(--au-tab); }
.au-tab { flex: 1 1 auto; min-height: 44px; padding: 8px 8px; white-space: nowrap; border: 0; border-radius: 999px; background: transparent; color: var(--au-ink-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.au-tab[aria-selected="true"] { background: #fff; color: var(--au-ink); box-shadow: 0 1px 4px rgba(24, 54, 21, .12); }
.au-tab:focus-visible { outline: 3px solid var(--au-green); outline-offset: 2px; }

.au-field { margin: 0 0 16px; }
.au-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.au-label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--au-ink); }
.au-label-row a { font-size: 13px; font-weight: 600; }
.au-input, .au-phone { width: 100%; height: 52px; border: 1.5px solid var(--au-line); border-radius: 12px; background: #fff; color: var(--au-ink); font: inherit; font-size: 16px; }
.au-input { padding: 0 14px; }
.au-input::placeholder { color: #a8a596; }
.au-input:focus, .au-phone:focus-within { outline: none; border-color: var(--au-green); box-shadow: 0 0 0 3px rgba(93, 162, 73, .25); }
.au-phone { display: flex; align-items: stretch; overflow: hidden; }
.au-phone-cc { display: flex; align-items: center; padding: 0 12px; border-right: 1.5px solid var(--au-line); background: #faf7f0; font-weight: 700; font-size: 15px; }
.au-phone .au-input { height: auto; border: 0; border-radius: 0; box-shadow: none; }
.au-pass { position: relative; }
.au-pass .au-input { padding-right: 52px; }
.au-eye { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--au-ink-2); cursor: pointer; }
.au-eye:focus-visible { outline: 3px solid var(--au-green); }
.au-hint { margin: 6px 0 0; color: var(--au-ink-2); font-size: 13px; }
.au-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.au-check { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; margin: 0 0 18px; font-size: 14px; cursor: pointer; }
.au-check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--au-green); }
.au-check a { font-weight: 600; }

.au-err { display: flex; gap: 6px; align-items: flex-start; margin: 6px 0 0; color: var(--au-red); font-size: 13px; font-weight: 600; }
.au-err::before { content: '!'; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%; background: var(--au-red); color: #fff; font-size: 11px; font-weight: 800; }
.au-err:empty { display: none; }
.au-field.has-err .au-input, .au-field.has-err .au-phone { border-color: var(--au-red); }

.au-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; padding: 12px 20px; border: 0; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; }
.au-btn--main { background: var(--au-orange); color: var(--au-ink); box-shadow: 0 4px 0 var(--au-orange-shadow); margin-bottom: 4px; }
.au-btn--main:hover { background: #f2a948; color: var(--au-ink); text-decoration: none; }
.au-btn--main:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--au-orange-shadow); }
.au-btn--white { background: #fff; color: var(--au-ink); border: 1.5px solid var(--au-line); }
.au-btn--white:hover { border-color: var(--au-ink-2); text-decoration: none; }
.au-btn:focus-visible { outline: 3px solid var(--au-green); outline-offset: 3px; }
.au-btn[disabled], .au-btn.is-busy { opacity: .65; cursor: progress; }
.au-g { width: 20px; height: 20px; flex: none; }

.au-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #8a8f86; font-size: 13px; }
.au-or::before, .au-or::after { content: ''; flex: 1; height: 1px; background: #e2dccf; }

.au-switch { margin: 22px 0 0; text-align: center; font-size: 14px; }
.au-switch a { font-weight: 700; }
.au-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; margin: 18px 0 0; font-size: 13px; }
.au-legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }

/* The code screen */
.au-back { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 0 8px -10px; border: 0; background: none; color: var(--au-ink); font-size: 22px; cursor: pointer; }
.au-code-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0 0 12px; border-radius: 14px; background: var(--au-green-bg); font-size: 22px; }
.au-code-sent { margin: 0 0 18px; color: var(--au-ink-2); }
.au-code-sent strong { color: var(--au-ink); }
.au-code-sent button { padding: 0; border: 0; background: none; color: var(--au-ink); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; min-height: 44px; }
.au-boxes { display: flex; gap: 8px; margin: 0 0 10px; }
.au-box { width: 100%; max-width: 52px; height: 56px; padding: 0; border: 1.5px solid var(--au-line); border-radius: 12px; background: #fff; color: var(--au-ink); text-align: center; font: inherit; font-size: 22px; font-weight: 700; }
.au-box:focus { outline: none; border-color: var(--au-green); box-shadow: 0 0 0 3px rgba(93, 162, 73, .25); }
.au-timer { margin: 0 0 4px; font-size: 13px; color: var(--au-ink-2); }
.au-resend { padding: 0; border: 0; background: none; color: var(--au-ink); font: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; cursor: pointer; min-height: 44px; }
.au-cart-line { margin: 0 0 18px; font-size: 13px; font-weight: 700; }
.au-help { margin: 22px 0 0; padding: 14px 16px; border: 1.5px solid #e7e0d2; border-radius: 12px; background: #fff; font-size: 14px; }
.au-help p { margin: 0; }
.au-help strong { display: block; margin-bottom: 4px; }
.au-help button { padding: 0; border: 0; background: none; color: var(--au-ink); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }

/* Step 3 */
.au-done-spot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 14px 16px; border: 1.5px solid #e7e0d2; border-radius: 12px; background: #fff; }
.au-done-spot p { margin: 0; }
.au-done-spot small { display: block; color: var(--au-ink-2); font-size: 13px; }
.au-done-spot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.au-link-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 10px; font-weight: 700; }

/* The pay bar stays at the top (partials/pay_bar). */
.au-body .pay-bar { position: relative; z-index: 2; }

@media (max-width: 900px) {
    .au { display: block; min-height: 0; }
    .au-pic { display: none; }
    .au-pic--band { display: block; height: 140px; margin: 0 0 18px; border-radius: 16px; }
    .au-pic--band .au-pic-card { display: none; }
    .au-main { padding: 12px 16px 32px; }
    .au-top { margin-bottom: 12px; }
    .au-h1 { font-size: 26px; }
}
@media (max-width: 520px) {
    .au-top-q { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 420px) {
    .au-tab { font-size: 13px; padding: 8px 4px; }
    .au-two { grid-template-columns: 1fr; gap: 0; }
    .au-boxes { gap: 6px; }
    .au-box { height: 52px; }
}
@media (min-width: 901px) {
    .au-band { display: none !important; }
}
