:root {
    --navy:       #1a2b4a;
    --navy-deep:  #111e35;
    --navy-mid:   #243558;
    --sky:        #5ab4d6;
    --sky-light:  #8dd4f0;
    --orange:     #e8622a;
    --orange-light: #f07a45;
    --white:      #ffffff;
    --text-muted: #8fa3bc;
    --card-border: rgba(255,255,255,0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    background-color: var(--navy-deep);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--sky);
    transition: color 0.2s;
}

a:hover { color: var(--sky-light); }

/* ── LEGAL PAGES (privacy-policy / terms-of-service) ── */

.legal-navbar {
    position: sticky;
    top: 0;
    z-index: 99;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    background: rgba(17, 30, 53, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.legal-navbar .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--white);
    text-decoration: none;
}

.legal-navbar .nav-logo img {
    width: 30px;
    height: 30px;
    border-radius: 7px;
}

.legal-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.legal-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--white);
}

.legal-header .last-updated {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.legal-section {
    margin-bottom: 36px;
}

.legal-section h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sky-light);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.legal-section p {
    font-size: 0.95rem;
    color: #a8bdd4;
    line-height: 1.75;
    margin-bottom: 12px;
    text-align: justify;
}

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

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.legal-section ul li {
    font-size: 0.95rem;
    color: #a8bdd4;
    line-height: 1.7;
    padding: 6px 0 6px 20px;
    position: relative;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sky);
}

.notice-highlight {
    background: rgba(232,98,42,0.1);
    border: 1px solid rgba(232,98,42,0.25);
    border-left: 3px solid var(--orange);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 12px;
}

.notice-highlight p {
    color: #c9a07a !important;
    margin-bottom: 0 !important;
}

.legal-footer {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.legal-footer p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.legal-footer a {
    color: var(--sky);
    font-size: 0.88rem;
}

.legal-footer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .legal-wrap { padding: 40px 20px 60px; }
    .legal-header h1 { font-size: 1.7rem; }
    .legal-navbar { padding: 0 20px; }
}
