:root {
  --bg: #0f1318;
  --bg-2: #151a23;
  --bg-3: #1a2030;
  --fg: #f0ebe1;
  --fg-2: #a09880;
  --fg-3: #6b5e4e;
  --accent: #e8a849;
  --accent-dim: #b07c2a;
  --accent-glow: rgba(232,168,73,0.15);
  --border: rgba(240,235,225,0.07);
  --radius: 6px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  border-bottom: 1px solid var(--border);
  background: rgba(15,19,24,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.nav-tagline {
  font-size: 0.75rem;
  color: var(--fg-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-2);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--fg); background: var(--bg-3); }
.nav-link--cta {
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
}
.nav-link--cta:hover { background: var(--accent-dim); color: var(--bg); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.55) saturate(0.8);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15,19,24,0.3) 0%,
    rgba(15,19,24,0.5) 40%,
    rgba(15,19,24,0.9) 80%,
    rgba(15,19,24,1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 48px 80px;
  width: 100%;
}
.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
  max-width: 720px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-2);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 56px;
  font-weight: 300;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--fg-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* PROOF */
.proof {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 48px;
}
.proof-inner { max-width: 1200px; margin: 0 auto; }
.proof-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  font-weight: 500;
  margin-bottom: 16px;
}
.proof-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.proof-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--fg-3);
  font-style: italic;
}
.proof-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}
.proof-sub {
  font-size: 0.9rem;
  color: var(--fg-3);
}

/* SECTION SHARED */
.section-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--fg-2);
  line-height: 1.7;
  font-weight: 300;
  max-width: 600px;
}

/* FEATURES */
.features {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.features-header {
  margin-bottom: 64px;
  max-width: 640px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-card {
  background: var(--bg);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--bg-2); }
.feature-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--fg-2);
  line-height: 1.65;
  font-weight: 300;
}

/* HOW */
.how { background: var(--bg-2); border-top: 1px solid var(--border); padding: 100px 48px; }
.how-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.how-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  filter: saturate(0.85) brightness(0.9);
}
.how-steps { display: flex; flex-direction: column; gap: 0; margin-top: 36px; }
.how-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.how-step:first-child { border-top: 1px solid var(--border); }
.step-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  min-width: 28px;
  padding-top: 2px;
  letter-spacing: 0.02em;
}
.how-step h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 6px;
}
.how-step p { font-size: 0.85rem; color: var(--fg-2); font-weight: 300; line-height: 1.6; }

/* PIPELINE */
.pipeline { padding: 100px 48px; border-top: 1px solid var(--border); }
.pipeline-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.pipeline-block {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
}
.pipeline-metric { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.pm-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.pm-label { font-size: 0.78rem; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.06em; }
.pipeline-msg { font-size: 0.82rem; color: var(--fg-2); font-style: italic; }

/* PIPELINE CHART */
.pipeline-chart {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.pc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg);
}
.pc-count { color: var(--fg-3); font-size: 0.78rem; }
.pc-bar-group { display: flex; flex-direction: column; gap: 14px; }
.pc-bar-row { display: grid; grid-template-columns: 80px 1fr 32px; align-items: center; gap: 12px; }
.pc-stage { font-size: 0.78rem; color: var(--fg-3); }
.pc-bar { height: 6px; background: var(--bg-3); border-radius: 3px; overflow: hidden; }
.pc-fill { height: 100%; background: var(--accent); border-radius: 3px; }
.pc-fill--mid { background: rgba(232,168,73,0.55); }
.pc-fill--light { background: rgba(232,168,73,0.25); }
.pc-fill--accent { background: #4ade80; }
.pc-val { font-size: 0.78rem; color: var(--fg-2); text-align: right; font-family: var(--font-display); }

/* CLOSING */
.closing {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
  background: linear-gradient(to bottom, var(--bg), var(--bg-2));
}
.closing-inner { max-width: 680px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}
.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-2);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 36px;
}
.closing-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--accent);
  border: 1px solid rgba(232,168,73,0.2);
  border-radius: 100px;
  padding: 8px 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* FOOTER */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg-2);
  margin-bottom: 10px;
}
.footer-copy { font-size: 0.82rem; color: var(--fg-3); margin-bottom: 8px; }
.footer-meta { font-size: 0.72rem; color: var(--fg-3); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .hero-content { padding: 100px 24px 60px; }
  .features { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .how { padding: 60px 24px; }
  .how-inner { grid-template-columns: 1fr; gap: 40px; }
  .pipeline { padding: 60px 24px; }
  .pipeline-inner { grid-template-columns: 1fr; gap: 40px; }
  .closing { padding: 80px 24px; }
  .footer { padding: 32px 24px; }
  .hero-stats { gap: 20px; }
  .proof-logos { gap: 12px; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2.6rem; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { display: none; }
  .closing-headline { font-size: 2rem; }
}