:root {
  --bg: #08090c;
  --surface: #0d1015;
  --surface-2: #11151c;
  --text: #f4f5f7;
  --muted: #858c99;
  --line: rgba(255,255,255,.09);
  --accent: #7c6cff;
  --accent-2: #4f7cff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* NAVIGATION */

header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .18em;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 9px;
  background: rgba(255,255,255,.035);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #969da9;
  font-size: 13px;
}

.nav-links a {
  transition: color .2s ease;
}

.nav-links a:hover {
  color: white;
}

.nav-cta {
  padding: 9px 16px;
  color: white;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

/* HERO */

.hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 43%, rgba(92,82,255,.17), transparent 25%),
    radial-gradient(circle at 83% 62%, rgba(54,113,255,.10), transparent 28%),
    linear-gradient(180deg, #08090c 0%, #08090c 70%, #090b0f 100%);
}

.grid {
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, black 25%, black 75%, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 60%;
  padding-top: 60px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 25px;
  color: #8490ff;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 10px;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 27px;
  height: 1px;
  background: #7783ff;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(52px, 7vw, 86px);
  line-height: .96;
  letter-spacing: -.065em;
  font-weight: 650;
}

h1 .gradient {
  background: linear-gradient(100deg, #ffffff 10%, #8e85ff 55%, #6194ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 560px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 13px 19px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
  transition: .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.3);
}

.button.primary {
  border-color: #6e68ff;
  background: linear-gradient(135deg, #625cff, #7668ed);
  box-shadow: 0 15px 45px rgba(92,80,255,.18);
}

/* ORBIT */

.orbit {
  position: absolute;
  z-index: 1;
  right: -50px;
  top: 50%;
  width: 570px;
  height: 570px;
  transform: translateY(-50%);
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(109,117,255,.13);
  border-radius: 50%;
}

.orbit::after {
  inset: 70px;
  border-color: rgba(109,117,255,.18);
}

.core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 230px;
  height: 230px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 27%, rgba(139,146,255,.35), transparent 17%),
    radial-gradient(circle at 52% 50%, #151a2d, #090c13 67%);
  border: 1px solid rgba(121,132,255,.45);
  box-shadow:
    0 0 80px rgba(78,78,255,.18),
    inset -25px -25px 55px rgba(0,0,0,.7);
}

.core::after {
  content: "K";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 74px;
  font-weight: 700;
  color: rgba(240,241,255,.9);
}

/* SECTIONS */

section {
  border-bottom: 1px solid var(--line);
}

.services {
  padding: 110px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  margin-bottom: 70px;
}

.kicker {
  color: #7d87ff;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 10px;
  font-weight: 700;
}

h2 {
  margin: 12px 0 0;
  font-size: 46px;
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 600;
}

.section-description {
  align-self: end;
  max-width: 440px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

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

.service {
  min-height: 270px;
  padding: 32px 38px 32px 0;
  border-right: 1px solid var(--line);
}

.service + .service {
  padding-left: 38px;
}

.service:last-child {
  border-right: 0;
}

.service-number {
  color: #5962b4;
  font-size: 11px;
  letter-spacing: .1em;
  margin-bottom: 45px;
}

.service h3 {
  margin: 0 0 13px;
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -.025em;
}

.service p {
  max-width: 290px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

/* ABOUT */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.about-copy {
  padding: 105px 90px 105px 0;
  border-right: 1px solid var(--line);
}

.about-copy p {
  max-width: 450px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.about-copy p:first-of-type {
  margin-top: 30px;
}

.about-visual {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(89,85,255,.11), transparent 38%),
    #090b10;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 48%, rgba(116,127,255,.07) 49%, transparent 50%),
    linear-gradient(60deg, transparent 48%, rgba(116,127,255,.07) 49%, transparent 50%);
}

.big-k {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -53%);
  font-size: 220px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.12em;
  color: rgba(255,255,255,.025);
}

.ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 290px;
  height: 290px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(118,128,255,.25);
  border-radius: 50%;
}

.ring::after {
  content: "";
  position: absolute;
  inset: 45px;
  border: 1px solid rgba(118,128,255,.18);
  border-radius: 50%;
}

/* STATS */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 38px 25px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-size: 29px;
  font-weight: 550;
  letter-spacing: -.04em;
}

.stat span {
  display: block;
  margin-top: 5px;
  color: #737b89;
  font-size: 11px;
}

/* CTA */

.contact {
  position: relative;
  overflow: hidden;
  padding: 125px 0;
  text-align: center;
}

.contact::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 600px;
  height: 300px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(89,79,255,.13), transparent 70%);
}

.contact h2,
.contact p,
.contact .button {
  position: relative;
}

.contact h2 {
  max-width: 700px;
  margin: auto;
  font-size: 55px;
}

.contact p {
  max-width: 450px;
  margin: 22px auto 32px;
  color: var(--muted);
  font-size: 14px;
}

/* FOOTER */

footer {
  padding: 30px 0;
  color: #646c79;
  font-size: 11px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
}

/* MOBILE */

@media (max-width: 800px) {
  .container {
    width: calc(100% - 32px);
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: 100%;
    padding-top: 80px;
  }

  .hero-text {
    font-size: 14px;
  }

  .orbit {
    right: -180px;
    top: auto;
    bottom: -130px;
    transform: none;
    width: 430px;
    height: 430px;
    opacity: .65;
  }

  .core {
    width: 170px;
    height: 170px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  h2 {
    font-size: 36px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service,
  .service + .service {
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service:last-child {
    border-bottom: 0;
  }

  .about {
    grid-template-columns: 1fr;
  }

  .about-copy {
    padding: 75px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-visual {
    min-height: 390px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    border-bottom: 1px solid var(--line);
  }

  .stat:nth-child(2n) {
    border-right: 0;
  }

  .contact {
    padding: 90px 0;
  }

  .contact h2 {
    font-size: 40px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }
}
