.legal-page {
    width: min(1280px, calc(100% - 12vw));
    min-height: 75vh;
    margin-right: auto;
    margin-left: auto;
    padding: clamp(5rem, 10vw, 9rem) 0;
}

.legal-hero {
    max-width: 980px;
    margin: 0 0 clamp(4rem, 8vw, 7rem);
}

.legal-hero > span,
.legal-index > span,
.legal-content section > span {
    display: block;
    margin-bottom: 0.8rem;
    color: #77736a;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.legal-hero h1 {
    max-width: 12ch;
    margin: 0;
    font-family: var(--title-font, "Montserrat", sans-serif);
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.82;
}

.legal-hero p {
    max-width: 58ch;
    margin: 2rem 0 0;
    color: #77736a;
    font-size: 0.85rem;
    line-height: 1.75;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(200px, 0.35fr) minmax(0, 1fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
}

.legal-index {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-top: 1px solid rgba(23, 23, 19, 0.18);
    padding-top: 1rem;
}

.legal-index a {
    width: fit-content;
    color: inherit;
    font-size: 0.72rem;
    text-decoration: none;
}

.legal-index a:hover {
    text-decoration: underline;
    text-underline-offset: 0.3rem;
}

.legal-content {
    display: grid;
}

.legal-content section {
    scroll-margin-top: 110px;
    border-top: 1px solid rgba(23, 23, 19, 0.18);
    padding: 2rem 0 clamp(4rem, 8vw, 7rem);
}

.legal-content h2 {
    margin: 0 0 1.5rem;
    font-family: var(--title-font, "Montserrat", sans-serif);
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.95;
}

.legal-content section > div {
    max-width: 72ch;
    color: #625f57;
    font-size: 0.88rem;
    line-height: 1.85;
}

.legal-content section > div p:last-child {
    margin-bottom: 0;
}

.legal-content .dag-disclaimer-block {
    margin-top: 1rem;
    border: 1px solid rgba(23, 23, 19, 0.35);
    background: rgba(23, 23, 19, 0.035);
    padding: clamp(1.4rem, 4vw, 3rem);
}

@media (max-width: 760px) {
    .legal-page {
        width: auto;
        padding: 4rem 1rem;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-index {
        position: static;
    }
}
