.join-page { min-height: 100svh; padding: 32px clamp(24px, 6vw, 80px); }
.join-page header { max-width: 1200px; margin: auto; }
.join-wordmark { display: inline-block; padding: 18px; margin-left: -18px; text-decoration: none; }
.join-page main { width: min(100%, 490px); margin: clamp(56px, 12vh, 140px) auto 48px; }
.join-page h1 { font: 600 clamp(36px, 5vw, 50px)/1.15 Fraunces, Georgia, serif; letter-spacing: -.03em; margin: 0 0 24px; }
.join-page p { color: var(--muted); margin: 0 0 24px; }
.join-actions { display: grid; gap: 12px; margin: 32px 0 20px; }
.join-actions[hidden] { display: none; }
.join-actions a { display: block; padding: 15px 20px; min-height: 52px; text-align: center; border: 1px solid var(--accent); border-radius: 7px; background: var(--accent); color: var(--on-accent); font-weight: 550; text-decoration: none; }
.join-actions a:hover { background: var(--accent-hover); }
.join-actions a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.join-actions a[aria-disabled] { background: var(--sidebar); border-color: var(--line); color: var(--muted); cursor: default; }
.join-page #join-status { font-size: 13px; line-height: 1.6; }
.join-page #join-status:empty { display: none; }

.join-page { border-top: 6px solid var(--accent); }
.join-page h1 { font-variation-settings: "opsz" 14; }

/* The invitation's supplied tile-band composition; privacy keeps its reading layout. */
.invite-page { padding: 0; border-top: 0; min-height: 100dvh; display: flex; flex-direction: column; }
.join-page .join-band { width: 100%; max-width: none; margin: 0; min-height: 46dvh; padding: 40px 28px; display: grid; place-items: center; border-bottom: 4px solid var(--accent); background-size: 192px 192px; }
.join-band .join-wordmark { width: min(300px, 100%); margin: 0; padding: 34px 24px; display: grid; place-items: center; }
.join-band .brand-logo { width: 180px; max-width: 100%; }
.invite-page main { flex: 1; display: flex; flex-direction: column; width: min(100%, 430px); margin: 0 auto; padding: 36px 24px max(24px, env(safe-area-inset-bottom)); }
.invite-page h1 { font-size: 38px; line-height: 42px; font-weight: 700; letter-spacing: -.005em; margin-bottom: 24px; }
.invite-page h1 em { color: var(--accent); }
.invite-page .join-actions { margin: auto 0 16px; padding-top: 32px; }
.invite-page .join-actions a { display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 12px; font-size: 16px; font-weight: 600; }
.invite-page #join-telegram:not([aria-disabled]) { background: transparent; color: var(--accent); }
.invite-page #join-telegram:not([aria-disabled]):hover { background: var(--accent-soft); }
@media (min-width: 700px) {
  .join-page .join-band { min-height: 320px; }
  .invite-page main { width: min(100%, 520px); }
}

.join-band .tile-corner img { display: block; width: 28px; height: 28px; }
