/* ClearLeads — design system
   Professional B2B lead-gen agency site. Light theme, conversion-focused. */

:root {
  --ink:      #0B1220;   /* headings */
  --body:     #3B4457;   /* body text */
  --muted:    #667085;   /* secondary text */
  --navy:     #0A1B3D;   /* dark section bg */
  --navy-2:   #0E2350;
  --brand:    #2563EB;   /* primary blue */
  --brand-d:  #1D4FD7;
  --brand-2:  #06B6D4;   /* cyan (gradient) */
  --accent:   #10B981;   /* green — metrics / success */
  --accent-d: #059669;
  --line:     #E6E9EF;
  --line-2:   #EEF1F6;
  --bg:       #FFFFFF;
  --bg-soft:  #F7F9FC;
  --bg-soft2: #F0F4FA;
  --card:     #FFFFFF;
  --radius:   16px;
  --radius-s: 10px;
  --shadow:   0 1px 2px rgba(16,24,40,.04), 0 8px 24px rgba(16,24,40,.06);
  --shadow-l: 0 20px 48px rgba(10,27,61,.14);
  --maxw:     1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.eyebrow.on-dark { color: #7FB0FF; }
.lede { font-size: 1.18rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 600; font-size: 1rem; border-radius: 999px;
  padding: 13px 26px; border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(37,99,235,.28); }
.btn-primary:hover { background: var(--brand-d); }
.btn-accent { background: var(--accent); color: #04231a; box-shadow: 0 8px 20px rgba(16,185,129,.3); }
.btn-accent:hover { background: var(--accent-d); color:#fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cfd6e4; }
.btn-ghost.on-dark { background: rgba(255,255,255,.06); color:#fff; border-color: rgba(255,255,255,.24); }
.btn-ghost.on-dark:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; font-size: 1.2rem; }
.brand:hover { text-decoration: none; }
.brand .logo { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: 8px; }
.nav-links a { color: var(--body); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-spacer { flex: 1; }
.nav-mobile-cta { display: none; }   /* only shown inside mobile dropdown */
.nav-cta { display: flex; align-items: center; gap: 12px; }
.has-dd { position: relative; }
.dd-menu {
  position: absolute; top: 130%; left: 0; min-width: 240px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-l);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .16s ease;
}
.has-dd:hover .dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: .92rem; font-weight: 500; }
.dd-menu a:hover { background: var(--bg-soft); text-decoration: none; }
.dd-menu a span { display:block; font-size:.78rem; color: var(--muted); font-weight: 400; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; line-height: 0; color: var(--ink); }
.menu-toggle svg { display: block; width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F7F9FC 0%, #fff 100%); }
.hero-dark {
  background: radial-gradient(1200px 500px at 80% -10%, rgba(6,182,212,.25), transparent 60%),
              radial-gradient(900px 500px at 0% 110%, rgba(37,99,235,.35), transparent 55%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #D9E2F2;
}
.hero-dark h1, .hero-dark h2, .hero-dark h3 { color: #fff; }
.hero-inner { padding: 84px 0 76px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 .grad {
  background: linear-gradient(100deg, #5FA0FF, #22D3EE);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 1.2rem; color: #B7C4DC; max-width: 560px; margin: 18px 0 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; font-size: .9rem; color: #90A0BF; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.hero-trust .dot { width:6px; height:6px; border-radius:50%; background: var(--accent); }

/* Hero visual card */
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px; padding: 22px; box-shadow: var(--shadow-l); backdrop-filter: blur(6px);
}
.hero-card .row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.hero-card .row:last-child { border-bottom: 0; }
.hero-card .who { display: flex; align-items: center; gap: 12px; }
.hero-card .avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg,#3B82F6,#06B6D4); display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:.85rem; }
.hero-card .who b { color: #fff; display:block; font-size:.92rem; }
.hero-card .who small { color: #90A0BF; }
.pill { font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.pill.booked { background: rgba(16,185,129,.16); color: #34D399; }
.hero-card .cap { color:#90A0BF; font-size:.8rem; margin-bottom: 6px; letter-spacing:.04em; text-transform:uppercase; font-weight:700; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-tight { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-soft2 { background: var(--bg-soft2); }
.bg-navy { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #C7D2E6; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1.1rem; color: var(--muted); }

/* Direct answer block (AEO) */
.answer {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-left: 4px solid var(--brand); border-radius: 12px;
  padding: 20px 22px; font-size: 1.08rem; color: var(--ink); margin: 0 0 8px;
}
.answer strong { color: var(--ink); }

/* ---------- Stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.bg-navy .stat .num, .stat .num.on-dark { color: #fff; }
.stat .num em { font-style: normal; color: var(--accent); }
.stat .lbl { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.bg-navy .stat .lbl { color: #9FB0CE; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .16s ease, box-shadow .2s ease, border-color .2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); border-color: #D6DEEC; }
.ico {
  width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(6,182,212,.12)); color: var(--brand); margin-bottom: 16px;
  flex: none;
}
.ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: 16px; }
.card .learn { margin-top: auto; font-weight: 600; color: var(--brand); font-size: .93rem; display:inline-flex; gap:6px; align-items:center; }
.card.flag { border-color: rgba(37,99,235,.35); box-shadow: 0 0 0 1px rgba(37,99,235,.15), var(--shadow); }
.flag-tag { align-self:flex-start; font-size:.72rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color: var(--brand); background: rgba(37,99,235,.1); padding:4px 10px; border-radius:999px; margin-bottom:12px; }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; color: var(--body); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(16,185,129,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checks.on-dark li { color: #C7D2E6; }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 22px; }
.steps.grid-4 { grid-template-columns: repeat(4,1fr); }
.step { position: relative; padding-top: 8px; }
.step .n {
  width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* Testimonials */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.quote p { font-size: 1.05rem; color: var(--ink); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.quote .avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg,#2563EB,#06B6D4); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; }
.quote .who b { color: var(--ink); display: block; font-size: .95rem; }
.quote .who small { color: var(--muted); }
.stars { color: #F5A623; letter-spacing: 2px; font-size: .95rem; }

/* Logos row */
.logos { display: flex; flex-wrap: wrap; gap: 34px 48px; align-items: center; justify-content: center; opacity: .75; }
.logos span { font-weight: 800; font-size: 1.25rem; color: var(--muted); letter-spacing: -.02em; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 14px; background: #fff;
  transition: box-shadow .2s, border-color .2s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: #D6DEEC; }
.faq summary {
  list-style: none; cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.05rem;
  padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; transition: transform .2s; color: var(--brand); }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq .a { padding: 0 0 18px; color: var(--body); }
.faq .a p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .box {
  background: radial-gradient(800px 300px at 50% -20%, rgba(6,182,212,.3), transparent 60%),
              linear-gradient(160deg, var(--navy), var(--navy-2));
  border-radius: 24px; padding: 56px 32px; color: #C7D2E6; box-shadow: var(--shadow-l);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #B7C4DC; max-width: 560px; margin: 0 auto 26px; font-size: 1.1rem; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .txt { order: 2; }
.panel {
  background: linear-gradient(160deg, #F7F9FC, #EEF3FB); border: 1px solid var(--line);
  border-radius: 20px; padding: 30px; box-shadow: var(--shadow);
}
.panel .metric-row { display:flex; justify-content:space-between; align-items:center; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.panel .metric-row:last-child { border-bottom: 0; }
.panel .metric-row .k { color: var(--muted); font-size:.92rem; }
.panel .metric-row .v { font-weight: 800; color: var(--ink); font-size: 1.25rem; }
.panel .metric-row .v em { font-style: normal; color: var(--accent); }

/* Pricing / plans */
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.plan { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display:flex; flex-direction:column; }
.plan.pop { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(37,99,235,.15), var(--shadow-l); position: relative; }
.plan .tag { position:absolute; top:-12px; left:50%; transform:translateX(-50%); background: var(--brand); color:#fff; font-size:.75rem; font-weight:700; padding:5px 14px; border-radius:999px; }
.plan h3 { margin-bottom: 4px; }
.plan .price { font-size: 2rem; font-weight: 800; color: var(--ink); margin: 8px 0; }
.plan .price small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.plan ul { list-style:none; padding:0; margin: 14px 0 22px; display:grid; gap:10px; }
.plan .btn { margin-top: auto; width: 100%; }

/* Breadcrumb */
.crumb { font-size: .85rem; color: var(--muted); padding: 18px 0 0; }
.crumb a { color: var(--muted); }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin-top: 40px; }
.article h3 { margin-top: 28px; }
.article p, .article li { font-size: 1.07rem; color: var(--body); }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article .meta { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.article table { width:100%; border-collapse: collapse; margin: 20px 0; font-size: .98rem; }
.article th, .article td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.article th { background: var(--bg-soft); color: var(--ink); }
.callout { background: var(--bg-soft2); border-radius: 12px; padding: 20px 22px; margin: 24px 0; }

/* Booking / contact */
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.calendly-holder {
  border: 2px dashed var(--line); border-radius: var(--radius); background: var(--bg-soft);
  min-height: 520px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px;
}
.calendly-holder .inner { max-width: 340px; }
.booking-embed {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: #fff;
}
.booking-embed iframe { width: 100%; }
.calendly-holder .cal-ico { width:64px;height:64px;border-radius:16px;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;margin:0 auto 16px;color:var(--brand); }
form.lead { display: grid; gap: 16px; }
form.lead label { font-weight: 600; color: var(--ink); font-size: .92rem; display: block; margin-bottom: 6px; }
form.lead input, form.lead select, form.lead textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 1rem; color: var(--ink); background:#fff;
}
form.lead input:focus, form.lead select:focus, form.lead textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }

/* Footer */
.site-footer { background: var(--navy); color: #9FB0CE; padding: 64px 0 28px; }
.site-footer a { color: #B7C4DC; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.foot-brand .brand { color: #fff; margin-bottom: 14px; }
.foot-brand p { color: #8A9BB8; font-size: .93rem; max-width: 300px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: #7C8DAB; }

/* Utility */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.tag { font-size: .8rem; font-weight: 600; color: var(--brand); background: rgba(37,99,235,.08); padding: 5px 12px; border-radius: 999px; }
.divider { height:1px; background: var(--line); border:0; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 460px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.rev .txt { order: 0; }
  .book-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .steps.grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); gap: 32px 20px; }
  .plans { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta, .nav-spacer { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px; box-shadow: var(--shadow-l);
  }
  .nav-links.open a { padding: 10px 0; width: 100%; border-bottom: 1px solid var(--line-2); }
  .nav-links.open .nav-mobile-cta { display: inline-flex; width: auto; color: #fff; margin-top: 10px; border-bottom: 0; }
  .nav-links.open .has-dd .dd-menu { position: static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:0; padding: 0 0 0 12px; }
  section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps.grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 56px 0; }
}
