:root {
  --bg: #faf8f1;
  --fg: #0d1f0d;
  --accent: #e8a030;
  --accent-dim: rgba(232, 160, 48, 0.12);
  --surface: #f0ede3;
  --border: rgba(13, 31, 13, 0.12);
  --text-muted: #4a5c4a;
  --node-trigger: #3b82f6;
  --node-ai: #e8a030;
  --node-action: #22c55e;
  --node-channel: #a855f7;
}

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

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

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

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

.nav-logo {
  width: 32px;
  height: 32px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
}

.nav-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: calc(100vh - 73px);
  border-bottom: 1px solid var(--border);
}

.hero-content {
  padding: 80px 64px 80px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.hero-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--fg);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Flow Diagram */
.hero-visual {
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fg);
}

.flow-diagram {
  width: 100%;
  max-width: 420px;
}

.flow-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
  text-align: center;
}

.flow-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
}

.flow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.flow-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: default;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
}

.flow-node:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.node-trigger { color: var(--node-trigger); border-color: rgba(59,130,246,0.3); background: rgba(59,130,246,0.1); }
.node-ai { color: var(--node-ai); border-color: rgba(232,160,48,0.3); background: rgba(232,160,48,0.1); }
.node-action { color: var(--node-action); border-color: rgba(34,197,94,0.3); background: rgba(34,197,94,0.1); }
.node-channel { color: var(--node-channel); border-color: rgba(168,85,247,0.3); background: rgba(168,85,247,0.1); }

.node-icon { flex-shrink: 0; opacity: 0.8; }

.flow-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-trigger { background: var(--node-trigger); }
.dot-ai { background: var(--node-ai); }
.dot-action { background: var(--node-action); }
.dot-channel { background: var(--node-channel); }

.flow-dot { opacity: 0.9; }

/* SECTION SHARED */
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 24px;
}

/* SERVICES */
.services {
  padding: 100px 48px;
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 8px;
}

.service-card {
  background: var(--bg);
  padding: 32px;
  transition: background 0.2s;
}

.service-card:hover {
  background: var(--surface);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* INDUSTRIES */
.industries {
  padding: 100px 48px;
  background: var(--fg);
  color: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.industries-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.industries-left .section-label { color: var(--accent); }
.industries-left .section-headline { color: var(--bg); }

.industries-body {
  font-size: 15px;
  color: rgba(250,248,241,0.6);
  line-height: 1.7;
}

.industries-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.industry-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.industry-item:last-child { border-bottom: none; }

.industry-icon {
  font-size: 20px;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.industry-item strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--bg);
}

.industry-item span {
  font-size: 13px;
  color: rgba(250,248,241,0.5);
  line-height: 1.6;
}

/* MANIFESTO */
.manifesto {
  padding: 100px 48px;
  border-bottom: 1px solid var(--border);
}

.manifesto-quote {
  max-width: 720px;
  margin: 0 auto 80px;
  text-align: center;
}

.manifesto-quote p {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--fg);
  font-style: italic;
}

.manifesto-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.manifesto-col h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.manifesto-col p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.manifesto-col em { font-style: normal; font-weight: 600; color: var(--fg); }

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

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

.closing h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--bg);
}

.closing p {
  font-size: 16px;
  color: rgba(250,248,241,0.6);
  line-height: 1.75;
  margin-bottom: 64px;
}

.closing-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
}

.closing-stat {
  padding: 32px 24px;
  background: rgba(255,255,255,0.04);
}

.closing-num {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.closing-desc {
  font-size: 13px;
  color: rgba(250,248,241,0.5);
  line-height: 1.5;
}

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

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

.footer-logo {
  width: 28px;
  height: 28px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 16px;
}

.footer-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 400px;
}

.footer-stacks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-tag {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-tagline { display: none; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: 48px 24px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .hero-visual {
    padding: 40px 24px;
    min-height: 320px;
  }

  .hero-stats { gap: 20px; }

  .services { padding: 64px 24px; }
  .services-grid { grid-template-columns: 1fr; }

  .industries { padding: 64px 24px; }
  .industries-inner { grid-template-columns: 1fr; gap: 40px; }

  .manifesto { padding: 64px 24px; }
  .manifesto-body { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-quote { margin-bottom: 48px; }

  .closing { padding: 80px 24px; }
  .closing-stats { grid-template-columns: 1fr; }

  .footer { padding: 40px 24px; }
}