.join-page {
  color: #172554;
  background: #fff;
}

.join-page h1,
.join-page h2,
.join-page h3,
.join-page p {
  margin-top: 0;
}

.join-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 94px) 0 clamp(64px, 8vw, 112px);
  background:
    radial-gradient(circle at 88% 12%, rgba(220, 20, 127, 0.12), transparent 28%),
    linear-gradient(145deg, #f8fbff 0%, #eef5ff 55%, #fff 100%);
}

.join-hero::after {
  position: absolute;
  right: -140px;
  bottom: -190px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-radius: 50%;
  content: "";
}

.join-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
}

.join-hero-copy {
  max-width: 690px;
}

.join-hero-copy h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.join-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: #475569;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.55;
}

.join-hero-actions,
.join-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.join-login-card {
  position: relative;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 80px rgba(23, 37, 84, 0.16);
}

.join-login-card::before {
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 21px;
  pointer-events: none;
  content: "";
}

.join-login-head,
.join-field,
.join-check-row,
.join-card-note {
  position: relative;
  z-index: 1;
}

.join-login-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  color: #1e3a8a;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.join-status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #dc147f;
  box-shadow: 0 0 0 6px rgba(220, 20, 127, 0.1);
}

.join-field {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  padding: 17px 19px;
  border: 1px solid #dbe4f0;
  border-radius: 15px;
  background: #f8fafc;
}

.join-field span,
.join-support-card small {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.join-field strong {
  color: #172554;
  font-size: 20px;
  letter-spacing: 0.04em;
}

.join-check-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #e2e8f0;
}

.join-check-icon {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  color: #1e3a8a;
  background: #eaf1ff;
  font-size: 20px;
  font-weight: 900;
}

.join-check-row div {
  display: grid;
  gap: 3px;
}

.join-check-row strong {
  font-size: 16px;
}

.join-check-row small {
  color: #64748b;
  font-size: 14px;
}

.join-card-note {
  margin: 18px 0 0;
  padding: 15px 17px;
  border-radius: 14px;
  color: #6b214a;
  background: #fff0f7;
  font-size: 14px;
  line-height: 1.55;
}

.join-steps-section,
.join-faq-section {
  padding: clamp(72px, 9vw, 122px) 0;
}

.join-section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.join-section-heading p:last-child,
.join-support-copy p:last-child,
.join-final-inner p {
  color: #64748b;
  font-size: 18px;
  line-height: 1.7;
}

.join-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.join-steps li {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 30px;
  border: 1px solid #dbe4f0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(23, 37, 84, 0.07);
}

.join-step-number {
  color: #dc147f;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.join-steps h3 {
  margin-bottom: 13px;
  font-size: 23px;
  line-height: 1.2;
}

.join-steps p {
  margin-bottom: 17px;
  color: #64748b;
  line-height: 1.65;
}

.join-steps a {
  color: #1e3a8a;
  font-weight: 800;
  text-decoration: none;
}

.join-steps a:hover,
.join-steps a:focus-visible {
  color: #dc147f;
  text-decoration: underline;
}

.join-support-section {
  padding: clamp(64px, 8vw, 100px) 0;
  background: #f3f7fc;
}

.join-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 88px);
}

.join-support-copy h2,
.join-faq-grid h2,
.join-final-inner h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.join-support-cards {
  display: grid;
  gap: 16px;
}

.join-support-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 23px;
  border: 1px solid #dbe4f0;
  border-radius: 20px;
  color: #172554;
  background: #fff;
  box-shadow: 0 14px 36px rgba(23, 37, 84, 0.06);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.join-support-card:hover,
.join-support-card:focus-visible {
  border-color: rgba(220, 20, 127, 0.42);
  box-shadow: 0 18px 44px rgba(23, 37, 84, 0.1);
  transform: translateY(-2px);
}

.join-support-icon {
  display: grid;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: #1e3a8a;
  font-size: 22px;
  font-weight: 900;
}

.join-support-card span:last-child {
  display: grid;
  gap: 5px;
}

.join-support-card strong {
  font-size: clamp(17px, 2vw, 21px);
}

.join-faq-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(42px, 8vw, 110px);
}

.join-faq-list {
  display: grid;
  gap: 13px;
}

.join-faq-list details {
  overflow: hidden;
  border: 1px solid #dbe4f0;
  border-radius: 17px;
  background: #fff;
}

.join-faq-list summary {
  position: relative;
  padding: 22px 58px 22px 23px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  list-style: none;
}

.join-faq-list summary::-webkit-details-marker {
  display: none;
}

.join-faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 23px;
  color: #dc147f;
  font-size: 25px;
  content: "+";
  transform: translateY(-50%);
}

.join-faq-list details[open] summary::after {
  content: "−";
}

.join-faq-list details p {
  margin: 0;
  padding: 0 23px 23px;
  color: #64748b;
  line-height: 1.65;
}

.join-faq-list a {
  color: #1e3a8a;
  font-weight: 700;
}

.join-final {
  padding: 0 0 clamp(72px, 9vw, 120px);
}

.join-final-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 42px;
  padding: clamp(34px, 5vw, 62px);
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 87% 0%, rgba(220, 20, 127, 0.45), transparent 34%),
    #172554;
  box-shadow: 0 26px 72px rgba(23, 37, 84, 0.22);
}

.join-final-inner h2 {
  max-width: 720px;
  margin-top: 12px;
}

.join-final-inner p {
  max-width: 720px;
  margin-bottom: 0;
  color: #d8e2f2;
}

.join-final-badge {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 900px) {
  .join-hero-grid,
  .join-support-grid,
  .join-faq-grid,
  .join-final-inner {
    grid-template-columns: 1fr;
  }

  .join-hero-grid {
    gap: 48px;
  }

  .join-login-card {
    max-width: 600px;
  }

  .join-steps {
    grid-template-columns: 1fr;
  }

  .join-steps li {
    min-height: 0;
  }

  .join-support-grid {
    gap: 34px;
  }

  .join-final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .join-hero {
    padding-top: 38px;
  }

  .join-hero-copy h1 {
    font-size: 42px;
  }

  .join-hero-actions,
  .join-final-actions {
    display: grid;
  }

  .join-hero-actions .button,
  .join-final-actions .button {
    width: 100%;
  }

  .join-login-card,
  .join-steps li,
  .join-final-inner {
    border-radius: 21px;
  }

  .join-support-card {
    align-items: flex-start;
    padding: 19px;
  }

  .join-support-card strong {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .join-support-card {
    transition: none;
  }
}
