/* Lead Leak Fix - site styles */

:root {
  --navy: #14223a;
  --navy-soft: #1f3454;
  --blue: #2563c9;
  --blue-dark: #1d4ea3;
  --ink: #1a2230;
  --slate: #51607a;
  --line: #dde3ec;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --bg-band: #14223a;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* NAV */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  z-index: 50;
}
.nav-logo {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--navy);
  text-decoration: none;
}
.nav-logo span { color: var(--blue); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  color: var(--slate);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--blue-dark); }

/* HERO */
.home-hero, .page-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 76px 0 64px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}
h1 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.lede {
  font-size: 19px;
  color: var(--slate);
  max-width: 640px;
  margin-bottom: 28px;
}

/* BUTTON */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 7px;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--blue-dark); }

/* STATS */
.stat-row {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy);
}
.stat-label {
  font-size: 14px;
  color: var(--slate);
  max-width: 180px;
}

/* ARTICLE */
.article { padding: 56px 24px 24px; }
.block { margin-bottom: 44px; }
.block h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.block h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.block p { margin-bottom: 14px; color: var(--ink); }

.checklist { list-style: none; margin: 8px 0 16px; }
.checklist li {
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 20px;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 2px;
}

.inline-cta {
  background: var(--bg-soft);
  border-left: 3px solid var(--blue);
  padding: 14px 18px;
  margin: 18px 0;
}
.inline-cta a {
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: none;
}
.inline-cta a:hover { text-decoration: underline; }

/* FAQ */
.faq-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: none; }

/* RELATED */
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.related-card:hover { border-color: var(--blue); background: var(--bg-soft); }
.related-title { font-weight: 700; color: var(--navy); font-size: 16px; }
.related-desc { font-size: 14px; color: var(--slate); }

/* CTA BAND */
.cta-band {
  background: var(--bg-band);
  color: #fff;
  text-align: center;
  padding: 64px 0;
  margin-top: 32px;
}
.cta-band h2 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.cta-band p {
  color: #aab6cc;
  max-width: 560px;
  margin: 0 auto 26px;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-brand {
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
}
.footer-brand span { color: var(--blue); }
.footer-note {
  font-size: 14px;
  color: var(--slate);
  margin-top: 8px;
  max-width: 240px;
}
footer h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 10px;
}
footer .footer-grid a {
  display: block;
  color: var(--slate);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
}
footer .footer-grid a:hover { color: var(--blue); }
.footer-legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 13px;
  color: var(--slate);
}

/* RESPONSIVE */
@media (max-width: 720px) {
  nav { padding: 14px 18px; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat-row { gap: 28px; }
  .audit-layout { grid-template-columns: 1fr; }
  .audit-form-col { position: static; }
}

/* AUDIT PAGE LAYOUT */
.audit-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  padding: 56px 24px 24px;
  align-items: start;
}
.audit-copy .block { margin-bottom: 32px; }
.audit-form-col {
  position: sticky;
  top: 90px;
}

/* FORM CARD */
.form-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  background: var(--bg);
  box-shadow: 0 2px 14px rgba(20,34,58,0.05);
}
.form-card-title {
  font-weight: 800;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 5px;
}
.field input,
.field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: border-color 0.15s ease;
  -webkit-appearance: none;
}
.field input:focus,
.field select:focus { border-color: var(--blue); }
.form-consent {
  font-size: 12px;
  color: var(--slate);
  line-height: 1.6;
  margin: 16px 0 14px;
}
.form-btn {
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.audit-faq { padding-top: 16px; padding-bottom: 8px; }

/* STEP LIST (ordered) */
.step-list {
  list-style: none;
  counter-reset: step;
  margin: 10px 0 8px;
}
.step-list li {
  counter-increment: step;
  position: relative;
  padding: 12px 0 12px 44px;
  border-bottom: 1px solid var(--line);
}
.step-list li:last-child { border-bottom: none; }
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 26px;
  height: 26px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* DETAIL LIST */
.detail-list { list-style: none; }
.detail-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.detail-list li:last-child { border-bottom: none; }
.detail-list strong {
  display: inline-block;
  min-width: 130px;
  color: var(--navy);
}
.detail-list a { color: var(--blue-dark); }

.thankyou-hero { background: var(--bg-soft); }

/* ── SAMPLE FINDING CARD (how-it-works) ── */
.finding-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 8px;
}
.finding-head {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.finding-row {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.finding-row:last-of-type { border-bottom: none; }
.finding-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.finding-row.critical .finding-tag { background: #fbe3e0; color: #9a2c1c; }
.finding-row.warning  .finding-tag { background: #fbeedd; color: #8a5212; }
.finding-row.ok       .finding-tag { background: #dcefe0; color: #1f6b38; }
.finding-body { display: flex; flex-direction: column; gap: 3px; }
.finding-body strong { color: var(--navy); font-size: 15px; }
.finding-body span { color: var(--slate); font-size: 14px; }
.finding-note {
  background: var(--bg-soft);
  font-size: 13px;
  color: var(--slate);
  padding: 12px 18px;
  font-style: italic;
}

/* founding-client block */
.founding-block {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  padding: 28px;
}
.founding-block h2 { margin-bottom: 12px; }

/* ── BLOG ── */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 9px;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.post-card:hover { border-color: var(--blue); background: var(--bg-soft); }
.post-card-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.post-card-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.post-card-excerpt {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}
.post-card-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-dark);
  margin-top: 2px;
}
