:root {
    --green: rgba(181, 233, 59, 1);
    --dark: rgba(74, 74, 74, 1);
    --black: #111111;
    --white: #ffffff;
    --sidebar-width: 120px;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: "Quantico", sans-serif;
    color: var(--white);
    background: radial-gradient(circle at 52% 30%, #242424 0%, #111111 50%, #070707 100%);
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 100px;
    z-index: 11;
    height: 112px;
    pointer-events: none;
    background: linear-gradient(180deg, #111111 0%, rgba(17, 17, 17, 0.96) 72%, rgba(17, 17, 17, 0) 100%);
}

.legal-left-bar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    width: var(--sidebar-width);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: var(--green);
    box-shadow: 24px 0 46px rgba(0, 0, 0, 0.8);
}

.legal-logo img {
    width: 150px;
    height: auto;
    display: block;
}

.legal-side-nav {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-evenly;
    gap: 0;
    width: 100%;
    margin: 20px 0 42px;
    padding: 0;
    list-style: none;
}

.legal-side-nav li {
    width: var(--sidebar-width);
    height: clamp(96px, 13.5vh, 132px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-side-nav a {
    display: inline-block;
    color: var(--dark);
    font-size: clamp(17px, 1.2vw, 22px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 1.2px;
    text-decoration: none;
    white-space: nowrap;
    transform: rotate(-90deg);
}

.legal-side-nav a:hover {
    color: var(--white);
}

.legal-right-bar {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 8;
    width: 100px;
    height: 100vh;
    background: var(--green);
}

.legal-shell {
    position: relative;
    min-height: 100vh;
    padding: 76px 170px 76px 230px;
}

.legal-back-link {
    position: fixed;
    top: 42px;
    right: 138px;
    z-index: 13;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--green);
    font-size: 14px;
    text-decoration: none;
}

.legal-language-switch {
    position: fixed;
    top: 46px;
    right: 360px;
    z-index: 13;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    font-size: 14px;
}

.legal-language-switch button {
    padding: 0;
    border: 0;
    color: var(--white);
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.legal-language-switch button:hover,
.legal-language-switch button.is-active {
    color: var(--green);
}

.legal-back-link img {
    width: 56px;
    height: auto;
    transition: transform 0.2s ease;
}

.legal-back-link:hover {
    color: var(--white);
}

.legal-back-link:hover img {
    transform: translateX(-8px);
}

.legal-content {
    width: min(100%, 900px);
    margin: 0 auto;
    padding-bottom: 40px;
}

.legal-header {
    margin-bottom: 46px;
}

.legal-eyebrow,
.legal-updated {
    margin: 0;
    color: var(--green);
    font-size: 14px;
}

.legal-header h1 {
    margin: 10px 0 12px;
    color: var(--green);
    font-size: clamp(44px, 6vw, 78px);
    line-height: 1;
}

.legal-content section {
    padding: 26px 0;
    border-top: 1px solid rgba(181, 233, 59, 0.45);
}

.legal-content h2 {
    margin: 0 0 14px;
    color: var(--green);
    font-size: 24px;
    line-height: 1.2;
}

.legal-content p {
    margin: 0;
    color: var(--white);
    font-size: 16px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    body::before {
        left: 0;
        right: 0;
    }

    .legal-left-bar,
    .legal-right-bar {
        display: none;
    }

    .legal-shell {
        padding: 104px 24px 48px;
    }

    .legal-back-link {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 30;
        height: 72px;
        justify-content: flex-end;
        padding: 0 24px;
    }

    .legal-language-switch {
        top: 26px;
        left: 24px;
        right: auto;
        z-index: 31;
    }
}
