/* ── Variables ── */
:root {
  --bg:        #0c0e14;
  --surface:   #141620;
  --surface2:  #1a1d2e;
  --border:    #252840;
  --fg:        #eaeaf0;
  --fg-muted:  #7c7c9a;
  --accent:    #c8ff00;
  --accent-dim:#a8d900;
  --accent-bg: rgba(200,255,0,0.08);
  --red:       #ff4f4f;
  --font-head: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius:    10px;
  --max-w:     1100px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.1rem; }
p { color: var(--fg-muted); }

/* ── Layout helpers ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

/* ── NAV ── */
.nav {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem;
}
.nav-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--fg);
  background: var(--accent);
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
}
.nav-tagline { font-size: 0.85rem; color: var(--fg-muted); font-family: var(--font-body); }

/* ── HERO ── */
.hero { padding: 5rem 2rem 4rem; max-width: var(--max-w); margin: 0 auto; }
.hero-eyebrow { margin-bottom: 2rem; }
.pill {
  display: inline-block;
  background: var(--accent-bg);
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-family: var(--font-head);
}
.hero-headline {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--fg);
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.stat {}
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--fg-muted); margin-top: 0.2rem; display: block; }
.stat-sep { font-size: 1.5rem; color: var(--border); font-weight: 300; }

/* ── HOW IT WORKS ── */
.howitworks {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
}
.howitworks-inner { max-width: var(--max-w); margin: 0 auto; }
.section-title { margin-bottom: 3rem; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.5rem; }
.step { display: flex; gap: 1.2rem; align-items: flex-start; }
.step-num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-dim);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  flex-direction: column;
  line-height: 1;
  padding-top: 0.15rem;
}
.step-body h3 { margin-bottom: 0.5rem; color: var(--fg); font-size: 1rem; }
.step-body p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.65; }

/* ── FEATURES ── */
.features { padding: 5rem 2rem; max-width: var(--max-w); margin: 0 auto; }
.features-label-row { margin-bottom: 0.75rem; }
.section-eyebrow {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--accent-dim); }
.feature-icon {
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}
.feature-card h3 { margin-bottom: 0.6rem; color: var(--fg); font-size: 1rem; }
.feature-card p { font-size: 0.88rem; line-height: 1.65; }

/* ── ROUTING ── */
.routing {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
}
.routing-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.routing-copy .section-eyebrow { display: block; margin-bottom: 0.75rem; }
.routing-copy h2 { margin-bottom: 1rem; }
.routing-copy > p { margin-bottom: 2rem; font-size: 0.95rem; }
.routing-rules { display: flex; flex-direction: column; gap: 0.75rem; }
.rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
}
.rule-email { color: var(--fg); font-weight: 600; }
.rule-arrow { color: var(--fg-muted); }
.rule-target { color: var(--accent); font-weight: 600; }
.routing-visual { display: flex; justify-content: center; }
.routing-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  min-width: 220px;
}
.routing-gmail-icon, .routing-odoo-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
}
.routing-badge {
  background: var(--accent-bg);
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-family: var(--font-head);
}

/* ── CLOSING ── */
.closing { padding: 5rem 2rem; max-width: var(--max-w); margin: 0 auto; }
.closing-rule {
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
  margin-bottom: 3rem;
}
.closing-statement { font-size: clamp(1.6rem, 3vw, 2.5rem); color: var(--fg-muted); font-weight: 400; font-family: var(--font-head); line-height: 1.3; max-width: 800px; }

/* ── FOOTER ── */
.footer { border-top: 1px solid var(--border); padding: 2.5rem 2rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: var(--font-head); font-weight: 900; font-size: 1rem; color: var(--fg); display: block; margin-bottom: 0.4rem; }
.footer-desc { font-size: 0.82rem; color: var(--fg-muted); max-width: 340px; line-height: 1.5; display: block; }
.footer-copy { font-size: 0.78rem; color: var(--fg-muted); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .routing-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-stats { gap: 1rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; }
}