:root {
  color-scheme: dark;
  --bg: #020817;
  --bg-deep: #010511;
  --surface: #061126;
  --surface-soft: #08162e;
  --text: #f8fbff;
  --muted: #8995ab;
  --muted-bright: #b6c0d1;
  --border: rgba(139, 174, 220, 0.17);
  --border-strong: rgba(94, 165, 255, 0.28);
  --blue: #0878ff;
  --cyan: #08c7ef;
  --accent: #07a9ff;
  --shell: 1300px;
  --header-height: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

img,
svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    background 260ms ease,
    border-color 260ms ease,
    backdrop-filter 260ms ease;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  border-color: var(--border);
  background: rgba(2, 8, 23, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 48px), 1360px);
  height: 100%;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 10px;
  font-weight: 720;
  letter-spacing: -0.02em;
}

.brand-mark {
  position: relative;
  display: block;
  width: 45px;
  height: 35px;
  flex: 0 0 45px;
  overflow: hidden;
}

.brand-mark img {
  position: absolute;
  top: -14px;
  left: -11px;
  width: 68px;
  max-width: none;
  height: auto;
}

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

.site-nav {
  position: absolute;
  left: 50%;
  display: flex;
  height: 100%;
  transform: translateX(-50%);
  align-items: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  color: var(--muted-bright);
  font-size: 13px;
  font-weight: 560;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  content: "";
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px auto;
  background: var(--text);
  transition:
    transform 220ms var(--ease),
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: max(760px, 100svh);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  isolation: isolate;
}

.hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-color: var(--bg);
  background-image: url("/assets/hero-network.png");
  background-position: center;
  background-size: cover;
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-art::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 8, 23, 0.08) 0%, transparent 48%),
    linear-gradient(0deg, var(--bg) 0%, transparent 15%);
  content: "";
  pointer-events: none;
}

.hero-inner {
  display: flex;
  min-height: max(760px, 100svh);
  align-items: center;
  padding-block: 150px 126px;
}

.hero-copy {
  width: min(840px, 68%);
}

.hero h1 {
  max-width: 830px;
  margin: 0;
  font-size: clamp(48px, 4.7vw, 70px);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.hero p {
  max-width: 530px;
  margin: 28px 0 0;
  color: var(--muted-bright);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  transition:
    transform 220ms var(--ease),
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button svg,
.solution-item a svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 220ms var(--ease);
}

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

.button:hover svg,
.button:focus-visible svg,
.solution-item a:hover svg,
.solution-item a:focus-visible svg {
  transform: translateX(4px);
}

.button-primary {
  background: linear-gradient(110deg, var(--blue), #08b8f1);
  box-shadow: 0 12px 38px rgba(0, 136, 255, 0.17);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 16px 44px rgba(0, 164, 255, 0.27);
}

.button-secondary {
  border-color: rgba(23, 173, 255, 0.66);
  background: rgba(3, 13, 31, 0.5);
  color: #28c7ff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--cyan);
  background: rgba(7, 40, 72, 0.62);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 102px;
  left: 50%;
  display: grid;
  justify-items: center;
  transform: translateX(-50%);
  color: rgba(177, 193, 215, 0.48);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 32px;
  margin-top: 10px;
  overflow: hidden;
  background: rgba(120, 166, 216, 0.2);
}

.scroll-cue i::after {
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 100%;
  background: var(--cyan);
  content: "";
  animation: scroll-line 2.2s ease-in-out infinite;
}

.hero-continuation {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: 70px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(100, 151, 207, 0.12);
  background: linear-gradient(180deg, rgba(6, 18, 40, 0.58), rgba(4, 13, 30, 0.95));
}

.continuation-line {
  width: min(30vw, 400px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(19, 155, 255, 0.42));
}

.continuation-line-right {
  transform: scaleX(-1);
}

.continuation-node {
  width: 11px;
  height: 11px;
  border: 2px solid #095ba8;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(8, 199, 239, 0.65);
}

.solutions {
  position: relative;
  padding: 84px 0 66px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 8%, rgba(8, 120, 255, 0.06), transparent 30%),
    var(--bg-deep);
}

.solutions::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(52, 130, 217, 0.24) 0.65px, transparent 0.65px);
  background-size: 34px 34px;
  content: "";
  mask-image: linear-gradient(90deg, black, transparent 32%);
  opacity: 0.23;
  pointer-events: none;
}

.section-heading {
  display: flex;
  margin-bottom: 34px;
  align-items: flex-end;
  justify-content: space-between;
}

.section-heading h2,
.network h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 530;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.section-heading p,
.network-copy p,
.contact-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.solution-item {
  min-height: 260px;
  padding: 36px 36px 32px;
  border-right: 1px solid var(--border);
}

.solution-item:first-child {
  padding-left: 0;
}

.solution-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.solution-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 30px;
  fill: none;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.solution-item h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 620;
  letter-spacing: -0.02em;
}

.solution-item p {
  min-height: 76px;
  margin: 10px 0 19px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.solution-item > a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  color: var(--cyan);
}

.network {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  isolation: isolate;
}

.network-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-color: var(--bg);
  background-image: url("/assets/network-band.png");
  background-position: center;
  background-size: cover;
}

.network-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 8, 23, 0.1), transparent 48%);
  content: "";
}

.network-inner {
  display: flex;
  min-height: 560px;
  align-items: center;
}

.network-copy {
  width: min(470px, 45%);
}

.network-copy p {
  max-width: 430px;
  margin-bottom: 30px;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background: linear-gradient(120deg, #041026, #020817 66%);
}

.contact-lines {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background:
    linear-gradient(120deg, transparent 8%, rgba(25, 118, 217, 0.28) 8.1%, transparent 8.2%),
    linear-gradient(120deg, transparent 78%, rgba(26, 141, 255, 0.34) 78.1%, transparent 78.2%);
  pointer-events: none;
}

.contact-lines::before,
.contact-lines::after {
  position: absolute;
  top: 46%;
  width: 28%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 151, 255, 0.55));
  content: "";
}

.contact-lines::before {
  left: 0;
}

.contact-lines::after {
  right: 0;
  transform: scaleX(-1);
}

.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 72px;
  align-items: center;
}

.contact-copy {
  max-width: 760px;
}

.contact-section h2 {
  font-size: clamp(34px, 3.2vw, 46px);
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 30px;
  align-items: end;
}

.contact-actions .button {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 10px;
}

.contact-link {
  display: grid;
  gap: 3px;
  padding-bottom: 4px;
}

.contact-link span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-link strong {
  font-size: 14px;
  font-weight: 580;
}

.contact-link:hover strong,
.contact-link:focus-visible strong {
  color: var(--cyan);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

.footer-inner {
  display: grid;
  min-height: 112px;
  grid-template-columns: 1fr auto 1fr;
  gap: 44px;
  align-items: center;
}

.footer-brand {
  justify-self: start;
}

.footer-nav {
  display: flex;
  gap: 28px;
  color: var(--muted-bright);
  font-size: 12px;
}

.footer-nav a {
  transition: color 180ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--cyan);
}

.footer-inner > p {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.reveal {
  transform: translateY(22px);
  opacity: 0;
  transition:
    transform 720ms var(--ease),
    opacity 720ms ease;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.solution-item:nth-child(2) {
  transition-delay: 70ms;
}

.solution-item:nth-child(3) {
  transition-delay: 140ms;
}

.solution-item:nth-child(4) {
  transition-delay: 210ms;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

@keyframes scroll-line {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(200%);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.01) translate3d(-0.25%, 0, 0);
  }
  to {
    transform: scale(1.035) translate3d(0.35%, -0.3%, 0);
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 70px;
  }

  .section-shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .header-inner {
    width: calc(100% - 32px);
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    display: flex;
    width: min(82vw, 380px);
    height: 100svh;
    padding: 112px 34px 40px;
    transform: translateX(100%);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-left: 1px solid var(--border);
    background: rgba(2, 8, 23, 0.97);
    box-shadow: -30px 0 70px rgba(0, 0, 0, 0.42);
    transition: transform 300ms var(--ease);
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    height: auto;
    padding: 17px 0;
    border-bottom: 1px solid var(--border);
    font-size: 17px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-copy {
    width: min(660px, 82%);
  }

  .solution-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-item {
    border-bottom: 1px solid var(--border);
  }

  .solution-item:nth-child(2) {
    padding-right: 0;
    border-right: 0;
  }

  .solution-item:nth-child(3) {
    padding-left: 0;
    border-bottom: 0;
  }

  .solution-item:nth-child(4) {
    border-right: 0;
    border-bottom: 0;
  }

  .network-copy {
    width: min(470px, 58%);
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-actions {
    max-width: 520px;
  }

  .footer-inner {
    min-height: 156px;
    grid-template-columns: 1fr auto;
  }

  .footer-nav {
    justify-self: end;
  }

  .footer-inner > p {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: -20px;
  }
}

@media (max-width: 680px) {
  .section-shell {
    width: calc(100% - 32px);
  }

  .brand-name {
    font-size: 14px;
  }

  .hero,
  .hero-inner {
    min-height: 780px;
  }

  .hero-art {
    background-position: 65% center;
  }

  .hero-art::after {
    background:
      linear-gradient(90deg, rgba(2, 8, 23, 0.32), transparent 88%),
      linear-gradient(0deg, var(--bg) 0%, transparent 20%);
  }

  .hero-inner {
    align-items: flex-end;
    padding-block: 130px 184px;
  }

  .hero-copy {
    width: 100%;
  }

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

  .hero p {
    max-width: 410px;
    margin-top: 22px;
    font-size: 17px;
  }

  .button-row {
    margin-top: 30px;
  }

  .button-row .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .hero-continuation {
    height: 52px;
  }

  .solutions {
    padding: 86px 0 66px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .network h2,
  .contact-section h2 {
    font-size: 38px;
  }

  .section-heading p,
  .network-copy p,
  .contact-copy p {
    font-size: 15px;
  }

  .solution-list {
    grid-template-columns: 1fr;
  }

  .solution-item,
  .solution-item:first-child,
  .solution-item:nth-child(2),
  .solution-item:nth-child(3),
  .solution-item:nth-child(4),
  .solution-item:last-child {
    min-height: 0;
    padding: 34px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .solution-item:last-child {
    border-bottom: 0;
  }

  .solution-icon {
    margin-bottom: 22px;
  }

  .solution-item p {
    min-height: 0;
    margin-bottom: 13px;
  }

  .network,
  .network-inner {
    min-height: 650px;
  }

  .network-art {
    background-position: 65% center;
  }

  .network-art::after {
    background: linear-gradient(90deg, rgba(2, 8, 23, 0.55), rgba(2, 8, 23, 0.06));
  }

  .network-inner {
    align-items: flex-end;
    padding-bottom: 72px;
  }

  .network-copy {
    width: 100%;
  }

  .network-copy .button {
    width: 100%;
  }

  .contact-section {
    padding: 68px 0;
  }

  .contact-inner {
    gap: 34px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .contact-actions .button {
    grid-column: auto;
    margin-top: 12px;
  }

  .contact-link {
    padding: 8px 0 14px;
    border-bottom: 1px solid var(--border);
  }

  .footer-inner {
    min-height: 0;
    padding: 42px 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-nav {
    display: grid;
    justify-self: start;
    grid-template-columns: repeat(2, auto);
    gap: 13px 32px;
  }

  .footer-inner > p {
    grid-column: auto;
    margin-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
