:root {
  --surface: #fbf8fd;
  --surface-2: #f5f0fa;
  --on-surface: #1d1b20;
  --on-soft: #49454f;
  --primary: #6750a4;
  --primary-c: #eaddff;
  --on-primary-c: #21005d;
  --outline: #cac4d0;
  --outline-v: #e7e0ec;
  --shadow-1: 0 1px 3px rgba(29, 27, 32, .08);
  --shadow-2: 0 1px 3px rgba(29, 27, 32, .08), 0 24px 48px -32px rgba(29, 27, 32, .30);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--on-surface);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 17.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .001em;
}

a { color: inherit; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 248, 253, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--outline-v);
}

.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand {
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  letter-spacing: -.02em;
}
.brand b { font-weight: 500; color: var(--on-soft); }

.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  text-decoration: none;
  color: var(--on-soft);
  font-size: 14.5px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background .16s, color .16s;
}
.site-nav a:hover { background: var(--surface-2); color: var(--on-surface); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--on-surface);
  border-radius: 2px;
}
.menu-toggle span + span { margin-top: 6px; }

/* Hero */
.hero { padding: 92px 0 48px; }
h1 {
  font-weight: 700;
  font-size: clamp(40px, 6.8vw, 66px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0 0 24px;
  max-width: 15ch;
}
h1 em { font-style: normal; color: var(--primary); }

.lede { max-width: 60ch; color: var(--on-soft); font-size: 19px; margin: 0 0 34px; }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-1);
  transition: box-shadow .18s, transform .18s, background .18s;
}
.btn:hover { box-shadow: 0 6px 16px rgba(103, 80, 164, .34); transform: translateY(-1px); }
.btn.tonal { background: var(--primary-c); color: var(--on-primary-c); box-shadow: none; }
.btn.tonal:hover { background: #ddc9ff; }

.proof { color: var(--on-soft); max-width: 66ch; font-size: 14px; }

/* Route map */
.map {
  margin-top: 48px;
  background: linear-gradient(180deg, #fff, var(--surface-2));
  border-radius: 28px;
  padding: 12px 16px;
  box-shadow: var(--shadow-2);
}
.map svg { display: block; width: 100%; height: auto; }
.route { stroke: var(--outline); stroke-width: 2; fill: none; stroke-linecap: round; }
.route.acc { stroke: var(--primary); stroke-width: 2.6; }
.halo { fill: none; stroke: var(--primary); stroke-opacity: .22; stroke-width: 2; }
.hub { fill: var(--primary); }
.dot { fill: var(--primary); }
.lbl { fill: var(--on-soft); font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 500; }

/* Sections */
.section { padding: 84px 0; }
.alt { background: var(--surface-2); }

h2 {
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 44px);
  letter-spacing: -.025em;
  line-height: 1.06;
  margin: 0 0 18px;
  max-width: 24ch;
}
h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 8px; }

.intro { color: var(--on-soft); max-width: 64ch; margin: 0 0 46px; font-size: 18.5px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* Plain tiles (top rule) */
.tile { border-top: 1.5px solid var(--primary); padding-top: 20px; }
.tile h3 { font-size: 20px; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--on-soft); font-size: 15.5px; }

/* Cards */
.module { background: #ffffff; border: 1px solid var(--outline-v); border-radius: 24px; padding: 30px; }
.module p { margin: 0; font-size: 15px; color: var(--on-soft); }

/* Steps */
.steps {
  list-style: none;
  counter-reset: s;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
}
.steps li { counter-increment: s; display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.steps li::before {
  content: counter(s);
  font-weight: 700;
  font-size: 15px;
  color: var(--on-primary-c);
  background: var(--primary-c);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.steps b { display: block; font-size: 17.5px; font-weight: 600; margin-bottom: 3px; }
.steps span { color: var(--on-soft); font-size: 15.5px; }

/* Industries */
.industries { gap: 30px 56px; }

/* Customers */
.logos { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 26px 60px; }
.logo {
  color: var(--on-soft);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -.02em;
  opacity: .85;
  transition: color .2s, opacity .2s;
}
.logo:hover { color: var(--primary); opacity: 1; }
.logo.tight { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.logo.wide { font-weight: 500; text-transform: uppercase; letter-spacing: .14em; }
.logo.two b { font-weight: 700; }
.logo.two span { font-weight: 400; }

/* Why + Progress lists */
.why, .progress {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 48px; }
.why li { border-top: 1px solid var(--outline-v); padding-top: 16px; font-size: 16px; color: var(--on-soft); }
.why b { color: var(--on-surface); }

.progress li {
  border-top: 1px solid var(--outline-v);
  padding: 18px 0 18px 34px;
  position: relative;
  max-width: 80ch;
  color: var(--on-soft);
}
.progress li:last-child { border-bottom: 1px solid var(--outline-v); }
.progress li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 26px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
}

/* FAQ */
.faq { margin-top: 30px; max-width: 900px; }
details {
  background: #fff;
  border-radius: 20px;
  padding: 0 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-1);
}
summary {
  cursor: pointer;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--primary); font-size: 22px; font-weight: 400; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--on-soft); margin: 0 0 20px; max-width: 72ch; }

/* Contact */
.email { margin: 6px 0 0; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.email a { color: var(--primary); text-decoration: none; }
.email a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Footer */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--outline-v); padding: 42px 0; }
.foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; color: var(--on-soft); }
.foot span { font-size: 13.5px; }
.foot nav a { text-decoration: none; color: var(--on-soft); margin-left: 20px; font-size: 14px; }
.foot nav a:hover { color: var(--primary); }

/* Focus */
a:focus-visible, summary:focus-visible, .btn:focus-visible, .menu-toggle:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--outline-v);
    box-shadow: 0 24px 48px -32px rgba(29, 27, 32, .3);
    display: none;
    padding: 8px 20px 20px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { display: block; padding: 13px 12px; border-radius: 12px; font-size: 16px; }
}

@media (max-width: 760px) {
  .grid-2, .grid-3, .steps, .why { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; }
  .section { padding: 64px 0; }
  .email { font-size: 20px; }
  .foot { flex-direction: column; align-items: flex-start; }
  .foot nav a { margin: 0 16px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .btn:hover { transform: none; }
}
