/* PrimeDocu — Legal Pages Shared Stylesheet
   Served at /legal/style.css; referenced by all four legal HTML pages.
   Matches the PrimeDocu brand palette without any framework dependency. */

:root {
  --navy:   #0B1F3A;
  --gold:   #D4A843;
  --bg:     #F5F7FC;
  --border: #E2E6F0;
  --text:   #1A2B4A;
  --muted:  #8896B0;
}

*, *::before, *::after { 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(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ─────────────────────────────────────────────────────────────── */

nav {
  background: var(--navy);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  text-decoration: none;
  letter-spacing: -0.3px;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}

.nav-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-link.active { background: rgba(255,255,255,.12); color: #fff; }

.nav-cta {
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  padding: 7px 16px;
  border-radius: 8px;
  white-space: nowrap;
  transition: opacity .15s;
}

.nav-cta:hover { opacity: .9; }

/* ── Main content ────────────────────────────────────────────────────────────── */

main {
  max-width: 740px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.page-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--border);
}

h1 {
  font-size: 30px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.6px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.effective {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

h2 {
  font-size: 17px;
  font-weight: 900;
  color: var(--navy);
  margin: 36px 0 10px;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  margin: 20px 0 8px;
  letter-spacing: -0.1px;
}

p {
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--text);
}

ul {
  margin: 4px 0 14px 0;
  padding-left: 0;
  list-style: none;
}

li {
  font-size: 15px;
  margin-bottom: 7px;
  color: var(--text);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

li::before {
  content: '•';
  color: var(--gold);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.callout {
  background: #FFF8E1;
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin: 16px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.55;
}

/* ── Footer ──────────────────────────────────────────────────────────────────── */

footer {
  background: var(--navy);
  padding: 28px 24px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 14px;
}

.footer-links a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color .15s;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  color: rgba(255,255,255,.35);
  font-size: 12px;
  margin: 0;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */

@media (max-width: 620px) {
  nav      { padding: 12px 16px; }
  main     { padding: 32px 16px 64px; }
  h1       { font-size: 24px; }
  h2       { font-size: 15px; margin-top: 28px; }
  .nav-links { display: none; }  /* show only logo + CTA on tiny screens */
}
