/* ===========================
   ClearedLead — Landing Page CSS
   Typography: Instrument Serif + DM Sans
   Palette: warm off-white / charcoal / amber
   =========================== */

:root {
  --bg: #F8F6F1;
  --bg-alt: #F1EEE8;
  --fg: #1C1C1E;
  --fg-muted: #5A5A5E;
  --accent: #D97706;
  --accent-light: #FEF3C7;
  --border: #E2DED5;
  --white: #FFFFFF;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.site-header {
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
}
.site-header .header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.header-tag {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Hero */
.hero {
  padding: 80px 40px 100px;
}
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* Hero visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.accent-block {
  width: 100%;
  height: 6px;
  background: var(--accent);
  border-radius: 2px;
}
.signal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.signal-dot {
  width: 10px;
  height: 10px;
  background: #22C55E;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.signal-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}
.signal-meta {
  display: block;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.draft-preview {
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.draft-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.draft-line {
  font-size: 13px;
  line-height: 1.6;
  font-style: italic;
  color: #D1D1D6;
}

/* Wedge section */
.wedge-section {
  background: var(--fg);
  color: var(--bg);
  padding: 100px 40px;
}
.wedge-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.wedge-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
}
.wedge-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  max-width: 680px;
}
.wedge-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin-bottom: 60px;
}
.wedge-body p {
  font-size: 16px;
  color: #A8A8AD;
  line-height: 1.75;
}
.wedge-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  border-top: 1px solid #333;
  padding-top: 48px;
}
.stat {}
.stat-number {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
}
.stat-unit {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--bg);
  margin-bottom: 4px;
}
.stat-desc {
  display: block;
  font-size: 12px;
  color: #666;
}

/* How it works */
.how-it-works {
  padding: 100px 40px;
  background: var(--bg);
}
.hiw-inner { max-width: 1200px; margin: 0 auto; }
.section-heading {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step-num {
  font-family: 'Instrument Serif', serif;
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
  opacity: 0.5;
}
.step-body h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}
.step-body p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 600px;
}

/* Pricing */
.pricing-section {
  padding: 100px 40px;
  background: var(--bg-alt);
}
.pricing-inner { max-width: 1200px; margin: 0 auto; }
.pricing-sub {
  color: var(--fg-muted);
  font-size: 15px;
  margin-top: -40px;
  margin-bottom: 48px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217,119,6,0.12);
}
.card-header { margin-bottom: 28px; }
.plan-name {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.plan-price {
  font-family: 'Instrument Serif', serif;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.currency { font-size: 22px; vertical-align: super; }
.period { font-size: 16px; color: var(--fg-muted); font-family: 'DM Sans', sans-serif; font-weight: 400; }
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan-features li {
  font-size: 14px;
  color: var(--fg-muted);
  padding-left: 20px;
  position: relative;
}
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* Engine */
.engine-section {
  padding: 100px 40px;
  background: var(--bg);
}
.engine-inner { max-width: 1200px; margin: 0 auto; }
.engine-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
}
.engine-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
  max-width: 600px;
}
.sources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.source-item {}
.source-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.source-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.source-item p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.7;
}
.compliance-note {
  font-size: 12px;
  color: #999;
  border-top: 1px solid var(--border);
  padding-top: 28px;
  margin-top: 20px;
  line-height: 1.7;
}

/* Closing */
.closing-section {
  background: var(--accent);
  padding: 100px 40px;
  color: var(--white);
}
.closing-inner { max-width: 1200px; margin: 0 auto; }
.closing-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
  font-weight: 600;
  margin-bottom: 24px;
}
.closing-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  max-width: 720px;
}
.closing-body {
  font-size: 17px;
  opacity: 0.85;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.closing-cta {}
.cta-label {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}
.cta-sub {
  font-size: 14px;
  opacity: 0.7;
  max-width: 480px;
  line-height: 1.7;
}

/* Footer */
footer {
  background: var(--fg);
  color: #888;
  padding: 60px 40px 40px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid #333;
  padding-bottom: 40px;
}
.wordmark-footer {
  font-family: 'Instrument Serif', serif;
  font-size: 18px;
  color: var(--bg);
  flex-shrink: 0;
}
.footer-desc {
  font-size: 13px;
  line-height: 1.7;
  max-width: 400px;
  color: #666;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #555;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; }
  .wedge-body { grid-template-columns: 1fr; gap: 24px; }
  .wedge-stats { grid-template-columns: 1fr; gap: 32px; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 480px; }
  .sources-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 60px 1fr; gap: 24px; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .site-header { padding: 16px 24px; }
  .hero { padding: 60px 24px 80px; }
  .wedge-section, .how-it-works, .pricing-section, .engine-section, .closing-section { padding: 72px 24px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 32px; }
  .wedge-headline, .engine-headline { font-size: 28px; }
  .closing-headline { font-size: 28px; }
  .plan-price { font-size: 36px; }
  .stat-number { font-size: 40px; }
}