/* ============================================================
   The Wealth Mosaic, Authentication pages (signin + join)
   Both share a slim header, an editorial proof rail, and the
   same form atoms, so the two pages feel like one product.
   ============================================================ */

.auth-page {
  --auth-panel: #F6F7F9;
  --auth-line: #E5E7EB;
  --auth-soft: #ECEEF2;
  --auth-bg: #FAFAFB;
  background: var(--auth-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   SLIM HEADER
   ============================================================ */
.auth-header {
  background: #fff;
  border-bottom: 1px solid var(--rule-soft);
  padding: 16px 0;
}
.auth-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.auth-header .brand-logo {
  height: 40px;
  width: auto;
}
.auth-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-soft);
}
.auth-header__cta span { font-weight: 500; }
.btn-secondary {
  background: var(--auth-panel);
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 9px 16px;
  font-weight: 600;
  font-size: 13.5px;
  border-radius: 4px;
  transition: background .15s ease, border-color .15s ease;
}
.btn-secondary:hover {
  background: #fff;
  border-color: #c5cad3;
}

/* ============================================================
   EYEBROW + shared atoms, mirrors the global .eyebrow in about.css
   and marketplace.css so authentication pages feel native to the
   wider design system.
   ============================================================ */
.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 22px;
  text-transform: none;
}
.auth-eyebrow__chev {
  display: inline-block;
  width: 14px;
  height: 20px;
  background: url("../assets/logos/chevron-mark.svg") center/contain no-repeat;
  flex-shrink: 0;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 4px;
}

/* ============================================================
   SIGN-IN, split layout
   ============================================================ */
.auth-main {
  flex: 1;
  padding: 56px 0 80px;
}
.auth-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: stretch;
}

.auth-card {
  background: #fff;
  border: 1px solid var(--auth-line);
  border-radius: 16px;
  padding: 48px 52px;
  align-self: center;
  width: 100%;
  max-width: 520px;
  justify-self: end;
  box-shadow: 0 24px 48px -28px rgba(16, 21, 36, .14);
}
.auth-card h1 {
  font-family: var(--font);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 12px;
  text-wrap: balance;
}
.auth-card__lede {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 380px;
}

/* ============================================================
   FORM ATOMS, shared between signin + join
   ============================================================ */
.auth-form {
  display: grid;
  gap: 16px;
}
.auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.auth-field {
  display: grid;
  gap: 6px;
}
.auth-field > span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.auth-field__aside {
  font-size: 12px;
  font-weight: 700;
  color: var(--magenta);
  letter-spacing: -.005em;
  text-transform: none;
}
.auth-field__aside:hover { text-decoration: underline; }

.auth-field input,
.auth-field select {
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  outline: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.auth-field input::placeholder { color: #9AA0AA; }
.auth-field input:focus,
.auth-field select:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(230, 23, 90, .12);
}
.auth-field select {
  appearance: none;
  -webkit-appearance: none;
  background: #fff url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23101524' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") right 14px center no-repeat;
  padding-right: 36px;
}

.auth-field__input {
  position: relative;
}
.auth-field__input input {
  padding-right: 44px;
}
.auth-field__toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color .15s ease, background .15s ease;
}
.auth-field__toggle:hover { color: var(--ink); background: var(--auth-panel); }
.auth-field__toggle svg { width: 16px; height: 16px; }
.auth-field__toggle.is-on { color: var(--magenta); }

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
  cursor: pointer;
}
.auth-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--magenta);
  flex-shrink: 0;
  margin-top: 2px;
}
.auth-check a {
  color: var(--magenta);
  font-weight: 600;
}
.auth-check a:hover { text-decoration: underline; }

.auth-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 4px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--auth-line);
}

.auth-sso {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.auth-sso__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--auth-line);
  padding: 10px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.auth-sso__btn:hover {
  border-color: #c5cad3;
  background: var(--auth-panel);
  transform: translateY(-1px);
}
.auth-sso__btn svg { width: 16px; height: 16px; }

.auth-foot {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  text-align: center;
}
.auth-foot a {
  color: var(--magenta);
  font-weight: 700;
}
.auth-foot a:hover { text-decoration: underline; }

/* ============================================================
   PROOF rail (sign-in right side)
   ============================================================ */
.auth-proof {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  align-self: stretch;
  min-height: 540px;
  display: flex;
  flex-direction: column;
}
.auth-proof__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.auth-proof__bg svg {
  width: 100%;
  height: 100%;
  display: block;
}
.auth-proof__inner {
  position: relative;
  z-index: 1;
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}
.auth-proof__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}
.auth-proof h2 {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}
.auth-proof h2 em {
  font-style: normal;
  color: var(--magenta-2, #ff2a72);
}

.auth-proof__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.auth-proof__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .78);
}
.auth-proof__list strong {
  color: #fff;
  font-weight: 700;
}
.auth-bullet {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--magenta-2, #ff2a72);
  margin-top: 2px;
}

.auth-quote {
  margin: 0;
  padding: 22px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-quote blockquote {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #fff;
  font-style: italic;
}
.auth-quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .7);
}
.auth-quote figcaption strong {
  display: block;
  color: #fff;
  font-weight: 700;
}
.auth-quote figcaption em {
  font-style: normal;
  color: rgba(255, 255, 255, .55);
}
.auth-quote__av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6851A2, #4d3a85);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
}

.auth-proof__stats {
  list-style: none;
  margin: auto 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.auth-proof__stats li { display: flex; flex-direction: column; gap: 2px; }
.auth-proof__stats strong {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.auth-proof__stats strong i {
  font-style: normal;
  color: var(--magenta-2, #ff2a72);
  font-size: .65em;
  margin-left: -1px;
}
.auth-proof__stats span {
  font-size: 11px;
  color: rgba(255, 255, 255, .6);
  letter-spacing: .02em;
}

/* ============================================================
   JOIN, hero
   ============================================================ */
.join-hero {
  padding: 64px 0 28px;
  background:
    radial-gradient(70% 70% at 100% 0%, rgba(230, 23, 90, .08), transparent 55%),
    radial-gradient(50% 60% at 0% 100%, rgba(44, 86, 224, .05), transparent 60%),
    linear-gradient(180deg, #fff 0%, #FAFAFB 100%);
  text-align: center;
}
.join-hero__inner {
  max-width: 820px;
  margin: 0 auto;
}
.join-hero h1 {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 0 0 18px;
  text-wrap: balance;
}
.join-hero h1 em {
  font-style: normal;
  color: var(--magenta);
}
.join-hero__lede {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 auto 32px;
  max-width: 620px;
}
.join-hero__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.join-hero__trust li { display: flex; flex-direction: column; gap: 2px; }
.join-hero__trust strong {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.join-hero__trust strong i {
  font-style: normal;
  color: var(--magenta);
  font-size: .7em;
  margin-left: -1px;
}
.join-hero__trust span {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: .005em;
}

/* ============================================================
   THREE PATHS
   ============================================================ */
.join-paths { padding: 36px 0 56px; }
.join-paths__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.join-path {
  background: #fff;
  border: 1px solid var(--auth-line);
  border-radius: 16px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--ink);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  position: relative;
}
.join-path:hover {
  transform: translateY(-3px);
  border-color: #c5cad3;
  box-shadow: 0 22px 44px -22px rgba(16, 21, 36, .18);
}
.join-path--feat {
  border-color: rgba(230, 23, 90, .35);
  background: linear-gradient(180deg, rgba(230, 23, 90, .04), transparent 80px), #fff;
}
.join-path--feat:hover {
  border-color: var(--magenta);
  box-shadow: 0 22px 44px -22px rgba(230, 23, 90, .25);
}

.join-path__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.join-path__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.join-path__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--auth-panel);
  padding: 4px 9px;
  border-radius: 100px;
}
.join-path__tag--feat {
  color: var(--magenta);
  background: rgba(230, 23, 90, .1);
}

.join-path__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--auth-panel);
  color: var(--ink-soft);
  display: grid;
  place-items: center;
}
.join-path__icon svg { width: 22px; height: 22px; }
.join-path--feat .join-path__icon {
  background: rgba(230, 23, 90, .1);
  color: var(--magenta);
}

.join-path h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.018em;
  color: var(--ink);
}
.join-path > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.join-path__feats {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--auth-soft);
  padding-top: 14px;
}
.join-path__feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.45;
}
.join-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--magenta);
  margin-top: 2px;
}
.join-path__cta {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--magenta);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .15s ease;
}
.join-path:hover .join-path__cta { gap: 10px; }

/* ============================================================
   VENDOR PLANS
   ============================================================ */
.vendor-plans {
  background: #fff;
  padding: 70px 0 80px;
  border-top: 1px solid var(--rule-soft);
}
.vendor-plans__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.vendor-plans__head .auth-eyebrow {
  justify-content: center;
}
.vendor-plans__head h2 {
  font-family: var(--font);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 12px;
  text-wrap: balance;
}
.vendor-plans__head p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.vp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.vp {
  position: relative;
  background: #fff;
  border: 1px solid var(--auth-line);
  border-radius: 14px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.vp:hover { border-color: #c5cad3; }
.vp--mid {
  border-color: var(--magenta);
  box-shadow: 0 24px 48px -24px rgba(230, 23, 90, .25);
}
.vp__pin {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--magenta);
  color: #fff;
  padding: 4px 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 100px;
}
.vp__tier {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.vp__price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.vp__price strong {
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
}
.vp__price span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.vp__sub {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.vp__feats {
  list-style: none;
  margin: 6px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--auth-soft);
  display: grid;
  gap: 8px;
  flex: 1;
}
.vp__feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.45;
}
.vp__cta {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}
.vp-foot {
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.vp-foot a { color: var(--magenta); font-weight: 700; }
.vp-foot a:hover { text-decoration: underline; }

/* ============================================================
   SIGN-UP FORM section
   ============================================================ */
.join-form {
  padding: 70px 0 80px;
  background: var(--auth-bg);
  border-top: 1px solid var(--rule-soft);
}
.join-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.join-form__copy h2 {
  font-family: var(--font);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 14px;
  text-wrap: balance;
}
.join-form__copy p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 22px;
  max-width: 460px;
}
.join-form__assurance {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.join-form__assurance li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.join-form__form {
  background: #fff;
  border: 1px solid var(--auth-line);
  border-radius: 16px;
  padding: 36px 36px 28px;
  box-shadow: 0 24px 48px -28px rgba(16, 21, 36, .14);
}

/* ============================================================
   SOCIAL PROOF row
   ============================================================ */
.join-proof {
  background: #fff;
  padding: 40px 0 60px;
  border-top: 1px solid var(--rule-soft);
  text-align: center;
}
.join-proof__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.join-proof__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
}
.join-proof__row li {
  font-family: var(--font);
  font-style: normal;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.005em;
  opacity: .7;
  transition: opacity .15s ease;
}
.join-proof__row li:hover { opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.auth-footer {
  background: #fff;
  border-top: 1px solid var(--rule-soft);
  padding: 18px 0;
  font-size: 12.5px;
  color: var(--muted);
}
.auth-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.auth-footer__links {
  display: inline-flex;
  gap: 22px;
}
.auth-footer__links a {
  color: var(--ink-soft);
  transition: color .15s ease;
}
.auth-footer__links a:hover { color: var(--magenta); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .auth-main__grid { grid-template-columns: 1fr; gap: 32px; }
  .auth-card { max-width: 560px; margin: 0 auto; justify-self: center; }
  .auth-proof { min-height: 480px; }
  .join-paths__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .vp-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .join-form__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .auth-card { padding: 32px 24px; }
  .auth-proof__inner { padding: 32px 26px; }
  .auth-row { grid-template-columns: 1fr; }
  .auth-sso { grid-template-columns: 1fr; }
  .auth-header__cta span { display: none; }
  .join-form__form { padding: 24px 22px; }
  .join-hero__trust { gap: 24px; }
  .auth-footer .container { gap: 12px; }
  .auth-footer__links { gap: 14px; flex-wrap: wrap; }
}
