/* Qchat landing — prestige dark glass */
:root {
  --bg: #0b121c;
  --bg-deep: #070d16;
  --ink: #f3f7fc;
  --muted: rgba(243, 247, 252, 0.68);
  --faint: rgba(243, 247, 252, 0.42);
  --brand: #2aabee;
  --brand-deep: #1486c4;
  --brand-soft: rgba(42, 171, 238, 0.16);
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(20, 30, 42, 0.48);
  --glass-strong: rgba(18, 28, 40, 0.82);
  --glass-shine: rgba(255, 255, 255, 0.11);
  --bubble-out: #2b5278;
  --bubble-in: #182533;
  --radius: 22px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Syne", "Manrope", system-ui, sans-serif;
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ——— Ambient ——— */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 82% 12%, rgba(42, 171, 238, 0.22), transparent 60%),
    radial-gradient(700px 480px at 8% 70%, rgba(43, 82, 120, 0.28), transparent 55%),
    linear-gradient(180deg, #0a101a 0%, var(--bg) 45%, #060a12 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite;
}
.orb-a {
  width: 420px; height: 420px;
  top: -80px; right: 8%;
  background: radial-gradient(circle, rgba(42,171,238,0.55), transparent 70%);
}
.orb-b {
  width: 360px; height: 360px;
  bottom: 10%; left: -60px;
  background: radial-gradient(circle, rgba(90,140,220,0.35), transparent 70%);
  animation-delay: -4s;
}
.orb-c {
  width: 280px; height: 280px;
  top: 42%; left: 40%;
  background: radial-gradient(circle, rgba(42,171,238,0.18), transparent 70%);
  animation-delay: -8s;
}
.noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top, main, .foot { position: relative; z-index: 1; }

/* ——— Liquid glass ——— */
.glass-nav,
.glass-card,
.glass-panel,
.glass-chip,
.phone-glass,
.sheet-card {
  background: linear-gradient(155deg, var(--glass-shine), transparent 40%), var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 0 0 1px rgba(42, 171, 238, 0.04) inset,
    0 22px 55px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(28px) saturate(1.45);
  -webkit-backdrop-filter: blur(28px) saturate(1.45);
}

.glass-card:hover {
  border-color: rgba(42, 171, 238, 0.35);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 24px 60px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(42, 171, 238, 0.08);
}

/* ——— Nav ——— */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 12px auto 0;
  padding: 10px 14px;
  padding-top: calc(10px + env(safe-area-inset-top));
  border-radius: 999px;
  width: calc(100% - 28px);
}
.top-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}
.top-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.top-nav a:hover { color: var(--ink); background: rgba(255,255,255,0.06); }
.top-cta {
  background: linear-gradient(180deg, #3bb8f5, var(--brand) 50%, var(--brand-deep)) !important;
  color: #041018 !important;
  box-shadow: 0 10px 28px rgba(42, 171, 238, 0.35);
}

/* ——— Hero ——— */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  min-height: calc(100dvh - 96px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 28px 22px 56px;
}

.hero-copy {
  animation: rise .95s var(--ease) both;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 20px;
}
.brand-mark {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(42, 171, 238, 0.32);
}
.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.8rem, 7.2vw, 4.8rem);
  letter-spacing: -0.05em;
  line-height: 0.92;
  background: linear-gradient(120deg, #fff 10%, #b9e7ff 55%, var(--brand) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title {
  margin: 0 0 16px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.5vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.hero-sub {
  margin: 0 0 28px;
  max-width: 36ch;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--muted);
}
.cta-row {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 12px;
  margin-bottom: 14px;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.cta-row-center { justify-content: center; align-items: center; }
.cta-row .btn {
  width: min(300px, 100%);
  max-width: 100%;
  justify-content: center;
}
.cta-row .btn-text {
  align-items: center;
  text-align: center;
}
.hero-meta {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.88rem;
  color: var(--faint);
  text-align: center;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.trust-strip span {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

/* Stage: phone + qubi */
.hero-stage {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  animation: float-in 1.15s var(--ease) .1s both;
}
.stage-glow {
  position: absolute;
  width: min(90%, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,171,238,0.38), transparent 65%);
  filter: blur(10px);
  animation: pulse 5.5s ease-in-out infinite;
}
.phone-glass {
  position: absolute;
  left: 4%;
  bottom: 8%;
  width: min(46%, 230px);
  border-radius: 28px;
  padding: 10px 10px 12px;
  transform: rotate(-6deg);
  z-index: 2;
  animation: float-soft 6s ease-in-out infinite;
}
.phone-notch {
  width: 42%;
  height: 8px;
  margin: 2px auto 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
}
.phone-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.72rem;
}
.chat-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.chat-top strong { display: block; font-size: 0.8rem; }
.chat-top small { color: var(--faint); }
.dot.online {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3bb8f5, #1a6fa8);
  box-shadow: 0 0 0 2px rgba(61,214,140,0.55);
}
.bubble {
  max-width: 92%;
  padding: 8px 10px;
  border-radius: 14px;
  line-height: 1.35;
}
.bubble.in {
  align-self: flex-start;
  background: var(--bubble-in);
  border-bottom-left-radius: 5px;
}
.bubble.out {
  align-self: flex-end;
  background: var(--bubble-out);
  border-bottom-right-radius: 5px;
}
.chat-composer {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: var(--faint);
}
.chat-composer .send {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #041018;
  font-weight: 700;
  font-size: 0.75rem;
}

.qubi {
  position: relative;
  z-index: 3;
  width: min(88%, 460px);
  margin-left: 12%;
  filter: drop-shadow(0 30px 55px rgba(0,0,0,0.5));
  animation: bob 5.2s ease-in-out infinite;
}

.float-chip {
  position: absolute;
  z-index: 4;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  animation: bob 4.8s ease-in-out infinite;
}
.chip-a { top: 14%; right: 2%; animation-delay: -.6s; }
.chip-b { top: 42%; left: 0; animation-delay: -1.4s; }
.chip-c { bottom: 18%; right: 6%; animation-delay: -2.2s; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 600;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(180deg, #3bb8f5, var(--brand) 45%, var(--brand-deep));
  color: #041018;
  box-shadow: 0 14px 36px rgba(42, 171, 238, 0.35);
}
.btn-secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.btn-ghost {
  background: transparent;
  border: 1px dashed rgba(255,255,255,0.18);
  color: var(--muted);
}
.btn-wide { width: 100%; justify-content: flex-start; }
.btn-ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.12);
  flex-shrink: 0;
}
.btn-secondary .btn-ico,
.btn-ghost .btn-ico {
  background: var(--brand-soft);
  color: var(--brand);
}
.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}
.btn-text strong { font-size: 1rem; font-weight: 700; }
.btn-text small { font-size: 0.78rem; font-weight: 500; opacity: 0.75; }

/* ——— Sections ——— */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 22px;
}
.section-head {
  margin-bottom: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-lead {
  margin: 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: center;
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.section h2 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.feature {
  padding: 22px 20px 20px;
  border-radius: var(--radius);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  animation-delay: var(--d, 0s);
}
.feature:hover { transform: translateY(-4px); }
.feature-ico {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.15rem;
  font-weight: 700;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}
.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.highlight-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 32px;
  border-radius: 28px;
}
.pill-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.pill-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.pill-list span {
  flex-shrink: 0;
  min-width: 74px;
  padding: 6px 10px;
  border-radius: 999px;
  text-align: center;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(42,171,238,0.22);
}
.highlight-stats {
  display: grid;
  gap: 12px;
  align-content: center;
}
.stat {
  padding: 16px 18px;
  border-radius: 18px;
}
.stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.02rem;
}
.stat span { color: var(--muted); font-size: 0.9rem; }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.platform-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.how-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  counter-reset: how;
}
.how-card {
  position: relative;
  padding: 24px 20px 22px;
  border-radius: var(--radius);
  list-style: none;
}
.how-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 14px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid rgba(42,171,238,0.2);
}
.how-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.how-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 22px 16px;
  border-radius: calc(var(--radius) + 4px);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.015em;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-weight: 800;
  font-size: 1.2rem;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
  max-width: 58ch;
}

.final-cta { padding-top: 24px; padding-bottom: 24px; }
.final-panel {
  text-align: center;
  padding: 40px 28px 36px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.final-panel h2 {
  margin-bottom: 10px;
}
.final-lead {
  margin-bottom: 22px !important;
}
.final-panel .cta-row {
  width: 100%;
  max-width: 560px;
}

.platform {
  padding: 22px;
  border-radius: calc(var(--radius) + 2px);
}
.platform-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
}
.platform-kicker.ios {
  color: #9ec9ff;
  background: rgba(120, 170, 255, 0.14);
}
.platform h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.platform > p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.5;
}
.platform .btn + .btn { margin-top: 10px; }
.hint {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: var(--faint);
  line-height: 1.45;
}

.steps {
  padding: 8px 20px 12px;
  border-radius: var(--radius);
}
.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step-num {
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  background: var(--brand-soft);
  color: var(--brand);
}
.step strong { display: block; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); line-height: 1.45; }
.step kbd {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  font-size: 0.85em;
}

.foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 22px calc(36px + env(safe-area-inset-bottom));
}
.foot-inner {
  padding: 28px 24px;
  border-radius: 24px;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: 10px;
}
.foot-brand img { width: 28px; height: 28px; border-radius: 8px; }
.foot-copy {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 42ch;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-bottom: 14px;
}
.foot-nav a { color: var(--faint); font-size: 0.92rem; }
.foot-nav a:hover { color: var(--brand); }
.foot-meta { margin: 0; font-size: 0.8rem; color: var(--faint); }

.sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(2, 8, 16, 0.72);
  display: grid;
  place-items: end center;
  padding: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  backdrop-filter: blur(8px);
}
.sheet[hidden] { display: none !important; }
.sheet-card {
  width: min(440px, 100%);
  border-radius: 22px;
  padding: 22px 20px 18px;
  position: relative;
  animation: sheet-up .35s var(--ease);
}
.sheet-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--muted);
}
.sheet-card h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 1.2rem;
}
.sheet-body {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
}
.sheet-body ol { margin: 0; padding-left: 1.2em; }
.sheet-body li { margin: 0 0 8px; }

/* Reveal on scroll — never stay invisible if JS misses */
.reveal {
  opacity: 1;
  transform: none;
  animation: rise .75s var(--ease) both;
  animation-delay: var(--d, 0s);
}
html.js .reveal:not(.in) {
  opacity: 0;
  transform: translateY(22px);
  animation: none;
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes float-in {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes float-soft {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-8px); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -22px); }
}
@keyframes sheet-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 18px;
  }
  .hero-stage {
    order: -1;
    min-height: 360px;
  }
  .qubi {
    width: min(70vw, 340px);
    margin-left: 8%;
  }
  .phone-glass {
    width: min(42%, 180px);
    left: 2%;
  }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .highlight-panel { grid-template-columns: 1fr; padding: 24px; }
  .platform-grid,
  .platform-grid-3 { grid-template-columns: 1fr; }
  .top-nav a:not(.top-cta) { display: none; }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .phone-glass { display: none; }
  .qubi { margin-left: 0; width: min(78vw, 320px); }
  .brand-name { font-size: clamp(2.5rem, 13vw, 3.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* —— Invite join page /j/{token} —— */
body.join-page { min-height: 100dvh; }
.join-main {
  min-height: calc(100dvh - 72px);
  display: grid;
  place-items: center;
  padding: 32px 16px 48px;
}
.join-card {
  width: min(440px, 100%);
  padding: 36px 28px 28px;
  border-radius: 28px;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--glass-strong);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.join-loading, .join-error h1 { font-family: var(--display); }
.join-loading { color: var(--muted); padding: 40px 8px; }
.join-avatar {
  width: 96px; height: 96px; margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 36px; font-weight: 700;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
  color: #fff; overflow: hidden;
}
.join-avatar img { width: 100%; height: 100%; object-fit: cover; }
.join-title {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.join-slug { margin: 0 0 8px; color: var(--brand); font-weight: 600; }
.join-meta { margin: 0 0 14px; color: var(--muted); font-size: 0.95rem; }
.join-desc {
  margin: 0 0 22px;
  color: var(--ink);
  opacity: 0.88;
  font-size: 0.98rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
.join-actions { display: grid; gap: 10px; }
.join-actions .btn-primary,
.join-actions .btn-ghost,
.join-error .btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px; border-radius: 14px;
  font-weight: 700; text-decoration: none;
}
.join-actions .btn-primary,
.join-error .btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
}
.join-actions .btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  color: var(--ink);
}
.join-error { padding: 28px 8px; }
.join-error h1 { margin: 0 0 10px; font-size: 1.4rem; }
.join-error p { margin: 0 0 22px; color: var(--muted); }
