/* ==========================================================================
   Infolead — style.css
   Design tokens
   ========================================================================== */
:root{
  --ink: #0B0F19;
  --ink-soft: #4B5568;
  --ink-faint: #8A93A3;
  --paper: #FFFFFF;
  --paper-alt: #F6F7FA;
  --line: #E7E9EE;
  --brand-700: #16409A;
  --brand-600: #1D4ED8;
  --brand-500: #2F6FED;
  --brand-400: #4F8CFF;
  --brand-50: #EEF3FF;

  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-script: 'Caveat', cursive;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11,15,25,0.05), 0 1px 1px rgba(11,15,25,0.04);
  --shadow-md: 0 8px 24px rgba(11,15,25,0.08);
  --shadow-lg: 0 20px 48px rgba(11,15,25,0.12);

  --container: 1120px;
  --header-h: 76px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

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

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
button{ font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
h1,h2,h3,p{ margin: 0; }

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

.skip-link{
  position: absolute;
  left: 12px; top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top .2s ease;
}
.skip-link:focus{ top: 12px; }

:focus-visible{
  outline: 2px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 14px;
}

.section-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 720px;
  color: var(--ink);
}

.section-lede{
  margin-top: 16px;
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 17px;
}

.section{ padding: 96px 0; }
.section-alt{ background: var(--paper-alt); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn-primary{
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{ background: var(--brand-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline{
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: var(--paper);
}
.btn-outline:hover{ border-color: var(--ink); transform: translateY(-1px); }
.btn-ghost{ color: var(--ink-soft); padding: 10px 14px; }
.btn-ghost:hover{ color: var(--ink); }
.btn-lg{ padding: 15px 30px; font-size: 16px; }
.btn-block{ width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px) saturate(1.4);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled{
  border-bottom-color: var(--line);
  box-shadow: 0 2px 20px rgba(11,15,25,0.04);
}

.header-inner{ display: flex; align-items: center; gap: 24px; width: 100%; }

.brand{ display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark{ width: 34px; height: 34px; }
.brand-word{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.brand-word .ink{ color: var(--ink); }
.brand-word .blue{ color: var(--brand-600); }

.main-nav{ display: flex; align-items: center; gap: 28px; }
.main-nav a{
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .15s ease;
  position: relative;
}
.main-nav a:hover{ color: var(--ink); }

.header-actions{ display: flex; align-items: center; gap: 8px; }

.nav-toggle{
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span{
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Mobile menu
   ========================================================================== */
.mobile-menu{
  position: fixed;
  top: var(--header-h);
  right: 0;
  width: min(86vw, 360px);
  height: calc(100vh - var(--header-h));
  background: var(--paper);
  border-left: 1px solid var(--line);
  z-index: 99;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open{ transform: translateX(0); }
.mobile-menu nav{ display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a{
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-actions{ display: flex; flex-direction: column; gap: 10px; }
.mobile-menu-row{ display: flex; gap: 10px; }

.mobile-menu-backdrop{
  position: fixed; inset: 0;
  background: rgba(11,15,25,0.35);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.mobile-menu-backdrop.open{ opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  padding: 88px 0 0;
  text-align: center;
}
.hero-title{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 74px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 0 auto;
}
.hero-sub{
  margin: 26px auto 0;
  max-width: 620px;
  font-size: 18px;
  color: var(--ink-soft);
}
.hero-cta{
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.trust-bar{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 40px auto 0;
  max-width: 780px;
}
.trust-bar li{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}
.trust-bar svg{ width: 17px; height: 17px; color: var(--brand-500); flex-shrink: 0; }

/* Pipeline signature element */
.pipeline{ margin-top: 68px; padding-bottom: 56px; }
.pipeline-inner{ max-width: 820px; }
.pipeline-track{
  position: relative;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  margin-bottom: 18px;
}
.pipeline-dot{
  position: absolute;
  top: 50%;
  left: 0;
  width: 9px; height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 5px var(--brand-50);
  animation: travel 6s ease-in-out infinite;
}
@keyframes travel{
  0%{ left: 0%; opacity: 0; }
  6%{ opacity: 1; }
  46%{ left: 100%; opacity: 1; }
  52%{ opacity: 0; }
  100%{ left: 100%; opacity: 0; }
}
.pipeline-steps{
  display: flex;
  justify-content: space-between;
}
.ps-label{
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: .01em;
}

/* ==========================================================================
   Founder note
   ========================================================================== */
.note-section{ padding: 32px 0 96px; }
.note-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px clamp(24px, 5vw, 64px);
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.note-card .eyebrow{ text-align: left; }
.note-body{
  font-family: 'Sora', serif;
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 18px;
}
.note-body:last-of-type{ margin-bottom: 30px; }
.note-sign{ display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.avatar{
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.avatar-lg{ width: 64px; height: 64px; font-size: 19px; }
.sign-name{ font-family: var(--font-script); font-size: 26px; font-weight: 600; color: var(--ink); line-height: 1; }
.sign-role{ font-size: 13px; color: var(--ink-faint); margin-top: 4px; }

/* ==========================================================================
   Service cards
   ========================================================================== */
.grid-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #DCE1EA; }
.card-icon{
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg{ width: 21px; height: 21px; }
.card h3{ font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.card p{ color: var(--ink-soft); font-size: 15px; }

/* ==========================================================================
   How it works
   ========================================================================== */
.steps{
  margin-top: 48px;
  max-width: 700px;
  display: flex;
  flex-direction: column;
}
.step{
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.step:last-child{ border-bottom: 1px solid var(--line); }
.step-num{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--brand-500);
  padding-top: 3px;
  flex-shrink: 0;
  width: 32px;
}
.step h3{ font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.step p{ color: var(--ink-soft); font-size: 15.5px; max-width: 520px; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.grid-pricing{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  align-items: stretch;
}
.price-card{
  position: relative;
  text-align: left;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  width: 100%;
}
.price-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-400); }
.price-featured{ border-color: var(--brand-500); box-shadow: var(--shadow-md); }
.price-selected{ border-color: var(--brand-600); box-shadow: 0 0 0 3px var(--brand-50), var(--shadow-md); }
.price-badge{
  position: absolute;
  top: -13px; left: 24px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-plan{ font-family: var(--font-display); font-size: 21px; font-weight: 700; margin-top: 6px; }
.price-leads{ color: var(--ink-faint); font-size: 14px; margin-bottom: 14px; }
.price-old{ color: var(--ink-faint); text-decoration: line-through; font-size: 15px; }
.price-new{ font-family: var(--font-display); font-size: 34px; font-weight: 800; color: var(--ink); }
.price-new span{ font-size: 15px; font-weight: 500; color: var(--ink-faint); margin-left: 4px; }
.price-api{ color: var(--ink-soft); font-size: 13.5px; margin-top: 4px; }
.price-cta{
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--brand-600);
}
.price-cta svg{ width: 16px; height: 16px; transition: transform .15s ease; }
.price-card:hover .price-cta svg{ transform: translateX(3px); }
.price-note{ margin-top: 28px; color: var(--ink-faint); font-size: 13.5px; max-width: 680px; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid{
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.about-body{ margin-top: 18px; color: var(--ink-soft); font-size: 16px; max-width: 560px; }
.about-list{ margin-top: 22px; display: flex; flex-direction: column; gap: 12px; max-width: 540px; }
.about-list li{
  padding-left: 22px;
  position: relative;
  color: var(--ink);
  font-size: 15px;
}
.about-list li::before{
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-500);
}
.about-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.about-card-name{ font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-top: 16px; }
.about-card-role{ color: var(--ink-faint); font-size: 13.5px; margin-top: 3px; }
.about-card-quote{ margin-top: 22px; font-style: italic; color: var(--ink-soft); font-size: 15px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.contact-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #DCE1EA; }
.contact-card h3{ font-family: var(--font-display); font-size: 16px; font-weight: 600; margin: 16px 0 4px; }
.contact-card p{ color: var(--ink-soft); font-size: 14.5px; }

.contact-next{
  margin-top: 56px;
  max-width: 560px;
}
.contact-next-title{ font-family: var(--font-display); font-weight: 600; font-size: 16px; margin-bottom: 14px; }
.contact-next-list{ display: flex; flex-direction: column; gap: 10px; counter-reset: cn; }
.contact-next-list li{
  counter-increment: cn;
  padding-left: 30px;
  position: relative;
  color: var(--ink-soft);
  font-size: 15px;
}
.contact-next-list li::before{
  content: counter(cn);
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.cta-band{
  margin-top: 72px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.cta-band h3{ font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); font-weight: 700; }
.cta-band .btn-primary{ background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover{ background: var(--brand-400); color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer-inner{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-brand p{ margin-top: 10px; color: var(--ink-faint); font-size: 14px; }
.footer-nav{ display: flex; flex-direction: column; gap: 10px; }
.footer-nav a{ color: var(--ink-soft); font-size: 14.5px; }
.footer-nav a:hover{ color: var(--ink); }
.footer-contact{ display: flex; flex-direction: column; gap: 10px; }
.footer-contact a{ color: var(--ink-soft); font-size: 14.5px; }
.footer-contact a:hover{ color: var(--ink); }
.footer-bottom{ border-top: 1px solid var(--line); padding-top: 22px; }
.footer-bottom p{ color: var(--ink-faint); font-size: 13px; }

/* ==========================================================================
   Mobile sticky action bar
   ========================================================================== */
.mobile-actionbar{
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  align-items: stretch;
  gap: 8px;
}
.mobile-actionbar a{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 6px 0;
  border-radius: 12px;
}
.mobile-actionbar a svg{ width: 20px; height: 20px; }
.mobile-actionbar .actionbar-primary{
  background: var(--ink);
  color: #fff;
  flex: 1.4;
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view{ opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px){
  .main-nav{ display: none; }
  .header-actions .btn-ghost{ display: none; }
  .nav-toggle{ display: flex; }
  .grid-cards{ grid-template-columns: repeat(2, 1fr); }
  .grid-pricing{ grid-template-columns: 1fr; }
  .about-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  body{ padding-bottom: 78px; }
  .mobile-actionbar{ display: flex; }
}

@media (max-width: 640px){
  .grid-cards{ grid-template-columns: 1fr; }
  .header-actions .btn-primary{ padding: 10px 16px; font-size: 14px; }
  .hero{ padding-top: 56px; }
  .pipeline-steps{ font-size: 11px; }
  .ps-label{ font-size: 10.5px; }
  .section{ padding: 72px 0; }
  .note-card{ padding: 36px 24px; }
  .footer-inner{ flex-direction: column; }
}