* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 0%, rgba(221, 192, 121, 0.14), transparent 32%),
        linear-gradient(180deg, #0b0b0d 0%, #171717 56%, #0b0b0d 100%);
    color: #f4f1ea;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

.legal-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.legal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
}

.legal-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0;
}

.legal-brand img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
}

.legal-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.legal-link {
    color: #d8d8d8;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.legal-link:hover {
    color: #DDC079;
}

.legal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 13px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, #DDC079 0%, #b89b5e 100%);
    color: #080808;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
}

.legal-hero {
    padding: 48px 0 28px;
    border-top: 1px solid rgba(221, 192, 121, 0.18);
}

.legal-eyebrow {
    margin: 0 0 14px;
    color: #DDC079;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.legal-hero h1 {
    max-width: 840px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(36px, 7vw, 72px);
    line-height: 0.98;
    letter-spacing: 0;
}

.legal-intro {
    max-width: 820px;
    margin: 20px 0 0;
    color: #c7d0df;
    font-size: 17px;
    line-height: 1.7;
}

.legal-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.legal-pill {
    padding: 9px 12px;
    border: 1px solid rgba(221, 192, 121, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #f4f1ea;
    font-size: 13px;
    font-weight: 800;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
    align-items: start;
    padding: 26px 0 56px;
}

.legal-content {
    display: grid;
    gap: 16px;
}

.legal-section {
    padding: 24px;
    border: 1px solid rgba(221, 192, 121, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
}

.legal-section h2 {
    margin: 0 0 12px;
    color: #DDC079;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: 0;
}

.legal-section p,
.legal-section li {
    color: #e4e0d8;
    font-size: 15px;
    line-height: 1.75;
}

.legal-section p {
    margin: 0 0 12px;
}

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

.legal-section ul {
    margin: 0;
    padding-left: 20px;
}

.legal-section li {
    margin-bottom: 8px;
}

.legal-note {
    border-color: rgba(37, 211, 102, 0.28);
    background: rgba(37, 211, 102, 0.08);
}

.legal-aside {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(221, 192, 121, 0.22);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.28);
}

.legal-aside-title {
    color: #DDC079;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.legal-aside a {
    color: #f4f1ea;
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
}

.legal-aside a:hover {
    color: #DDC079;
}

.legal-footer {
    padding: 28px 0;
    border-top: 1px solid rgba(221, 192, 121, 0.18);
    color: #c7d0df;
    font-size: 13px;
    line-height: 1.6;
}

.legal-footer-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.legal-footer a {
    color: #DDC079;
    text-decoration: none;
    font-weight: 800;
}

@media (max-width: 860px) {
    .legal-nav {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .legal-aside {
        position: static;
        order: -1;
    }

    .legal-hero {
        padding-top: 34px;
    }
}

@media (max-width: 520px) {
    .legal-shell {
        width: min(100% - 22px, 1120px);
    }

    .legal-nav-actions,
    .legal-button {
        width: 100%;
    }

    .legal-section {
        padding: 18px;
    }

    .legal-hero h1 {
        font-size: 38px;
    }
}
