:root {
  --font-family: 'Inter', sans-serif;

  --color-primary: hsl(215, 80%, 48%);
  --color-primary-dark: hsl(215, 89%, 38%);
  --color-secondary: hsl(156, 55%, 48%);
  --color-tertiary: hsl(12, 99%, 60%);
  --color-accent: hsl(156, 66%, 77%);
  --color-accent-alt: hsla(24, 99%, 60%, 0.61);
  --color-bg: hsl(0, 0%, 100%);
  --color-bg-alt: hsl(210, 12%, 97%);
  --color-border: hsl(220, 5%, 88%);
  --color-text: hsl(218, 12%, 18%);
  --color-text-light: hsl(218, 12%, 63%);

  --shadow: 0px 4px 12px 0px #D9D9D9;

  --column-width: 70rem;
}

html {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
}

.layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100vh;

  &>* {
    width: 100%;
  }

  &>main {
    flex-grow: 1;
  }
}

header {
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: center;

  nav {
    width: 100%;
    max-width: var(--column-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 3rem;
    position: relative;

    &>a {
      color: var(--color-text);
      text-decoration: none;
      display: flex;
      justify-content: start;
      align-items: center;
      gap: 1rem;
      font-weight: 700;
      font-size: 1.5rem;

      img {
        width: 3rem;
        aspect-ratio: 1;
        object-fit: contain;

        @media screen and (max-width: 767px) {
          width: 2.5rem;
        }
      }

      @media screen and (max-width: 767px) {
        font-size: 1.25rem;
      }
    }
  }
}

.main-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;

  li {
    margin: 0;
    padding: 0;
  }

  a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
    padding: 0.5rem 1rem;
    line-height: 1;
  }

  li:has(.main-menu__dropdown) {
    position: relative;
  }

  .main-menu__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    border: 2px solid var(--color-border);
    background: var(--color-bg);
    list-style: none;
    flex-flow: column;
    gap: 1rem;
    margin: 0;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    z-index: 2;

    @media screen and (max-width: 991px) {
      left: 50%;
      transform: translateX(-50%);
    }

    li {
      margin: 0;
      padding: 0;

      a {
        padding: 0.5rem;
      }
    }
  }

  .main-menu__dropdown.main-menu__dropdown--active {
    display: flex;
  }

  .main-menu__button {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background: var(--color-bg);
    border-radius: 4rem;
    padding: 0.5rem 1rem;
    transition: background 0.3s, color 0.3s;

    &:hover {
      background: var(--color-primary);
      color: var(--color-bg);
    }
  }

  @media screen and (max-width: 991px) {
    display: none;

    &.main-menu--mobile-active {
      display: flex;
      flex-flow: column;
      gap: 2rem;
      position: absolute;
      top: 100%;
      right: 0;
      border: 2px solid var(--color-border);
      background: var(--color-bg);
      border-radius: 0.5rem;
      box-shadow: var(--shadow);
      padding: 2rem;
      z-index: 1;
    }
  }
}

.mobile-menu-toggle {
  display: none;
  width: 2.5rem;
  aspect-ratio: 1;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;

  background-image: url('/_images/mobile-menu-open.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  @media screen and (max-width: 991px) {
    display: block;
  }
}

footer {
  background: var(--color-primary);
  color: var(--color-bg);
  padding: 2rem 1rem;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  font-size: 1rem;

  img {
    width: 7rem;
    aspect-ratio: 1;
    object-fit: contain;
  }
}

.button {
  border: 2px solid var(--color-primary);
  background: var(--color-primary);
  color: var(--color-bg);
  border-radius: 4rem;
  padding: 0.5rem 2rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;

  &:hover:not(:disabled) {
    color: var(--color-primary);
    background: var(--color-bg);
  }

  &:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
}

.hero-header {
  padding: 8rem 1rem;
  display: flex;
  justify-content: center;

  background-image: url('/_images/bg-top-left.svg');
  background-size: 100% 40%;
  background-position: bottom;
  background-repeat: no-repeat;

  @media screen and (max-width: 991px) {
    background-size: 100% 200px;
  }

  .hero-header__wrapper {
    max-width: var(--column-width);
    display: grid;
    grid-template-columns: 5fr 4fr;
    gap: 2rem;
    align-items: center;

    @media screen and (max-width: 991px) {
      grid-template-columns: 1fr;
      gap: 4rem;
    }
  }

  .hero-header__content {
    display: flex;
    flex-flow: column;
    align-items: start;
    gap: 2rem;
  }

  img {
    margin: 0 auto;
  }

  h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;

    strong {
      font-weight: 700;
      position: relative;
      display: inline-block;

      &:before {
        content: "";
        position: absolute;
        top: 1.25rem;
        left: -0.25rem;
        right: -0.5rem;
        bottom: 0.25rem;
        z-index: -1;
        background: var(--color-accent);
        border-radius: 1px;
      }
    }
  }
}

.problem-solution {
  padding: 8rem 1rem;
  display: flex;
  justify-content: center;

  background-color: var(--color-bg-alt);

  .problem-solution__wrapper {
    max-width: var(--column-width);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;

    @media screen and (max-width: 991px) {
      grid-template-columns: 1fr;
      gap: 6rem;
    }
  }

  .problem-solution__content {
    display: flex;
    flex-flow: column;
    align-items: start;
    gap: 1rem;
  }

  .problem-solution__title {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;

    p {
      font-size: 2rem;
      font-weight: 700;
      line-height: 1.25;
    }
  }

  h2 {
    font-size: 1rem;
    font-weight: normal;
    text-transform: uppercase;
  }

  hr {
    border: none;
    border-top: 2px solid var(--color-border);
    width: 100%;
    margin: 1rem 0;
  }

  ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-flow: column;
    gap: 2rem;

    li {
      padding: 0;
      padding-left: 2rem;
      margin: 0;
      position: relative;

      &:before {
        content: '';
        display: block;
        width: 0.9rem;
        height: 0.9rem;
        background: var(--color-tertiary);
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        border-radius: 2px;
      }
    }
  }
}

.carousel {
  padding: 8rem 1rem;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 3rem;

  background-image: url('/_images/bg-block.svg');
  background-size: 100% 50%;
  background-position: top center;
  background-repeat: no-repeat;

  .carousel-wrapper {
    max-width: var(--column-width);
  }

  h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
  }

  .carousel-item {
    display: none;
    width: 100%;
    aspect-ratio: 2/1;
    position: relative;
    border-radius: 0.5rem;
    background: var(--color-text);
    background-image: var(--background-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-bg);
    grid-template-rows: auto auto 1fr auto;
    align-items: center;
    justify-items: center;
    padding: 4rem 6rem;
    text-align: center;

    @media screen and (max-width: 991px) {
      aspect-ratio: 4/3;
    }

    @media screen and (max-width: 767px) {
      aspect-ratio: 1;
      gap: 1rem;
      padding: 3rem;
    }

    &.active {
      display: grid;
    }

    .carousel-item__lead {
      font-weight: 800;
      font-size: 1.25rem;
      place-self: center;
      margin-bottom: 0.25rem;
    }

    h3 {
      font-weight: 800;
      font-size: 2rem;
    }

    p {
      font-weight: 400;
      font-size: 1.25rem;
      place-self: end;
    }

    .button {
      margin-top: 2rem;
    }

    .carousel-item__left {
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);

      @media screen and (max-width: 767px) {
        left: 0.5rem;
      }
    }

    .carousel-item__right {
      position: absolute;
      right: 1rem;
      top: 50%;
      transform: translateY(-50%);

      @media screen and (max-width: 767px) {
        right: 0.5rem;
      }
    }
  }
}

.begin {
  display: flex;
  flex-flow: column;
  gap: 4rem;
  align-items: center;
  padding: 4rem 1rem;

  h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
  }

  .begin-wrapper {
    max-width: var(--column-width);
    display: grid;
    grid-template-columns: 1fr 1fr;

    @media screen and (max-width: 991px) {
      grid-template-columns: 1fr;
      gap: 4rem;
    }

    &>img {
      max-width: 70%;
      place-self: center;
      box-shadow: 3rem 3rem var(--color-border);
      border-radius: 0.5rem;
      position: relative;
      top: -1.5rem;
      left: -1.5rem;
    }
  }

  .begin-content {
    display: flex;
    flex-flow: column;
    align-items: start;
    gap: 3rem;
  }

  .begin-item {
    display: grid;
    grid-template-columns: 5rem auto;
    grid-template-rows: auto auto auto;
    column-gap: 1.5rem;
    row-gap: 1rem;
    grid-template-areas:
      'icon title'
      'icon divider'
      'icon text';

    span {
      grid-area: icon;
      align-self: start;
      border-radius: 0.5rem;
      color: var(--color-bg);
      aspect-ratio: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 2rem;
      font-weight: 700;
      line-height: 1;
    }

    h3 {
      grid-area: title;
      font-size: 1.5rem;
      font-weight: 700;
      line-height: 1.1;
    }

    hr {
      grid-area: divider;
      border: none;
      border-top: 2px solid var(--color-border);
      width: 100%;
    }

    p {
      grid-area: text;
    }
  }
}

.pricing {
  display: flex;
  flex-flow: column;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0 6rem;

  background-image: url('/_images/bg-top-right.svg');
  background-size: 100% 50%;
  background-position: bottom;
  background-repeat: no-repeat;

  @media screen and (max-width: 991px) {
    background-size: 100% 200px;
  }

  h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;

    strong {
      font-weight: 700;
      position: relative;
      display: inline-block;

      &:before {
        content: "";
        position: absolute;
        top: 1rem;
        left: -0.1rem;
        right: -0.5rem;
        bottom: 0.25rem;
        z-index: -1;
        background: var(--color-accent);
        border-radius: 1px;
      }
    }
  }

  .pricing-wrapper {
    max-width: var(--column-width);
    display: flex;
    flex-flow: column;
    gap: 4rem;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
  }

  select {
    width: 20rem;
    -webkit-appearance: none;
    appearance: none;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
    background-image: url('/_images/chevron.svg');
    background-size: 1rem;
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
  }

  .pricing-cards {
    display: none;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;

    &.active {
      display: grid;
    }

    @media screen and (max-width: 991px) {
      gap: 1rem;
    }

    @media screen and (max-width: 767px) {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  }

  .pricing-card {
    display: flex;
    flex-flow: column;
    gap: 1rem;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);

    &.featured {
      border-color: var(--color-secondary);
    }

    @media screen and (max-width: 991px) {
      padding: 1rem;
    }

    @media screen and (max-width: 767px) {
      padding: 2rem;
    }

    .pricing-card__lead {
      color: var(--color-primary-dark);
      font-size: 1.25rem;
      font-weight: 700;
    }

    hr {
      border: none;
      border-top: 2px solid var(--color-border);
      width: 100%;
    }

    h3 {
      font-size: 2rem;
      font-weight: 700;
    }

    p:last-of-type {
      flex-grow: 1;
    }

    .button {
      margin-top: 2rem;
      align-self: center;
      justify-self: end;
    }

    &:not(.featured) .button {
      border: 2px solid var(--color-primary);
      background: var(--color-bg);
      color: var(--color-primary);

      &:hover {
        background: var(--color-primary);
        color: var(--color-bg);
      }
    }
  }
}

.cta {
  display: flex;
  flex-flow: column;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0 6rem;
  background-color: var(--color-bg-alt);

  &.cta--bg-alt {
    background-color: var(--color-bg);
  }

  .cta-wrapper {
    max-width: var(--column-width);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    place-items: center;
    padding: 0 1rem;

    @media screen and (max-width: 991px) {
      grid-template-columns: 1fr;
      gap: 6rem;
    }

    &>img {
      max-width: calc(100% - 6rem);

      @media screen and (max-width: 991px) {
        max-width: calc(100% - 4rem);
      }
    }

    .cta-content {
      display: flex;
      flex-flow: column;
      align-items: start;
      gap: 2rem;
    }

    h2 {
      font-size: 2rem;
      font-weight: 700;

      strong {
        font-weight: 700;
        position: relative;
        z-index: 0;
        display: inline-block;

        &:before {
          content: "";
          position: absolute;
          top: 1rem;
          left: -0.1rem;
          right: -0.5rem;
          bottom: 0.25rem;
          z-index: -1;
          background: var(--color-accent-alt);
          border-radius: 1px;
        }
      }
    }

    .button {
      border: 2px solid var(--color-primary);
      background: var(--color-bg);
      color: var(--color-primary);

      &:hover {
        background: var(--color-primary);
        color: var(--color-bg);
      }
    }
  }
}

.touts {
  padding: 4rem 0;
  background-color: var(--color-bg-alt);

  .touts-wrapper {
    max-width: var(--column-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 0 1rem;

    @media screen and (max-width: 991px) {
      gap: 2rem;
    }

    @media screen and (max-width: 767px) {
      grid-template-columns: 1fr;
    }
  }

  .tout {
    display: flex;
    flex-flow: column;
    gap: 1rem;

    .tout__title {
      display: flex;
      flex-flow: row;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;

      h2 {
        font-size: 1.25rem;
        font-weight: 700;
      }

      img {
        width: 3rem;
        aspect-ratio: 1;
        object-fit: contain;
      }
    }

    hr {
      border: none;
      border-top: 2px solid var(--color-border);
      width: 100%;
      margin-bottom: 1rem;
    }
  }
}

.services {
  padding: 6rem 0;
  background-image: url('/_images/bg-top-left.svg');
  background-size: 100% 20%;
  background-position: bottom;
  background-repeat: no-repeat;

  @media screen and (max-width: 991px) {
    background-size: 100% 200px;
  }

  .services-wrapper {
    max-width: var(--column-width);
    margin: 0 auto;
    display: flex;
    flex-flow: column;
    gap: 4rem;
    padding: 0 1rem;
  }

  h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;

    strong {
      font-weight: 700;
      position: relative;
      display: inline-block;

      &:before {
        content: "";
        position: absolute;
        top: 1rem;
        left: -0.1rem;
        right: -0.5rem;
        bottom: 0.25rem;
        z-index: -1;
        background: var(--color-accent);
        border-radius: 1px;
      }
    }
  }

  .service-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;

    @media screen and (max-width: 991px) {
      grid-template-columns: 1fr 1fr;
    }

    @media screen and (max-width: 767px) {
      grid-template-columns: 1fr;
    }
  }

  .service-card {
    display: flex;
    flex-flow: column;
    gap: 0.75rem;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 1rem;
    padding: 2rem;

    @media screen and (max-width: 767px) {
      padding: 1rem;
    }

    h3 {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--color-primary-dark);
    }

    hr {
      border: none;
      border-top: 2px solid var(--color-border);
      width: 100%;
      margin-bottom: 0.5rem;
    }

    p {
      flex-grow: 1;
    }

    .button {
      align-self: center;
      margin-top: 2rem;
    }
  }
}

.basic-header {
  padding: 6rem 1rem 3rem;
  max-width: var(--column-width);
  margin: 0 auto;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;

  @media screen and (max-width: 991px) {
    padding: 4rem 1rem 2rem;
  }

  h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.1;

    strong {
      font-weight: 700;
      position: relative;
      display: inline-block;

      &:before {
        content: "";
        position: absolute;
        top: 1rem;
        left: -0.1rem;
        right: -0.5rem;
        bottom: 0.25rem;
        z-index: -1;
        background: var(--color-accent);
        border-radius: 1px;
      }
    }
  }

  p {
    font-size: 1.25rem;
    text-align: center;
  }
}

.plan {
  padding: 6rem 0;
  background-image: url('/_images/bg-top-left.svg');
  background-size: 100% 40%;
  background-position: bottom;
  background-repeat: no-repeat;
  --color-bullet: var(--color-tertiary);

  @media screen and (max-width: 991px) {
    background-size: 100% 200px;
  }

  .plan-wrapper {
    max-width: var(--column-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 6fr 7fr;
    grid-template-areas: 'card cta';
    gap: 4rem;
    place-items: center;

    @media screen and (max-width: 991px) {
      grid-template-columns: 1fr;
      grid-template-rows: auto auto;
      grid-template-areas: 'card' 'cta';
      gap: 4rem;
    }
  }

  &.plan--alt {
    background-color: var(--color-bg-alt);
    background-image: none;
    --color-bullet: var(--color-secondary);

    .plan-wrapper {
      grid-template-columns: 7fr 6fr;
      grid-template-areas: 'cta card';

      @media screen and (max-width: 991px) {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        grid-template-areas: 'card' 'cta';
      }
    }
  }

  .plan-card {
    grid-area: card;
    display: flex;
    flex-flow: column;
    gap: 1rem;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow);

    .plan-card__title {
      display: flex;
      flex-flow: row;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;

      &>* {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--color-primary-dark);
      }

      @media screen and (max-width: 480px) {
        flex-flow: column;
        align-items: start;
        gap: 0.25rem;
      }
    }

    ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-flow: column;
      gap: 2rem;

      li {
        padding: 0;
        padding-left: 2rem;
        margin: 0;
        position: relative;

        &:before {
          content: '';
          display: block;
          width: 0.9rem;
          height: 0.9rem;
          background: var(--color-bullet);
          position: absolute;
          left: 0;
          top: 50%;
          transform: translateY(-50%);
          border-radius: 2px;
        }
      }
    }
  }

  .plan-cta {
    grid-area: cta;
    display: flex;
    flex-flow: column;
    gap: 1rem;
    padding: 2rem;

    .plan-cta__title {
      display: flex;
      flex-flow: row;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;

      &>* {
        font-size: 1.25rem;
        font-weight: 700;
      }
    }

    .button {
      align-self: center;
      margin-top: 2rem;
    }
  }

  hr {
    border: none;
    border-top: 2px solid var(--color-border);
    width: 100%;
  }
}

.engage {
  padding: 4rem 0 8rem;
  background-image: url('/_images/bg-top-right.svg');
  background-size: 100% 500px;
  background-position: bottom;
  background-repeat: no-repeat;

  @media screen and (max-width: 991px) {
    background-size: 100% 400px;
  }

  .engage-wrapper {
    max-width: var(--column-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-flow: column;
    gap: 4rem;
    align-items: stretch;
  }

  .engage-inner {
    display: grid;
    grid-template-columns: 4fr 3fr;
    gap: 3rem;
    place-items: start;

    &>img {
      place-self: start end;
      margin-top: 2rem;
    }

    @media screen and (max-width: 991px) {
      grid-template-columns: 1fr;
      gap: 4rem;

      &>img {
        place-self: center;
        margin-top: 0;
      }
    }
  }

  h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;

    strong {
      font-weight: 700;
      position: relative;
      display: inline-block;

      &:before {
        content: "";
        position: absolute;
        top: 1rem;
        left: -0.1rem;
        right: -0.5rem;
        bottom: 0.25rem;
        z-index: -1;
        background: var(--color-accent);
        border-radius: 1px;
      }
    }
  }

  .engage-form {
    display: flex;
    flex-flow: column;
    gap: 1rem;
    align-items: stretch;
    width: 100%;
    padding: 2rem;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 1rem;
    box-shadow: var(--shadow);

    @media screen and (max-width: 991px) {
      padding: 1rem;
    }

    h3 {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--color-primary-dark);
    }

    hr {
      border: none;
      border-top: 2px solid var(--color-border);
      width: 100%;
    }

    p.help-text {
      color: var(--color-text-light);
    }

    .form-group {
      display: flex;
      flex-flow: column;
      gap: 0.5rem;

      label {
        font-weight: 700;

        small {
          font-size: 1rem;
          color: var(--color-text-light);
        }
      }

      input,
      textarea {
        font-size: 1rem;
        width: 100%;
        background: var(--color-bg);
        border: 2px solid var(--color-border);
        border-radius: 0.5rem;
        padding: 0.5rem 1rem;
        outline: none;

        &:focus {
          border-color: var(--color-primary);
        }

        &:required:user-invalid {
          border-color: var(--color-tertiary);
        }

        &:required:user-valid {
          border-color: var(--color-secondary);
        }
      }
    }

    .cf-turnstile {
      margin-top: 1rem;
    }

    .button {
      align-self: flex-end;
      margin-top: 0.5rem;
    }
  }
}

.join {
  padding: 4rem 0 8rem;
  background-image: url('/_images/bg-top-right.svg');
  background-size: 100% 500px;
  background-position: bottom;
  background-repeat: no-repeat;

  @media screen and (max-width: 991px) {
    background-size: 100% 400px;
  }

  .join-wrapper {
    max-width: var(--column-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-flow: column;
    gap: 4rem;
    align-items: stretch;
  }

  .join-inner {
    display: grid;
    grid-template-columns: 4fr 3fr;
    gap: 3rem;
    place-items: start;

    @media screen and (max-width: 991px) {
      grid-template-columns: 1fr;
      gap: 4rem;
    }
  }

  h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;

    strong {
      font-weight: 700;
      position: relative;
      display: inline-block;

      &:before {
        content: "";
        position: absolute;
        top: 1rem;
        left: -0.1rem;
        right: -0.5rem;
        bottom: 0.25rem;
        z-index: -1;
        background: var(--color-accent);
        border-radius: 1px;
      }
    }
  }

  .join-form {
    display: flex;
    flex-flow: column;
    gap: 1rem;
    align-items: stretch;
    width: 100%;
    padding: 2rem;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: 1rem;
    box-shadow: var(--shadow);

    @media screen and (max-width: 991px) {
      padding: 1rem;
    }

    h3 {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--color-primary-dark);
    }

    hr {
      border: none;
      border-top: 2px solid var(--color-border);
      width: 100%;
    }

    p.help-text {
      color: var(--color-text-light);
    }

    .form-group {
      display: flex;
      flex-flow: column;
      gap: 0.5rem;

      label {
        font-weight: 700;

        small {
          font-size: 1rem;
          color: var(--color-text-light);
        }
      }

      input,
      textarea {
        font-size: 1rem;
        width: 100%;
        background: var(--color-bg);
        border: 2px solid var(--color-border);
        border-radius: 0.5rem;
        padding: 0.5rem 1rem;
        outline: none;

        &:focus {
          border-color: var(--color-primary);
        }

        &:required:user-invalid {
          border-color: var(--color-tertiary);
        }

        &:required:user-valid {
          border-color: var(--color-secondary);
        }
      }

      input[type="file"] {
        cursor: pointer;

        &::file-selector-button {
          background: var(--color-primary);
          color: var(--color-bg);
          border: 2px solid var(--color-primary);
          border-radius: 4rem;
          padding: 0.5rem 1rem;
          margin-right: 1rem;
          font-weight: 700;
          transition: background 0.3s, color 0.3s;
        }

        &::file-selector-button:hover {
          background: var(--color-bg);
          color: var(--color-primary);
        }
      }
    }

    .cf-turnstile {
      margin-top: 1rem;
    }

    .button {
      align-self: flex-end;
      margin-top: 0.5rem;
    }
  }

  .join-content {
    display: flex;
    flex-flow: column;
    gap: 1rem;

    h3 {
      font-size: 1.25rem;
      font-weight: 700;
    }

    hr {
      border: none;
      border-top: 2px solid var(--color-border);
      width: 100%;
      margin-bottom: 1rem;
    }

    .join-content-item {
      display: grid;
      grid-template-columns: 3.5rem auto;
      gap: 1.5rem;
      margin-bottom: 1rem;
      align-items: center;

      &>img {
        width: 100%;
        aspect-ratio: 1;
        object-fit: contain;
      }
    }

    &>img {
      max-width: 80%;
      margin: 4rem auto;
      box-shadow: 3rem 3rem var(--color-border);
      border-radius: 0.5rem;
      position: relative;
      top: -1.5rem;
      left: -1.5rem;
    }
  }
}