/* The join page: what you get on the left, the form on the right. */
.join { min-height: 100vh; display: grid; align-content: center; padding: clamp(28px, 5vw, 64px) 0; }
.join-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(28px, 6vw, 90px); align-items: center; }

.join-side { display: grid; gap: 22px; justify-items: start; }
.join-title { font-size: clamp(40px, 5.4vw, 68px); margin-top: 14px; }
.join-price { font-size: clamp(34px, 3.6vw, 46px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.join-price small { font-size: 17px; font-weight: 400; letter-spacing: 0; color: var(--dim); }
.join-points { list-style: none; display: grid; gap: 12px; padding: 0; color: var(--text); font-size: 16px; }
.join-points li { display: flex; align-items: center; gap: 12px; }
.join-points li::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }

.join-card { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); display: grid; gap: 22px; }
.join-steps { list-style: none; display: flex; gap: 18px; padding: 0 0 18px; border-bottom: 1px solid var(--edge-soft); font-size: 13.5px; color: var(--faint); }
.join-steps li { display: flex; align-items: center; gap: 8px; }
.join-steps i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--edge); font-style: normal; font-size: 12px; }
.join-steps .is-on { color: var(--text); }
.join-steps .is-on i { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.join-steps .is-done i { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }

.join-step { display: grid; gap: 12px; }
.join-step[hidden] { display: none; }
.join-help { color: var(--dim); font-size: 15px; margin-bottom: 6px; overflow-wrap: anywhere; }
.join-help strong { color: var(--text); font-weight: 500; }
.join-label { font-size: 13.5px; color: var(--dim); }
.join-input { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--edge); background: var(--field); color: var(--text); font: 400 16px/1 Geist, system-ui, sans-serif; }
.join-input::placeholder { color: var(--faint); }
.join-input:focus-visible { outline: 2px solid var(--accent-line); outline-offset: 2px; border-color: var(--accent-line); }
.join-digits { font-family: 'Geist Mono', monospace; font-size: 24px; letter-spacing: 0.32em; text-align: center; }
.join-go { width: 100%; margin-top: 8px; }
.join-go[disabled] { opacity: 0.6; pointer-events: none; }
.join-error { color: var(--warn); font-size: 14px; }
.join-alt { display: flex; justify-content: space-between; gap: 12px; }
.join-link { background: none; border: 0; padding: 6px 0; color: var(--dim); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.join-link:hover { color: var(--text); }

#pay-form { display: grid; gap: 14px; }
.join-summary { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--glass); border: 1px solid var(--edge-soft); font-size: 15px; }
.join-summary span { color: var(--dim); min-width: 0; }
.join-summary b { white-space: nowrap; font-weight: 600; }
.join-pay { min-height: 180px; }
.join-fine { color: var(--faint); font-size: 12.5px; text-align: center; }
.join-demo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--edge-soft); }

@media (max-width: 860px) {
  .join { align-content: start; }
  .join-grid { grid-template-columns: minmax(0, 1fr); }
  .join-title { font-size: clamp(34px, 9vw, 48px); margin-top: 6px; }
  .join-side { gap: 14px; }
  .join-points { display: none; }
}

/* Agreement tick-box, the membership page's parts, and the contact form. */
.join-agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--dim); cursor: pointer; }
.join-agree input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); }
.join-agree a, .join-fine a, .text-link { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-line); }
.join-fine { text-wrap: pretty; }
.member-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--glass); border: 1px solid var(--edge-soft); font-size: 15px; }
.member-acts, .member-box { display: grid; gap: 10px; justify-items: center; }
.member-acts[hidden], .member-box[hidden], .member-row[hidden] { display: none; }
.member-box { padding: 18px; border-radius: 16px; border: 1px solid var(--edge); background: var(--glass); }
.member-box p { color: var(--dim); font-size: 15px; line-height: 1.55; justify-self: start; }
.member-box p strong { color: var(--text); font-weight: 500; }
.member-box .join-pay { width: 100%; }
#step-manage .join-error { color: var(--accent); }
.join-area { height: auto; padding: 14px 16px; line-height: 1.5; resize: vertical; min-height: 130px; }
select.join-input { appearance: none; -webkit-appearance: none; }
.join-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join-side .lead { font-size: 17px; }
.join-points a { color: inherit; }
@media (max-width: 860px) {
  [data-page="contact"] .join-points, [data-page="membership"] .join-points { display: none; }
}

/* Monthly or yearly. */
.join-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.join-plan { position: relative; display: block; cursor: pointer; }
.join-plan input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.join-plan span { display: grid; gap: 4px; height: 100%; padding: 14px 16px; border-radius: 14px; background: var(--glass); border: 1px solid var(--edge-soft); transition: border-color var(--fast), background var(--fast); }
.join-plan b { font-weight: 600; font-size: 15px; }
.join-plan em { font-style: normal; font-weight: 500; font-size: 12px; margin-left: 4px; padding: 2px 8px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.join-plan small { color: var(--dim); font-size: 14px; }
.join-plan input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.join-plan input:focus-visible + span { outline: 2px solid var(--accent-line); outline-offset: 2px; }
.join .when-yearly, .join.is-yearly .when-monthly { display: none; }
.join.is-yearly .when-yearly { display: inline; }
@media (max-width: 420px) {
  .join-plan em { display: table; margin: 4px 0 0; }
}

/* Arriving with a demo code. */
.join-note { padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--text); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.join-note[hidden] { display: none; }
.join-note strong { font-family: 'Geist Mono', monospace; font-weight: 600; color: var(--accent); }
.join .when-demo, .join.has-demo .when-paid { display: none; }
.join.has-demo .when-demo { display: block; }
