*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #0F172A;
    --bg-card: #131f35;
    --blue: #2563EB;
    --blue-light: #3B82F6;
    --white: #FFFFFF;
    --gray: #64748B;
    --gray-light: #94A3B8;
    --green: #22C55E;
    --border: rgba(255, 255, 255, 0.07);
    --font-head: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.022;
    pointer-events: none;
    z-index: 9999;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-logo svg {
    height: 30px;
    width: auto;
}

.nav-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .875rem;
    font-weight: 500;
    color: var(--gray-light);
    transition: color .2s;
    text-decoration: none;
}

.nav-back:hover {
    color: var(--white);
}

.nav-back svg {
    transition: transform .2s;
}

.nav-back:hover svg {
    transform: translateX(-3px);
}

/* HERO BANNER */
.page-hero {
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 65%);
    pointer-events: none;
}

.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue-light);
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 20px;
}

.page-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 16px;
}

.page-title span {
    color: var(--blue-light);
}

.page-meta {
    font-size: .875rem;
    color: var(--gray);
    margin-top: 12px;
}

.page-meta strong {
    color: var(--gray-light);
}

/* CONTENT */
.legal-body {
    padding: 0 0 100px;
}

.legal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 56px 60px;
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.legal-section h2 .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 8px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--blue-light);
}

.legal-section p {
    color: var(--gray-light);
    font-size: .95rem;
    margin-bottom: 12px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.legal-section ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-light);
    font-size: .95rem;
}

.legal-section ul li::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    margin-top: 8px;
}

.highlight-box {
    background: rgba(37, 99, 235, 0.07);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 16px 0;
    font-size: .9rem;
    color: var(--gray-light);
}

.highlight-box strong {
    color: var(--white);
}

/* CONTACT CARD */
.contact-card {
    margin-top: 48px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.22);
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-text h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.contact-card-text p {
    font-size: .875rem;
    color: var(--gray);
    margin: 0;
}

.contact-card-links {
    margin-left: auto;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 100px;
    text-decoration: none;
    transition: all .25s;
}

.contact-link.primary {
    background: var(--blue);
    color: #fff;
}

.contact-link.primary:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
}

.contact-link.ghost {
    border: 1px solid var(--border);
    color: var(--gray-light);
}

.contact-link.ghost:hover {
    border-color: rgba(255, 255, 255, .2);
    color: var(--white);
    transform: translateY(-2px);
}

/* FOOTER */
.legal-footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: .82rem;
    color: var(--gray);
    text-decoration: none;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    font-size: .82rem;
    color: var(--gray);
}

@media (max-width: 768px) {
    .legal-content {
        padding: 32px 24px;
    }

    .contact-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-card-links {
        margin-left: 0;
    }
}