/* Shared styles for inner pages (privacy, terms, support) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #4f46e5;
  --brand-light: #818cf8;
  --bg: #060614;
  --bg2: #0d0d22;
  --surface: rgba(255,255,255,0.04);
  --surface2: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --radius: 12px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

code {
  font-family: 'Courier New', monospace;
  font-size: 0.88em;
  background: rgba(255,255,255,0.08);
  padding: 2px 7px;
  border-radius: 4px;
}

/* ── Nav ── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  background: rgba(6,6,20,0.8);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.nav-brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav-brand span { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -0.5px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ── Page Header ── */
.page-header {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(79,70,229,0.07) 0%, transparent 100%);
}
.page-header .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 12px;
}
.page-header h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}
.page-header .subtitle { font-size: 15px; color: var(--muted); }

/* ── Container ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Content Layout ── */
.content-container {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  padding-top: 56px;
  padding-bottom: 80px;
  align-items: start;
}
@media (max-width: 768px) {
  .content-container { grid-template-columns: 1fr; }
  .toc { display: none; }
}

/* ── TOC ── */
.toc {
  position: sticky;
  top: 80px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 24px;
}
.toc h3 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc ol { padding-left: 16px; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color .2s; }
.toc a:hover { color: var(--text); }

/* ── Article Content ── */
.content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-top: 48px;
  margin-bottom: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 80px;
}
.content h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.content h3 { font-size: 16px; font-weight: 700; margin-top: 24px; margin-bottom: 10px; color: var(--brand-light); }
.content p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.content strong { color: var(--text); }
.content a { color: var(--brand-light); }
.content ul, .content ol { padding-left: 20px; margin-bottom: 14px; }
.content li { font-size: 15px; color: var(--muted); margin-bottom: 8px; line-height: 1.6; }

.content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 14px;
}
.content th {
  text-align: left;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.content td {
  padding: 12px 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.6;
}
.content tr:last-child td { border-bottom: none; }
.content td:first-child { color: var(--text); font-weight: 500; white-space: nowrap; }

/* ── Callouts ── */
.callout {
  padding: 16px 20px;
  border-radius: 10px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.6;
}
.callout-info {
  background: rgba(79,70,229,0.1);
  border: 1px solid rgba(79,70,229,0.25);
  color: var(--muted);
}
.callout-warning {
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.25);
  color: var(--muted);
}
.callout strong { display: block; margin-bottom: 6px; color: var(--text); }

.check-list { list-style: none !important; padding-left: 0 !important; }
.check-list li { padding: 6px 0; }

/* ── Footer ── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}
.footer-brand img { width: 24px; height: 24px; border-radius: 5px; }
.footer-brand span { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 16px; }
.footer-links { display: flex; align-items: center; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted); font-size: 13px; }
