/* public/css/pages/legal.css */

.legal-page {
    min-height: 100vh;
    background: #f6f4ef;
    color: #111111;
}

.legal-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(246, 244, 239, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.legal-header__container,
.legal-hero__container,
.legal-nav__container,
.legal-content__container,
.legal-footer__container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.legal-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 16px;
}

.legal-header__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.legal-header__logo {
    display: block;
    height: 30px;
    width: auto;
}

.legal-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-header__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 700;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.legal-header__back:hover {
    transform: translateY(-1px);
}

.legal-main {
    padding-bottom: 56px;
}

.legal-hero {
    padding: 56px 0 28px;
}

.legal-hero__eyebrow {
    margin: 0 0 12px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, 0.56);
}

.legal-hero__title {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.legal-hero__subtitle {
    margin: 16px 0 0;
    max-width: 760px;
    font-size: 1.06rem;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.72);
}

.legal-nav {
    position: sticky;
    top: 72px;
    z-index: 30;
    padding: 10px 0 18px;
    background: linear-gradient(to bottom,
            rgba(246, 244, 239, 0.96),
            rgba(246, 244, 239, 0.88));
    backdrop-filter: blur(10px);
}

.legal-nav__container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.legal-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(255, 255, 255, 0.72);
    color: #111111;
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 700;
    transition: transform 0.18s ease, background-color