/* Shared styles for FaceStudio legal pages (privacy.html, terms.html).
   Mirrors the brand tokens from index.html, simplified for long-form reading. */
:root {
  --violet: #7C3AED; --magenta: #E0457E; --cyan: #22D3EE;
  --bg: #08070D; --bg-2: #0D0B16; --ink: #F4F1FB; --muted: #A79FC0; --faint: #8E87AC;
  --line: rgba(255,255,255,.09); --glass: rgba(255,255,255,.045);
  --brand-grad: linear-gradient(115deg, #6D28E6, #7C3AED 35%, #E0457E 78%, #F0508F 100%);
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --maxw: 780px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: #C4B5FD; text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* soft brand glow behind the page */
.glow { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.glow::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, var(--violet), transparent 70%); filter: blur(110px); opacity: .22; top: -220px; left: -160px; }
.glow::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, var(--magenta), transparent 70%); filter: blur(110px); opacity: .16; top: -120px; right: -170px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); background: rgba(8,7,13,.72); border-bottom: 1px solid var(--line); }
.nav .inner { max-width: var(--maxw); margin: 0 auto; padding: 15px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 6px 18px -6px rgba(124,58,237,.8); }
.back { font-size: 14px; color: var(--muted); }
.back:hover { color: var(--ink); text-decoration: none; }

/* content */
main { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 90px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 6vw, 46px); letter-spacing: -.02em; margin: 14px 0 8px; line-height: 1.1; }
h1 .grad { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.updated { color: var(--faint); font-size: 14px; margin: 0 0 6px; }
.lead { color: var(--muted); font-size: 17px; margin: 18px 0 8px; }
h2 { font-family: var(--display); font-weight: 600; font-size: 23px; letter-spacing: -.01em; margin: 46px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
h3 { font-family: var(--display); font-weight: 600; font-size: 17px; margin: 26px 0 8px; }
p { margin: 0 0 16px; color: #D9D3EC; }
ul { margin: 0 0 18px; padding-left: 22px; }
li { margin: 8px 0; color: #D9D3EC; }
li::marker { color: var(--magenta); }
strong { color: var(--ink); font-weight: 600; }

.callout { border: 1px solid rgba(224,69,126,.3); background: linear-gradient(155deg, rgba(124,58,237,.08), rgba(224,69,126,.05)); border-radius: 16px; padding: 18px 20px; margin: 24px 0; color: var(--muted); font-size: 15px; }
.callout strong { color: var(--ink); }

.toc { border: 1px solid var(--line); background: var(--glass); border-radius: 16px; padding: 20px 24px; margin: 28px 0 36px; }
.toc h4 { margin: 0 0 12px; font-family: var(--display); font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.toc ul { columns: 2; column-gap: 30px; padding-left: 18px; margin: 0; }
.toc li { margin: 6px 0; }
.toc a { color: var(--muted); font-size: 14px; }
.toc a:hover { color: var(--ink); }

footer { position: relative; z-index: 2; border-top: 1px solid var(--line); }
footer .inner { max-width: var(--maxw); margin: 0 auto; padding: 30px 24px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
footer p { margin: 0; color: var(--faint); font-size: 13px; }
footer .links { display: flex; gap: 22px; }
footer .links a { color: var(--muted); font-size: 13px; }

@media (max-width: 560px) { .toc ul { columns: 1; } }
