/* Shared styles for legal/info pages (privacy, terms, support).
   Mirrors the landing page aesthetic. */

:root {
  --bg: #07060c;
  --bg-2: #0d0c14;
  --surface: #131119;
  --surface-2: #1a1822;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f3ff;
  --text-dim: #a8a3bd;
  --text-faint: #6b6786;
  --brand-grad: linear-gradient(135deg, #a855f7 0%, #6366f1 45%, #3b82f6 100%);
  --font-display: 'Geist', 'SF Pro Display', -apple-system, sans-serif;
  --font-body: 'Geist', 'SF Pro Text', -apple-system, sans-serif;
  --font-mono: 'Geist Mono', 'SF Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }
::selection { background: rgba(139, 92, 246, 0.4); color: white; }

/* Ambient glow */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient::before,
.ambient::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.4;
}
.ambient::before {
  width: 600px; height: 600px;
  top: -180px; left: -160px;
  background: radial-gradient(closest-side, #6d28d9, transparent 70%);
}
.ambient::after {
  width: 700px; height: 700px;
  top: 100px; right: -240px;
  background: radial-gradient(closest-side, #2563eb, transparent 70%);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 6, 12, 0.55);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 19px;
  text-decoration: none;
  color: var(--text);
}
.brand-logo {
  width: 34px; height: 34px;
  border-radius: 9px;
  object-fit: cover;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px;
  background: var(--brand-grad);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(139, 92, 246, 0.5); }

/* Page layout */
.page {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 28px 120px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--brand-grad);
}

h1.page-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 16px;
  text-wrap: balance;
}

.updated {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 48px;
}

.intro {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 40px;
  text-wrap: pretty;
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-top: 48px;
  margin-bottom: 14px;
  text-wrap: balance;
}
h2:first-of-type { margin-top: 0; }

p, li {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.65;
}
p { margin-bottom: 14px; }
p strong { color: var(--text); font-weight: 600; }

ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
li {
  padding-left: 24px;
  position: relative;
}
li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--brand-grad);
}
li strong { color: var(--text); font-weight: 600; }

a {
  color: #c4b5fd;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 181, 253, 0.3);
  transition: border-color 0.15s, color 0.15s;
}
a:hover { color: white; border-bottom-color: white; }

a.brand,
a.nav-cta,
.footer-links a {
  color: inherit;
  border-bottom: none;
}
.footer-links a:hover { border-bottom: none; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 56px 0 0;
}

.contact {
  margin-top: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 28px;
}
.contact .label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.contact p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 15px;
}

/* FAQ list (support page) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
}
.faq {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
  transition: border-color 0.2s;
}
.faq:hover { border-color: var(--border-strong); }
.faq-q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text);
}
.faq-a {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 28px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 14px;
}
.footer-inner .brand-mini {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-inner .brand-mini img {
  width: 22px; height: 22px; border-radius: 6px;
}
.footer-links {
  display: flex;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.footer-links a {
  color: var(--text-faint);
  border-bottom: none;
}
.footer-links a:hover { color: var(--text); }

@media (max-width: 560px) {
  .page { padding: 48px 20px 80px; }
  .nav-inner { padding: 14px 20px; }
  .brand { font-size: 17px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
