/* Join-only presentation: marketing pages and shared auth widgets stay unchanged. */
.join-body {
  color-scheme: dark;
}

.join-body [hidden] {
  display: none !important;
}

.join-body .join-shell {
  min-height: 100svh;
  padding: max(32px, env(safe-area-inset-top)) 18px max(32px, env(safe-area-inset-bottom));
  align-items: center;
}

.join-body .auth-modal.join-modal {
  width: 100%;
  max-width: 430px;
  margin: auto;
  padding: 28px;
  border: 1px solid #40424c;
  border-radius: 20px;
  background: linear-gradient(180deg, #24252a, #202126);
  box-shadow: 0 20px 70px #0005;
}

.join-wordmark {
  margin-bottom: 25px;
  color: #f5f5f7;
  font-family: 'Saira', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.19em;
  text-align: center;
}

.join-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 25px;
  padding: 0;
  list-style: none;
  color: #b7bac5;
  font-size: 11px;
}

.join-progress li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.join-progress li + li::before {
  content: '';
  width: 17px;
  height: 1px;
  background: #51545e;
  margin: 0 3px;
}

.join-progress span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid #60636e;
  border-radius: 50%;
  line-height: 1;
}

.join-progress [aria-current='step'] {
  color: #f5f5f7;
}

.join-progress [aria-current='step'] span {
  background: #eeeff3;
  border-color: #eeeff3;
  color: #23242a;
}

.join-progress .complete span {
  border-color: #aaaeba;
  color: #e4e5ec;
}

.join-body .join-title {
  margin: 0;
  font-size: 27px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.join-body .auth-subtitle {
  max-width: 285px;
  margin: 11px auto 0;
  font-size: 13px;
  line-height: 1.75;
  color: #c0c1ca;
}

.join-body .auth-provider-list {
  margin-top: 24px;
  gap: 11px;
}

.join-body .auth-provider-button {
  min-height: 54px;
  padding: 12px;
  gap: 11px;
  border-color: #565963;
  background: #2c2e35;
  font-size: 14px;
}

.join-body .auth-provider-icon {
  width: 20px;
  height: 22px;
  flex: 0 0 20px;
}

.join-body .auth-provider-icon.apple {
  font-size: 25px;
}

.join-body .auth-provider-label {
  flex: 0 1 auto;
  width: auto;
  white-space: nowrap;
}

.join-body .auth-continue-button {
  min-height: 53px;
  padding: 12px 15px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
}

.join-body :is(button, a, summary):focus-visible {
  outline: 2px solid #eeeff3;
  outline-offset: 4px;
}

.join-body .join-title:focus {
  outline: none;
}

.join-text-button {
  border: 0;
  background: transparent;
  color: #d5d8e1;
  padding: 8px 2px;
  min-height: 44px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.join-text-button:disabled { opacity: 0.5; cursor: wait; }
.join-body .billing-toggle { margin: 22px auto 10px; }
.join-body .billing-toggle-button { min-height: 36px; }
.join-body .checkout-flow { gap: 12px; }
.join-body .plan-grid { margin: 0; gap: 12px; }
.join-body .plan { padding: 18px; border-radius: 13px; background: #2a2c33; }
.join-body .plan.active { border-color: #858996; transform: none; }
.join-body .plan-name { font-size: 15px; font-weight: 500; }
.join-body .plan-price { font-size: 17px; margin-top: 5px; }
.join-body .plan-summary { font-size: 12px; line-height: 1.65; }
.join-body .plan.active .plan-summary { margin-top: 10px; }
.join-body .plan.active .plan-features { max-height: none; margin-top: 12px; }
.join-body .plan-features { font-size: 12px; line-height: 1.65; }
.join-body .plan-features li + li { margin-top: 6px; }
.join-billing-note {
  margin: 10px 0 0;
  color: #b9becb;
  font-size: 11px;
  line-height: 1.75;
  text-align: center;
}
.join-account-email { margin: 18px 0; font-size: 12px; color: #c0c1ca; text-align: center; overflow-wrap: anywhere; }
.join-support { display: block; width: fit-content; margin: 16px auto 0; padding: 10px; font-size: 13px; }
.join-success-mark { display: grid; place-items: center; width: 45px; height: 45px; margin: 0 auto 17px; border: 1px solid #85978d; border-radius: 50%; background: #2b3932; color: #d2e2d8; font-size: 21px; }
.join-membership-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; margin-top: 24px; border-block: 1px solid #494d59; font-size: 13px; }
.join-membership-status strong { font-size: 11px; font-weight: 500; }
.join-membership-status .active { color: #c5dfd0; }
.join-body .join-app-link { display: flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; margin-bottom: 10px; }
.join-body .secondary-action { border-color: #565963; background: transparent; color: #d5d8e1; }
.join-body .secondary-action:hover { background: #2c2e35; }
.join-body .status { margin-top: 18px; font-size: 12px; line-height: 1.65; }
.join-body .status:empty { display: none; }
.join-sign-out { display: block; margin: 14px auto 0; }
.join-body .join-legal { margin-top: 26px; gap: 16px; font-size: 11px; }
.join-body .join-legal a { padding-block: 8px; color: #c2c4cd; }
.join-body .join-legal a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 460px) {
  .join-body .join-shell { padding-inline: 14px; }
  .join-body .auth-modal.join-modal { padding: 24px 19px; }
  .join-body .join-title { font-size: 25px; }
  .join-progress li + li::before { width: 9px; margin: 0 2px; }
  .join-progress li { gap: 5px; }
  .join-body .plan { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .join-body * { transition: none !important; animation: none !important; }
}

/* October 6: solid black background for every membership flow state. */
.join-body{background:#000}
.join-body::before,.join-body::after{display:none}
