:root {
  --aurora-1: #67e8f9;
  --aurora-2: #a78bfa;
  --aurora-3: #f0abfc;
  --aurora-4: #fbbf24;
  --aurora-5: #34d399;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-bg-strong: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.15);
  --text: #f1f5f9;
  --text-bright: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);
  --cyan: #67e8f9;
  --cyan-bright: #67e8f9;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  background: #0a0a14;
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.04; mix-blend-mode: overlay;
}
.aurora-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.45; }
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, var(--aurora-1), transparent 60%); top: -150px; left: -150px; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, var(--aurora-2), transparent 60%); top: 20%; right: -150px; }
.orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, var(--aurora-3), transparent 60%); bottom: 20%; left: 20%; opacity: 0.3; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 10; }

nav { position: sticky; top: 16px; z-index: 100; margin: 16px auto 0; max-width: 1100px; padding: 0 16px; }
nav .container {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 12px 12px 12px 24px !important;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1100px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 8px 32px rgba(0,0,0,0.15);
}
.logo { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.04em; color: var(--text-bright); display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: #0a1228 url('/img/logo-mark.webp') center / 22px 22px no-repeat;
  box-shadow: 0 0 16px rgba(110, 168, 255, 0.25), inset 0 0 0 1px rgba(110, 168, 255, 0.30);
  flex-shrink: 0;
}
.logo-text { display: flex; align-items: baseline; gap: 0; }
.logo-text .ai { background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.logo-text .tld { color: var(--text-muted); font-weight: 500; margin-left: 1px; }
.nav-cta {
  background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2));
  color: #0a0a14; padding: 10px 20px; border-radius: 100px;
  font-weight: 700; text-decoration: none; font-size: 0.85rem;
  box-shadow: 0 4px 24px rgba(103, 232, 249, 0.4);
  transition: all 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 32px rgba(103, 232, 249, 0.5); }

.legal-hero { padding: 80px 0 40px; }
.legal-hero .meta {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 500;
  margin-bottom: 24px;
  padding: 6px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
}
.legal-hero .meta::before {
  content: ''; width: 6px; height: 6px;
  background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2));
  border-radius: 50%; box-shadow: 0 0 10px var(--aurora-1);
}
.legal-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; color: var(--text-bright); margin-bottom: 16px; }
.legal-hero .updated { color: var(--text-muted); font-size: 0.92rem; }

.legal-content { padding: 40px 0 100px; }
.legal-content > .container {
  background: var(--glass-bg);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 16px 60px rgba(0,0,0,0.2);
  padding: 56px 48px !important;
}
.legal-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--text-bright); letter-spacing: -0.02em; margin: 48px 0 16px; padding-top: 24px; border-top: 1px solid var(--glass-border); }
.legal-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-bright); margin: 28px 0 12px; }
.legal-content p { color: var(--text-dim); margin-bottom: 16px; font-size: 0.97rem; }
.legal-content p strong { color: var(--text-bright); font-weight: 600; }
.legal-content ul, .legal-content ol { color: var(--text-dim); margin: 12px 0 20px 24px; }
.legal-content li { margin-bottom: 8px; font-size: 0.97rem; }
.legal-content a { color: var(--aurora-1); text-decoration: none; border-bottom: 1px solid rgba(103, 232, 249, 0.3); transition: all 0.2s; }
.legal-content a:hover { border-bottom-color: var(--aurora-1); }
.legal-content .toc { padding: 24px 28px; border: 1px solid var(--glass-border); border-radius: 18px; background: rgba(255, 255, 255, 0.04); margin-bottom: 48px; backdrop-filter: blur(20px); }
.legal-content .toc h4 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aurora-1); font-weight: 600; margin-bottom: 16px; }
.legal-content .toc ol { margin: 0; padding-left: 20px; }
.legal-content .toc li { margin-bottom: 6px; font-size: 0.93rem; }
.legal-content .toc a { border-bottom: none; color: var(--text-dim); }
.legal-content .toc a:hover { color: var(--aurora-1); }
.legal-content .info-box {
  padding: 20px 24px;
  border: 1px solid rgba(103, 232, 249, 0.3);
  background: linear-gradient(135deg, rgba(103, 232, 249, 0.08), rgba(167, 139, 250, 0.05));
  border-radius: 16px;
  margin: 24px 0;
  backdrop-filter: blur(20px);
}
.legal-content .info-box p { margin-bottom: 8px; color: var(--text); }
.legal-content .info-box p:last-child { margin-bottom: 0; }
.legal-content code { background: rgba(103, 232, 249, 0.1); border: 1px solid rgba(103, 232, 249, 0.2); padding: 2px 8px; border-radius: 6px; font-size: 0.85em; color: var(--cyan-bright); }
.legal-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.92rem; }
.legal-content th, .legal-content td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--glass-border); }
.legal-content th { color: var(--cyan-bright); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.legal-content td { color: var(--text-dim); }
.legal-content td:first-child { color: var(--text-bright); font-weight: 500; }

footer { padding: 48px 0 40px; }
footer .container {
  background: var(--glass-bg);
  backdrop-filter: blur(40px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 40px 32px !important;
  max-width: 1100px !important;
}
footer .grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
footer .col h5 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan-bright); margin-bottom: 16px; }
footer a, footer p { color: var(--text-dim); text-decoration: none; display: block; padding: 4px 0; font-size: 0.9rem; }
footer a:hover { color: var(--text-bright); }
.footer-bottom { padding-top: 24px; margin-top: 32px; border-top: 1px solid var(--glass-border); color: var(--text-muted); font-size: 0.82rem; text-align: center; }
