:root {
  --ink: #07111f;
  --ink-2: #0b1728;
  --paper: #edf4f8;
  --paper-2: #dfeaf0;
  --muted: #8ea0ad;
  --cyan: #28d7f3;
  --mint: #64f2b7;
  --line: rgba(255, 255, 255, 0.16);
  --dark-line: rgba(180, 220, 235, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Manrope, system-ui, sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

.page-noise {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 3px 3px;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  position: fixed;
  z-index: 40;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px clamp(22px, 5vw, 76px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 30;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 0;
}

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

.brand strong,
.brand small {
  display: block;
}

.brand span {
  min-width: 0;
}

.brand strong {
  font-size: 0.98rem;
  letter-spacing: 0.08em;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  gap: clamp(20px, 4vw, 46px);
}

.site-nav a,
.menu-toggle {
  color: rgba(237, 244, 248, 0.78);
  font-size: 0.93rem;
}

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

.menu-toggle {
  background: none;
  border: 0;
  display: none;
  font: inherit;
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-light {
  background:
    radial-gradient(circle at 18% 20%, rgba(40, 215, 243, 0.13), transparent 32rem),
    radial-gradient(circle at 86% 18%, rgba(100, 242, 183, 0.1), transparent 28rem),
    linear-gradient(135deg, #0d1b2b 0%, #122636 48%, #081320 100%);
  color: var(--paper);
  overflow: hidden;
  position: relative;
}

.section-light::before {
  animation: ambientGrid 16s linear infinite;
  background-image:
    linear-gradient(rgba(40, 215, 243, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 215, 243, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
}

.section-light > * {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.hero-media {
  inset: 0;
  position: absolute;
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.88) 0%, rgba(7, 17, 31, 0.52) 52%, rgba(7, 17, 31, 0.74) 100%),
    radial-gradient(circle at 55% 28%, rgba(40, 215, 243, 0.22), transparent 24rem);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  transform: scale(1.04);
  width: 100%;
}

.hero-cube {
  animation: cubeTrace 9s ease-in-out infinite;
  border: 1px solid rgba(40, 215, 243, 0.45);
  height: min(30vw, 360px);
  position: absolute;
  right: 10vw;
  top: 23vh;
  transform: rotate(45deg) skew(-14deg, -14deg);
  width: min(30vw, 360px);
  z-index: 2;
}

.hero-cube span {
  border: 1px solid rgba(100, 242, 183, 0.42);
  inset: 10%;
  position: absolute;
}

.hero-cube span:nth-child(2) {
  inset: 24%;
}

.hero-cube span:nth-child(3) {
  inset: 38%;
}

.hero-cube span:nth-child(4) {
  animation: pulseBorder 3.5s ease-in-out infinite;
  inset: -8%;
}

.hero-content {
  align-self: center;
  max-width: 760px;
  padding: 120px clamp(22px, 5vw, 76px) 80px;
  position: relative;
  z-index: 3;
}

.eyebrow {
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--mint);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 8.5rem;
  line-height: 0.82;
  margin-bottom: 34px;
  max-width: 100%;
}

h1 span {
  color: rgba(237, 244, 248, 0.72);
  display: block;
}

h2 {
  font-size: 4.25rem;
  line-height: 1.02;
  margin-bottom: 0;
}

h3 {
  font-size: 3.4rem;
  line-height: 1;
  margin-bottom: 20px;
}

.hero-content p {
  color: rgba(237, 244, 248, 0.78);
  font-size: 1.35rem;
  max-width: 560px;
}

.text-link {
  align-items: center;
  color: white;
  display: inline-flex;
  font-weight: 800;
  gap: 14px;
  margin-top: 22px;
}

.text-link::after {
  background: currentColor;
  content: "";
  height: 1px;
  transition: width 180ms ease;
  width: 56px;
}

.text-link:hover::after {
  width: 84px;
}

.text-link.dark {
  color: var(--paper);
}

.scroll-cue {
  bottom: 36px;
  color: rgba(237, 244, 248, 0.72);
  font-size: 0.9rem;
  left: clamp(22px, 5vw, 76px);
  position: absolute;
  z-index: 3;
}

.about {
  padding: clamp(90px, 12vw, 168px) clamp(22px, 5vw, 76px);
}

.section-label {
  color: var(--mint);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 26px;
}

.about-grid {
  display: grid;
  gap: clamp(36px, 7vw, 92px);
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.about-grid p,
.network-copy p {
  color: rgba(223, 234, 240, 0.74);
  font-size: 1.06rem;
}

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

.metrics article {
  border-right: 1px solid var(--dark-line);
  min-height: 170px;
  padding: clamp(28px, 4vw, 54px);
}

.metrics strong {
  color: var(--mint);
  display: block;
  font-size: 3.5rem;
  line-height: 1;
}

.metrics span {
  color: rgba(223, 234, 240, 0.68);
  display: block;
  margin-top: 10px;
}

.solutions {
  padding: clamp(92px, 12vw, 172px) clamp(22px, 5vw, 76px);
}

.section-intro {
  display: grid;
  gap: 28px;
  grid-template-columns: 0.45fr 1fr;
  margin-bottom: clamp(46px, 8vw, 86px);
}

.solution-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.solution-tabs button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: rgba(237, 244, 248, 0.7);
  cursor: pointer;
  flex: 0 0 auto;
  font: inherit;
  font-weight: 800;
  padding: 14px 18px;
}

.solution-tabs button.active {
  background: linear-gradient(135deg, rgba(40, 215, 243, 0.22), rgba(100, 242, 183, 0.16));
  border-color: rgba(100, 242, 183, 0.44);
  color: var(--paper);
}

.solution-stage {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 430px;
  overflow: hidden;
  position: relative;
}

.solution-card {
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.88), rgba(7, 17, 31, 0.52)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1600&q=80") center/cover;
  display: none;
  min-height: 430px;
  padding: clamp(32px, 5vw, 72px);
}

.solution-card.active {
  display: block;
}

.solution-card p {
  color: var(--mint);
  font-weight: 800;
}

.solution-card span {
  color: rgba(237, 244, 248, 0.78);
  display: block;
  font-size: 1.15rem;
  max-width: 680px;
}

dl {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin: 54px 0 0;
  max-width: 850px;
}

dl div {
  background: rgba(255, 255, 255, 0.06);
  padding: 20px;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

dd {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 6px 0 0;
}

.network {
  display: grid;
  gap: clamp(42px, 8vw, 120px);
  grid-template-columns: 0.75fr 1fr;
  padding: clamp(92px, 12vw, 172px) clamp(22px, 5vw, 76px);
}

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

.network-grid span {
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(40, 215, 243, 0.035));
  border-bottom: 1px solid var(--dark-line);
  display: flex;
  min-height: 108px;
  padding: 22px;
}

.network-grid span:nth-child(odd) {
  border-right: 1px solid var(--dark-line);
}

.cta {
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.94), rgba(7, 17, 31, 0.62)),
    url("https://images.unsplash.com/photo-1639322537504-6427a16b0a28?auto=format&fit=crop&w=1800&q=80") center/cover;
  min-height: 78vh;
  padding: clamp(92px, 12vw, 172px) clamp(22px, 5vw, 76px);
}

.cta div {
  max-width: 920px;
}

.button {
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  border-radius: var(--radius);
  color: #061019;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  margin-top: 40px;
  padding: 17px 24px;
  text-align: center;
}

.site-footer {
  align-items: center;
  background: #050b14;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 30px clamp(22px, 5vw, 76px);
}

[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 850ms ease,
    transform 850ms ease;
}

body.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

body.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes cubeTrace {
  0%,
  100% {
    opacity: 0.2;
    translate: 0 0;
  }
  50% {
    opacity: 0.5;
    translate: 0 -16px;
  }
}

@keyframes pulseBorder {
  0%,
  100% {
    opacity: 0.1;
    scale: 0.96;
  }
  50% {
    opacity: 0.5;
    scale: 1.04;
  }
}

@keyframes ambientGrid {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 72px 72px;
  }
}

@media (max-width: 1100px) {
  h1 {
    font-size: 6.6rem;
  }

  h2 {
    font-size: 3.4rem;
  }

  h3 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .metrics strong {
    font-size: 3rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    backdrop-filter: blur(18px);
    background: rgba(7, 17, 31, 0.985);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
    flex-direction: column;
    gap: 18px;
    inset: 72px 0 auto;
    max-height: 0;
    overflow: hidden;
    padding: 0 clamp(22px, 5vw, 76px);
    position: fixed;
    transition: max-height 240ms ease, padding 240ms ease;
  }

  .site-nav.open {
    max-height: 320px;
    padding-bottom: 28px;
    padding-top: 24px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.78) 0%, rgba(7, 17, 31, 0.62) 45%, rgba(7, 17, 31, 0.95) 100%),
      radial-gradient(circle at 70% 58%, rgba(40, 215, 243, 0.22), transparent 18rem);
  }

  .hero-content {
    align-self: start;
    padding-bottom: 210px;
    padding-top: 140px;
  }

  .hero-cube {
    bottom: 7vh;
    height: 300px;
    right: -80px;
    top: auto;
    width: 300px;
  }

  .about-grid,
  .section-intro,
  .network {
    grid-template-columns: 1fr;
  }

  .section-intro {
    gap: 18px;
  }

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

  .solution-tabs {
    margin-left: -6px;
    margin-right: -6px;
    padding: 0 6px 8px;
    scrollbar-width: thin;
  }

  .solution-card {
    min-height: 390px;
  }

  h1 {
    font-size: 5.2rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  h3 {
    font-size: 2.45rem;
  }
}

@media (max-width: 620px) {
  .page-noise {
    opacity: 0.16;
  }

  .brand img {
    height: 40px;
    width: 40px;
  }

  .brand strong {
    font-size: 0.88rem;
  }

  .brand small {
    font-size: 0.68rem;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header {
    padding: 16px 18px;
  }

  .menu-toggle {
    padding: 8px 0 8px 12px;
  }

  .site-nav {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-cube {
    bottom: 42px;
    height: 230px;
    opacity: 0.42;
    right: -108px;
    width: 230px;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
  }

  h1 {
    font-size: 2.85rem;
    line-height: 0.94;
    margin-bottom: 24px;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 2.2rem;
    line-height: 1.05;
  }

  h3 {
    font-size: 2rem;
  }

  .hero-content {
    padding-bottom: 120px;
    padding-top: 128px;
  }

  .hero-content p,
  .solution-card span,
  .about-grid p,
  .network-copy p {
    font-size: 1rem;
  }

  .text-link {
    gap: 10px;
    margin-top: 18px;
  }

  .text-link::after {
    width: 40px;
  }

  .hero-content,
  .about,
  .solutions,
  .network,
  .cta {
    padding-left: 18px;
    padding-right: 18px;
  }

  .about,
  .solutions,
  .network,
  .cta {
    padding-bottom: 78px;
    padding-top: 78px;
  }

  .about-grid,
  .network {
    gap: 28px;
  }

  .metrics,
  dl,
  .network-grid {
    grid-template-columns: 1fr;
  }

  .metrics article {
    border-right: 0;
    min-height: 112px;
    padding: 26px 18px;
  }

  .metrics strong {
    font-size: 2.5rem;
  }

  .network-grid span:nth-child(odd) {
    border-right: 0;
  }

  .solution-tabs button {
    font-size: 0.9rem;
    padding: 12px 14px;
  }

  .solution-stage {
    min-height: 0;
  }

  .solution-card {
    min-height: 0;
    padding: 28px 20px;
  }

  dl {
    margin-top: 30px;
  }

  dl div {
    padding: 16px;
  }

  .network-grid span {
    min-height: 78px;
    padding: 18px;
  }

  .cta {
    min-height: auto;
  }

  .button {
    max-width: 100%;
    overflow-wrap: anywhere;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand small {
    max-width: 130px;
  }

  .hero {
    min-height: 650px;
  }

  h1 {
    font-size: 2.5rem;
  }

  .hero-content {
    padding-top: 120px;
  }

  .scroll-cue {
    display: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
