/* LeadStack — Industrial Warmth */

:root {
  --bg:        #faf5ee;
  --bg-alt:    #f2ede4;
  --bg-dark:   #1a1a2e;
  --fg:        #1a1a2e;
  --fg-muted:  #6b5e52;
  --fg-light:  #9a8b7e;
  --accent:    #c87941;
  --accent-2:  #e8a86b;
  --border:    #e0d6c8;
  --white:     #ffffff;
  --chart:     #c87941;
}

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

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;
}

/* ── NAV ──────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(250, 245, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ── HERO ─────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  overflow: hidden;
  background: var(--bg);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.45;
  pointer-events: none;
}

.hero-grid-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, transparent 30%, var(--bg) 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 460px;
  line-height: 1.7;
}

/* ── WIDGET ───────────────────────────────── */
.hero-widget {
  background: var(--bg-dark);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 24px 64px rgba(26,26,46,0.18), 0 0 0 1px rgba(255,255,255,0.04) inset;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.widget-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250,245,238,0.5);
}

.widget-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #6ee7a8;
  font-weight: 500;
}

.widget-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ee7a8;
  box-shadow: 0 0 6px #6ee7a8;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.widget-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.widget-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.widget-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #faf5ee;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.widget-name {
  font-size: 0.72rem;
  color: rgba(250,245,238,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.widget-change {
  font-size: 0.68rem;
  font-weight: 500;
}

.widget-change.positive { color: #6ee7a8; }
.widget-change.negative { color: #f87171; }

.widget-chart {
  margin-bottom: 16px;
}

.widget-chart svg { width: 100%; height: auto; }

.widget-clients {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.widget-client-chip {
  font-size: 0.65rem;
  padding: 4px 10px;
  background: rgba(200,121,65,0.15);
  color: var(--accent-2);
  border-radius: 20px;
  border: 1px solid rgba(200,121,65,0.2);
  letter-spacing: 0.03em;
}

/* ── SCROLL INDICATOR ─────────────────────── */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-light);
}

/* ── PROOFBAR ─────────────────────────────── */
.proofbar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 18px 48px;
}

.proofbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.proofbar-label {
  font-size: 0.78rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.proofbar-cities {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.proofbar-cities span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.02em;
}

.proofbar-dot {
  color: var(--accent);
  font-size: 0.75rem;
}

.proofbar-note {
  font-size: 0.72rem;
  color: var(--fg-light);
  font-style: italic;
  margin-left: auto;
}

/* ── FEATURES ─────────────────────────────── */
.features {
  padding: 100px 48px;
  background: var(--bg);
}

.features-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}

.features-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.features-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  position: relative;
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: background 0.2s ease;
}

.feature-card:hover {
  background: var(--bg-alt);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  border-radius: 10px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.feature-tag {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
  border: 1px solid rgba(200,121,65,0.35);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ── STATS ───────────────────────────────── */
.stats-section {
  background: var(--bg-dark);
  padding: 72px 48px;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.stat-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(250,245,238,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  max-width: 140px;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(250,245,238,0.12);
  flex-shrink: 0;
}

/* ── MANIFESTO ────────────────────────────── */
.manifesto {
  padding: 100px 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 760px;
  margin: 0 auto;
}

.manifesto-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}

.manifesto-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 36px;
}

.manifesto-body p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.manifesto-body p:last-child { margin-bottom: 0; }

.manifesto-rule {
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}

/* ── CLOSING ──────────────────────────────── */
.closing-section {
  padding: 100px 48px;
  background: var(--bg);
}

.closing-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.closing-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}

.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.closing-rule {
  height: 1px;
  background: var(--accent);
  width: 60px;
  margin: 0 auto 28px;
  opacity: 0.5;
}

.closing-note {
  font-size: 0.88rem;
  color: var(--fg-light);
  line-height: 1.7;
  font-style: italic;
}

/* ── FOOTER ───────────────────────────────── */
.footer {
  background: var(--bg-dark);
  padding: 60px 48px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-brand span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #faf5ee;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(250,245,238,0.4);
  line-height: 1.65;
  max-width: 400px;
}

.footer-legal {
  font-size: 0.72rem;
  color: rgba(250,245,238,0.25);
  margin-top: 16px;
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 100px 24px 60px; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-widget { order: -1; }
  .features { padding: 64px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-section { padding: 48px 24px; }
  .stats-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
  .stat-divider { display: none; }
  .manifesto { padding: 64px 24px; }
  .closing-section { padding: 64px 24px; }
  .footer { padding: 48px 24px 32px; }
  .proofbar { padding: 16px 24px; }
  .proofbar-note { display: none; }
  .widget-metrics { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.4rem; }
  .widget-metrics { grid-template-columns: 1fr; }
  .hero-scroll-indicator { display: none; }
}