/* Shared website rhythm. Use Cases supplies the standard large introduction scale. */
:root {
    --site-section-space: clamp(3rem, 6vw, 6rem);
    --site-title-size: clamp(2.6rem, 5.5vw, 4.8rem);
    --site-heading-size: clamp(1.9rem, 3.8vw, 3rem);
    --site-kicker-size: 1.5rem;
    --site-copy-size: 1.125rem;
    --site-copy-color: rgb(255 255 255 / 72%);
}

.site-intro-section {
    display: flex;
    align-items: center;
    min-height: calc(100svh - var(--nav-h, 4rem) - var(--footer-h, 0px));
    padding: var(--site-section-space) 1.5rem;
}

@media (max-width: 560px) {
    :root {
        --site-title-size: 2.6rem;
        --site-kicker-size: 1.25rem;
        --site-copy-size: 1rem;
    }

    .site-intro-section {
        padding-inline: 1.25rem;
    }
}

/* Shared reading and visual widths. Section padding owns gutters. */
.site-content, .site-content-wide {
    width: 100%;
    margin-inline: auto;
    min-width: 0;
}

.site-content {
    max-width: 56rem;
}

.site-content-wide {
    max-width: 76rem;
}

.review-mobile-navigation, .review-mobile-footer, .review-mobile-actions {
    display: none;
}

.legal-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    margin-block: 1rem 2rem;
}

@media (max-width: 1279px) {
    .review-mobile-actions {
        display: flex;
    }

    .review-navbar {
        min-height: 3rem;
        padding-block: .25rem;
    }

    .review-navbar > .navbar-end {
        grid-column: 3;
        justify-self: end;
    }

    :root {
        --site-viewport-height: 100svh;
        --mobile-nav-h: 2.125rem;
        --site-content-height: calc(var(--site-viewport-height) - var(--nav-h, 10rem) - var(--footer-h, 2.75rem));
    }

    @supports (height: 100dvh) {
        :root {
            --site-viewport-height: 100dvh;
        }
    }

    .review-mobile-navigation {
        display: block;
        position: fixed;
        inset-inline: 0;
        top: var(--navbar-h, 4rem);
        z-index: 45;
        background: #000;
        overflow-x: auto;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .review-mobile-navigation::-webkit-scrollbar {
        display: none;
    }

    .review-mobile-navigation ul {
        display: flex;
        align-items: center;
        width: max-content;
        min-width: 100%;
        margin: 0;
        padding: 0 .5rem;
        list-style: none;
    }

    .review-mobile-navigation a {
        display: block;
        padding: .375rem .875rem;
        color: rgb(255 255 255 / 60%);
        font-size: .875rem;
        line-height: 1.25rem;
        white-space: nowrap;
        border-bottom: 2px solid transparent;
    }

    .review-mobile-navigation a[aria-current="page"] {
        color: #fff;
        font-weight: 700;
        border-bottom-color: #fff;
    }

    .review-mobile-navigation a:focus-visible {
        outline: 2px solid #a5a3ff;
        outline-offset: -3px;
    }

    body > footer {
        padding: .25rem 1rem;
        padding-bottom: calc(.25rem + env(safe-area-inset-bottom, 0px));
    }

    .review-mobile-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0 1rem;
        min-height: 2.25rem;
    }

    .review-mobile-footer-links {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-left: auto;
    }

    .review-mobile-footer-links > a {
        display: inline-flex;
        align-items: center;
        min-height: 2.25rem;
        white-space: nowrap;
    }

    .review-desktop-footer {
        display: none;
    }

    /* One measured viewport owns the scroller and its slides, including Safari chrome changes. */
    body .pt-nav {
        bottom: auto;
        height: var(--site-content-height);
        min-height: 0;
        overscroll-behavior-y: auto;
    }

    .pt-nav > .deck-scroll {
        height: 100%;
        scroll-snap-type: y mandatory;
        overscroll-behavior-y: auto;
    }

    .deck-scroll > .deck-slide {
        height: auto;
        min-height: var(--site-content-height);
        overflow-y: visible;
        scroll-snap-align: start;
        scroll-snap-stop: normal;
    }

    .deck-scroll > #overview {
        height: max(28rem, var(--site-content-height));
        min-height: max(28rem, var(--site-content-height));
        padding: 0;
        overflow: hidden;
    }

    #overview .hero-stage {
        position: absolute;
        inset: 0;
        width: calc(100% - 3rem);
        height: 100%;
        min-height: 0;
        margin: auto;
    }
}

@media (max-width: 374px) {
    .review-navbar {
        padding-inline: .5rem;
    }

    .review-navbar .navbar-start > a {
        font-size: 1rem;
    }
}

@media (max-width: 339px) {
    .review-mobile-actions a {
        min-width: 2.25rem;
        min-height: 2.25rem;
        justify-content: center;
    }

    .review-mobile-actions a > span {
        display: none;
    }
}
