/* Nomadic Thinking — shared styling for legal pages */
:root {
    --bg-deep: #0a1128;
    --bg-mid: #121a3a;
    --accent: #E8A838;
    --accent-dim: rgba(232, 168, 56, 0.15);
    --text: #e8e8f0;
    --text-muted: #9a9ab8;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- NAV --- */
.legal-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    background: rgba(10, 17, 40, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-nav .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--accent);
    font-size: 1.15rem;
}

.legal-nav .brand img { height: 34px; }
.legal-nav .brand:hover { text-decoration: none; }

.legal-nav .back { color: var(--text-muted); font-weight: 500; font-size: 0.9rem; }
.legal-nav .back:hover { color: var(--accent); text-decoration: none; }

/* --- CONTENT --- */
.legal {
    max-width: 820px;
    margin: 0 auto;
    padding: 8rem 1.5rem 4rem;
}

.legal h1 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.4rem;
    background: linear-gradient(135deg, #ffffff 0%, #c0c0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal .updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2.5rem; }

.legal h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2.25rem 0 0.75rem;
    color: var(--text);
}

.legal p { color: var(--text-muted); margin-bottom: 1rem; }
.legal ul { margin: 0 0 1rem 1.25rem; color: var(--text-muted); }
.legal li { margin-bottom: 0.5rem; }
.legal strong { color: var(--text); }

.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem; }
.legal th, .legal td { border: 1px solid var(--glass-border); padding: 0.6rem 0.8rem; text-align: left; color: var(--text-muted); }
.legal th { background: var(--glass-bg); color: var(--text); }

/* --- FOOTER --- */
.legal-footer {
    border-top: 1px solid var(--glass-border);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.legal-footer .links {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.legal-footer .links a { color: var(--text-muted); font-size: 0.85rem; }
.legal-footer .links a:hover { color: var(--accent); text-decoration: none; }
.legal-footer p { color: var(--text-muted); font-size: 0.8rem; }

@media (max-width: 600px) {
    .legal-nav { padding: 1rem 1.25rem; }
    .legal h1 { font-size: 1.8rem; }
}
