/* Investigator Privacy — Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --navy: #042C53;
  --navy-mid: #0C447C;
  --blue: #185FA5;
  --blue-light: #378ADD;
  --blue-pale: #E6F1FB;
  --blue-sub: #85B7EB;
  --text: #1e293b;
  --muted: #64748b;
  --light: #f0f4f8;
  --near-white: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-light); }

img { max-width: 100%; height: auto; }

/* ── HEADER ── */
header {
  background: var(--navy);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-title:hover { color: var(--blue-sub); }

nav { display: flex; gap: 1.75rem; align-items: center; }
nav a { color: var(--blue-sub); font-size: 0.9rem; font-weight: 500; transition: color 0.15s; }
nav a:hover, nav a.active { color: var(--white); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.2s; }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--navy);
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav a { color: var(--blue-sub); padding: 0.6rem 0; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--white); }
.mobile-nav.open { display: flex; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-light); border-color: var(--blue-light); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.1); }
.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-secondary:hover { background: var(--blue-pale); color: var(--navy); }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.section-label-light {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-sub);
  margin-bottom: 0.5rem;
}

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

/* ── HERO ── */
.hero {
  background: var(--navy-mid);
  padding: 5rem 1.5rem;
  text-align: center;
  color: var(--white);
}
.hero h1 { color: var(--white); margin-bottom: 1rem; max-width: 780px; margin-left: auto; margin-right: auto; }
.hero p { color: var(--blue-sub); max-width: 600px; margin: 0 auto 2rem; font-size: 1.05rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--near-white);
  padding: 3rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { color: var(--navy); margin-bottom: 0.75rem; }
.page-hero p { color: var(--muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ── CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.card-icon {
  width: 44px; height: 44px;
  background: var(--blue-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.card-icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { color: var(--text); margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.92rem; }

/* ── SERVICE CARDS ── */
.service-card {
  background: var(--light);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--blue);
}
.service-card.featured { border-left-color: var(--blue-light); background: var(--blue-pale); }
.service-card h2 { color: var(--blue); margin-bottom: 0.25rem; }
.service-card .best-for { text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; margin-bottom: 1rem; }
.service-card p { color: var(--text); margin-bottom: 1rem; }
.service-card h3 { color: var(--text); font-size: 1rem; margin: 1.25rem 0 0.5rem; }
.service-card ul { list-style: none; margin-bottom: 1rem; }
.service-card ul li { color: var(--muted); font-size: 0.92rem; padding: 0.25rem 0; }
.service-card ul li::before { content: '✓ '; color: var(--blue); font-weight: 700; }
.service-card ul li.no::before { content: '✗ '; color: #94a3b8; }
.pricing-line { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.25rem; }
.pricing-line strong { color: var(--text); }

/* ── COMPARISON TABLE ── */
.comparison-section { background: var(--blue-pale); }
.comparison-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.compare-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.75rem;
  border: 2px solid transparent;
  position: relative;
}
.compare-card.highlight { border-color: var(--blue-light); }
.compare-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue-light);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.compare-card h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 0.25rem; }
.compare-card .subtitle { color: var(--muted); font-size: 0.8rem; margin-bottom: 0.75rem; }
.compare-price { font-size: 1.6rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; }
.compare-price span { font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.compare-features { list-style: none; margin-bottom: 1.5rem; }
.compare-features li { font-size: 0.88rem; color: var(--muted); padding: 0.3rem 0; border-bottom: 1px solid var(--border); }
.compare-features li:last-child { border-bottom: none; }
.compare-features li::before { content: 'check '; color: var(--blue); font-weight: 700; }
.compare-features li.no::before { content: '✗ '; color: #cbd5e1; }
.compare-card .btn { width: 100%; text-align: center; }

/* ── TOOL CARDS ── */
.tool-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  text-decoration: none;
  transition: all 0.15s;
}
.tool-card:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(24,95,165,0.1); }
.tool-card-icon {
  width: 38px; height: 38px; min-width: 38px;
  background: var(--blue-pale);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.tool-card-icon svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tool-card h3 { color: var(--text); font-size: 0.95rem; margin-bottom: 0.25rem; }
.tool-card p { color: var(--muted); font-size: 0.82rem; }

/* ── BLOG ── */
.blog-section { background: var(--near-white); }
.blog-list { display: flex; flex-direction: column; gap: 0; }
.blog-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}
.blog-item:last-child { border-bottom: none; }
.blog-item a { color: var(--text); font-weight: 500; font-size: 0.97rem; text-decoration: none; }
.blog-item a:hover { color: var(--blue); }
.blog-item time { color: var(--muted); font-size: 0.82rem; white-space: nowrap; }

.post-content { max-width: 720px; margin: 0 auto; }
.post-content h2 { color: var(--navy); margin: 2rem 0 0.75rem; font-size: 1.4rem; }
.post-content h3 { color: var(--text); margin: 1.5rem 0 0.5rem; }
.post-content p { margin-bottom: 1.1rem; color: var(--text); line-height: 1.75; }
.post-content ul, .post-content ol { margin: 0.75rem 0 1.1rem 1.5rem; }
.post-content li { color: var(--text); line-height: 1.7; margin-bottom: 0.3rem; }
.post-meta { color: var(--muted); font-size: 0.88rem; margin-bottom: 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--navy);
  padding: 4rem 1.5rem;
  text-align: center;
  color: var(--white);
}
.cta-section h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-section p { color: var(--blue-sub); max-width: 520px; margin: 0 auto 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 3rem 1.5rem 2rem;
  color: var(--blue-sub);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand .site-title { display: block; margin-bottom: 0.75rem; font-size: 1rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; color: var(--blue-sub); }
.footer-col h4 { color: var(--white); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { color: var(--blue-sub); font-size: 0.88rem; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { color: var(--blue-sub); }
.footer-disclosure { font-size: 0.78rem; color: rgba(133,183,235,0.7); max-width: 1100px; margin: 0.75rem auto 0; }

/* ── ABOUT ── */
.about-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
.about-sidebar { background: var(--light); border-radius: 12px; padding: 1.75rem; }
.about-sidebar h4 { color: var(--blue); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.about-sidebar ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.5rem; }
.about-sidebar ul li { color: var(--text); font-size: 0.88rem; }
.about-sidebar ul li::before { content: '• '; color: var(--blue); }
.about-sidebar .skills-line { color: var(--muted); font-size: 0.85rem; line-height: 1.7; margin-bottom: 1.5rem; }
.about-sidebar .links a { display: block; color: var(--blue); font-size: 0.88rem; margin-bottom: 0.4rem; }
.about-main h2 { color: var(--navy); margin-bottom: 1rem; font-size: 1.5rem; }
.about-main p { color: var(--text); margin-bottom: 1rem; line-height: 1.75; }

/* ── BREADCRUMB ── */
.breadcrumb { padding: 0.75rem 0; font-size: 0.82rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 0.4rem; }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 1.25rem; }
  .section { padding: 2.5rem 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .tool-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── BLOG ARTICLES ── */
.page-hero-sub { color: var(--muted); font-size: 1.05rem; max-width: 650px; margin: 0.5rem auto 0; }

.blog-article { padding: 3rem 0 4rem; }
.blog-article .container-narrow { max-width: 760px; }

.blog-article p { margin-bottom: 1.5rem; line-height: 1.85; }
.blog-article h2 { font-size: 1.5rem; color: var(--navy); margin: 2.75rem 0 1rem; padding-top: 0.25rem; }
.blog-article h3 { font-size: 1.15rem; color: var(--navy); margin: 2rem 0 0.75rem; }
.blog-article ul, .blog-article ol { margin: 0.25rem 0 1.5rem 1.5rem; line-height: 1.85; }
.blog-article li { margin-bottom: 0.7rem; }
.blog-article li:last-child { margin-bottom: 0; }
.blog-article pre { background: var(--light); border-radius: 6px; padding: 1rem 1.25rem; overflow-x: auto; margin: 0 0 1.5rem; }
.blog-article pre code { background: none; padding: 0; font-size: 0.85em; line-height: 1.6; }
.blog-article code { background: var(--light); padding: 0.15em 0.4em; border-radius: 3px; font-size: 0.9em; font-family: monospace; }
.blog-article strong { color: var(--navy); }
.blog-article a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.blog-article a:hover { color: var(--navy); }

.post-cta { background: var(--blue-pale); border-left: 4px solid var(--blue); border-radius: 8px; padding: 1.75rem 2rem; margin: 3rem 0 0; }
.post-cta h3 { color: var(--navy); margin-bottom: 0.5rem; }
.post-cta p { color: var(--muted); margin-bottom: 1.25rem; }