/* aldox-shared.css — shared styles for all support/legal pages */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

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

:root {
  --c-bg: #04060F;
  --c-bg2: #080D1C;
  --c-bg3: #0C1228;
  --c-accent: #00E5FF;
  --c-accent2: #7B5CFA;
  --c-text: #F0F4FF;
  --c-muted: #8A93B2;
  --c-border: rgba(255,255,255,0.07);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  background: rgba(4,6,15,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-back {
  color: var(--c-muted);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.nav-back:hover { color: var(--c-accent); }

/* PAGE HERO */
.page-hero {
  background: var(--c-bg2);
  border-bottom: 1px solid var(--c-border);
  padding: 3.5rem 5%;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 300px;
  background: rgba(0,229,255,.05);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-accent);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.page-tag::before {
  content: '';
  display: inline-block;
  width: 16px; height: 1px;
  background: var(--c-accent);
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: .75rem;
}
.page-date {
  color: var(--c-muted);
  font-size: .85rem;
}

/* CONTENT */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 5%;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin: 2.5rem 0 .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--c-border);
}
.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  color: var(--c-muted);
  margin-bottom: 1rem;
  font-size: .95rem;
  line-height: 1.8;
}

.legal-content ul, .legal-content ol {
  color: var(--c-muted);
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  font-size: .95rem;
  line-height: 1.8;
}
.legal-content li { margin-bottom: .3rem; }

.legal-content a { color: var(--c-accent); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

.legal-content strong { color: var(--c-text); font-weight: 600; }

.highlight-box {
  background: rgba(0,229,255,.05);
  border: 1px solid rgba(0,229,255,.15);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.highlight-box p { margin: 0; color: var(--c-text); font-size: .9rem; }

/* TOC */
.toc {
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.toc h3 {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-muted);
  margin-bottom: .75rem;
}
.toc ol { padding-left: 1.25rem; }
.toc li { margin-bottom: .3rem; }
.toc a { color: var(--c-muted); text-decoration: none; font-size: .88rem; transition: color .2s; }
.toc a:hover { color: var(--c-accent); }

/* FOOTER */
footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  padding: 2rem 5%;
  text-align: center;
}
.footer-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-inner p { color: var(--c-muted); font-size: .82rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: var(--c-muted); text-decoration: none; font-size: .82rem; transition: color .2s; }
.footer-links a:hover { color: var(--c-accent); }

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; text-align: center; }
}
