/* Shared styles for Bloopz content pages (privacy, terms, support) — matches the landing aurora theme. */
:root {
  --bg: #F4F5FB; --bg-2: #E9ECFA; --ink: #171A33; --muted: #5B6180;
  --card: rgba(255, 255, 255, 0.72); --hair: rgba(23, 26, 51, 0.10);
  --blue: #5B8DEF; --violet: #8B6DF0; --pink: #FF83B4; --gold: #E9930B;
  --aurora-1: rgba(91, 141, 239, 0.30); --aurora-2: rgba(139, 109, 240, 0.26); --aurora-3: rgba(255, 131, 180, 0.24);
  --font-display: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0E28; --bg-2: #121A46; --ink: #EEF0FF; --muted: #A3AAD6;
    --card: rgba(255, 255, 255, 0.055); --hair: rgba(255, 255, 255, 0.12);
    --gold: #FFB92E;
    --aurora-1: rgba(91, 141, 239, 0.34); --aurora-2: rgba(139, 109, 240, 0.34); --aurora-3: rgba(255, 131, 180, 0.28);
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; }
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.aurora::before, .aurora::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); }
.aurora::before { width: 44vw; height: 44vw; left: -10vw; top: -12vw; background: var(--aurora-1); }
.aurora::after { width: 40vw; height: 40vw; right: -12vw; top: 4vh; background: var(--aurora-3); }
.wrap { width: min(760px, 100% - 2.5rem); margin-inline: auto; }

/* Nav */
nav { display: flex; align-items: center; justify-content: space-between; padding: 1.6rem 0; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.mark { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; background: linear-gradient(135deg, var(--blue), var(--violet) 52%, var(--pink)); box-shadow: 0 8px 20px -8px rgba(139, 109, 240, 0.8); }
.nav-back { font-weight: 600; font-size: 0.95rem; color: var(--ink); text-decoration: none; padding: 0.5rem 0.9rem; border-radius: 999px; border: 1px solid var(--hair); background: var(--card); backdrop-filter: blur(8px); }
.nav-back:hover { border-color: var(--violet); }

/* Document */
.doc { padding: 1.5rem 0 3rem; }
.doc .eyebrow { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet); margin-bottom: 0.7rem; }
.doc h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.doc .updated { color: var(--muted); font-size: 0.92rem; margin-bottom: 2rem; }
.doc h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em; margin: 2.2rem 0 0.7rem; }
.doc h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 1.4rem 0 0.4rem; }
.doc p { color: var(--ink); margin-bottom: 0.9rem; }
.doc ul { margin: 0 0 1rem 1.2rem; color: var(--ink); }
.doc li { margin-bottom: 0.45rem; }
.doc a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--violet); }
.doc a:hover { border-bottom-color: var(--pink); }
.doc .lede { font-size: 1.1rem; color: var(--muted); margin-bottom: 1.6rem; }
.doc .note { background: var(--card); border: 1px solid var(--hair); border-radius: 16px; padding: 1.1rem 1.3rem; backdrop-filter: blur(10px); margin: 1.4rem 0; color: var(--muted); font-size: 0.96rem; }
.doc strong { font-weight: 700; }

/* FAQ (support) */
.faq { display: grid; gap: 0.8rem; margin: 1.4rem 0; }
.faq details { background: var(--card); border: 1px solid var(--hair); border-radius: 16px; padding: 0.4rem 1.2rem; backdrop-filter: blur(10px); }
.faq summary { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; cursor: pointer; padding: 0.8rem 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--violet); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 0.9rem; margin: 0; }

/* Support CTA */
.support-cta { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff; text-decoration: none; padding: 0.9rem 1.5rem; border-radius: 999px; background: linear-gradient(120deg, var(--blue), var(--violet) 55%, var(--pink)); box-shadow: 0 14px 30px -12px rgba(139, 109, 240, 0.75); margin: 0.5rem 0 1rem; }
.support-cta:hover { transform: translateY(-2px); }

/* Footer */
footer { border-top: 1px solid var(--hair); padding: 2rem 0 3rem; margin-top: 1rem; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
footer .brand { font-size: 1.1rem; }
.foot-nav { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; font-size: 0.9rem; font-weight: 600; }
.foot-nav a, footer .foot-bottom a { color: var(--ink); }
.foot-nav a, footer a { color: var(--muted); text-decoration: none; }
.foot-nav a:hover, footer a:hover { color: var(--ink); }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); }
.foot-bottom a { color: var(--ink); font-weight: 600; }

a:focus-visible, summary:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
