:root {
  --bg: #F7F8FA;
  --bg-card: #FFFFFF;
  --ink: #0B0D14;
  --ink-soft: #565B66;
  --ink-faint: #8A8F99;
  --accent: #3A3DE0;
  --accent-dark: #2A2CB8;
  --accent-soft: #ECEDFC;
  --success: #178A52;
  --success-soft: #E6F5ED;
  --border: #E3E4EA;
  --border-strong: #CBCDD8;
  --radius: 14px;
  --max: 1180px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 56ch;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 9px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--ink);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

/* ---------- NAV ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 250, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
}

.logo-mark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.15s ease;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.18s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0 20px;
  border-top: 1px solid var(--border);
}

.mobile-menu a {
  padding: 12px 4px;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--border);
}

.mobile-menu.open {
  display: flex;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-cta .btn-primary {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ---------- HERO ---------- */
.hero {
  padding: 76px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  place-items: center;
  text-align: center;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.06;
  max-width: 16ch;
}

.hero h1 .accent-word {
  color: var(--accent);
}

.hero-sub {
  margin: 24px auto 0;
  max-width: 56ch;
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: var(--ink-soft);
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-trust {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

/* pipeline visualizer */
.pipeline {
  margin-top: 64px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 24px 26px;
  position: relative;
}

.pipeline-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 26px;
  display: flex;
  justify-content: space-between;
}

.pipeline-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.pipeline-line {
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-strong);
  z-index: 0;
}

.pipeline-fill {
  position: absolute;
  top: 9px;
  left: 0;
  height: 2px;
  background: var(--accent);
  width: 100%;
  z-index: 0;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent));
}

.stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.stage-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-strong);
}

.stage:nth-child(1) .stage-dot,
.stage:nth-child(2) .stage-dot,
.stage:nth-child(3) .stage-dot {
  border-color: var(--accent);
  background: var(--accent);
}

.stage-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: center;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.traveler {
  position: absolute;
  top: 5px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(58, 61, 224, 0.15);
  animation: travel 6s linear infinite;
}

.traveler.t2 {
  animation-delay: -2s;
  opacity: 0.7;
}

.traveler.t3 {
  animation-delay: -4s;
  opacity: 0.45;
}

@keyframes travel {
  0% {
    left: 0%;
    transform: translateX(-50%);
  }
  100% {
    left: calc(100% - 10px);
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .traveler {
    animation: none;
    display: none;
  }
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 700px) {
  .stage-label {
    font-size: 9.5px;
  }
  .pipeline-label {
    flex-direction: column;
    gap: 4px;
  }
}

/* ---------- SECTION SHELL ---------- */
section {
  padding: 88px 0;
}

section.alt {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-body p {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 16px;
}

.about-body strong {
  color: var(--ink);
  font-weight: 600;
}

.pullquote {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  position: relative;
}

.pullquote p {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 16px;
}

.pullquote-attr {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-faint);
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ---------- SERVICES ---------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--bg-card);
  padding: 34px;
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  display: inline-block;
  padding: 4px 9px;
  border-radius: 5px;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
}

@media (max-width: 700px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- HOW IT WORKS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 1.5px;
  background: var(--border-strong);
}

.step {
  position: relative;
  padding: 0 14px 0 0;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #fff;
  background: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.step:first-child .step-num {
  background: var(--accent);
}

.step h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.step p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .steps::before {
    display: none;
  }
}

/* ---------- WHY ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 40px;
}

.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.why-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.why-item p {
  color: var(--ink-soft);
  font-size: 14.5px;
}

.why-item strong {
  display: block;
  color: var(--ink);
  font-size: 15.5px;
  margin-bottom: 3px;
  font-weight: 600;
}

@media (max-width: 700px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- CASE STUDIES ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.case-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.case-stat {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
  line-height: 1;
}

.case-desc {
  font-size: 14px;
  color: var(--ink-soft);
}

@media (max-width: 800px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- PRICING ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  position: relative;
}

.price-featured-tag {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.price-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin-bottom: 24px;
  flex-grow: 1;
}

@media (max-width: 800px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- TESTIMONIAL ---------- */
.testimonial {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.testimonial blockquote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 20px;
}

.testimonial-attr {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-faint);
}

.placeholder-note {
  margin-top: 18px;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  border: 1px dashed var(--border-strong);
  padding: 5px 12px;
  border-radius: 20px;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.contact-info h2 {
  font-size: clamp(28px, 3.2vw, 36px);
  margin-bottom: 16px;
  line-height: 1.15;
}

.contact-info p {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 42ch;
}

.contact-founder {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.founder-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  flex-shrink: 0;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 96px;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: #C9CAD4;
  padding: 56px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 13.5px;
  color: #8C8EA0;
  max-width: 32ch;
}

.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6D6F82;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: #C9CAD4;
  margin-bottom: 10px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 12.5px;
  color: #6D6F82;
  font-family: var(--font-mono);
}