/* MailCraft AI — Landing & Auth Styles */

/* ── Landing layout ─────────────────────────────────── */
.landing-page {
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

/* Subtle geometric background */
.landing-page::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(45,106,79,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(45,106,79,0.04) 0%, transparent 60%);
}

/* ── Landing Nav ────────────────────────────────────── */
.landing-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 68px;
  background: rgba(247,245,240,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.landing-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--ink);
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
}
.landing-nav-links { display: flex; align-items: center; gap: 6px; }

/* ── Hero section ───────────────────────────────────── */
.hero-section {
  max-width: 1200px; margin: 0 auto;
  padding: 72px 60px 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}

.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 13px; border-radius: 20px;
  background: var(--green-bg); border: 1px solid rgba(45,106,79,0.22);
  font-size: 0.76rem; font-weight: 600; color: var(--green);
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-label-dot {
  width: 5px; height: 5px; background: var(--green);
  border-radius: 50%; animation: pulse 2s infinite;
}

h1.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.5px; margin-bottom: 20px;
  color: var(--ink);
}
.hero-title .accent {
  font-style: italic; color: var(--green);
}

.hero-desc {
  font-size: 1.05rem; color: var(--ink2);
  line-height: 1.72; margin-bottom: 36px;
  font-weight: 400;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-social-proof {
  margin-top: 40px; display: flex; align-items: center; gap: 14px;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.avatars { display: flex; }
.avatars img, .avatar-stack {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2.5px solid var(--surface);
  margin-left: -8px;
  background: var(--green3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 700; color: #fff;
}
.avatars > :first-child { margin-left: 0; }
.proof-text { font-size: 0.82rem; color: var(--ink2); line-height: 1.5; }
.proof-text strong { color: var(--ink); }


/* ── Hero pills row ─────────────────────────────────── */
.hero-pills-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.hero-pill {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-xs);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.hero-pill:hover {
  border-color: rgba(45,106,79,0.3);
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}
.hero-pill-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--green-bg);
  border: 1px solid rgba(45,106,79,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.hero-pill-text {
  display: flex; flex-direction: column; gap: 2px;
}
.hp-title {
  font-size: 0.88rem; font-weight: 700; color: var(--ink);
  line-height: 1.2;
}
.hp-sub {
  font-size: 0.77rem; color: var(--ink3);
}



/* ── Hero right column — pills stacked above card ── */
.hero-right-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Hero visual ─────────────────────────────────────── */
.hero-visual {
  position: relative;
  padding-top: 8px;
}

/* Outer shell: step rail + card side by side */
.hc-shell {
  display: flex;
  gap: 0;
  align-items: stretch;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(26,26,24,0.04),
    0 8px 24px rgba(26,26,24,0.09),
    0 32px 72px rgba(26,26,24,0.13);
  border: 1px solid var(--border);
  animation: fadeUp .55s .25s ease both;
}

/* ── Step rail (left thin stripe) ── */
.hc-steps-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  gap: 0;
  background: var(--green);
  width: 44px;
  flex-shrink: 0;
}
.hc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.hcs-circle {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1;
}
.hcs-circle.done  { background: rgba(255,255,255,0.95); }
.hcs-circle.active {
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.9);
}
.hcs-circle.idle  {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
}
.hcs-pulse {
  width: 8px; height: 8px;
  background: #fff; border-radius: 50%;
  animation: pulse 1.6s infinite;
  display: block;
}
.hcs-line {
  width: 2px; flex: 1;
  background: rgba(255,255,255,0.5);
  margin: 3px 0;
  min-height: 18px;
}
.hcs-line-faded { background: rgba(255,255,255,0.2); }

/* ── Main card panel ── */
.hc-panel {
  flex: 1;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

/* Chrome bar */
.hc-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.hc-chrome-dots { display: flex; gap: 5px; }
.hcd {
  width: 10px; height: 10px; border-radius: 50%;
}
.hcd.red    { background: #ff5f57; }
.hcd.yellow { background: #ffbd2e; }
.hcd.green  { background: #28ca41; }
.hc-chrome-title {
  font-size: 0.74rem; font-weight: 600;
  color: var(--ink3); flex: 1; text-align: center;
  letter-spacing: 0.01em;
}
.hc-chrome-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.7rem; font-weight: 700;
  color: var(--green);
  background: var(--green-bg);
  padding: 3px 9px; border-radius: 20px;
  border: 1px solid rgba(45,106,79,0.2);
  letter-spacing: 0.02em;
}
.hcb-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); animation: pulse 1.4s infinite;
}

/* Resolved recipient strip */
.hc-resolved-strip {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: #f6fbf8;
  border-bottom: 1px solid rgba(45,106,79,0.12);
}
.hc-resolved-left { display: flex; align-items: center; gap: 11px; }
.hc-rec-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(145deg, var(--green) 0%, var(--green3) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: 1rem; color: #fff;
  box-shadow: 0 2px 8px rgba(45,106,79,0.3);
  flex-shrink: 0;
}
.hc-rec-name { font-size: 0.9rem; font-weight: 700; color: var(--ink); margin-bottom: 1px; }
.hc-rec-role { font-size: 0.74rem; color: var(--ink3); }
.hc-verified-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 20px;
  background: var(--green-bg);
  color: var(--green); font-size: 0.72rem; font-weight: 700;
  border: 1px solid rgba(45,106,79,0.22);
}

/* Compose fields */
.hc-compose { padding: 0 18px; flex: 1; }
.hc-field-row {
  display: flex; align-items: baseline; gap: 10px;
  padding: 11px 0;
}
.hc-field-key {
  font-size: 0.71rem; font-weight: 700;
  color: var(--ink4); text-transform: uppercase;
  letter-spacing: .07em; width: 52px; flex-shrink: 0;
}
.hc-field-val { font-size: 0.86rem; color: var(--ink2); }
.email-addr {
  font-family: 'Plus Jakarta Sans', monospace;
  color: var(--green); font-weight: 600;
}
.hc-subject { font-weight: 700; color: var(--ink); font-size: 0.88rem; }
.hc-field-divider { height: 1px; background: var(--border); }

/* Email body */
.hc-body-area {
  padding: 14px 0 16px;
}
.hc-body-line {
  font-size: 0.85rem; color: var(--ink2); line-height: 1.72;
  margin: 0;
}
.hc-body-gap { margin: 10px 0; }
.hc-cursor-blink {
  display: inline-block;
  color: var(--green); font-weight: 300;
  animation: pulse .85s infinite;
  margin-left: 1px;
}

/* AI bar */
.hc-ai-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 18px;
  background: #f6fbf8;
  border-top: 1px solid rgba(45,106,79,0.1);
  border-bottom: 1px solid rgba(45,106,79,0.1);
}
.hc-ai-left { display: flex; align-items: center; gap: 7px; }
.hc-ai-icon {
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hc-ai-label { font-size: 0.76rem; font-weight: 600; color: var(--green); }
.hc-ai-dots { display: flex; gap: 3px; align-items: center; }
.hc-ai-dots span {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--green3); animation: pulse 1.2s infinite;
}
.hc-ai-dots span:nth-child(2) { animation-delay: .2s; }
.hc-ai-dots span:nth-child(3) { animation-delay: .4s; }
.hc-ai-tone { font-size: 0.71rem; color: var(--ink3); }

/* Action row */
.hc-actions {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px;
  background: var(--surface);
}
.hc-btn-send {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 9px; border: none;
  background: var(--green); color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.83rem; font-weight: 700;
  box-shadow: 0 2px 8px rgba(45,106,79,0.3);
  cursor: default;
}
.hc-btn-secondary {
  padding: 9px 14px; border-radius: 9px;
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--ink2); font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.83rem; font-weight: 500; cursor: default;
}
.hc-shortcut {
  margin-left: auto;
  font-size: 0.72rem; color: var(--ink4);
  background: var(--bg3); padding: 4px 8px;
  border-radius: 6px; border: 1px solid var(--border);
  letter-spacing: 0.02em;
}

/* Sign-up CTA strip */
.hc-signup-cta {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 18px; margin-top: 10px;
  background: var(--green);
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.84rem; font-weight: 700; color: #fff;
  letter-spacing: 0.01em;
  transition: background .16s, transform .16s;
  box-shadow: 0 4px 16px rgba(45,106,79,0.28);
}
.hc-signup-cta:hover { background: var(--green2); transform: translateY(-1px); }

/* Remove old classes no longer used */
/* Old stacked card elements — safely hidden */
.hero-card-stack, .hero-card-bg, .hero-card-mid,
.hero-demo-wrap, .hero-status-bar, .hstat-item,
.hero-cta-strip,
.floating-badge, .badge-found, .badge-sent { display: none !important; }


/* ════════════════════════════════════════════════════
   HOW IT WORKS — Visual step flow
════════════════════════════════════════════════════ */
.how-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 60px 100px;
}

/* Header */
.how-header { text-align: center; margin-bottom: 64px; }
.how-label {
  font-size: 0.76rem; font-weight: 700; color: var(--green);
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 14px;
}
.how-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700; color: var(--ink); line-height: 1.2;
}
.how-title em { font-style: italic; color: var(--green); }

/* Flow column */
.how-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Arrow between steps */
.how-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 0 6px 56px; /* align with card */
}
.how-arrow-line {
  width: 1.5px; height: 22px;
  background: linear-gradient(var(--border2), var(--green3));
}
.how-arrow-head {
  color: var(--green3); margin-top: -1px;
}

/* Each step row */
.how-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.how-step-num {
  font-family: 'Fraunces', serif;
  font-size: 0.78rem; font-weight: 700;
  color: var(--green); letter-spacing: .06em;
  padding-top: 20px;
  width: 28px; flex-shrink: 0;
  text-align: right;
}
.how-step-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.how-step-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(45,106,79,0.25);
  transform: translateY(-2px);
}

/* Visual preview area (top of each step card) */
.how-step-visual {
  padding: 20px 22px 18px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

/* Step text (bottom of card) */
.how-step-text { padding: 18px 22px 20px; }
.how-step-title {
  font-size: 0.95rem; font-weight: 700;
  color: var(--ink); margin-bottom: 6px;
}
.how-step-desc {
  font-size: 0.845rem; color: var(--ink2); line-height: 1.7;
}

/* ── Visual Step 1: input mock ── */
.vs-input .vsv-label {
  font-size: 0.72rem; font-weight: 600;
  color: var(--ink3); text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 9px;
}
.vsv-input-mock {
  display: flex; align-items: center; gap: 0;
  background: var(--surface);
  border: 1.5px solid var(--border2);
  border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.vsv-input-inner {
  flex: 1; padding: 11px 14px;
  font-size: 0.88rem; color: var(--ink);
  display: flex; align-items: center; gap: 1px;
}
.vsv-typed { font-weight: 500; }
.vsv-cursor {
  color: var(--green); font-weight: 300;
  animation: pulse .85s infinite; margin-left: 1px;
}
.vsv-input-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 16px;
  background: var(--green); color: #fff;
  font-size: 0.82rem; font-weight: 700;
  border-left: none;
}

/* ── Visual Step 2: resolved person ── */
.vsv-person-row {
  display: flex; align-items: center; gap: 11px;
  margin-bottom: 12px;
}
.vsv-person-ava {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green3));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: 0.95rem; color: #fff; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(45,106,79,0.25);
}
.vsv-person-info { flex: 1; }
.vsv-person-name { font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.vsv-person-role { font-size: 0.74rem; color: var(--ink3); margin-top: 1px; }
.vsv-check-pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 20px;
  background: var(--green-bg); color: var(--green);
  font-size: 0.71rem; font-weight: 700;
  border: 1px solid rgba(45,106,79,0.2);
}
.vsv-email-found {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  background: var(--surface); border-radius: 8px;
  border: 1px solid var(--border);
}
.vsv-ef-key {
  font-size: 0.69rem; font-weight: 700;
  color: var(--ink4); text-transform: uppercase; letter-spacing: .07em;
  width: 38px; flex-shrink: 0;
}
.vsv-ef-val {
  font-size: 0.82rem; color: var(--green); font-weight: 600;
  font-family: 'Plus Jakarta Sans', monospace; flex: 1;
}
.vsv-ef-badge {
  font-size: 0.68rem; font-weight: 700;
  background: var(--green-bg); color: var(--green);
  padding: 2px 8px; border-radius: 10px;
  border: 1px solid rgba(45,106,79,0.18);
  white-space: nowrap;
}

/* ── Visual Step 3: compose preview ── */
.vsv-compose-row {
  display: flex; align-items: baseline; gap: 8px;
  padding: 8px 12px;
  background: var(--surface); border-radius: 8px;
  border: 1px solid var(--border); margin-bottom: 10px;
}
.vsv-ck {
  font-size: 0.69rem; font-weight: 700;
  color: var(--ink4); text-transform: uppercase;
  letter-spacing: .07em; width: 46px; flex-shrink: 0;
}
.vsv-cv { font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.vsv-compose-body {
  font-size: 0.82rem; color: var(--ink2); line-height: 1.65;
  padding: 10px 12px;
  background: var(--surface); border-radius: 8px;
  border: 1px solid var(--border); margin-bottom: 10px;
}
.vsv-cursor2 {
  color: var(--green); font-weight: 300;
  animation: pulse .85s infinite;
}
.vsv-ai-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 20px;
  background: var(--green-bg); color: var(--green);
  font-size: 0.73rem; font-weight: 700;
  border: 1px solid rgba(45,106,79,0.2);
}
.vsv-ai-dot {
  width: 5px; height: 5px; background: var(--green);
  border-radius: 50%; animation: pulse 1.4s infinite;
}

/* ── Visual Step 4: review & send ── */
.vsv-review-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.vsv-review-label {
  font-size: 0.75rem; font-weight: 600; color: var(--ink2);
}
.vsv-review-badge {
  font-size: 0.69rem; font-weight: 700;
  padding: 3px 9px; border-radius: 10px;
  background: var(--amber-bg); color: var(--amber);
  border: 1px solid rgba(212,135,10,0.2);
}
.vsv-action-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.vsv-btn-send {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 8px;
  background: var(--green); color: #fff;
  font-size: 0.82rem; font-weight: 700;
  box-shadow: 0 2px 8px rgba(45,106,79,0.28);
}
.vsv-btn-edit {
  padding: 9px 13px; border-radius: 8px;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--ink2); font-size: 0.82rem; font-weight: 500;
}
.vsv-sent-confirm {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 12px; border-radius: 8px;
  background: #f0f9f4; border: 1px solid rgba(45,106,79,0.2);
  font-size: 0.82rem; font-weight: 600; color: var(--green);
  animation: fadeUp .5s ease both;
}

/* Bottom CTA */
.how-bottom-cta {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  margin-top: 56px; text-align: center;
}
.how-cta-note {
  font-size: 0.8rem; color: var(--ink3);
}

@media (max-width: 680px) {
  .how-section { padding: 60px 24px 80px; }
  .how-step { flex-direction: column; gap: 10px; }
  .how-step-num { padding-top: 0; text-align: left; }
  .how-arrow { padding-left: 0; }
}


/* ════════════════════════════════════════════════════
   AUTH PAGE — Complete styles
════════════════════════════════════════════════════ */
.auth-page {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
}
.auth-page::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(45,106,79,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(45,106,79,0.04) 0%, transparent 55%);
}

/* Back arrow — top left on every auth page */
.auth-back-btn {
  position: fixed;
  top: 22px; left: 28px;
  display: flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 30px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--ink2); font-size: 0.84rem; font-weight: 500;
  cursor: pointer; transition: all .18s;
  box-shadow: var(--shadow-xs);
  z-index: 500; text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.auth-back-btn:hover {
  background: var(--bg3);
  border-color: var(--border2);
  color: var(--ink);
  transform: translateX(-2px);
}
.auth-back-btn svg { flex-shrink: 0; }

/* Split card */
.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 900px; width: 100%;
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative; z-index: 1;
  animation: scaleIn .4s ease both;
}

/* Left green panel */
.auth-left {
  background: var(--green);
  padding: 52px 44px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  position: relative; overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.auth-left::after {
  content: '';
  position: absolute; bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.auth-left-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem; font-weight: 700;
  color: #fff;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 48px;
  position: relative; z-index: 1;
}
.auth-left-logo-dot {
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.65);
  border-radius: 50%;
}
.auth-left-heading {
  font-family: 'Fraunces', serif;
  font-size: 1.75rem; font-weight: 600;
  color: #fff; line-height: 1.25;
  margin-bottom: 12px;
  position: relative; z-index: 1;
}
.auth-left-sub {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem; line-height: 1.7;
  margin-bottom: 36px;
  position: relative; z-index: 1;
}
.auth-left-features {
  position: relative; z-index: 1;
}
.auth-feat-item {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 18px;
}
.auth-feat-ico {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0; margin-top: 1px;
}
.auth-feat-text {
  font-size: 0.855rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
}
.auth-feat-text strong { color: #fff; }
.auth-left-bottom {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-top: 40px;
  position: relative; z-index: 1;
}

/* Right form panel */
.auth-right {
  padding: 52px 44px;
  display: flex; flex-direction: column;
  justify-content: center;
}
.auth-right-title {
  font-family: 'Fraunces', serif;
  font-size: 1.55rem; font-weight: 700;
  color: var(--ink); margin-bottom: 5px;
}
.auth-right-sub {
  color: var(--ink2); font-size: 0.88rem;
  margin-bottom: 28px;
}

/* Social buttons */
.social-btns { display: flex; gap: 10px; margin-bottom: 4px; }
.social-btn {
  flex: 1; display: flex; align-items: center;
  justify-content: center; gap: 8px;
  padding: 11px; border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--ink); font-size: 0.855rem; font-weight: 500;
  cursor: pointer; transition: all .15s;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.social-btn:hover {
  background: var(--bg2);
  border-color: var(--border2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-xs);
}

/* Auth switch link */
.auth-switch {
  text-align: center; margin-top: 20px;
  font-size: 0.855rem; color: var(--ink2);
}
.auth-switch a {
  color: var(--green); font-weight: 600;
  cursor: pointer; text-decoration: none;
}
.auth-switch a:hover { text-decoration: underline; }

/* back-link inside form (old style — keep for compat) */
.back-link {
  display: none; /* replaced by auth-back-btn */
}

/* Responsive */
@media (max-width: 700px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: 36px 28px; }
  .auth-back-btn { top: 14px; left: 14px; }
}