/* =========================================
   LEGAL PAGE
========================================= */

/* Mobile - 0rem+ */

.legal-page {
    background: #f3f1eb;
    color: var(--black);
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .legal-page {
        min-height: 100vh;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .legal-page {
        min-height: 100vh;
    }

}


/* =========================================
   LEGAL HERO
========================================= */

/* Mobile - 0rem+ */

.legal-hero {
    position: relative;

    padding: 10rem 0 5rem;

    background:
        linear-gradient(
            135deg,
            #151713 0%,
            #090b09 60%,
            #121410 100%
        );

    color: var(--white);

    overflow: hidden;
}

.legal-hero::before {
    content: "";

    position: absolute;

    top: -8rem;
    right: -6rem;

    width: 18rem;
    height: 30rem;

    background: var(--yellow);

    opacity: 0.05;

    transform: rotate(22deg);

    pointer-events: none;
}

.legal-hero__inner {
    position: relative;
    z-index: 2;
}

.legal-hero__eyebrow {
    margin: 0 0 1rem;

    color: var(--yellow);

    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.legal-hero h1 {
    margin: 0;

    font-family: var(--font-display);
    font-size: clamp(3.4rem, 14vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.9;
    text-transform: uppercase;
}

.legal-hero h1 span {
    color: var(--yellow);
}

.legal-hero__inner > p:last-child {
    margin: 1.5rem 0 0;

    color: rgba(255, 255, 255, 0.45);

    font-size: 0.78rem;
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .legal-hero {
        padding: 11rem 0 6rem;
    }

    .legal-hero h1 {
        font-size: 6rem;
    }

    .legal-hero::before {
        right: 5%;

        width: 23rem;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .legal-hero {
        padding: 12rem 0 7rem;
    }

    .legal-hero h1 {
        font-size: 7rem;
    }

}


/* =========================================
   LEGAL CONTENT
========================================= */

/* Mobile - 0rem+ */

.legal-content {
    padding: 5rem 0 7rem;

    background: #f3f1eb;
}

.legal-content__layout {
    display: grid;
    gap: 4rem;
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .legal-content {
        padding: 7rem 0 8rem;
    }

    .legal-content__layout {
        grid-template-columns: 13rem minmax(0, 1fr);
        align-items: start;
        gap: 5rem;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .legal-content {
        padding: 8rem 0 10rem;
    }

    .legal-content__layout {
        grid-template-columns: 16rem minmax(0, 46rem);
        gap: 7rem;
    }

}


/* =========================================
   LEGAL SIDEBAR
========================================= */

/* Mobile - 0rem+ */

.legal-content__sidebar {
    max-width: 34rem;

    padding-bottom: 2rem;

    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

.legal-content__sidebar p {
    margin: 0;

    color: #686a64;

    font-size: 0.88rem;
    line-height: 1.75;
}

.legal-content__back {
    display: inline-flex;
    align-items: center;

    margin-top: 1.5rem;

    color: var(--black);

    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    transition: color 200ms ease;
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .legal-content__sidebar {
        position: sticky;
        top: 8rem;

        padding: 0;

        border-bottom: 0;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .legal-content__back:hover,
    .legal-content__back:focus-visible {
        color: var(--yellow-dark);
    }

}


/* =========================================
   LEGAL BODY
========================================= */

/* Mobile - 0rem+ */

.legal-content__body {
    min-width: 0;
}

.legal-content__body section {
    padding: 0 0 3rem;
}

.legal-content__body section + section {
    padding-top: 3rem;

    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.legal-content__body h2 {
    margin: 0 0 1.25rem;

    color: var(--black);

    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.015em;
    line-height: 1.05;
    text-transform: uppercase;
}

.legal-content__body p {
    margin: 0;

    color: #5f615b;

    font-size: 0.95rem;
    line-height: 1.85;
}

.legal-content__body p + p {
    margin-top: 1.25rem;
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .legal-content__body section {
        padding-bottom: 3.5rem;
    }

    .legal-content__body section + section {
        padding-top: 3.5rem;
    }

    .legal-content__body h2 {
        font-size: 1.8rem;
    }

    .legal-content__body p {
        font-size: 1rem;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .legal-content__body h2 {
        font-size: 2rem;
    }

}


/* =========================================
   LEGAL CONTACT
========================================= */

/* Mobile - 0rem+ */

.legal-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;

    margin-top: 1.5rem;

    font-style: normal;
}

.legal-contact strong {
    color: var(--black);

    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
}

.legal-contact a {
    color: #5f615b;

    font-size: 0.9rem;

    transition: color 200ms ease;
}


/* Tablet - 48rem+ */

@media (min-width: 48rem) {

    .legal-contact {
        gap: 0.5rem;
    }

}


/* Desktop - 64rem+ */

@media (min-width: 64rem) {

    .legal-contact a:hover,
    .legal-contact a:focus-visible {
        color: var(--yellow-dark);
    }

}