:root {
  --bg: #0e0a0f;
  --panel: linear-gradient(144.77deg, #130f14 20.69%, #7f4c43 185.46%);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.8);
  --accent: linear-gradient(92.03deg, #ffffff 30%, #de897ae6 100%);
  --border: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.join-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(14, 10, 15, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.join-nav-logo img {
  width: 140px;
  height: auto;
  display: block;
}

.join-nav-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  background: linear-gradient(90deg, #de897a 0%, #92278f 100%);
}

.join-page {
  min-height: calc(100vh - 72px);
  padding: var(--site-section-y-compact) var(--site-gutter);
  display: flex;
  align-items: center;
  justify-content: center;
}

.join-card {
  width: min(1100px, 100%);
  border-radius: var(--site-card-radius);
  padding: clamp(24px, 5vw, 40px);
  background: var(--panel);
  border: 1px solid var(--border);
  text-align: center;
}

.join-kicker {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--muted);
}

.join-title {
  margin: 0;
  font-family: "Anybody", sans-serif;
  font-size: clamp(32px, 10vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  background: linear-gradient(
    92.03deg,
    #ffffff 20.17%,
    rgba(222, 137, 122, 0.95) 68.21%,
    rgba(180, 100, 140, 0.9) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.join-description {
  margin: 16px auto 24px;
  max-width: 760px;
  line-height: 1.7;
  color: var(--muted);
  font-size: 15px;
}

.form-frame-wrap {
  width: 100%;
  padding: clamp(6px, 2vw, 10px);
  border: 1px solid var(--border);
  border-radius: var(--site-card-radius);
  overflow: hidden;
  background: #120f15;
}

.form-frame {
  width: 100%;
  min-height: 760px;
  border: 0;
  display: block;
}

/* Jotform script injects an iframe; remove inner scrollbars when possible. */
.form-frame-wrap iframe {
  width: 1px;
  min-width: 100%;
  border: 0;
  overflow: hidden;
}

.join-footer {
  padding: 12px 16px 18px;
}

.join-footer-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.join-footer-copy {
  margin: 0;
  font-size: 14px;
  color: #888;
}

.join-footer-links {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  white-space: nowrap;
}

.join-footer-links a {
  color: #888;
  text-decoration: none;
  font-size: 14px;
}

.join-footer-links a:hover {
  color: #fff;
}

.join-nav-home:focus-visible,
.join-footer-links a:focus-visible {
  outline: 2px solid #de897a;
  outline-offset: 3px;
  box-shadow: var(--site-focus);
}

@media (min-width: 768px) {
  .join-nav {
    padding: 16px 24px;
  }

  .join-nav-logo img {
    width: 180px;
  }

  .join-page {
    min-height: calc(100vh - 82px);
    padding: var(--site-section-y-compact) var(--site-gutter);
  }

  .join-card {
    padding: clamp(32px, 5vw, 44px);
  }

  .join-description {
    font-size: 16px;
  }

  .join-footer {
    padding: 14px 24px 20px;
  }

  .join-footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .join-footer-copy,
  .join-footer-links a {
    font-size: 15px;
  }

  .join-footer-links {
    width: auto;
    gap: 24px;
  }
}

@media (max-width: 520px) {
  .join-card {
    text-align: left;
  }

  .join-kicker,
  .join-title,
  .join-description {
    text-align: left;
  }

  .form-frame-wrap {
    margin-left: calc(var(--site-gutter) * -0.5);
    margin-right: calc(var(--site-gutter) * -0.5);
    width: calc(100% + var(--site-gutter));
  }
}
