:root {
  --bg: #f8f7f5;
  --bg-alt: #f0ede8;
  --fg: #18120e;
  --fg-muted: #6b6560;
  --accent: #d4763a;
  --accent-dark: #b85e28;
  --border: #ddd8d1;
  --white: #ffffff;
  --amber-light: #fef3eb;
}

*, *::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: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { max-width: 60ch; }

.section-label {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-label.light { color: rgba(255,255,255,0.6); }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 5%;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--fg); }

/* Hero */
.hero {
  padding: 6rem 5% 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 70vh;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-headline {
  margin-bottom: 2rem;
}

.hero-sub p {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 46ch;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.meta-item {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  background: var(--bg-alt);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.meta-sep {
  color: var(--border);
}

/* Flow Diagram */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-diagram {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.flow-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.flow-icon.in { background: #eef4f7; color: #3a7ca5; }
.flow-icon.tool { background: var(--amber-light); color: var(--accent); }
.flow-icon.out { background: #eef7ee; color: #3a8a4e; }

.flow-step span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-muted);
  max-width: 80px;
  line-height: 1.3;
}

.flow-arrow { color: var(--fg-muted); }

/* Services */
.services {
  padding: 7rem 5%;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-header {
  margin-bottom: 4rem;
}

.services-header h2 { margin-top: 0.5rem; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.service-card {
  padding: 3rem;
  background: var(--bg);
  border: 1px solid var(--border);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card > p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-list li {
  font-size: 0.875rem;
  color: var(--fg-muted);
  padding-left: 1.25rem;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* The Gap */
.gap-section {
  padding: 7rem 5%;
  background: var(--fg);
  color: white;
}

.gap-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.gap-inner .section-label { display: block; margin-bottom: 1.5rem; }

.gap-section h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.gap-lead {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  margin-bottom: 4rem;
  max-width: 60ch;
}

.gap-flow {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.gap-block {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.gap-step { padding-left: 0; }

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.gap-step h4 {
  color: white;
  margin-bottom: 0.5rem;
}

.gap-step p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  max-width: 40ch;
}

.gap-solution {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2.5rem;
}

.solution-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.gap-solution h3 {
  color: white;
  margin-bottom: 1rem;
}

.gap-solution > p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.solution-flow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.solution-badge {
  background: var(--accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
}

/* Process */
.process-section {
  padding: 7rem 5%;
  background: var(--bg);
}

.process-section .section-label { display: block; margin-bottom: 1rem; }
.process-section h2 { margin-bottom: 4rem; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.process-step { }

.step-number {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--bg-alt);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

.process-step h4 { margin-bottom: 0.75rem; }

.process-step p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  max-width: 30ch;
}

.pricing-banner {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--fg);
  color: white;
  padding: 2rem 2.5rem;
  border-radius: 12px;
}

.pricing-label {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.25rem;
}

.pricing-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.pricing-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

/* Who */
.who-section {
  padding: 7rem 5%;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.who-section .section-label { display: block; margin-bottom: 1rem; }
.who-section h2 { margin-bottom: 3.5rem; }

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.who-card {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.who-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-alt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-muted);
  margin-bottom: 1.25rem;
}

.who-card h4 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.who-card p {
  color: var(--fg-muted);
  font-size: 0.875rem;
  max-width: 36ch;
}

/* Closing */
.closing-section {
  padding: 7rem 5%;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

.closing-section p {
  color: var(--fg-muted);
  max-width: 52ch;
  margin: 0 auto;
  font-size: 1rem;
}

/* Footer */
.footer {
  padding: 2.5rem 5%;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--bg);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-info {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.footer-contact {
  display: flex;
  gap: 1.5rem;
}

.footer-contact a {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 4rem;
    gap: 3rem;
  }

  .hero-visual { justify-content: flex-start; }

  .services-grid,
  .who-grid,
  .gap-flow {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .flow-diagram {
    flex-direction: column;
    gap: 1rem;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .pricing-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .pricing-divider {
    width: 40px;
    height: 1px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .hero { padding-top: 3rem; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }
  .service-card { padding: 2rem; }
}