/* Members only: the words and the form on the left, and on the right the way in, as an object from the app:
   a paper panel with header / main / footer and full-width rules. Four steps, the first marked "You start here",
   the last (Earn) locked to members. */
#er-members .er-members { align-items: center; }
#er-members .er-members-join { width: min(100%, 480px); margin-top: clamp(26px, 2.6vw, 36px); display: grid; gap: 12px; }
#er-members .waitlist { background: #F2F4F1; border-color: #F2F4F1; }
#er-members .cp-note { font-size: var(--t-small); color: var(--fg2); }

#er-members .mp { --pad: clamp(20px, 2.2vw, 28px); --line: rgba(242,244,241,.22); background: rgba(242,244,241,.06); color: var(--fg); border: 1px solid rgba(242,244,241,.34); width: min(100%, 520px); justify-self: end; }
#er-members .mp-h, #er-members .mp-f { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 58px; padding: 0 var(--pad); }
#er-members .mp-h { border-bottom: 1px solid var(--line); }
#er-members .mp-h .label { color: var(--fg2); }
#er-members .mp-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
#er-members .mp-brand svg { width: 20px; height: 20px; }
#er-members .mp-f { border-top: 1px solid var(--line); font-size: 14.5px; color: var(--fg2); }
#er-members .mp-f b { color: var(--fg); font-weight: 600; }

#er-members .mp-list { position: relative; }
/* the thread that joins the four steps runs icon centre to icon centre: each step draws the half above
   its icon (all but the first) and the half below it (all but the last), so it meets at every rule */
#er-members .mp-step::before, #er-members .mp-step::after { content: ""; position: absolute; left: calc(var(--pad) + var(--ic) / 2 - 1px); width: 2px; background: rgba(242,244,241,.3); }
#er-members .mp-step::before { top: 0; height: 50%; }
#er-members .mp-step::after { top: 50%; bottom: 0; }
#er-members .mp-step:first-child::before, #er-members .mp-step:last-child::after { display: none; }
#er-members .mp-step { --ic: 44px; position: relative; display: grid; grid-template-columns: var(--ic) minmax(0, 1fr) auto; align-items: center; column-gap: 16px; padding: 16px var(--pad); }
#er-members .mp-step + .mp-step { border-top: 1px solid var(--line); }
#er-members .mp-ic { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #24409E; color: var(--fg); box-shadow: inset 0 0 0 1px rgba(242,244,241,.3); }
#er-members .mp-ic svg, #er-members .mp-lock svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#er-members .mp-t { display: grid; gap: 3px; min-width: 0; }
#er-members .mp-t .label { color: var(--fg2); }
#er-members .mp-t b { font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
#er-members .mp-t > span:last-child { font-size: 14.5px; line-height: 1.35; color: var(--fg2); }
#er-members .is-now .mp-ic { background: var(--paper-3); color: var(--ink); box-shadow: none; }
#er-members .is-goal .mp-ic { background: var(--green-light); color: var(--ink); box-shadow: none; }
#er-members .mp-now { padding: 6px 10px; border-radius: 999px; background: var(--green-light); color: var(--ink); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
#er-members .mp-lock { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(242,244,241,.12); color: var(--fg); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
#er-members .mp-lock svg { width: 14px; height: 14px; }

@media (max-width: 900px) { #er-members .mp { justify-self: stretch; width: 100%; max-width: 560px; } }
@media (max-width: 420px) {
  #er-members .mp-step { --ic: 40px; grid-template-columns: var(--ic) minmax(0, 1fr); row-gap: 10px; }
  #er-members .mp-ic { width: 40px; height: 40px; grid-row: 1 / span 2; }
  #er-members .mp-now, #er-members .mp-lock { grid-column: 2; justify-self: start; }
  #er-members .mp-f .mp-f-a { display: none; }
}
