/* ============================================================
   LeadScore Landing Page — Brand Stylesheet
   Colors extracted from brand SVG:
     Navy dark  : #003c64
     Navy mid   : #0c4f66
     Teal       : #0a9176
     Blue accent: #2581c4
     Lime accent: #a5ec6c
     Yellow     : #f9b233
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Reset & base ─────────────────────────────────────────── */

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

:root {
  --navy:    #003c64;
  --navy-mid: #0c4f66;
  --teal:    #0a9176;
  --teal-mid: #056a6d;
  --blue:    #2581c4;
  --lime:    #a5ec6c;
  --yellow:  #f9b233;
  --white:   #ffffff;
  --off-white: #f4f7f9;
  --text:    #1a2e3b;
  --muted:   #5a7282;
  --border:  #dce8ef;

  --grad-brand: linear-gradient(135deg, #0a9176 0%, #056a6d 43%, #003c64 100%);
  --grad-accent: linear-gradient(135deg, #2581c4 0%, #a5ec6c 100%);

  --max-w: 860px;
  --section-py: 6rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── Typography scale ─────────────────────────────────────── */

h1, h2, h3 {
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: 0; }

p {
  font-size: 1.05rem;
  color: var(--muted);
}

strong { color: var(--text); font-weight: 600; }

/* ── Layout helpers ───────────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--section-py) 0;
}

/* ── Nav ──────────────────────────────────────────────────── */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 60, 100, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav img {
  height: 35px;
  width: auto;
}

nav a.nav-cta {
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.15s;
}

nav a.nav-cta:hover { opacity: 0.88; }

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

#hero {
  background: var(--grad-brand);
  padding: calc(var(--section-py) + 4rem) 0 var(--section-py);
  text-align: center;
}

#hero h1 {
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 1.25rem;
}

#hero > .container > p {
  color: rgba(255,255,255,0.75);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

#hero b{
  color: var(--yellow);
  font-weight: 700;
}

#hero a {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

#hero a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
}

/* ── Problem ──────────────────────────────────────────────── */

#problem {
  background: var(--white);
}

#problem h2 {
  color: var(--navy);
  margin-bottom: 2rem;
}

#problem p + p {
  margin-top: 1.1rem;
}

/* ── Insight / Blockquotes ────────────────────────────────── */

#insight,
#positioning {
  background: var(--off-white);
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

blockquote {
  max-width: 680px;
  margin: 0 auto 1.75rem auto;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy-mid);
  text-align: center;
  position: relative;
  padding: 0 2rem;
}

blockquote::before {
  content: '\201C';
  font-size: 5rem;
  line-height: 0;
  position: absolute;
  left: -0.5rem;
  top: 1.5rem;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: Georgia, serif;
}

/* ── Solution ─────────────────────────────────────────────── */

#solution {
  background: var(--white);
}

#solution h2 {
  color: var(--navy);
  margin-bottom: 2rem;
}

#solution p + p {
  margin-top: 1.1rem;
}

/* ── Why Others Fail ──────────────────────────────────────── */

#why-others-fail {
  background: var(--navy);
  color: var(--white);
}

#why-others-fail h2 {
  color: var(--white);
  margin-bottom: 2rem;
}

#why-others-fail p {
  color: rgba(255,255,255,0.68);
}

#why-others-fail p + p {
  margin-top: 1.1rem;
}

/* ── How It Works ─────────────────────────────────────────── */

#how-it-works {
  background: var(--off-white);
}

#how-it-works h2 {
  color: var(--navy);
  margin-bottom: 3rem;
  text-align: center;
}

#how-it-works ol {
  list-style: none;
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

#how-it-works li {
  counter-increment: steps;
  position: relative;
  padding-top: 1rem;
  text-align: center;
}

#how-it-works li::before {
  content: counter(steps);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.9rem;
  margin: 0 auto 1rem;
}

#how-it-works h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

#how-it-works p {
  font-size: 0.95rem;
}

/* ── CTA / Contact ────────────────────────────────────────── */

#contact {
  background: var(--grad-brand);
  text-align: center;
}

#contact h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

#contact > .container > p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

a.cta-email {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.9rem 2.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 18px rgba(0,0,0,0.2);
}

a.cta-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}

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

footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

footer p {
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
}

/* ── Accent line on section tops ──────────────────────────── */
/* 
#solution::before,
#how-it-works::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--grad-accent);
  width: 56px;
  margin: 0 0 3rem 0;
} */

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

@media (max-width: 600px) {
  :root { --section-py: 4rem; }

  #how-it-works ol {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  blockquote {
    padding: 0 0.5rem;
  }

  blockquote::before {
    display: none;
  }
}
