:root {
  --bg: #FAF8F5;
  --bg-alt: #F0EDE8;
  --fg: #1B2333;
  --fg-muted: #5A6377;
  --accent: #D97706;
  --accent-dim: #B45309;
  --surface: #FFFFFF;
  --border: #E5E0D8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
  padding: 24px 48px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero */
.hero {
  min-height: 100vh;
  padding: 140px 48px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-headline {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 24px;
}

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

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic {
  width: 100%;
  max-width: 400px;
}

.roof-shape svg {
  width: 100%;
  height: auto;
}

.hero-stats {
  display: flex;
  gap: 64px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 4px;
}

/* Features */
.features {
  padding: 120px 48px;
  background: var(--bg-alt);
}

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

.features-label {
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.features-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--fg);
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27, 35, 51, 0.08);
}

.feature-icon {
  margin-bottom: 24px;
}

.feature-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--fg);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Pipeline */
.pipeline {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.pipeline-header {
  margin-bottom: 64px;
}

.pipeline-label {
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.pipeline-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--fg);
}

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  position: relative;
}

.step-number {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 48px;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 16px;
}

.step-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* Closing */
.closing {
  padding: 120px 48px;
  background: var(--fg);
  color: var(--bg);
  text-align: center;
}

.closing-content {
  max-width: 700px;
  margin: 0 auto 48px;
}

.closing-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 18px;
  opacity: 0.7;
  max-width: 500px;
  margin: 0 auto;
}

.closing-visual {
  max-width: 600px;
  margin: 0 auto;
}

.roofline-graphic svg {
  width: 100%;
  height: auto;
}

/* Footer */
.footer {
  padding: 48px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--fg);
}

.footer-tag {
  font-size: 14px;
  color: var(--fg-muted);
  display: block;
  margin-top: 4px;
}

.footer-powered {
  font-size: 12px;
  color: var(--fg-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-stats {
    gap: 32px;
    flex-wrap: wrap;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .pipeline-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 16px 24px;
  }

  .hero {
    padding: 120px 24px 60px;
  }

  .features, .pipeline, .closing {
    padding: 80px 24px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .pipeline-steps {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}