:root {
  --bg: #050a1b;
  --bg-soft: #09122d;
  --panel: #0d1838;
  --line: rgba(167, 184, 232, 0.16);
  --text: #f7f8ff;
  --muted: #aab5d3;
  --blue: #4567ff;
  --cyan: #21d9e7;
  --magenta: #d22df4;
  --pink: #ff4778;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 68px;
  height: 52px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  color: #d9e0f4;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.nav-button {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(18, 37, 93, 0.32), transparent 56%),
    var(--bg);
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(7px);
  pointer-events: none;
}

.ambient-one {
  width: 520px;
  height: 520px;
  top: -230px;
  right: -170px;
  background: radial-gradient(circle, rgba(210, 45, 244, 0.18), transparent 67%);
}

.ambient-two {
  width: 540px;
  height: 540px;
  left: -280px;
  bottom: -250px;
  background: radial-gradient(circle, rgba(69, 103, 255, 0.2), transparent 68%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 112px;
  padding-bottom: 82px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(55px, 9vw, 120px);
}

.eyebrow {
  margin: 0 0 19px;
  color: #b5c0df;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(46px, 6.2vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #6681ff, #cd46ff 50%, #ff5b84);
  background-clip: text;
  -webkit-background-clip: text;
}

.lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  min-height: 50px;
  padding: 12px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: linear-gradient(100deg, var(--blue), var(--magenta) 57%, var(--pink));
  box-shadow: 0 14px 38px rgba(112, 55, 235, 0.28);
}

.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero-mark {
  display: grid;
  place-items: center;
}

.logo-frame {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(42, 64, 140, 0.42), rgba(7, 15, 37, 0.76) 62%);
  box-shadow: 0 28px 85px rgba(0, 0, 0, 0.32);
}

.logo-frame::before,
.logo-frame::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(118, 143, 229, 0.13);
  border-radius: 50%;
}

.logo-frame::before {
  inset: -24px;
}

.logo-frame::after {
  inset: -52px;
}

.logo-frame img {
  width: 78%;
  max-height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.42));
}

.services {
  padding: 88px 0 100px;
  border-top: 1px solid var(--line);
  background: #070f27;
}

.services-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: start;
}

.services-heading h2 {
  max-width: 470px;
  margin: 0;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list article {
  padding: 26px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.service-list article > span {
  color: #7187ff;
  font-size: 11px;
  font-weight: 900;
}

.service-list h3 {
  margin: 0 0 5px;
  font-size: 18px;
}

.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 68px 0 28px;
  border-top: 1px solid var(--line);
  background: #020714;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.55fr 0.65fr;
  gap: 60px;
}

.footer-brand img {
  width: 120px;
  height: 78px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 430px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-grid h2 {
  margin: 0 0 7px;
  font-size: 14px;
}

.footer-grid a,
.footer-grid span {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

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

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: #7e8aaa;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #b7c1df;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-inner,
  .services-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 790px;
  }

  .hero-mark {
    width: min(100%, 480px);
    margin-inline: auto;
  }

  .services-heading h2 {
    max-width: 720px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 56px;
    height: 44px;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small {
    display: none;
  }

  nav {
    gap: 12px;
  }

  nav > a:first-child {
    display: none;
  }

  .nav-button {
    padding: 9px 13px;
    font-size: 11px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 122px;
    padding-bottom: 78px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-mark {
    padding: 28px 22px 10px;
  }

  .logo-frame {
    width: min(100%, 320px);
  }

  .logo-frame::before {
    inset: -15px;
  }

  .logo-frame::after {
    inset: -32px;
  }

  .services {
    padding: 72px 0 82px;
  }

  .service-list article {
    grid-template-columns: 34px 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
