:root {
  --blue: #1376F1;
  --blue-2: #64A8FF;
  --dark: #111827;
  --body: #4B5563;
  --light: #F8FBFF;
  --border: #E7EEF8;
  --white: #FFFFFF;
  --shadow: 0 24px 80px rgba(17, 24, 39, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(19, 118, 241, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 118, 241, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 10%, #000 0, transparent 68%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid rgba(19, 118, 241, .55); outline-offset: 4px; border-radius: 8px; }
.skip-link {
  position: fixed;
  left: 18px;
  top: 14px;
  transform: translateY(-140%);
  z-index: 20;
  padding: 10px 14px;
  background: var(--dark);
  color: var(--white);
}
.skip-link:focus { transform: translateY(0); }

.site-bg, .glow, .noise { position: fixed; inset: 0; pointer-events: none; }
.site-bg { z-index: -1; overflow: hidden; }
.glow { width: 48vw; height: 48vw; filter: blur(80px); opacity: .24; border-radius: 999px; }
.glow-a { inset: -15vw auto auto -12vw; background: #BBD9FF; }
.glow-b { inset: 8vw -20vw auto auto; background: #DDEBFF; }
.noise { opacity: .35; background-image: radial-gradient(rgba(17, 24, 39, .09) .7px, transparent .7px); background-size: 3px 3px; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand img { width: clamp(190px, 22vw, 300px); }

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.hero {
  min-height: calc(100vh - 112px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 620px);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: 42px 0 86px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2 { margin: 0; letter-spacing: 0; line-height: .96; }
h1 { font-size: clamp(48px, 7.4vw, 94px); max-width: 760px; }
h1 span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(120deg, #0F5FD1 0%, #1376F1 46%, #7BB7FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-text {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--body);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-small { min-height: 42px; padding-inline: 17px; font-size: 14px; }
.btn-primary { color: var(--white); background: linear-gradient(135deg, var(--blue), #0B5ECE); box-shadow: 0 18px 44px rgba(19, 118, 241, .28); }
.btn-secondary { color: var(--dark); background: rgba(255, 255, 255, .76); border-color: var(--border); backdrop-filter: blur(18px); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 22px 58px rgba(19, 118, 241, .25); }

.ecosystem {
  --mx: 0px;
  --my: 0px;
  position: relative;
  aspect-ratio: 1;
  min-height: 420px;
  transform: translate3d(var(--mx), var(--my), 0);
}
.ecosystem::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(19, 118, 241, .16), transparent 63%);
  filter: blur(8px);
}
.network-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.paths path {
  fill: none;
  stroke: url(#lineGradient);
  stroke-width: 1.6;
  stroke-dasharray: 7 11;
  animation: dash 18s linear infinite;
}
.pulses circle { fill: var(--blue); filter: drop-shadow(0 0 10px rgba(19, 118, 241, .85)); }
.core-logo {
  position: absolute;
  inset: 50% auto auto 50%;
  width: clamp(116px, 18vw, 180px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(231, 238, 248, .88);
  border-radius: 8px;
  background: rgba(255, 255, 255, .8);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(24px);
}
.core-logo img { width: 72%; }
.node {
  position: absolute;
  left: 50%;
  top: 50%;
  min-width: 82px;
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  border: 1px solid rgba(231, 238, 248, .9);
  border-radius: 8px;
  color: var(--dark);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 16px 45px rgba(17, 24, 39, .08);
  font-size: 13px;
  font-weight: 800;
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y)));
  animation: float 5.8s ease-in-out infinite;
  backdrop-filter: blur(16px);
}
.node:nth-of-type(odd) { animation-delay: -2.2s; }

.section-heading { max-width: 780px; }
.section-heading h2, .cta h2, .not-found h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.05; }
.services { padding: 34px 0 74px; }
.pill-cloud { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.pill-cloud span {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #243144;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 36px rgba(17, 24, 39, .06);
  font-weight: 700;
  transition: transform .25s ease, border-color .25s ease;
}
.pill-cloud span:hover { transform: translateY(-4px); border-color: rgba(19, 118, 241, .45); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--border);
  box-shadow: var(--shadow);
}
.stats div { padding: 30px; background: rgba(255,255,255,.84); }
.stats strong { display: block; font-size: clamp(22px, 2vw, 30px); }
.stats span { display: block; margin-top: 8px; color: var(--body); }

.cta {
  margin-block: 82px;
  padding: clamp(42px, 7vw, 80px);
  border-radius: 8px;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 10%, rgba(100, 168, 255, .58), transparent 32%),
    linear-gradient(135deg, #0B1220 0%, #102B58 52%, #1376F1 120%);
  box-shadow: var(--shadow);
}
.cta .eyebrow { color: #9DCCFF; }
.cta p:not(.eyebrow) { max-width: 640px; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.75; }
.cta .btn { margin-top: 14px; background: var(--white); color: var(--blue); box-shadow: none; }
.email-link { display: inline-block; margin-left: 18px; color: rgba(255,255,255,.88); font-weight: 800; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 34px max(20px, calc((100vw - 1180px) / 2));
  color: rgba(255,255,255,.72);
  background: #0B1220;
}
.footer-logo img { width: 220px; }
.site-footer nav { display: flex; gap: 22px; font-weight: 700; }
.site-footer p { margin: 0; text-align: right; font-size: 14px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.page-404 { min-height: 100vh; display: grid; place-items: center; background: var(--light); }
.not-found { width: min(760px, calc(100% - 40px)); text-align: center; padding: 60px 0; }
.not-found .brand { display: inline-flex; margin-bottom: 40px; }
.not-found .btn { margin-top: 26px; }
.orbital-mark { position: relative; display: grid; place-items: center; width: 260px; aspect-ratio: 1; margin: 0 auto 28px; }
.orbital-mark img { width: 130px; }
.orbital-mark span { position: absolute; inset: 20px; border: 1px solid rgba(19, 118, 241, .22); border-radius: 50%; animation: spin 14s linear infinite; }
.orbital-mark span:nth-child(3) { inset: 44px; animation-duration: 11s; animation-direction: reverse; }
.orbital-mark span:nth-child(4) { inset: 72px; animation-duration: 8s; }

@keyframes dash { to { stroke-dashoffset: -180; } }
@keyframes float { 50% { margin-top: -12px; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 22px; }
  .ecosystem { width: min(620px, 100%); margin: 0 auto; order: -1; min-height: 360px; }
  .stats, .site-footer { grid-template-columns: 1fr; text-align: left; }
  .site-footer p { text-align: left; }
}
@media (max-width: 620px) {
  .site-header { width: min(100% - 28px, 1180px); padding-top: 18px; }
  .site-header .btn { display: none; }
  .section { width: min(100% - 28px, 1180px); }
  .hero { min-height: auto; padding-bottom: 54px; }
  .hero-actions, .btn { width: 100%; }
  .ecosystem { min-height: 330px; }
  .node { min-width: 68px; min-height: 34px; font-size: 11px; transform: translate(calc(-50% + (var(--x) * .58)), calc(-50% + (var(--y) * .58))); }
  .stats { display: block; }
  .cta { margin-block: 54px; padding: 34px 22px; }
  .email-link { display: block; margin: 18px 0 0; }
  .site-footer nav { flex-wrap: wrap; }
}
