.legal-page {
    background: var(--paper, #fbf7ef);
}

.legal-hero {
    position: relative;
    padding: 150px 0 70px;
    background:
        radial-gradient(circle at top left, rgba(249, 115, 22, .18), transparent 34%),
        linear-gradient(135deg, #111827 0%, #0d1b2a 55%, #10243d 100%);
    color: #fff;
    overflow: hidden;
}

.legal-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -40% auto;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    background: rgba(249, 115, 22, .22);
    filter: blur(20px);
}

.legal-hero .container {
    position: relative;
    z-index: 1;
}

.legal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}

.legal-hero h1 {
    max-width: 850px;
    margin: 0 0 16px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.legal-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 18px;
    line-height: 1.7;
}

.legal-content-section {
    padding: 70px 0;
}

.legal-card {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 48px);
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, .08);
    box-shadow: 0 26px 70px rgba(17, 24, 39, .12);
}

.legal-card h2 {
    margin: 34px 0 12px;
    color: #111827;
    font-size: clamp(23px, 3vw, 32px);
    letter-spacing: -0.03em;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card h3 {
    margin: 24px 0 10px;
    color: #111827;
    font-size: 21px;
}

.legal-card p,
.legal-card li {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.75;
}

.legal-card p {
    margin: 0 0 14px;
}

.legal-card ul {
    margin: 10px 0 18px;
    padding-left: 22px;
}

.legal-card li {
    margin-bottom: 8px;
}

.legal-card a {
    color: #f97316;
    font-weight: 800;
    text-decoration: none;
}

.legal-card a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-updated {
    margin-top: 34px !important;
    padding-top: 18px;
    border-top: 1px solid rgba(17, 24, 39, .1);
    color: #667085 !important;
    font-weight: 800;
}

.legal-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 18px 0 28px;
    border-radius: 18px;
    border: 1px solid rgba(17, 24, 39, .09);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
    background: #fff;
}

.legal-table th,
.legal-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(17, 24, 39, .08);
    vertical-align: top;
    color: #4b5563;
    line-height: 1.6;
}

.legal-table th {
    background: #fff7ed;
    color: #111827;
    font-weight: 900;
}

.legal-table tr:last-child td {
    border-bottom: 0;
}

.legal-reset-cookies {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 8px 0 22px;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.legal-reset-cookies:hover {
    background: #f97316;
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 120px 0 55px;
    }

    .legal-content-section {
        padding: 38px 0;
    }

    .legal-card {
        border-radius: 22px;
    }
}