/* VPSEO — shared site styles */
:root {
  --brand: #0F4C81;
  --brand-dark: #0a3555;
  --teal: #17b5a1;
  --teal-dark: #109383;
  --accent: #F59E0B;
  --gray-900: #0f172a;
  --gray-700: #334155;
  --gray-500: #64748b;
  --gray-300: #cbd5e1;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Site header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 14px 0;
  position: sticky; top: 0; z-index: 40;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}
.site-header .wrap {
  max-width: 1160px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.site-header a.brand {
  display: flex; align-items: center; gap: 12px;
  color: var(--brand); font-weight: 800; text-decoration: none; font-size: 18px;
}
.site-header a.brand:hover { text-decoration: none; }
.site-header .brand-logo {
  width: 46px; height: 46px; border-radius: 9px;
  box-shadow: 0 2px 5px rgba(15, 76, 129, .16);
  object-fit: cover;
}
.site-header .brand-text .brand-name { font-weight: 800; color: var(--brand); font-size: 18px; line-height: 1; }
.site-header .brand-text .brand-tag { font-size: 11px; color: var(--gray-500); text-transform: uppercase; letter-spacing: .4px; margin-top: 2px; }
.site-header nav.primary { display: flex; align-items: center; gap: 22px; }
.site-header nav.primary a {
  color: var(--gray-700); font-weight: 500; font-size: 14px;
}
.site-header nav.primary a:hover { color: var(--brand); text-decoration: none; }
.site-header nav.primary a.cta {
  background: var(--teal); color: var(--white); padding: 10px 18px; border-radius: 8px;
  font-weight: 700;
}
.site-header nav.primary a.cta:hover { background: var(--teal-dark); color: var(--white); }

/* Hamburger toggle — hidden on desktop, shown on mobile.
   Uses the checkbox-hack pattern for a JS-free dropdown. */
.nav-toggle-check { display: none; }
.nav-toggle-btn {
  display: none;
  cursor: pointer;
  padding: 8px 12px;
  font-size: 22px;
  line-height: 1;
  color: var(--brand);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  background: var(--white);
  user-select: none;
}
.nav-toggle-btn:hover { background: var(--gray-100); }

@media (max-width: 720px) {
  .site-header .brand-text .brand-tag { display: none; }
  .nav-toggle-btn { display: inline-flex; align-items: center; justify-content: center; }
  .site-header .wrap { flex-wrap: wrap; }
  .site-header nav.primary {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 4px;
    margin-top: 12px;
    border-top: 1px solid var(--gray-100);
  }
  .site-header nav.primary a {
    display: block;
    padding: 14px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--gray-100);
  }
  .site-header nav.primary a:last-child { border-bottom: none; }
  .site-header nav.primary a.cta {
    text-align: center;
    margin-top: 10px;
    padding: 14px 18px;
  }
  .nav-toggle-check:checked ~ nav.primary { display: flex; }
  .nav-toggle-check:checked ~ .nav-toggle-btn { background: var(--gray-100); }
}

/* ---------- Layout ---------- */
.container { max-width: 900px; margin: 0 auto; padding: 40px 20px 80px; }
.container-wide { max-width: 1160px; margin: 0 auto; padding: 40px 20px 80px; }

.eyebrow { text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px;
  color: var(--teal-dark); font-weight: 700; margin-bottom: 10px; }

h1 { font-size: 40px; line-height: 1.15; color: var(--brand); margin: 6px 0 18px 0; letter-spacing: -.5px; }
h2 { font-size: 26px; line-height: 1.25; color: var(--brand); margin: 34px 0 12px 0; letter-spacing: -.3px; }
h3 { font-size: 19px; line-height: 1.3; color: var(--gray-900); margin: 24px 0 8px 0; }
p { margin: 0 0 14px 0; font-size: 17px; color: var(--gray-700); }
ul, ol { margin: 0 0 16px 0; padding-left: 22px; }
li { margin-bottom: 6px; color: var(--gray-700); font-size: 17px; }
li strong { color: var(--gray-900); }
strong { color: var(--gray-900); font-weight: 700; }
em { color: var(--gray-500); }

.lede { font-size: 20px; color: var(--gray-700); margin-bottom: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 10px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  transition: background 120ms ease, transform 60ms ease;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); text-decoration: none; transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--brand); border: 2px solid var(--brand); }
.btn-secondary:hover { background: var(--brand); color: var(--white); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #0a3555 0%, #0F4C81 55%, #12608c 100%);
  color: var(--white);
  padding: 70px 0 60px 0;
}
.hero .wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; text-align: center; }
.hero .tagline-pill {
  display: inline-block; background: rgba(23, 181, 161, .18);
  color: #7dd6c5; border: 1px solid rgba(23, 181, 161, .5);
  padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
  letter-spacing: .4px; text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 { color: var(--white); font-size: 46px; margin: 0 0 16px 0; letter-spacing: -.6px; }
.hero p.lede { color: rgba(255, 255, 255, .88); font-size: 20px; max-width: 820px; margin: 0 auto 30px auto; }
.hero p.lede strong { color: var(--white); }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .cta-row .btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.hero .cta-row .btn-secondary:hover { background: rgba(255,255,255,.12); color: var(--white); }

@media (max-width: 640px) { .hero h1 { font-size: 32px; } .hero p.lede { font-size: 17px; } }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 30px 0; }
.feature-card {
  background: var(--gray-50); border: 1px solid var(--gray-100);
  border-radius: 12px; padding: 22px;
  display: block; color: inherit; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
a.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  border-color: var(--brand);
  text-decoration: none;
}
.feature-card h3 { margin-top: 0; color: var(--brand); font-size: 18px; }
.feature-card p { font-size: 15px; margin-bottom: 0; }

/* ---------- Pricing cards ---------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 24px 0; }
.pricing-card {
  background: var(--white); border: 1px solid var(--gray-300);
  border-radius: 12px; padding: 24px 22px; display: flex; flex-direction: column;
}
.pricing-card.popular { border-color: var(--teal); border-width: 2px; position: relative; }
.pricing-card.popular::before {
  content: "MOST POPULAR"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: var(--white); padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
}
.pricing-card h3 { margin: 0 0 6px 0; color: var(--brand); font-size: 20px; }
.pricing-card .price { font-size: 36px; font-weight: 800; color: var(--gray-900); margin: 8px 0 4px 0; }
.pricing-card .price small { font-size: 14px; font-weight: 500; color: var(--gray-500); }
.pricing-card .blurb { font-size: 14px; color: var(--gray-500); font-style: italic; margin-bottom: 14px; }
.pricing-card ul { list-style: none; padding: 0; margin: 12px 0 18px 0; }
.pricing-card ul li { position: relative; padding-left: 22px; font-size: 14px; margin-bottom: 8px; color: var(--gray-700); }
.pricing-card ul li::before {
  content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700;
}
.pricing-card .btn { margin-top: auto; text-align: center; }

/* ---------- Callouts ---------- */
.callout {
  background: #FEF3C7; border-left: 4px solid var(--accent);
  padding: 16px 20px; border-radius: 6px; margin: 20px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: #92400E; }

.callout.teal {
  background: #ECFDF5; border-left-color: var(--teal); }
.callout.teal strong { color: var(--teal-dark); }

/* ---------- Big CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, #12608c 100%);
  color: var(--white); padding: 50px 20px; text-align: center; margin: 50px 0 0 0;
}
.cta-band h2 { color: var(--white); margin: 0 0 12px 0; }
.cta-band p { color: rgba(255,255,255,.88); font-size: 17px; margin: 0 auto 22px auto; max-width: 640px; }
.cta-band .btn-primary { background: var(--teal); }
.cta-band .btn-primary:hover { background: #10a291; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a1f33; color: rgba(255,255,255,.7); padding: 40px 20px 24px 20px;
}
.site-footer .wrap { max-width: 1160px; margin: 0 auto; }
.site-footer .cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px;
}
.site-footer h4 { color: var(--white); margin: 0 0 12px 0; font-size: 14px; text-transform: uppercase; letter-spacing: .6px; }
.site-footer a { color: rgba(255,255,255,.7); text-decoration: none; display: block; padding: 4px 0; font-size: 14px; }
.site-footer a:hover { color: var(--teal); }
.site-footer p { color: rgba(255,255,255,.6); font-size: 14px; margin: 0 0 8px 0; }
.site-footer .brand-mini { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.site-footer .brand-mini img { width: 40px; height: 40px; border-radius: 8px; }
.site-footer .brand-mini span { font-weight: 800; color: var(--white); font-size: 16px; }
.site-footer .legal-row {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: rgba(255,255,255,.5);
}
@media (max-width: 720px) {
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- Prose helpers ---------- */
.prose h2:first-child { margin-top: 0; }
.prose blockquote {
  border-left: 3px solid var(--teal); padding: 4px 0 4px 20px; margin: 20px 0;
  color: var(--gray-700); font-style: italic;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--gray-50); border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100);
  padding: 20px; text-align: center; font-size: 14px; color: var(--gray-500);
}
.trust-bar strong { color: var(--gray-900); }

/* ---------- TL;DR summary block (homepage hero) ---------- */
.tldr {
  background: linear-gradient(135deg, rgba(20,184,166,.08), rgba(20,184,166,.02));
  border-left: 4px solid var(--teal);
  padding: 16px 20px; margin: 20px auto 24px; max-width: 720px;
  border-radius: 8px; color: var(--gray-800); font-size: 16px; line-height: 1.55;
}
.tldr strong { color: #5eead4; font-weight: 600; }

/* ---------- FAQ block (homepage) ---------- */
.faq-block { display: flex; flex-direction: column; gap: 12px; margin: 20px 0 32px; }
.faq-item {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: 10px;
  padding: 4px 20px; transition: border-color .15s;
}
.faq-item[open] { border-color: var(--teal); }
.faq-item > summary {
  list-style: none; cursor: pointer; padding: 14px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+"; font-size: 22px; color: var(--teal); font-weight: 600;
  transition: transform .2s;
}
.faq-item[open] > summary::after { content: "−"; }
.faq-item > summary h3 {
  margin: 0; font-size: 17px; color: var(--gray-900); font-weight: 600; line-height: 1.35;
}
.faq-item p { margin: 0 0 16px 0; color: var(--gray-700); line-height: 1.6; }

/* ---------- Author / E-E-A-T card ---------- */
.author-card {
  display: flex; gap: 24px; align-items: flex-start;
  background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 12px;
  padding: 24px; margin: 20px 0 24px;
}
.author-avatar img {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.author-name {
  font-weight: 700; color: var(--gray-900); font-size: 17px; margin-bottom: 8px;
}
.author-bio { margin: 0 0 12px 0; color: var(--gray-800); line-height: 1.6; }
.author-credentials { margin: 0 0 16px 0; color: var(--gray-600); font-size: 14px; }
.author-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
.author-links a { color: var(--teal); text-decoration: none; font-weight: 600; }
.author-links a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .author-card { flex-direction: column; align-items: center; text-align: center; }
  .author-links { justify-content: center; }
}

.established-line {
  text-align: center; color: var(--gray-600); font-size: 15px;
  padding: 20px 0; margin: 0; border-top: 1px solid var(--gray-100);
}
.established-line strong { color: var(--gray-900); }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px; margin: 20px 0 28px;
}
.testimonial-card {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: 12px;
  padding: 28px 26px; display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.03); position: relative;
}
.testimonial-card::before {
  content: "\201C"; position: absolute; top: 6px; left: 18px;
  font-family: Georgia, serif; font-size: 64px; line-height: 1;
  color: var(--teal); opacity: .18;
}
.testimonial-quote {
  color: var(--gray-800); font-size: 16px; line-height: 1.65;
  margin: 0; padding-top: 6px; font-style: italic;
}
.testimonial-attribution {
  display: flex; flex-direction: column; gap: 2px;
  border-top: 1px solid var(--gray-100); padding-top: 14px;
}
.testimonial-name {
  font-weight: 700; color: var(--gray-900); font-size: 15px;
}
.testimonial-role {
  color: var(--gray-600); font-size: 14px;
}
.testimonial-link {
  color: var(--teal); font-size: 13px; text-decoration: none; margin-top: 4px;
}
.testimonial-link:hover { text-decoration: underline; }
.testimonial-more-row {
  text-align: center; margin: 8px 0 24px;
}
.testimonial-more-row a {
  color: var(--teal); text-decoration: none; font-weight: 600; font-size: 15px;
}
.testimonial-more-row a:hover { text-decoration: underline; }

/* ---------- Scan-results First Fix upsell footer ---------- */
.top-fix .fix-upsell {
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed rgba(20,184,166,.35);
  font-size: 13px; color: var(--gray-600);
}
.top-fix .fix-upsell .upsell-label { font-weight: 600; color: var(--gray-700); }
.top-fix .fix-upsell a {
  color: var(--teal); text-decoration: none; font-weight: 600;
  padding: 4px 10px; border-radius: 6px; background: rgba(20,184,166,.08);
  transition: background .15s;
}
.top-fix .fix-upsell a:hover { background: rgba(20,184,166,.16); text-decoration: none; }
