/* Zylink Corp — shared legal/docs stylesheet
   Matches the existing zylinkcorp.com.ng dark purple theme */
:root {
  --purple: #7c3aed;
  --cyan: #06b6d4;
  --light-cyan: #88e0ed;
  --green: #10b981;
  --bg: #0f0a1a;
  --bg-2: #1a0f2e;
  --bg-3: #261540;
  --black: #08060f;
  --white: #ffffff;
  --muted: #a1a1aa;
  --muted-2: #52525b;
  --border: rgba(255,255,255,0.08);
  --surface: rgba(255,255,255,0.03);
  --max-w: 880px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.15), transparent),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(6, 182, 212, 0.08), transparent);
  background-attachment: fixed;
}
a { color: var(--light-cyan); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--white); }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ─── Header / Nav ─── */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 10, 26, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; letter-spacing: -0.02em;
  color: var(--white);
}
.brand-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.nav-links { display: flex; gap: 20px; flex-wrap: wrap; }
.nav-links a { font-size: 14px; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--white); }

/* ─── Hero (compact for legal pages) ─── */
.hero {
  padding: 60px 0 30px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800; letter-spacing: -0.025em;
  background: linear-gradient(135deg, var(--white), var(--light-cyan));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.hero p {
  color: var(--muted); font-size: 16px;
  max-width: 580px; margin: 0 auto;
}
.hero .updated {
  display: inline-block; margin-top: 18px;
  font-size: 12px; color: var(--muted-2);
  padding: 4px 10px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 100px;
}

/* ─── Content ─── */
.content {
  padding: 24px 0 80px;
}
.content section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.content section:last-child { border-bottom: none; }
.content h2 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--white);
  display: flex; align-items: center; gap: 10px;
}
.content h2 .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  border-radius: 8px; font-size: 13px; font-weight: 700; color: var(--white);
}
.content h3 {
  font-size: 16px; font-weight: 600;
  margin: 18px 0 8px; color: var(--white);
}
.content p { color: var(--muted); margin-bottom: 12px; }
.content ul, .content ol {
  margin: 0 0 12px 24px; color: var(--muted);
}
.content li { margin-bottom: 6px; }
.content strong { color: var(--white); font-weight: 600; }
.content .callout {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 12px; padding: 16px 20px;
  margin: 16px 0;
}
.content .callout strong { color: var(--purple); }
.content a.email { color: var(--light-cyan); font-family: monospace; }

/* ─── Table of contents ─── */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 30px 0;
}
.toc-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--muted-2);
  margin-bottom: 10px;
}
.toc ol { margin: 0 0 0 20px; }
.toc a { color: var(--muted); font-size: 14px; }
.toc a:hover { color: var(--light-cyan); }

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0; margin-top: 60px;
  background: var(--black);
}
footer .container {
  display: flex; flex-direction: column; gap: 16px;
  align-items: center; text-align: center;
}
footer .footer-links {
  display: flex; gap: 20px; flex-wrap: wrap; justify-content: center;
  font-size: 13px;
}
footer .footer-links a { color: var(--muted); }
footer .footer-links a:hover { color: var(--white); }
footer .copyright {
  font-size: 12px; color: var(--muted-2);
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .content h2 { font-size: 18px; }
  .content h2 .num { width: 24px; height: 24px; font-size: 11px; }
}
