:root {
  --bg: #ffffff;
  --bg-2: #f5f8ff;
  --bg-3: #eef3fb;
  --panel: #ffffff;
  --line: #e3e9f3;
  --line-strong: #cdd6e6;
  --text: #0b1530;
  --text-soft: #2a3658;
  --muted: #5b6781;
  --brand: #1e63ff;
  --brand-2: #0a2a6b;
  --brand-3: #3b82f6;
  --accent: #0ea5e9;
  --scroll-offset: 20px;
  /* gap left above an anchored section's heading */
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset)
}

/* offset anchored sections so they land with breathing room below the sticky nav */
section[id] {
  scroll-margin-top: var(--scroll-offset)
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(30, 99, 255, .10), transparent 60%),
    radial-gradient(800px 460px at -10% 8%, rgba(14, 165, 233, .08), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 40px;
  min-height: 96px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(11, 21, 48, .02);
}

.brand {
  display: inline-flex;
  align-items: center
}

.brand img {
  height: 72px;
  width: auto;
  display: block
}

.foot-brand img {
  height: 60px;
  width: auto
}

.brand-fallback {
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: 20px;
  color: var(--brand-2)
}

.brand-fallback .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 14px -6px rgba(30, 99, 255, .6);
}

.brand-fallback em {
  font-style: normal;
  color: var(--brand);
  font-weight: 600
}

.foot-brand .brand-fallback {
  margin-bottom: 14px
}

.nav nav {
  display: flex;
  gap: 22px;
  margin-left: 18px;
  flex: 1
}

.nav nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 14px
}

.nav nav a:hover {
  color: var(--brand-2)
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(30, 99, 255, .55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -12px rgba(30, 99, 255, .6)
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: #fff
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-2)
}

.btn.big {
  padding: 16px 26px;
  font-size: 16px;
  border-radius: 12px
}

/* Hero */
.hero {
  position: relative;
  padding: 110px 32px 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #eef4ff 0%, #f6f9ff 55%, #ffffff 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none
}

.hero-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55
}

.hero-bg .blob-1 {
  width: 560px;
  height: 560px;
  left: -160px;
  top: -180px;
  background: radial-gradient(circle at 30% 30%, rgba(30, 99, 255, .55), rgba(30, 99, 255, 0) 70%);
}

.hero-bg .blob-2 {
  width: 680px;
  height: 680px;
  right: -220px;
  top: -140px;
  background: radial-gradient(circle at 60% 40%, rgba(14, 165, 233, .45), rgba(14, 165, 233, 0) 70%);
}

.hero-bg .blob-3 {
  width: 520px;
  height: 520px;
  left: 30%;
  bottom: -260px;
  background: radial-gradient(circle at 50% 50%, rgba(124, 92, 255, .35), rgba(124, 92, 255, 0) 70%);
}

.hero-bg .grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 42, 107, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 42, 107, .06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}

.eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk';
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--brand);
  padding: 6px 12px;
  border: 1px solid rgba(30, 99, 255, .25);
  border-radius: 999px;
  background: rgba(30, 99, 255, .06);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.05;
  margin: 0 0 22px;
  letter-spacing: -.02em;
  color: var(--brand-2);
}

.grad {
  background: linear-gradient(120deg, var(--brand), var(--accent) 65%, var(--brand-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-soft);
  max-width: 760px;
  margin: 0 0 30px
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 780px
}

.hero-meta>div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(11, 21, 48, .02), 0 8px 24px -18px rgba(11, 21, 48, .18);
}

.hero-meta strong {
  display: block;
  font-family: 'Space Grotesk';
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--brand-2)
}

.hero-meta span {
  color: var(--muted);
  font-size: 13px
}

/* Pillars */
.pillars {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 32px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pillar {
  padding: 26px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 1px 0 rgba(11, 21, 48, .02), 0 10px 30px -20px rgba(11, 21, 48, .18);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.pillar:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 99, 255, .4);
  box-shadow: 0 18px 36px -22px rgba(30, 99, 255, .35)
}

.pillar h3 {
  margin: 0 0 10px;
  font-family: 'Space Grotesk';
  font-size: 20px;
  color: var(--brand-2)
}

.pillar p {
  margin: 0;
  color: var(--muted);
  font-size: 15px
}

/* Sections */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 32px
}

.section.dark {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-3));
  max-width: none;
  padding: 90px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section.dark>* {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px
}

.section-head h2 {
  font-family: 'Space Grotesk';
  font-weight: 700;
  letter-spacing: -.01em;
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 14px 0 14px;
  line-height: 1.15;
  color: var(--brand-2);
}

.section-head p {
  color: var(--text-soft);
  margin: 0;
  font-size: 17px
}

.grid {
  display: grid;
  gap: 18px
}

.services {
  grid-template-columns: repeat(3, 1fr)
}

.card {
  padding: 26px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 1px 0 rgba(11, 21, 48, .02), 0 10px 30px -22px rgba(11, 21, 48, .18);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 99, 255, .4);
  box-shadow: 0 22px 40px -22px rgba(30, 99, 255, .3)
}

.card h3 {
  margin: 0 0 10px;
  font-family: 'Space Grotesk';
  font-size: 18px;
  color: var(--brand-2)
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px
}

.why {
  grid-template-columns: repeat(3, 1fr)
}

.why-item {
  padding: 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(11, 21, 48, .02), 0 10px 28px -22px rgba(11, 21, 48, .18);
}

.why-item h4 {
  margin: 0 0 8px;
  font-family: 'Space Grotesk';
  font-size: 16px;
  color: var(--brand-2)
}

.why-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: s;
}

.steps li {
  padding: 26px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(11, 21, 48, .02), 0 10px 30px -22px rgba(11, 21, 48, .18);
}

.steps li span {
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: .15em;
}

.steps h4 {
  margin: 10px 0 8px;
  font-family: 'Space Grotesk';
  font-size: 18px;
  color: var(--brand-2)
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px
}

/* Founder */
.founder-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}

.founder-grid h2 {
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 14px 0 16px;
  color: var(--brand-2)
}

.founder-grid p {
  color: var(--text-soft);
  font-size: 16px
}

.founder-grid .btn {
  margin-top: 14px
}

.founder-photo {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  max-width: 380px;
  justify-self: end;
  width: 100%;
  box-shadow: 0 20px 50px -25px rgba(11, 21, 48, .35);
}

.founder-photo img {
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%
}

.founder-placeholder {
  display: none;
  aspect-ratio: 4/5;
  width: 100%;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk';
  font-weight: 700;
  font-size: 72px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.founder-photo.no-photo .founder-placeholder {
  display: flex
}

.founder-photo figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: 13.5px;
  font-family: 'Space Grotesk';
  letter-spacing: .04em;
  border-top: 1px solid var(--line);
  background: #fff;
}

/* CTA */
.cta {
  max-width: 980px;
  margin: 40px auto 100px;
  padding: 64px 32px;
  text-align: center;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(30, 99, 255, .18), transparent 70%),
    linear-gradient(180deg, #fff, #f5f8ff);
  box-shadow: 0 30px 60px -30px rgba(11, 21, 48, .25);
}

.cta h2 {
  font-family: 'Space Grotesk';
  font-size: clamp(28px, 3.4vw, 40px);
  margin: 0 0 14px;
  color: var(--brand-2)
}

.cta p {
  color: var(--text-soft);
  margin: 0 0 28px
}

.cta .small {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted)
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2)
}

.foot-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px 32px 30px;
  display: grid;
  grid-template-columns: 1.2fr 1.6fr;
  gap: 40px;
}

.foot-brand img {
  margin-bottom: 14px
}

.foot-brand p {
  color: var(--muted);
  margin: 0;
  max-width: 300px
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px
}

.foot-cols h5 {
  font-family: 'Space Grotesk';
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

.foot-cols a {
  display: block;
  color: var(--text-soft);
  font-size: 14.5px;
  margin-bottom: 8px
}

.foot-cols a:hover {
  color: var(--brand)
}

.foot-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 32px 30px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

/* Responsive */
@media (max-width:900px) {
  .nav nav {
    display: none
  }

  .pillars {
    grid-template-columns: 1fr
  }

  .services,
  .why {
    grid-template-columns: 1fr 1fr
  }

  .steps {
    grid-template-columns: 1fr 1fr
  }

  .founder-grid {
    grid-template-columns: 1fr
  }

  .founder-photo {
    justify-self: start;
    max-width: 280px
  }

  .hero-meta {
    grid-template-columns: 1fr
  }

  .foot-inner {
    grid-template-columns: 1fr
  }
}

@media (max-width:560px) {
  .nav {
    padding: 12px 18px;
    gap: 10px
  }

  .hero {
    padding: 60px 20px 40px
  }

  .section,
  .section.dark {
    padding: 64px 20px
  }

  .services,
  .why,
  .steps {
    grid-template-columns: 1fr
  }

  .cta {
    padding: 48px 22px;
    margin: 20px 16px 60px
  }

  .foot-inner,
  .foot-bottom {
    padding-left: 20px;
    padding-right: 20px
  }
}