/* Shared styles for Terms.aspx and Privacy.aspx (site dark theme) */
:root {
    --bg: #070b19;
    --card: #0d132b;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.18);
    --text: #ffffff;
    --muted: #94a3b8;
    --body: #cbd5e1;
    --cyan: #00e5ff;
    --green: #34d399;
    --radius: 14px;
    --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 229, 255, 0.05), transparent 45%),
        var(--bg);
    background-attachment: fixed;
    color: var(--text);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
}

a { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(7, 11, 25, 0.85);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    max-width: 1100px; margin: 0 auto; padding: 12px var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand {
    display: flex; align-items: center; gap: 10px; color: var(--text);
    text-decoration: none; font-weight: 700; letter-spacing: -0.02em; font-size: 1.1rem;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.header-links { display: flex; align-items: center; gap: 8px; }
.pill {
    color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 600;
    padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: 999px; white-space: nowrap;
}
.pill:hover { color: var(--text); border-color: var(--cyan); }
.blog-link {
    color: #fff; text-decoration: none; font-size: 0.9rem; font-weight: 700;
    padding: 8px 14px; border-radius: 999px; white-space: nowrap;
    background: linear-gradient(135deg, #7c3aed, #0891b2);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}
@media (max-width: 420px) { .brand .brand-name { display: none; } }

/* Document */
main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 32px var(--gutter) 48px; }

.eyebrow {
    display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--cyan); margin-bottom: 8px;
}
h1 { font-size: clamp(1.9rem, 6.5vw, 2.6rem); letter-spacing: -0.03em; line-height: 1.15; margin: 0; }
.effective { color: var(--muted); font-size: 0.92rem; margin: 10px 0 0; }

.summary {
    margin-top: 24px; padding: 18px 20px; border-radius: var(--radius);
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-left: 4px solid var(--green);
}
.summary h2 { font-size: 1rem; margin: 0 0 8px; color: #6ee7b7; }
.summary ul { margin: 0; padding-left: 1.2rem; color: #d1fae5; font-size: 0.95rem; }
.summary li { margin-bottom: 4px; }

.toc {
    margin-top: 20px; padding: 16px 20px; border-radius: var(--radius);
    background: var(--card); border: 1px solid var(--border);
}
.toc h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 1.3rem; columns: 2 220px; column-gap: 24px; font-size: 0.92rem; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--cyan); }

.doc section { margin-top: 32px; scroll-margin-top: 80px; }
.doc h2 { font-size: 1.2rem; letter-spacing: -0.01em; margin: 0 0 8px; }
.doc h3 { font-size: 1rem; margin: 16px 0 4px; }
.doc p, .doc li { color: var(--body); font-size: 0.97rem; }
.doc p { margin: 0 0 10px; }
.doc ul { margin: 0 0 10px; padding-left: 1.3rem; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--text); }

.contact-card {
    margin-top: 36px; padding: 20px; border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.22), rgba(8, 145, 178, 0.16));
    border: 1px solid rgba(0, 229, 255, 0.2);
}
.contact-card h2 { margin: 0 0 6px; font-size: 1.1rem; }
.contact-card p { margin: 0; color: var(--body); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: rgba(5, 8, 20, 0.6); }
.footer-inner {
    max-width: 1100px; margin: 0 auto; padding: 22px var(--gutter);
    display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: center;
}
.footer-inner a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
.footer-inner a:hover, .footer-inner a[aria-current] { color: var(--cyan); }
.copyright { text-align: center; color: var(--muted); font-size: 0.8rem; padding: 0 var(--gutter) 24px; margin: 0; }

@media print {
    .site-header, .site-footer, .toc { display: none; }
    body { background: #fff; color: #000; }
    .doc p, .doc li, .summary ul { color: #000; }
}
