/* ── NewLastName Site Styles ────────────────────────────────────
   Single stylesheet for all static marketing pages.
   Replaces inline <style> blocks that were extracted from WordPress.
   ──────────────────────────────────────────────────────────────── */

/* ── Reset & Base ──────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: #FAFAF8;
  color: #374151;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Newsreader', Georgia, serif; }
a { color: #1e73be; }
img { max-width: 100%; height: auto; }

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

.site-nav {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
}
.site-nav .logo {
  font-family: 'Newsreader', serif;
  font-size: 22px;
  font-weight: 700;
  color: #1A1A18;
  text-decoration: none;
}
.site-nav .nav-links { display: flex; gap: 24px; }
.site-nav .nav-links a { color: #6B6860; text-decoration: none; font-size: 15px; }
.site-nav .nav-links a:hover { color: #1A1A18; }
.site-nav .cta-btn {
  background: #1B2E4A;
  color: white;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.site-nav .cta-btn:hover { background: #253D63; }

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

.site-footer {
  max-width: 900px;
  margin: 60px auto 0;
  padding: 40px 24px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  color: #9C9889;
  font-size: 14px;
}
.site-footer a { color: #6B6860; text-decoration: none; }

/* ── Content Wrap (simple pages) ───────────────────────────── */

.content-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}
.content-wrap h1 { font-size: 2.2rem; margin-bottom: 1rem; color: #1A1A18; }
.content-wrap h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; color: #1A1A18; }
.content-wrap h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; color: #1A1A18; }
.content-wrap p { line-height: 1.7; margin-bottom: 1rem; }
.content-wrap ul, .content-wrap ol { margin: 0 0 1rem 1.5rem; line-height: 1.7; }
.content-wrap a { color: #1e73be; }

/* ── Entry Content (WP-extracted pages) ────────────────────── */
/* Scoped with :not(:has(.s-section)) so it does NOT affect
   designed/pillar pages that use the .s-* layout system. */

.entry-content:not(:has(.s-section)) {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  font-size: 17px;
  line-height: 1.7;
  color: #374151;
}

.entry-content:not(:has(.s-section)) h2 {
  font-size: 26px;
  font-weight: 600;
  margin-top: 48px;
  margin-bottom: 16px;
  color: #111827;
  line-height: 1.3;
}

.entry-content:not(:has(.s-section)) h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: #1f2937;
  line-height: 1.4;
}

.entry-content:not(:has(.s-section)) p {
  margin-bottom: 20px;
}

.entry-content:not(:has(.s-section)) ul,
.entry-content:not(:has(.s-section)) ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.entry-content:not(:has(.s-section)) li {
  margin-bottom: 8px;
}

.entry-content:not(:has(.s-section)) strong {
  font-weight: 600;
}

/* Tables */
.entry-content:not(:has(.s-section)) table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.entry-content:not(:has(.s-section)) table th {
  background: #f8fafc;
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid #e5e7eb;
  color: #374151;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.entry-content:not(:has(.s-section)) table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
}
.entry-content:not(:has(.s-section)) table tr:last-child td { border-bottom: none; }
.entry-content:not(:has(.s-section)) table tr:hover td { background: #f8fafc; }

/* Links */
.entry-content:not(:has(.s-section)) a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.entry-content:not(:has(.s-section)) a:hover { color: #1d4ed8; }

/* FAQ items */
.entry-content:not(:has(.s-section)) [itemtype*="Question"] h3 {
  font-size: 19px;
  margin-top: 28px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

/* ── Hero Sections ─────────────────────────────────────────── */

.s-hero {
  background: linear-gradient(180deg, #1a2b4b 0%, #243a63 100%);
  color: #fff;
  padding: 80px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.s-hero h1, .s-hero h2, .s-hero h3 { color: #ffffff !important; }
.s-hero h2 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.s-hero p {
  font-size: clamp(15px, 2vw, 19px);
  color: #bdd0f0 !important;
  margin: 0 auto 36px;
  max-width: 600px;
  line-height: 1.6;
}
.s-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  opacity: 0.15;
}

/* ── Buttons ───────────────────────────────────────────────── */

.s-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.s-btn-w {
  background: #fff;
  color: #1a2b4b !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.s-btn-w:hover { background: #f0f4ff; }
.s-btn-o {
  background: rgba(255,255,255,0.1);
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.3);
  margin-left: 12px;
}
.s-btn-o:hover { background: rgba(255,255,255,0.2); }

/* ── Trust Bar ─────────────────────────────────────────────── */

.s-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 36px;
  padding: 24px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.s-trust-i {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
}
.s-trust-c {
  width: 20px;
  height: 20px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* ── Sections & Titles ─────────────────────────────────────── */

.s-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 24px;
}
.s-section-alt { background: #f9fafb; }
.s-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: #111827;
}
.s-content {
  max-width: 780px;
  margin: 0 auto;
}

/* ── Steps Grid ────────────────────────────────────────────── */

.s-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  text-align: center;
}
.s-step-n {
  width: 48px;
  height: 48px;
  background: #2563eb;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.s-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111827;
}
.s-step p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* ── Email Signup Box ──────────────────────────────────────── */

.s-email-box {
  background: #fff;
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid #e5e7eb;
}
.s-email-box h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; color: #111827; }
.s-email-box p { font-size: 15px; color: #6b7280; margin-bottom: 24px; line-height: 1.6; }
.s-email-form { display: flex; gap: 8px; max-width: 400px; margin: 0 auto; }
.s-email-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border 0.2s;
}
.s-email-input:focus { border-color: #2563eb; }
.s-email-btn {
  background: #2563eb;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.s-email-btn:hover { background: #1d4ed8; }
.s-email-success { display: none; color: #16a34a; font-weight: 600; margin-top: 12px; font-size: 14px; }

/* ── Preview Cards ─────────────────────────────────────────── */

.s-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.s-preview-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  text-align: center;
}
.s-preview-card h3 { font-size: 17px; font-weight: 700; color: #111827; margin-bottom: 8px; }
.s-preview-card p { font-size: 14px; color: #6b7280; line-height: 1.5; }
.s-preview-icon { font-size: 32px; margin-bottom: 12px; }

/* ── Category Cards ────────────────────────────────────────── */

.s-cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.s-cat {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  color: #111827;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.2s;
}
.s-cat:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-color: #93c5fd; }
.s-cat-icon { background: #eff6ff; padding: 14px; border-radius: 10px; flex-shrink: 0; }
.s-cat-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: #f0f0f0;
  color: #6b7280;
}
.s-cat h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.s-cat p { font-size: 13px; color: #9ca3af; line-height: 1.5; margin: 0; }

/* ── State Pages ───────────────────────────────────────────── */

.s-states { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.s-related { margin-top: 48px; }
.s-cta-box {
  background: #1a2b4b;
  color: #fff;
  padding: 48px 32px;
  border-radius: 16px;
  text-align: center;
  margin-top: 48px;
}

/* ── Agencies ──────────────────────────────────────────────── */

.s-ag { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.s-ag-icon { flex-shrink: 0; }
.s-ag-meta { font-size: 13px; color: #9ca3af; }
.s-agencies-detail { margin-top: 24px; }

/* ── FAQ ───────────────────────────────────────────────────── */

.s-faq { max-width: 780px; margin: 0 auto; }
.s-faq-item {
  border-bottom: 1px solid #f1f5f9;
  padding: 20px 0;
}

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

@media (max-width: 768px) {
  .site-nav .nav-links { display: none; }

  .entry-content:not(:has(.s-section)) {
    padding: 24px 16px 40px;
    font-size: 16px;
  }
  .entry-content:not(:has(.s-section)) h2 { font-size: 22px; margin-top: 36px; }
  .entry-content:not(:has(.s-section)) h3 { font-size: 18px; margin-top: 24px; }
  .entry-content:not(:has(.s-section)) table { font-size: 14px; }
  .entry-content:not(:has(.s-section)) table th,
  .entry-content:not(:has(.s-section)) table td { padding: 10px 12px; }
}

@media (max-width: 640px) {
  .s-email-form { flex-direction: column; }
  .s-btn-o { margin-left: 0; margin-top: 12px; display: block; }
}
