html.the-art-join-gateway-open {
  overflow: hidden;
}

.the-art-join-gateway[hidden] {
  display: none;
}

.the-art-join-gateway {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 13, 15, .68);
  box-sizing: border-box;
}

.the-art-join-gateway *,
.the-art-join-gateway *::before,
.the-art-join-gateway *::after {
  box-sizing: inherit;
}

.the-art-join-gateway__dialog {
  position: relative;
  width: min(100%, 720px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: clamp(30px, 5vw, 54px);
  background: var(--art-white, #fff);
  border: 1px solid var(--art-line, rgba(0, 0, 0, .08));
  border-radius: 32px;
  color: var(--art-text, #151b1e);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .22);
}

.the-art-join-gateway__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 1px solid var(--art-line, rgba(0, 0, 0, .12));
  border-radius: 50%;
  color: var(--art-text, #151b1e);
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.the-art-join-gateway__header {
  padding-right: 48px;
}

.the-art-join-gateway__header h2 {
  margin: 0;
  color: var(--art-ink, #080d0f);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.035em;
  text-transform: none;
}

.the-art-join-gateway__header p {
  margin: 14px 0 0;
  color: var(--art-muted, #6e6e6e);
  font-size: 16px;
  line-height: 1.55;
  text-transform: none;
}

.the-art-join-gateway__roles {
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--art-line, rgba(0, 0, 0, .1));
  list-style: none;
}

.the-art-join-gateway__roles li {
  margin: 0;
  border-bottom: 1px solid var(--art-line, rgba(0, 0, 0, .1));
}

.the-art-join-gateway__role {
  position: relative;
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(128px, .7fr) minmax(0, 1.3fr) auto;
  align-items: center;
  gap: 22px;
  padding: 20px 4px;
  color: var(--art-text, #151b1e);
  text-decoration: none;
}

.the-art-join-gateway__role-name {
  color: var(--art-ink, #080d0f);
  font-size: 19px;
  font-weight: 650;
  line-height: 1.25;
  text-transform: none;
}

.the-art-join-gateway__role-description {
  color: var(--art-muted, #6e6e6e);
  font-size: 14px;
  line-height: 1.45;
  text-transform: none;
}

.the-art-join-gateway__arrow {
  color: var(--art-ink, #080d0f);
  font-size: 22px;
  transition: transform .2s ease;
}

.the-art-join-gateway__role:hover .the-art-join-gateway__arrow {
  transform: translateX(4px);
}

.the-art-join-gateway__close:focus-visible,
.the-art-join-gateway__role:focus-visible {
  outline: 2px solid var(--art-ink, #080d0f);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .the-art-join-gateway {
    align-items: flex-end;
    padding: 12px;
  }

  .the-art-join-gateway__dialog {
    max-height: calc(100dvh - 24px);
    padding: 34px 24px 24px;
    border-radius: 28px;
  }

  .the-art-join-gateway__close {
    top: 14px;
    right: 14px;
  }

  .the-art-join-gateway__header {
    padding-right: 42px;
  }

  .the-art-join-gateway__header h2 {
    font-size: 34px;
  }

  .the-art-join-gateway__roles {
    margin-top: 26px;
  }

  .the-art-join-gateway__role {
    min-height: 88px;
    grid-template-columns: 1fr auto;
    gap: 5px 16px;
    padding: 17px 2px;
  }

  .the-art-join-gateway__role-name {
    grid-column: 1;
    font-size: 18px;
  }

  .the-art-join-gateway__role-description {
    grid-column: 1;
    font-size: 13px;
  }

  .the-art-join-gateway__arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .the-art-join-gateway__arrow {
    transition: none;
  }
}
