main#privacy-page {
  /* long URLs in the legal text wrap instead of widening the page on phones */
  a {
    overflow-wrap: anywhere;
  }

  .hero-section-container {
    position: relative;
    background-image: url("../assets/images/gradient-bg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;

    &::after {
      content: "";
      position: absolute;
      bottom: 0;
      right: -3.75rem;
      top: 0;
      height: 100%;
      width: 31.25rem;
      background-image: url("../assets/images/logo-arc.svg");
      background-position: left;
      background-repeat: no-repeat;
      background-size: cover;
    } /* .hero-section-container::after */

    &::before {
      content: "";
      position: absolute;
      bottom: 0;
      left: -22.5rem;
      top: 0;
      height: 100%;
      width: 31.25rem;
      background-image: url("../assets/images/logo-arc.svg");
      background-position: right;
      background-repeat: no-repeat;
      background-size: cover;
    } /* .hero-section-container::before */

    .hero-section-wrapper {
      --header-height: 7.875rem;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      margin-top: calc(var(--header-height) + 5.625rem);
      padding-bottom: 7.5rem;
      z-index: 1;

      .hero-section-top-content {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        text-align: center;

        .hero-section-title {
          filter: drop-shadow(0rem 1.25rem 2.5rem rgba(0, 0, 0, 0.48));
        } /* .hero-section-title */

        .hero-section-description {
          margin-top: 2rem;
          color: var(--dr-lavender);
          filter: drop-shadow(0rem 0.75rem 0.75rem rgba(0, 0, 0, 0.24));
        } /* .hero-section-description */
      } /* .hero-section-top-content */
    } /* .hero-section-wrapper */
  } /* .hero-section-container */

  .details-section-container {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;

    .details-section-wrapper {
      border-bottom: 1px solid rgba(0, 0, 0, 0.12);

      &:last-child {
        border-bottom: none;
      } /* .details-section-wrapper:last-child */

      p {
        line-height: 2.25rem;
        color: var(--dr-charcoal);

        .title {
          font-size: 2rem;
          line-height: 2.625rem;
          color: var(--gray-900);
        } /* .details-section-wrapper p .title */

        .subtitle {
          display: block;
          margin-top: 0.75rem;
          margin-bottom: 0.5rem;
          font-size: 1.125rem;
          font-weight: 700;
          color: var(--gray-900);
        } /* .details-section-wrapper p .subtitle */

        /* Links in running text: brand link colour (text-link, text-link-hover).
           Buttons keep their own colours. */
        a:not(.primary-button):not(.secondary-button) {
          display: inline-block;
          color: var(--text-link);

          &:hover {
            color: var(--text-link-hover);
            text-decoration: underline;
          } /* .details-section-wrapper p a:hover */
        } /* .details-section-wrapper p a */
      } /* .details-section-wrapper p */

      ol {
        list-style-type: none;
        counter-reset: list-counter;

        li {
          counter-increment: list-counter;
          margin-bottom: 0.5rem;
          font-size: 1rem;
          line-height: 1.75rem;
          color: var(--dr-charcoal);

          &::before {
            content: "(" counter(list-counter) ") ";
            margin-right: 0.25rem;
          } /* .details-section-wrapper ol li::before */
        } /* .details-section-wrapper ol li */
      } /* .details-section-wrapper ol */

      ul {
        list-style-type: disc;
        margin-bottom: 0.5rem;

        li {
          counter-increment: none;
          margin-bottom: 0rem;
          margin-left: 1.8rem;
          font-size: 0.9375rem;
          line-height: 1.5rem;

          &::before {
            content: "";
            margin-right: 0.25rem;
          } /* .details-section-wrapper ul li::before */
        } /* .details-section-wrapper ul li */
      } /* .details-section-wrapper ul */
    } /* .details-section-wrapper */
  } /* .details-section-container */
} /* main#privacy-page */

/* tablet breakpoint */
@media (max-width: 1024px) {
  main#privacy-page {
    .hero-section-container {
      &::after {
      } /* .hero-section-container::after */

      &::before {
      } /* .hero-section-container::before */

      .hero-section-wrapper {
        .hero-section-top-content {
          .hero-section-title {
          } /* .hero-section-title */

          .hero-section-description {
          } /* .hero-section-description */
        } /* .hero-section-top-content */
      } /* .hero-section-wrapper */
    } /* .hero-section-container */

    .details-section-container {
      .details-section-wrapper {
        &:last-child {
        } /* .details-section-wrapper:last-child */

        p {
          .title {
          } /* .details-section-wrapper p .title */

          .subtitle {
          } /* .details-section-wrapper p .subtitle */

          a {
            &:hover {
            } /* .details-section-wrapper p a:hover */
          } /* .details-section-wrapper p a */
        } /* .details-section-wrapper p */

        ol {
          li {
            &::before {
            } /* .details-section-wrapper ol li::before */
          } /* .details-section-wrapper ol li */
        } /* .details-section-wrapper ol */

        ul {
          li {
            &::before {
            } /* .details-section-wrapper ul li::before */
          } /* .details-section-wrapper ul li */
        } /* .details-section-wrapper ul */
      } /* .details-section-wrapper */
    } /* .details-section-container */
  } /* main#privacy-page */
}

/* mobile breakpoint */
@media (max-width: 640px) {
  main#privacy-page {
    .hero-section-container {
      &::after {
      } /* .hero-section-container::after */

      &::before {
      } /* .hero-section-container::before */

      .hero-section-wrapper {
        .hero-section-top-content {
          .hero-section-title {
          } /* .hero-section-title */

          .hero-section-description {
          } /* .hero-section-description */
        } /* .hero-section-top-content */
      } /* .hero-section-wrapper */
    } /* .hero-section-container */

    .details-section-container {
      .details-section-wrapper {
        &:last-child {
        } /* .details-section-wrapper:last-child */

        p {
          .title {
            font-size: 2.5rem;
          } /* .details-section-wrapper p .title */

          .subtitle {
            font-size: 1.8rem;
          } /* .details-section-wrapper p .subtitle */

          a {
            &:hover {
            } /* .details-section-wrapper p a:hover */
          } /* .details-section-wrapper p a */
        } /* .details-section-wrapper p */

        ol {
          li {
            &::before {
            } /* .details-section-wrapper ol li::before */
          } /* .details-section-wrapper ol li */
        } /* .details-section-wrapper ol */

        ul {
          li {
            &::before {
            } /* .details-section-wrapper ul li::before */
          } /* .details-section-wrapper ul li */
        } /* .details-section-wrapper ul */
      } /* .details-section-wrapper */
    } /* .details-section-container */
  } /* main#privacy-page */
}
