html,
body {
  margin: 0;
}

.join-page {
  overflow-x: hidden;
  background: #fffcf3;
  color: #000;
}

.join-page .nav-shell {
  position: fixed;
  z-index: 1000;
}

.join-hero {
  position: relative;
  height: 100svh;
  min-height: 720px;
  overflow: hidden;
  background: #e7e1de;
}

.join-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 76px;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 252, 243, 0), #fffcf3);
}

.join-hero > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.join-caption {
  position: absolute;
  left: max(38px, calc((100vw - 1200px) / 2));
  bottom: 54px;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, .5);
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
}

.join-intro-card {
  position: absolute;
  right: 38px;
  bottom: 46px;
  z-index: 3;
  box-sizing: border-box;
  width: 720px;
  height: 420px;
  padding: 29px 37px;
  border-radius: 30px;
  background: #fffcf5;
  color: #000;
}

.join-intro-card > span {
  display: block;
  color: rgba(0, 0, 0, .5);
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
}

.join-intro-card h1 {
  width: 564px;
  max-width: 100%;
  margin: 4px 0 0;
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: 0;
  text-shadow: none;
}

.join-intro-card p {
  width: 451px;
  max-width: 100%;
  margin: 25px 0 0;
  color: rgba(0, 0, 0, .5);
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
}

.join-intro-card .join-intro-caption {
  display: none;
}

@media (min-width: 761px) {
  .join-hero::after {
    content: none;
  }

  .join-hero > .join-caption {
    display: none;
  }

  .join-intro-card .join-intro-caption {
    position: absolute;
    right: 37px;
    bottom: 33px;
    left: 37px;
    display: block;
    width: auto;
    margin: 0;
    color: rgba(0, 0, 0, .5);
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
  }
}

.join-roles {
  box-sizing: border-box;
  width: 1200px;
  margin: 0 auto;
  padding: 75px 0 91px;
  background: #fffcf3;
}

.join-roles h2 {
  margin: 0 0 38px;
  font-size: 32px;
  line-height: 38px;
  font-weight: 700;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.role-grid a {
  box-sizing: border-box;
  height: 93px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 23px;
  border-radius: 30px;
  background: #f3f1ec;
  color: #000;
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .3s ease, transform .3s ease;
}

.role-grid a:hover {
  background: #e9e7e2;
  transform: translateY(-2px);
}

.role-grid i {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: block;
  background: url("https://yuan-si-wu-jie.oss-cn-shanghai.aliyuncs.com/image/topbot-oss-upload/site/job-role.svg") center / contain no-repeat;
}

@media (min-width: 1921px) {
  .join-intro-card {
    right: var(--site-content-edge);
  }
}

@media (max-width: 1280px) and (min-width: 761px) {
  .join-intro-card {
    right: 2vw;
    width: min(720px, 48vw);
  }

  .join-roles {
    width: calc(100% - 76px);
  }
}

@media (max-width: 760px) {
  .join-page .nav-shell {
    top: 11px;
    width: calc(100% - 20px);
    height: 44px;
    padding: 0;
    align-items: start;
    overflow: hidden;
    border-radius: 999px;
    transition: height .38s ease, border-radius .3s ease, background-color .3s ease;
  }

  .join-page .nav-shell .brand {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 59px;
    height: 15px;
  }

  .join-page .nav-shell .brand img {
    width: 59px;
    height: 15px;
  }

  .join-page .nav-shell nav {
    position: absolute;
    top: 76px;
    right: 10px;
    left: 10px;
    display: grid;
    gap: 7px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .3s ease, visibility .25s;
  }

  .join-page .nav-shell nav a {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 15px;
    justify-content: flex-start;
    color: #fff !important;
    background: rgba(255, 255, 255, .14) !important;
  }

  .join-page .nav-shell nav a::after,
  .join-page .nav-shell .login::after {
    position: absolute;
    right: 16px;
    content: "›";
    font-size: 19px;
  }

  .join-page .nav-shell .login {
    position: absolute;
    right: auto;
    bottom: 16px;
    left: 10px;
    width: calc(100% - 20px);
    height: 40px;
    padding: 0 15px;
    display: none;
    justify-content: flex-start;
  }

  .join-page .mobile-menu-toggle {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 44px;
    height: 30px;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .13);
  }

  .join-page .mobile-menu-toggle i {
    width: 14px;
    height: 1px;
    display: block;
    border-radius: 2px;
    background: #fff;
    transition: .2s ease;
  }

  .join-page .nav-shell.mobile-menu-open {
    height: 390px;
    border-radius: 28px;
    background: rgba(74, 72, 70, .84);
  }

  .join-page .nav-shell.mobile-menu-open nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .join-page .nav-shell.mobile-menu-open .login {
    display: flex;
  }

  .join-page .mobile-menu-open .mobile-menu-toggle i:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .join-page .mobile-menu-open .mobile-menu-toggle i:nth-child(2) {
    opacity: 0;
  }

  .join-page .mobile-menu-open .mobile-menu-toggle i:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .join-hero {
    height: 813px;
    min-height: 0;
  }

  .join-hero::after {
    top: 517.5px;
    bottom: auto;
    height: 29.5px;
    background: linear-gradient(180deg, rgba(231, 225, 222, 0), #e7e1de);
  }

  .join-hero > img {
    content: url("https://yuan-si-wu-jie.oss-cn-shanghai.aliyuncs.com/webp/v1/image%2033.webp");
    position: absolute;
    top: 100.5px;
    left: calc(50% - 361.5px);
    width: 724px;
    max-width: none;
    height: 446.5px;
    object-position: center;
  }

  .join-intro-card {
    right: 10px;
    bottom: 41.5px;
    left: 10px;
    width: auto;
    height: 251px;
    padding: 26.5px 14.5px;
    border-radius: 15px;
  }

  .join-intro-card > span {
    font-size: 10px;
    line-height: 11px;
  }

  .join-intro-card h1 {
    width: 282px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 19px;
  }

  .join-intro-card p {
    width: 263px;
    margin-top: 14px;
    font-size: 14px;
    line-height: 19px;
  }

  .join-caption {
    right: 24px;
    bottom: 64.5px;
    left: 24px;
    z-index: 4;
    color: rgba(0, 0, 0, .5);
    font-size: 11px;
    line-height: 14px;
  }

  .join-roles {
    width: auto;
    margin: 0;
    padding: 47px 10px 58px;
  }

  .join-roles h2 {
    margin: 0 14px 32px;
    font-size: 24px;
    line-height: 28px;
  }

  .role-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .role-grid a {
    height: 55px;
    gap: 9px;
    padding: 0 12px;
    border-radius: 15px;
    font-size: 14px;
  }

  .role-grid i {
    width: 25px;
    height: 25px;
  }
}
