/* Shared styling for the standalone legal pages (/terms, /privacy, /refund). */
:root {
    --primary: #0077b6;
    --primary-dark: #023e8a;
    --text-main: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --border: #e2e8f0;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-main); background: var(--bg-light); line-height: 1.65;
}
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%; border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.97); position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(10px);
}
nav .logo img { height: 48px; }
nav .nav-links a { text-decoration: none; color: var(--text-main); font-weight: 500; font-size: 0.9rem; margin-left: 1.25rem; }
nav .nav-links a:hover { color: var(--primary); }

.legal-wrap { max-width: 820px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.legal-wrap h1 { font-size: 2rem; font-weight: 700; color: #1a202c; margin-bottom: 0.35rem; }
.legal-wrap .updated { color: var(--text-light); font-size: 0.85rem; margin-bottom: 0.75rem; }
.legal-wrap .disclaimer {
    background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px;
    padding: 0.75rem 1rem; font-size: 0.85rem; color: #92400e; margin-bottom: 2rem;
}
.legal-wrap h2 {
    font-size: 1.15rem; font-weight: 600; color: #1a202c;
    margin: 1.9rem 0 0.6rem; padding-top: 0.4rem;
}
.legal-wrap p, .legal-wrap li { font-size: 0.93rem; color: var(--text-main); margin-bottom: 0.7rem; }
.legal-wrap ul { padding-left: 1.4rem; margin-bottom: 0.9rem; }
.legal-wrap li { margin-bottom: 0.35rem; }
.legal-wrap a { color: var(--primary); }
.legal-wrap strong { color: #1a202c; }
.legal-wrap table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1.1rem; font-size: 0.88rem; }
.legal-wrap th, .legal-wrap td { border: 1px solid var(--border); padding: 0.5rem 0.7rem; text-align: left; }
.legal-wrap th { background: #f1f5f9; font-weight: 600; }

footer.legal-footer {
    border-top: 1px solid var(--border); padding: 1.5rem 5%; text-align: center;
    color: var(--text-light); font-size: 0.82rem;
}
footer.legal-footer a { color: var(--primary); text-decoration: none; margin: 0 0.6rem; }
