@font-face {
  font-family: Outfit;
  src: url("./assets/fonts/outfit.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("./assets/fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f5fc;
  --ink: #15142d;
  --body: #49465e;
  --blue: #2928d4;
  --lilac: #dad5ff;
  --line: #d9d6e8;
  --gutter: clamp(1rem, 4vw, 4.5rem);
  --display: Outfit, "Avenir Next", sans-serif;
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
img { display: block; max-width: 100%; }
p { margin: 0; line-height: 1.6; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-family: var(--display); line-height: 1; text-wrap: balance; }
h2 { font-size: clamp(2.75rem, 6.2vw, 6rem); font-weight: 600; letter-spacing: -.058em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.shell { width: min(94rem, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: .5rem; left: 1rem; padding: .75rem; background: var(--paper); }
.skip:not(:focus) { clip-path: inset(50%); }

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  font: 600 1.18rem/.91 var(--display);
  letter-spacing: -.045em;
  text-decoration: none;
}
.brand-mark { flex: 0 0 2.6rem; width: 2.6rem; height: 2.6rem; background: center / contain no-repeat url("./assets/merk.svg"); }
nav { display: flex; align-items: center; gap: clamp(1rem, 3.2vw, 3.25rem); }
.nav-link, .back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}
.nav-link:hover, .back-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .3em; }
.footer-registration { color: var(--body); font-size: .875rem; }
.button {
  display: inline-flex;
  width: fit-content;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 2rem;
  background: var(--blue);
  color: white;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, scale .18s ease;
}
.button:active { scale: .96; }
.button:hover { background: #1c1b98; }
.button-outline { min-height: 2.8rem; border-color: var(--line); background: transparent; color: var(--ink); }
.button-outline:hover { border-color: var(--blue); background: var(--blue); color: white; }
.button-light { background: white; color: var(--blue); overflow-wrap: anywhere; }
.button-light:hover { background: var(--lilac); }
.hero .button:focus-visible { outline-color: var(--blue); }
.contact .button:focus-visible { outline-color: white; }

.hero {
  display: grid;
  grid-template-columns: 47fr 53fr;
  align-items: center;
  gap: clamp(1.5rem, 3.2vw, 4rem);
  padding-top: clamp(.7rem, 1.5vw, 1.75rem);
  padding-bottom: clamp(3.5rem, 7.5vw, 8rem);
}
.hero-copy { padding: 1rem 0 1rem clamp(0rem, 1vw, 1rem); }
.hero h1 {
  font-size: clamp(4rem, 10.6vw, 10.5rem);
  font-weight: 600;
  letter-spacing: -.064em;
  line-height: .83;
}
.hero h1 span, .approach h2 span { display: block; }
.hero h1 span { color: var(--blue); }
.hero p { max-width: 25em; margin-top: clamp(1.5rem, 3vw, 2.5rem); color: var(--body); font-size: clamp(1.06rem, 1.5vw, 1.27rem); }
.hero .button { margin-top: 1.45rem; }
.hero-image {
  width: 100%;
  height: clamp(29rem, 48vw, 48rem);
  border-radius: .85rem .85rem .85rem min(17vw, 15rem);
  background: #c0b9f5;
  object-fit: cover;
  object-position: center 57%;
  outline: 1px solid oklch(0 0 0 / .1);
  outline-offset: -1px;
}

.services { padding-block: 0 clamp(4.75rem, 8vw, 8.5rem); }
.services h2 { padding-top: clamp(1.6rem, 3vw, 3rem); border-top: 1px solid var(--line); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 1.5vw, 1.5rem); margin-top: clamp(1.5rem, 3vw, 2.9rem); }
.service {
  display: flex;
  flex-direction: column;
  padding: clamp(1.2rem, 2.55vw, 2.75rem);
  border-radius: .85rem;
}
.service-custom { background: #e4dfff; }
.service-systems { background: #191738; color: #fff; }
.service-saas { background: #dae5ff; }
.service h3 { margin-top: auto; font-size: clamp(1.55rem, 2.55vw, 2.55rem); font-weight: 600; letter-spacing: -.045em; text-wrap: wrap; }
.service p { margin-top: .8rem; color: var(--body); }
.service-systems p { color: #e0ddf4; }
.service-shape {
  position: relative;
  width: clamp(4rem, 8vw, 7rem);
  aspect-ratio: 1;
  margin: .15rem 0 clamp(1.8rem, 4.5vw, 5.15rem);
}
.service-shape::before, .service-shape::after { content: ""; position: absolute; }
.shape-custom::before {
  inset: 5% 22% 25% 0;
  border: clamp(.45rem, 1vw, .8rem) solid var(--blue);
  border-radius: 60% 60% .2rem .2rem;
}
.shape-custom::after { inset: 43% 0 0 39%; border-radius: .18rem; background: var(--blue); }
.shape-systems::before, .shape-systems::after {
  width: 68%;
  height: 56%;
  border: clamp(.4rem, .8vw, .65rem) solid #bdb1ff;
  border-radius: 5rem;
  transform: rotate(-39deg);
}
.shape-systems::before { top: 5%; right: 0; }
.shape-systems::after { bottom: 5%; left: 0; border-color: #eef0ff; }
.shape-saas::before { inset: 4%; border-radius: 50%; background: conic-gradient(var(--blue) 25%, transparent 25% 50%, #677cf1 50% 75%, transparent 75%); }
.shape-saas::after { inset: 4%; border: clamp(.45rem, 1vw, .8rem) solid var(--blue); border-radius: 50%; }

.approach { background: #191738; color: #fff; }
.approach-inner {
  display: grid;
  grid-template-columns: 1.16fr 1fr;
  gap: clamp(2rem, 8vw, 10rem);
  align-items: end;
  padding-block: clamp(3.75rem, 7.5vw, 8.5rem);
}
.approach h2 { font-size: clamp(2.75rem, 5.8vw, 5.8rem); text-wrap: wrap; }
.approach h2 span { color: #c2b7ff; }
.approach-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1.9;
  margin-top: clamp(1.5rem, 3vw, 2.55rem);
  border-radius: .85rem .85rem 4rem .85rem;
  object-fit: cover;
  outline: 1px solid oklch(1 0 0 / .1);
  outline-offset: -1px;
}
.steps { margin: 0; padding: 0; list-style-position: inside; }
.steps li { padding-block: clamp(.85rem, 1.7vw, 1.4rem); border-top: 1px solid #585279; }
.steps li:last-child { border-bottom: 1px solid #585279; }
.steps li::marker { color: #c2b7ff; font-weight: 700; }
.steps h3 { display: inline; padding-inline-start: .25rem; font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 550; }
.steps p { margin-top: .55rem; color: #e0ddf4; }

.contact { background: var(--blue); color: white; }
.contact-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(1.2rem, 5vw, 5rem);
  align-items: end;
  padding-block: clamp(4rem, 8vw, 9rem);
}
.contact h2 { max-width: 8.5em; font-size: clamp(3.6rem, 8.65vw, 9rem); text-wrap: wrap; }
.contact-copy { max-width: 23rem; padding-bottom: .35rem; }
.contact-brand { margin-bottom: 1rem; }
.contact-brand .brand-mark { filter: brightness(0) invert(1); }
.contact-copy p { font-size: 1.1rem; }
.contact-copy .button { margin-top: 1.25rem; max-width: 100%; text-align: center; }

@media (max-width: 700px) {
  .header-inner, .footer-inner { min-height: 4.75rem; }
  .header-inner { flex-wrap: wrap; padding-block: .75rem; }
  .brand { font-size: 1.02rem; gap: .35rem; }
  .brand-mark { flex-basis: 2rem; width: 2rem; height: 2rem; }
  nav { gap: .9rem; }
  .nav-link, nav .button { font-size: .875rem; }
  nav .button { padding-inline: .85rem; }
  .hero, .approach-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero { gap: 1.85rem; }
  .hero-copy { padding: 1.65rem .3rem 0; }
  .hero h1 { font-size: clamp(3.7rem, 14.5vw, 6.5rem); }
  .hero p { margin-top: 1.35rem; }
  .hero-image { height: auto; aspect-ratio: 1; border-bottom-left-radius: 24%; }
  .services-grid { grid-template-columns: 1fr; }
  .service-shape { margin-bottom: 1.25rem; }
}

@media (max-width: 480px) {
  .header-inner { gap: .25rem .75rem; }
  nav { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:active { scale: none; }
}
