.join-product-page {
  background: #050505;
  color: #f5f5f3;
}

.join-product-page .mesh-cta.is-current {
  background: var(--signal);
  color: #050505;
}

.join-hero {
  position: relative;
  min-height: 760px;
  height: calc(100svh - 68px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.join-hero-media,
.join-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.join-hero-media {
  z-index: -2;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.72) contrast(1.14) brightness(0.62);
  transform: scale(1.035);
}

.join-hero-overlay {
  z-index: -1;
  background: rgba(2, 3, 4, 0.44);
  box-shadow: inset 55vw 0 180px rgba(0, 0, 0, 0.82), inset 0 -220px 180px rgba(0, 0, 0, 0.72);
}

.join-hero-copy {
  position: absolute;
  left: var(--page-pad);
  bottom: 128px;
  width: min(780px, 74vw);
}

.join-hero-copy h1 {
  max-width: 760px;
  margin: 18px 0 28px;
  font-size: clamp(64px, 7.2vw, 118px);
  line-height: 0.9;
}

.join-hero-copy > p:not(.overline) {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
  line-height: 1.75;
}

.join-hero-copy .button-primary {
  display: inline-flex;
  margin-top: 32px;
}

.join-truth-rail {
  position: absolute;
  right: var(--page-pad);
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.54);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}

.join-truth-rail span:first-child {
  color: var(--signal);
}

.join-truth-rail i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 14px rgba(250, 238, 19, 0.85);
}

.join-intake {
  padding: 120px var(--page-pad) 140px;
  background: #f2f1ec;
  color: #080808;
}

.join-intake-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.25fr) minmax(280px, 0.75fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 70px;
}

.join-intake-heading .section-index {
  align-self: start;
}

.join-intake-heading .overline {
  display: none;
}

.join-intake-heading h2 {
  margin: 0;
  font-size: clamp(54px, 6.1vw, 94px);
  line-height: 0.96;
}

.join-intake-heading > p:last-child {
  margin: 0;
  color: #5e5e5a;
  font-size: 17px;
  line-height: 1.75;
}

.join-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(400px, 0.65fr);
  border-top: 1px solid #bdbdb6;
  border-bottom: 1px solid #bdbdb6;
}

.join-application-form {
  padding: 48px 52px 56px 0;
  border-right: 1px solid #bdbdb6;
}

.join-form-section {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 28px;
  padding: 0 0 40px;
}

.join-form-section + .join-form-section {
  padding-top: 40px;
  border-top: 1px solid #d3d3cd;
}

.join-form-section > span {
  padding-top: 12px;
  color: #777770;
  font-family: var(--mono);
  font-size: 10px;
}

.join-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 22px;
}

.join-form-grid label {
  display: grid;
  gap: 10px;
}

.join-form-grid label > span {
  color: #55554f;
  font-size: 13px;
  font-weight: 700;
}

.join-form-grid .field-wide {
  grid-column: 1 / -1;
}

.join-form-grid input,
.join-form-grid select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #b8b8b1;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.54);
  color: #080808;
  font: inherit;
}

.join-form-grid input:focus,
.join-form-grid select:focus {
  border-color: #080808;
  outline: 2px solid rgba(250, 238, 19, 0.8);
  outline-offset: 2px;
}

.join-boundary-ack {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 6px 0 30px 158px;
  color: #66665f;
  font-size: 13px;
  line-height: 1.6;
}

.join-boundary-ack input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #111;
}

.join-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 158px);
  min-height: 58px;
  margin-left: 158px;
  padding: 0 20px;
  border: 0;
  background: #0a0a0a;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.join-submit b {
  color: var(--signal);
  font-size: 20px;
}

.join-receipt {
  display: flex;
  min-width: 0;
  min-height: 660px;
  padding: 48px 0 56px 48px;
  flex-direction: column;
}

.join-receipt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 26px;
  border-bottom: 1px solid #d3d3cd;
}

.join-receipt-head div {
  display: grid;
  gap: 10px;
}

.join-receipt-head span {
  color: #777770;
  font-family: var(--mono);
  font-size: 10px;
}

.join-receipt-head strong {
  font-size: 15px;
}

.join-receipt-head i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9a9a94;
}

.join-receipt.is-ready .join-receipt-head i {
  background: var(--signal);
  box-shadow: 0 0 14px rgba(250, 238, 19, 0.65);
}

.join-receipt pre {
  min-width: 0;
  margin: 0;
  padding: 30px 0;
  overflow: auto;
  color: #252523;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.join-receipt-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.join-receipt-actions button {
  min-height: 48px;
  border: 1px solid #999992;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.join-receipt-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.join-registry-gate {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid #d3d3cd;
}

.join-registry-status {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #55554f;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.join-registry-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #92928c;
}

.join-registry-gate[data-state="ready"] .join-registry-status i,
.join-registry-gate[data-state="submitted"] .join-registry-status i {
  background: var(--signal);
  box-shadow: 0 0 12px rgba(250, 238, 19, 0.72);
}

.join-registry-gate[data-state="submitted"] .join-registry-status {
  color: #111;
}

.join-registry-gate > p {
  margin: 0;
  color: #777770;
  font-size: 12px;
  line-height: 1.55;
}

.join-registry-confirm {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #55554f;
  font-size: 12px;
  line-height: 1.5;
}

.join-registry-confirm input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: #111;
}

.join-turnstile {
  min-height: 65px;
  overflow: hidden;
}

.join-registry-submit {
  display: flex;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #111;
  align-items: center;
  justify-content: space-between;
  background: var(--signal);
  color: #080808;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.join-registry-submit:disabled {
  border-color: #aaa9a2;
  background: transparent;
  color: #888881;
  cursor: not-allowed;
}

.join-next {
  padding: 120px var(--page-pad) 140px;
  background: #080808;
  color: #fff;
}

.join-next > div {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: start;
}

.join-next h2 {
  margin: 0;
  font-size: clamp(58px, 7vw, 106px);
  line-height: 0.9;
}

.join-next ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 72px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.join-next li {
  display: grid;
  min-height: 176px;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  grid-template-rows: auto 1fr auto;
  gap: 18px;
}

.join-next li:last-child {
  border-right: 0;
}

.join-next li span,
.join-next li small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.join-next li b {
  align-self: end;
  color: var(--signal);
  font-size: 17px;
}

.join-x1-bridge {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: end;
  padding: 118px var(--page-pad);
  background: var(--signal);
  color: #050505;
}

.join-x1-bridge h2 {
  margin: 14px 0 0;
  font-size: clamp(68px, 8.5vw, 132px);
  line-height: 0.84;
}

.join-x1-bridge .overline {
  color: #050505;
}

.join-x1-bridge > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 4px;
  border-top: 1px solid #050505;
  border-bottom: 1px solid #050505;
  color: #050505;
  font-weight: 900;
}

.join-x1-bridge > a b {
  font-size: 24px;
}

html[dir="rtl"] .join-hero-copy {
  right: var(--page-pad);
  left: auto;
}

html[dir="rtl"] .join-truth-rail {
  right: auto;
  left: var(--page-pad);
}

html[dir="rtl"] .join-application-form {
  padding-right: 0;
  padding-left: 52px;
  border-right: 0;
  border-left: 1px solid #bdbdb6;
}

html[dir="rtl"] .join-receipt {
  padding-right: 48px;
  padding-left: 0;
}

html[dir="rtl"] .join-submit {
  margin-right: 158px;
  margin-left: 0;
}

html[dir="rtl"] .join-boundary-ack {
  margin-right: 158px;
  margin-left: 0;
}

@media (max-width: 1080px) {
  .join-hero {
    min-height: 700px;
  }

  .join-intake-heading {
    grid-template-columns: 1fr 1.25fr;
  }

  .join-intake-heading > p:last-child {
    grid-column: 2;
  }

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

  .join-application-form,
  html[dir="rtl"] .join-application-form {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid #bdbdb6;
  }

  .join-receipt,
  html[dir="rtl"] .join-receipt {
    min-height: 460px;
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .join-hero {
    height: auto;
    min-height: 720px;
  }

  .join-hero-media {
    object-position: 62% center;
  }

  .join-hero-overlay {
    box-shadow: inset 0 -420px 220px rgba(0, 0, 0, 0.84), inset 0 80px 120px rgba(0, 0, 0, 0.4);
  }

  .join-hero-copy,
  html[dir="rtl"] .join-hero-copy {
    right: var(--page-pad);
    bottom: 122px;
    left: var(--page-pad);
    width: auto;
  }

  .join-hero-copy h1 {
    font-size: clamp(54px, 17vw, 74px);
  }

  .join-hero-copy > p:not(.overline) {
    font-size: 15px;
  }

  .join-truth-rail,
  html[dir="rtl"] .join-truth-rail {
    right: var(--page-pad);
    bottom: 28px;
    left: var(--page-pad);
    gap: 7px 14px;
    flex-wrap: wrap;
  }

  .join-intake,
  .join-next {
    padding-top: 86px;
    padding-bottom: 96px;
  }

  .join-intake-heading {
    display: block;
    margin-bottom: 50px;
  }

  .join-intake-heading h2 {
    margin: 26px 0;
    font-size: 54px;
  }

  .join-form-section {
    display: block;
  }

  .join-form-section > span {
    display: block;
    margin-bottom: 24px;
  }

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

  .join-form-grid .field-wide {
    grid-column: auto;
  }

  .join-boundary-ack,
  html[dir="rtl"] .join-boundary-ack {
    margin-right: 0;
    margin-left: 0;
  }

  .join-submit,
  html[dir="rtl"] .join-submit {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

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

  .join-next > div {
    display: block;
  }

  .join-next h2 {
    margin-top: 30px;
    font-size: 55px;
  }

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

  .join-next li {
    min-height: 150px;
    border-bottom: 1px solid var(--line);
  }

  .join-next li:nth-child(2n) {
    border-right: 0;
  }

  html[dir="rtl"] .join-next li {
    border-right: 1px solid var(--line);
  }

  html[dir="rtl"] .join-next li:nth-child(2n) {
    border-right: 0;
  }

  .join-x1-bridge {
    grid-template-columns: 1fr;
    padding-top: 86px;
    padding-bottom: 90px;
  }

  .join-x1-bridge h2 {
    font-size: 72px;
  }
}

@media (max-width: 390px) {
  .join-hero-copy h1,
  .join-intake-heading h2 {
    font-size: 50px;
  }

  .join-next h2 {
    font-size: 49px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .join-hero-media {
    transform: none;
  }
}
