/* ============================================================
   AUTH — Minimalist login / signup / splash
   ============================================================ */

.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
}

/* ---------- HERO (LEFT) — flat navy, no orbs ---------- */
.auth-hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  padding: 44px 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-hero::before,
.auth-hero::after { content: none; }

.auth-hero-top { display: flex; align-items: center; gap: 10px; }
.auth-hero-top .brand-logo {
  width: 36px; height: 36px;
  background: var(--gold-500);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--navy-900);
  font-weight: 700;
  font-size: 16px;
}
.auth-hero-top .brand-name { font-size: 16px; font-weight: 700; color: #fff; }

.auth-hero-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 30px 0;
}
.auth-hero h2 {
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  max-width: 440px;
}
.auth-hero h2 span.hl { color: var(--gold-500); }
.auth-hero p.intro {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 30px;
}

.auth-features { display: flex; flex-direction: column; gap: 10px; max-width: 440px; }
.auth-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--dur-sm) var(--ease);
}
.auth-feat:hover { background: rgba(255, 255, 255, 0.07); }
.auth-feat .af-ic {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255, 195, 0, 0.1);
  display: grid; place-items: center;
  color: var(--gold-500);
  font-size: 15px;
  flex-shrink: 0;
}
.auth-feat .af-title { font-size: 13px; font-weight: 600; color: #fff; }
.auth-feat .af-desc { font-size: 11.5px; color: rgba(255, 255, 255, 0.55); margin-top: 2px; }

.auth-hero-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}
.auth-testimonial { display: flex; align-items: center; gap: 10px; }
.auth-testimonial .stack { display: flex; }
.auth-testimonial .stack .av {
  border: 2px solid var(--navy-900);
  width: 28px; height: 28px;
  font-size: 10px;
  margin-inline-start: -9px;
  border-radius: 6px;
}

/* ---------- FORM PANE (RIGHT) ---------- */
.auth-pane {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 50px;
  overflow-y: auto;
}
.auth-pane-inner {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  animation: slideUp 0.55s var(--ease-out);
}

.auth-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 5px;
}
.auth-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.auth-form { display: flex; flex-direction: column; gap: 14px; }

.social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: border var(--dur-sm) var(--ease), background var(--dur-sm) var(--ease);
}
.social-btn:hover { border-color: var(--muted-2); background: var(--bg-soft); }
.social-btn svg { width: 16px; height: 16px; }

.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  margin: 2px 0;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.auth-row-between a { color: var(--navy-700); font-weight: 600; transition: color var(--dur-sm) var(--ease); }
.auth-row-between a:hover { color: var(--gold-600); }

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  user-select: none;
  cursor: pointer;
}
.checkbox input { display: none; }
.checkbox .cb-box {
  width: 16px; height: 16px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  display: grid; place-items: center;
  transition: all var(--dur-sm) var(--ease);
}
.checkbox input:checked + .cb-box {
  background: var(--navy-800);
  border-color: var(--navy-800);
}
.checkbox input:checked + .cb-box::after {
  content: '✓';
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.checkbox .cb-label { font-size: 12px; color: var(--ink-2); }

.auth-foot {
  text-align: center;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
}
.auth-foot a { color: var(--navy-700); font-weight: 600; }
.auth-foot a:hover { color: var(--gold-600); }

.auth-legal {
  margin-top: 14px;
  font-size: 10.5px;
  color: var(--muted-2);
  text-align: center;
  line-height: 1.6;
}
.auth-legal a { color: var(--navy-700); text-decoration: underline; }

/* strength bar */
.strength {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-top: 5px;
}
.strength .sbar {
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  transition: background var(--dur-sm) var(--ease);
}
.strength.s1 .sbar:nth-child(-n+1) { background: var(--danger); }
.strength.s2 .sbar:nth-child(-n+2) { background: var(--warn); }
.strength.s3 .sbar:nth-child(-n+3) { background: var(--info); }
.strength.s4 .sbar { background: var(--success); }

/* ---------- SPLASH ---------- */
.splash {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  color: #fff;
}
.splash-inner { text-align: center; }
.splash .brand-logo {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  font-size: 22px;
  border-radius: 12px;
  background: var(--gold-500);
  color: var(--navy-900);
  display: grid; place-items: center;
  font-weight: 700;
}
.splash h1 { color: #fff; font-size: 22px; margin-bottom: 4px; font-weight: 600; }
.splash p { color: rgba(255, 255, 255, 0.55); font-size: 13px; margin-bottom: 22px; }
.splash .spin { border-color: rgba(255, 255, 255, 0.12); border-top-color: var(--gold-500); margin: 0 auto; }

@media (max-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-hero {
    padding: 28px 24px;
    min-height: 240px;
  }
  .auth-hero h2 { font-size: 24px; }
  .auth-hero-center { padding: 14px 0; }
  .auth-features { display: none; }
  .auth-pane { padding: 30px 22px; }
}
