/* ============ SHARED LEGAL PAGE STYLES ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0A0A0F;
    color: #E8E6E3;
    line-height: 1.7;
}
a { color: #5271FF; text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: #E8E6E3; }
.container { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(82, 113, 255, 0.1);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #E8E6E3;
}
.logo span { color: #5271FF; }
.nav-back {
    font-size: 0.9rem;
    color: #8A8A99;
    transition: color 0.3s;
}
.nav-back:hover { color: #5271FF; text-decoration: none; }

/* hero */
.legal-hero {
    padding: 80px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.legal-hero .badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(82, 113, 255, 0.12);
    color: #5271FF;
    border: 1px solid rgba(82, 113, 255, 0.2);
    margin-bottom: 18px;
}
.legal-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
}
.legal-hero .effective {
    color: #6A6A7A;
    font-size: 0.9rem;
    margin-top: 16px;
}

/* content */
.legal-content { padding: 60px 0 80px; }
.legal-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 16px;
    color: #E8E6E3;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 24px 0 10px;
    color: #B0B0BA;
}
.legal-content p {
    color: #B0B0BA;
    margin-bottom: 16px;
}
.legal-content ul, .legal-content ol {
    color: #B0B0BA;
    margin: 0 0 16px 24px;
}
.legal-content li { margin-bottom: 8px; }
.legal-content code {
    background: rgba(255,255,255,0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.88em;
}

/* placeholder callout */
.placeholder {
    background: rgba(82, 113, 255, 0.08);
    border: 1px dashed rgba(82, 113, 255, 0.4);
    padding: 16px 20px;
    border-radius: 10px;
    color: #B0B0BA;
    margin: 16px 0;
    font-style: italic;
    font-size: 0.92rem;
}
.placeholder::before {
    content: "Action required: ";
    color: #5271FF;
    font-weight: 600;
    font-style: normal;
}

/* info card */
.info-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 16px 0;
}
.info-card p:last-child { margin-bottom: 0; }

/* footer */
footer {
    padding: 32px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: #08080D;
    font-size: 0.85rem;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-inner p { color: #4A4A5A; }
.footer-links { display: flex; gap: 20px; list-style: none; flex-wrap: wrap; }
.footer-links a { color: #6A6A7A; transition: color 0.3s; }
.footer-links a:hover { color: #5271FF; text-decoration: none; }

@media (max-width: 768px) {
    .footer-inner { flex-direction: column; text-align: center; }
}
