/* ============================================================
   MarketResearchly - Login and Signup (redesign)
   The old full-bleed grey split becomes a rounded dark brand
   panel with a violet glow beside a frosted form card on the
   site theme (site-theme.css: backdrop, fixed nav, pills, field
   focus). Serif display type and one deep violet accent, as on
   About / Contact. Tokens (--mr-*) come from style.css.
   ============================================================ */

.au {
  --au-accent-ink: #3B3470;            /* deep violet for text on light */
  --au-ink-soft:   rgba(22, 22, 24, .72);
  --au-hair:       rgba(22, 22, 24, .1);
  color: var(--mr-ink); font-family: var(--mr-sans);
}
.au-grid {
  max-width: 1180px; margin: 0 auto; padding: 40px 24px 110px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch;
}

/* ---------- left: dark brand panel ---------- */
.au-panel {
  position: relative; overflow: hidden; min-height: 680px;
  display: flex; flex-direction: column; padding: 52px 52px 40px; border-radius: 28px; color: #fff;
  background:
    radial-gradient(640px 360px at 100% 0%, rgba(86, 74, 153, .26), rgba(86, 74, 153, 0) 68%),
    radial-gradient(520px 320px at 0% 100%, rgba(154, 145, 200, .14), rgba(154, 145, 200, 0) 70%),
    #1E1D28;
  box-shadow: 0 34px 80px rgba(30, 29, 40, .28);
  animation: auRise .9s cubic-bezier(.2, .7, .2, 1) backwards;
}
.au-brand { align-self: flex-start; }
.au-panel-mid { margin: auto 0; padding: 44px 0; }
.au-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: #C0B9DC;
}
.au-kicker::before { content: ''; width: 26px; height: 1px; background: var(--mr-accent); }
.au-display {
  font-family: var(--mr-display); font-weight: 400; font-size: 54px; line-height: 1.02;
  letter-spacing: -0.03em; margin: 22px 0 0; max-width: 460px; text-wrap: balance;
}
.au-display em { font-style: italic; color: #C0B9DC; }
.au-panel-lede { font-size: 15.5px; line-height: 1.7; color: rgba(255, 255, 255, .72); margin: 20px 0 0; max-width: 420px; text-wrap: pretty; }

/* login: three stats in serif */
.au-stats { display: flex; gap: 0; margin-top: 40px; }
.au-stats > div { padding-right: 30px; margin-right: 30px; border-right: 1px solid rgba(255, 255, 255, .14); }
.au-stats > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.au-stats .v { font-family: var(--mr-display); font-size: 40px; line-height: 1; letter-spacing: -0.02em; }
.au-stats .l { margin-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }

/* signup: three numbered steps */
.au-steps { list-style: none; margin: 34px 0 0; padding: 0; max-width: 440px; }
.au-steps li { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.au-steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.au-steps .n {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mr-display); font-style: italic; font-size: 15px; color: #C0B9DC;
  border: 1px solid rgba(86, 74, 153, .45);
}
.au-steps .t { font-size: 14.5px; font-weight: 600; margin: 6px 0 3px; }
.au-steps .d { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .64); }

.au-foot {
  font-size: 12.5px; color: rgba(255, 255, 255, .55);
  border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px;
}

/* ---------- right: form ---------- */
.au-main { display: flex; align-items: center; justify-content: center; padding: 24px 0; }
.au-box { width: 440px; animation: auRise .9s cubic-bezier(.2, .7, .2, 1) .12s backwards; }
.au-box-wide { width: 500px; }
.au-head { margin-bottom: 26px; }
.au-title { font-family: var(--mr-display); font-weight: 400; font-size: 44px; line-height: 1.04; letter-spacing: -0.028em; margin: 0; }
.au-sub { font-size: 15.5px; line-height: 1.6; color: var(--au-ink-soft); margin: 12px 0 0; }

.au-card {
  padding: 34px 34px 30px; border-radius: 24px;
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(22px) saturate(1.15); backdrop-filter: blur(22px) saturate(1.15);
  box-shadow: 0 30px 70px rgba(60, 50, 42, .12);
}
.au .field-input { background: rgba(255, 255, 255, .95); }
.au-field { margin-bottom: 20px; }
.au-field-tight { margin-bottom: 10px; }
.au-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.au-row-last { margin-bottom: 24px; }
.au-code { letter-spacing: .35em; text-align: center; font-size: 22px; }
.au-submit { padding: 14px 0; font-size: 15px; }

.au-hint {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; font-size: 12.5px; color: rgba(22, 22, 24, .6);
}
.au-hint .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mr-accent); }
.au-sent { font-size: 13px; color: rgba(22, 22, 24, .62); margin: 0 0 18px; }
.au-sent strong { font-weight: 600; color: var(--mr-ink); }

.au-msg { margin-bottom: 18px; padding: 12px 16px; border-radius: 14px; font-size: 13px; line-height: 1.6; }
.au-msg-ok  { background: rgba(29, 158, 117, .08); border: 1px solid rgba(29, 158, 117, .25); color: #0F6E56; }
.au-msg-err { background: rgba(216, 54, 43, .07); border: 1px solid rgba(216, 54, 43, .25); color: #9E2A1E; }
.au-msg-dev { background: rgba(154, 145, 200, .16); border: 1px solid rgba(154, 145, 200, .5); color: #7A5410; }

.au-links { display: flex; justify-content: center; gap: 22px; margin-top: 18px; }
.au-linkbtn {
  background: none; border: 0; cursor: pointer; padding: 4px;
  font-family: var(--mr-sans); font-size: 13px; font-weight: 600; color: rgba(22, 22, 24, .7);
  border-bottom: 1px solid rgba(86, 74, 153, .4);
}
.au-linkbtn:hover { color: var(--au-accent-ink); }

.au-after { text-align: center; margin-top: 22px; font-size: 14px; color: var(--au-ink-soft); }
.au-after a { font-weight: 600; color: var(--au-accent-ink); }
.au-after-sm { margin-top: 10px; font-size: 12.5px; color: rgba(22, 22, 24, .6); }
.au a[href^="mailto:"] { font-weight: 600; color: var(--mr-ink); border-bottom: 1px solid rgba(86, 74, 153, .45); }
.au-small { font-size: 12.5px; line-height: 1.6; color: rgba(22, 22, 24, .62); }
.au-privacy { margin: 14px 0 0; text-align: center; }

/* signup status / done cards */
.au-card-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(22, 22, 24, .6); margin-bottom: 12px; }
.au-card-title { font-family: var(--mr-display); font-size: 34px; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 8px; }
.au-card-meta { font-size: 13.5px; color: rgba(22, 22, 24, .6); margin-bottom: 22px; }
.au-status { display: flex; align-items: flex-start; gap: 12px; border-radius: 14px; padding: 14px 18px; margin-bottom: 20px; }
.au-status .dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; }
.au-status .lbl { font-size: 13.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.au-status .msg { font-size: 13.5px; line-height: 1.55; color: rgba(22, 22, 24, .72); margin-top: 4px; }
.au-card-note { border-top: 1px solid var(--au-hair); padding-top: 18px; font-size: 13.5px; line-height: 1.65; color: var(--au-ink-soft); }
.au-block-btn { display: flex; width: 100%; margin-top: 22px; }
.au-done { text-align: center; }
.au-done-ic {
  width: 58px; height: 58px; border-radius: 50%; margin: 6px auto 22px;
  display: flex; align-items: center; justify-content: center;
  background: var(--mr-accent); box-shadow: 0 12px 30px rgba(204, 72, 45, .3);
}
.au-done-ic { color: #fff; font-size: 24px; font-weight: 700; line-height: 1; }
.au-done-text { font-size: 15px; line-height: 1.65; color: var(--au-ink-soft); margin: 10px auto 14px; max-width: 400px; }
.au-done .au-small { margin: 0 0 24px; }

@keyframes auRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .au-panel, .au-box { animation: none; }
}
