/* ─────────────────────────────────────────────────────────────────────────────
   PrimeDocu — Shared Marketing CSS
   Used by: /features/*, /blog/*
   Brand: navy #0B1F3A · gold #C9972B · teal #18A7A7
   ───────────────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  color: #111827;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Variables ────────────────────────────────────────────────────────────── */
:root {
  --navy:  #0B1F3A;
  --deep:  #071528;
  --gold:  #C9972B;
  --teal:  #18A7A7;
  --purple:#7C3AED;
  --bg:    #F8F9FB;
  --text:  #111827;
  --muted: #6B7280;
  --bdr:   #E5E7EB;
}

/* ── Navigation ───────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid #F3F4F6;
  height: 64px;
  padding: 0 24px;
  display: flex; align-items: center; gap: 6px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  margin-right: auto;
}
.nav-logo-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  flex-shrink: 0;
}
.nav-logo-text {
  font-size: 18px; font-weight: 900; color: var(--navy); letter-spacing: -0.3px;
}
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--text);
  padding: 6px 12px; border-radius: 6px; transition: background .15s;
}
.nav-links a:hover { background: #F3F4F6; }
.nav-signin {
  font-size: 14px; font-weight: 700; color: var(--navy);
  padding: 8px 16px; border-radius: 8px; transition: background .15s;
}
.nav-signin:hover { background: #F3F4F6; }
.nav-cta {
  display: inline-block;
  font-size: 14px; font-weight: 800; color: #fff;
  background: var(--navy);
  padding: 9px 20px; border-radius: 8px;
  transition: opacity .15s;
}
.nav-cta:hover { opacity: .88; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--deep) 0%, var(--navy) 100%);
  padding: 80px 24px;
  text-align: center;
}
.hero-inner { max-width: 780px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(201,151,43,.12);
  border: 1px solid rgba(201,151,43,.35);
  color: var(--gold);
  font-size: 12px; font-weight: 700; letter-spacing: 0.2px;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900; color: #fff;
  letter-spacing: -1px; line-height: 1.1; margin-bottom: 16px;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 17px);
  color: rgba(255,255,255,.72);
  max-width: 580px; margin: 0 auto 36px; line-height: 1.65;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy);
  font-size: 15px; font-weight: 800;
  padding: 14px 28px; border-radius: 10px; transition: opacity .15s;
}
.hero-cta:hover { opacity: .88; }
.hero-note { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 14px; }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section       { padding: 72px 24px; background: #fff; }
.section.alt   { background: var(--bg); }
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-label {
  display: block; text-align: center;
  font-size: 11px; font-weight: 900; letter-spacing: 2px;
  color: var(--teal); text-transform: uppercase; margin-bottom: 10px;
}
.section-title {
  text-align: center;
  font-size: clamp(22px, 3.5vw, 30px); font-weight: 900;
  color: var(--navy); letter-spacing: -0.5px; line-height: 1.2;
  margin-bottom: 10px;
}
.section-sub {
  text-align: center; font-size: 16px; color: var(--muted);
  max-width: 540px; margin: 0 auto 48px; line-height: 1.6;
}

/* ── Steps (How it works) ─────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: #fff; border: 1px solid #F3F4F6;
  border-radius: 16px; padding: 24px;
}
.step-num {
  width: 36px; height: 36px;
  background: var(--navy); color: #fff;
  border-radius: 10px; font-size: 16px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.step p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Benefits grid ────────────────────────────────────────────────────────── */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.benefit {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid #F3F4F6;
  border-radius: 14px; padding: 20px;
}
.benefit-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.benefit h3 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.benefit p  { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid #F3F4F6;
  border-radius: 14px; padding: 20px 24px;
}
.faq-item h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.faq-item p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── CTA strip ────────────────────────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, var(--deep) 0%, var(--navy) 100%);
  padding: 72px 24px; text-align: center;
}
.cta-strip h2 {
  font-size: clamp(22px, 3.5vw, 32px); font-weight: 900;
  color: #fff; letter-spacing: -0.5px; margin-bottom: 12px;
}
.cta-strip p { color: rgba(255,255,255,.65); font-size: 16px; margin-bottom: 32px; line-height: 1.6; }

/* ── Breadcrumb ───────────────────────────────────────────────────────────── */
.breadcrumb {
  background: var(--bg); border-bottom: 1px solid var(--bdr);
  padding: 10px 24px;
  font-size: 13px; color: var(--muted);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--teal); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--bdr); }

/* ── Blog listing ─────────────────────────────────────────────────────────── */
.blog-hero {
  background: linear-gradient(135deg, var(--deep) 0%, var(--navy) 100%);
  padding: 60px 24px; text-align: center;
}
.blog-hero h1 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 900;
  color: #fff; letter-spacing: -0.8px; margin-bottom: 12px;
}
.blog-hero p { color: rgba(255,255,255,.65); font-size: 16px; }
.blog-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 1000px; margin: 0 auto;
}
.blog-card {
  background: #fff; border: 1px solid var(--bdr);
  border-radius: 16px; overflow: hidden;
  transition: box-shadow .2s; display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.blog-card-body { padding: 24px; flex: 1; }
.blog-tag {
  display: inline-block;
  background: rgba(24,167,167,.1); color: var(--teal);
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 3px 10px; border-radius: 6px; margin-bottom: 12px;
  text-transform: uppercase;
}
.blog-card h2 {
  font-size: 18px; font-weight: 800; color: var(--navy);
  line-height: 1.3; margin-bottom: 10px;
}
.blog-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.blog-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--bdr);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--muted);
}
.blog-read-more {
  font-weight: 700; color: var(--teal);
}
.blog-read-more:hover { text-decoration: underline; }

/* ── Article (blog post) ──────────────────────────────────────────────────── */
.article-header {
  background: linear-gradient(135deg, var(--deep) 0%, var(--navy) 100%);
  padding: 64px 24px; text-align: center;
}
.article-header h1 {
  font-size: clamp(26px, 4vw, 42px); font-weight: 900;
  color: #fff; letter-spacing: -0.8px; line-height: 1.15; max-width: 800px; margin: 0 auto 16px;
}
.article-meta {
  font-size: 13px; color: rgba(255,255,255,.55);
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.article-body {
  max-width: 760px; margin: 56px auto 80px; padding: 0 24px;
}
.article-body h2 {
  font-size: clamp(20px, 2.5vw, 24px); font-weight: 800;
  color: var(--navy); letter-spacing: -0.3px;
  margin-top: 48px; margin-bottom: 16px;
}
.article-body h3 {
  font-size: 18px; font-weight: 800; color: var(--navy);
  margin-top: 28px; margin-bottom: 10px;
}
.article-body p  { font-size: 16px; color: #374151; line-height: 1.75; margin-bottom: 16px; }
.article-body ul, .article-body ol {
  padding-left: 24px; margin-bottom: 16px;
}
.article-body li { font-size: 16px; color: #374151; line-height: 1.75; margin-bottom: 6px; }
.article-body strong { color: var(--navy); font-weight: 700; }
.article-body a { color: var(--teal); font-weight: 600; }
.article-body a:hover { text-decoration: underline; }
.article-callout {
  background: rgba(24,167,167,.08); border-left: 3px solid var(--teal);
  border-radius: 0 10px 10px 0; padding: 16px 20px; margin: 24px 0;
  font-size: 15px; color: #374151; line-height: 1.7;
}
.comparison-table { width: 100%; border-collapse: collapse; margin: 24px 0 16px; font-size: 14px; }
.comparison-table th {
  background: var(--navy); color: #fff;
  padding: 12px 16px; text-align: left; font-weight: 700;
}
.comparison-table td { padding: 11px 16px; border-bottom: 1px solid var(--bdr); }
.comparison-table tr:nth-child(even) td { background: var(--bg); }
.comparison-table td:first-child { font-weight: 700; color: var(--navy); }
.check-green { color: #16a34a; font-weight: 700; }
.cross-red   { color: #dc2626; }
.article-cta {
  background: var(--navy); border-radius: 16px;
  padding: 32px; text-align: center; margin-top: 48px;
}
.article-cta h3 { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.article-cta p  { color: rgba(255,255,255,.65); font-size: 14px; margin-bottom: 20px; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  background: var(--deep); padding: 40px 24px; text-align: center;
}
/* Reset: the generic `nav` rule sets background:#fff + sticky positioning.
   footer nav must NOT inherit those styles. */
footer nav {
  position: static;
  background: transparent;
  border: none;
  height: auto;
  padding: 0;
}
.footer-logo {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 20px;
}
.footer-logo-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: block;
  object-fit: cover;
}
.footer-logo-text { font-size: 16px; font-weight: 900; color: #fff; }
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 20px; margin-bottom: 20px;
}
.footer-links a {
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.55); transition: color .15s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  .nav-links { display: none; }
  .hero, .blog-hero, .article-header { padding: 56px 20px; }
  .steps    { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .section  { padding: 56px 20px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
