:root {
  --bg: #020711;
  --bg-2: #06101d;
  --panel: #061427;
  --panel-2: #081b33;
  --ink: #f8fbff;
  --muted: #b7c3d3;
  --soft: #8090a6;
  --line: rgba(58, 137, 231, 0.34);
  --line-soft: rgba(148, 163, 184, 0.18);
  --blue: #0a84ff;
  --blue-2: #38bdf8;
  --blue-3: #60a5fa;
  --max: 1536px;
  --content: 1428px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(10, 132, 255, 0.17), transparent 32rem),
    radial-gradient(circle at 12% 22%, rgba(14, 165, 233, 0.09), transparent 28rem),
    linear-gradient(180deg, #020711 0%, #030914 48%, #06111f 100%);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(96, 165, 250, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(96, 165, 250, 0.025) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

a {
  color: #dbeafe;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--blue-2);
}

a:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 42px;
  width: min(100% - 88px, var(--content));
  margin: 0 auto;
  padding: 16px 0 10px;
  min-height: 76px;
}

body > .site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 76px;
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  color: #ffffff;
  font-size: clamp(1.85rem, 2.4vw, 2.4rem);
  font-weight: 860;
  letter-spacing: 0.28em;
  line-height: 1;
}

.brand:hover {
  color: #ffffff;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 58px);
}

.site-header nav a {
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 760;
}

.site-header nav a:hover {
  color: var(--blue-2);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 30px;
  border-radius: 4px;
  color: #ffffff;
  background: linear-gradient(180deg, #0969ff, #0656d8);
  font-weight: 760;
  box-shadow: 0 12px 34px rgba(10, 132, 255, 0.28);
}

.header-cta:hover,
.header-cta:focus {
  color: #ffffff;
  background: linear-gradient(180deg, #1d8bff, #0969ff);
}

main,
footer {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(460px, 0.84fr) minmax(620px, 1.16fr);
  align-items: center;
  gap: 38px;
  min-height: 574px;
  padding: 28px 44px 52px;
  border-bottom: 1px solid var(--line-soft);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 54%;
  height: 160px;
  pointer-events: none;
  background:
    linear-gradient(155deg, transparent 0 43%, rgba(10, 132, 255, 0.34) 43.3%, transparent 44%),
    linear-gradient(168deg, transparent 0 47%, rgba(10, 132, 255, 0.24) 47.3%, transparent 48%),
    linear-gradient(180deg, rgba(10, 132, 255, 0.16), transparent 1px);
  background-size: 90px 100%, 126px 100%, 100% 31px;
  opacity: 0.65;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
  min-width: 0;
  padding-left: 12px;
}

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

h1 {
  margin-bottom: 26px;
  color: var(--ink);
  font-size: clamp(3.1rem, 4.05vw, 4.3rem);
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h1 span + span {
  color: var(--blue);
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(1.85rem, 2.2vw, 2.45rem);
  line-height: 1.14;
  font-weight: 820;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0;
}

p {
  color: var(--muted);
}

.lede {
  max-width: 54ch;
  margin-bottom: 28px;
  color: #d4dbe6;
  font-size: clamp(1.08rem, 1.28vw, 1.22rem);
  line-height: 1.52;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  min-width: 194px;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 760;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #0a84ff, #0969ff);
  box-shadow: 0 16px 34px rgba(10, 132, 255, 0.25);
}

.button-primary:hover,
.button-primary:focus {
  color: #ffffff;
  background: linear-gradient(180deg, #37a2ff, #0a84ff);
}

.button-secondary {
  color: #eaf4ff;
  border: 1px solid rgba(10, 132, 255, 0.86);
  background: rgba(3, 12, 24, 0.4);
}

.button-secondary:hover,
.button-secondary:focus {
  color: #ffffff;
  border-color: var(--blue-2);
  background: rgba(10, 132, 255, 0.12);
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.capability-strip li {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 20px;
  border-right: 1px solid rgba(10, 132, 255, 0.38);
  color: #d9e4f2;
  font-size: 0.9rem;
  line-height: 1.26;
}

.capability-strip li:first-child {
  padding-left: 0;
}

.capability-strip li:last-child {
  border-right: 0;
}

.capability-strip svg {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  overflow: hidden;
}

.hero-visual svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.floor-grid {
  fill: none;
  stroke: rgba(10, 132, 255, 0.58);
  stroke-width: 1;
  filter: url(#glow);
  opacity: 0.9;
  animation: grid-breathe 7s ease-in-out infinite;
}

.main-board,
.mini-panel rect:first-child {
  fill: url(#panel-bg);
  stroke: rgba(10, 132, 255, 0.82);
  stroke-width: 1;
}

.cloud path,
.cloud circle {
  fill: none;
  stroke: var(--blue-2);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cloud circle,
.hot-dot {
  fill: #bfe6ff;
  filter: url(#glow);
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 2.4s ease-in-out infinite;
}

.cloud circle:nth-of-type(2),
.hot-dot:nth-of-type(2) {
  animation-delay: .45s;
}

.cloud circle:nth-of-type(3),
.hot-dot:nth-of-type(3) {
  animation-delay: .9s;
}

.cloud circle:nth-of-type(4),
.hot-dot:nth-of-type(4) {
  animation-delay: 1.35s;
}

.node-box rect {
  fill: #081b33;
  stroke: rgba(56, 189, 248, 0.92);
}

.node-box path,
.network-line {
  fill: none;
  stroke: rgba(96, 165, 250, 0.95);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.node-box circle {
  fill: var(--blue);
  filter: url(#glow);
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 2.8s ease-in-out infinite;
}

.data-flow {
  fill: none;
  stroke: url(#blue-glow);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .28;
  filter: url(#glow);
  animation: flow-pulse 2.4s ease-in-out infinite;
}

.flow-b,
.flow-e {
  animation-duration: 1.55s;
  animation-delay: -.35s;
}

.flow-c,
.flow-f {
  animation-duration: 1.85s;
  animation-delay: -.7s;
}

.flow-g {
  animation-duration: 1.7s;
  animation-delay: -.2s;
}

.data-packet {
  fill: #ffffff;
  stroke: #7dd3fc;
  stroke-width: 3;
  filter: url(#glow);
}

.packet-b,
.packet-d {
  fill: #7dd3fc;
}

.mini-panel text {
  fill: #bfe6ff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.mini-panel .big {
  fill: #eaf4ff;
  font-size: 14px;
}

.mini-panel path,
.mini-panel polyline,
.mini-panel circle {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mini-panel .bar {
  stroke: var(--blue-2);
  stroke-width: 5;
}

.mini-panel .bar {
  stroke-linecap: round;
}

.gauge-track {
  stroke: rgba(96, 165, 250, .38);
}

.gauge-fill {
  stroke: var(--blue-2);
  stroke-width: 7;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(-90deg);
  filter: url(#glow);
}

.gauge-value {
  text-anchor: middle;
  fill: #eaf4ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.build-pipeline text {
  fill: #bfe6ff;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .06em;
}

.pipeline-label,
.pipeline-dot {
  transform-box: fill-box;
  transform-origin: center;
}

.pipeline-dot {
  fill: rgba(96, 165, 250, .34);
  stroke: var(--blue-2);
  stroke-width: 1;
  filter: url(#glow);
}

.pipeline-track {
  opacity: .22;
}

.pipeline-progress {
  stroke: var(--blue-2);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: url(#glow);
}

.pipeline-runner {
  opacity: 0;
  filter: url(#glow);
  transform-box: fill-box;
  transform-origin: center;
}

.infra-vpc {
  fill: rgba(12, 38, 67, .42);
  stroke: rgba(56, 189, 248, .36);
  stroke-dasharray: 4 4;
}

.infra-link {
  fill: none;
  stroke: var(--blue-2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .75;
}

.infra-edge circle,
.infra-server rect {
  fill: rgba(2, 16, 34, .74);
  stroke: var(--blue-2);
  stroke-width: 1.5;
}

.infra-edge path,
.infra-server path,
.infra-db path,
.infra-db ellipse {
  fill: none;
  stroke: #7dd3fc;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.infra-shield {
  fill: rgba(14, 165, 233, .14);
  stroke: #7dd3fc;
  stroke-width: 1.5;
  filter: url(#glow);
}

.infra-light,
.infra-packet {
  fill: #ffffff;
  stroke: var(--blue-2);
  stroke-width: 1.5;
  filter: url(#glow);
}

.infra-light {
  animation: infra-light 1.8s ease-in-out infinite;
}

.infra-light:nth-of-type(2) {
  animation-delay: .35s;
}

.infra-light:nth-of-type(3) {
  animation-delay: .7s;
}

.infra-label {
  fill: rgba(191, 230, 255, .76);
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .08em;
}

.mini-panel .cmd {
  fill: #20e39b;
}

.terminal text {
  font-size: 8px;
}

.terminal text:first-of-type {
  font-size: 9px;
}

.terminal-cursor {
  fill: #20e39b;
  animation: cursor-blink 1.1s steps(1, end) infinite;
}

.deployments circle {
  animation: deploy-check 3s ease-in-out infinite;
}

.deployments circle:nth-of-type(2) {
  animation-delay: .45s;
}

.deployments circle:nth-of-type(3) {
  animation-delay: .9s;
}

.resources .bar {
  animation: resource-glow 2.6s ease-in-out infinite;
}

@keyframes data-stream {
  to { stroke-dashoffset: -76; }
}

@keyframes flow-pulse {
  0%, 100% { opacity: .22; }
  50% { opacity: .55; }
}

@keyframes node-pulse {
  0%, 100% {
    opacity: .8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.42);
  }
}

@keyframes grid-breathe {
  0%, 100% { opacity: .58; }
  50% { opacity: 1; }
}

@keyframes cursor-blink {
  0%, 48% { opacity: 1; }
  49%, 100% { opacity: 0; }
}

@keyframes chart-draw {
  0% { stroke-dashoffset: 260; opacity: .45; }
  42%, 72% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -260; opacity: .45; }
}

@keyframes deploy-check {
  0%, 100% { opacity: .62; }
  45%, 60% { opacity: 1; filter: url(#glow); }
}

@keyframes resource-glow {
  0%, 100% { opacity: .68; }
  50% { opacity: 1; }
}

@keyframes infra-light {
  0%, 100% {
    fill: rgba(96, 165, 250, .45);
    opacity: .62;
  }
  45%, 60% {
    fill: #ffffff;
    opacity: 1;
  }
}

.services {
  padding: 38px 44px 50px;
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}

.section-label {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.services h2 {
  margin-bottom: 38px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  text-align: left;
}

.service-card {
  min-height: 190px;
  padding: 0 30px 0 30px;
  border-left: 1px solid rgba(10, 132, 255, 0.42);
}

.service-card:first-child {
  border-left: 0;
  padding-left: 0;
}

.service-card p {
  margin-bottom: 0;
  color: #9faec2;
  font-size: 0.96rem;
  line-height: 1.5;
}

.service-icon {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue);
}

.service-icon svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 56px;
  padding: 78px 44px;
  border-bottom: 1px solid var(--line-soft);
}

.about-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 34px;
}

.about-copy p {
  margin-bottom: 0;
  color: #c9d6e6;
  font-size: 1.04rem;
}

.work-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid rgba(10, 132, 255, 0.42);
}

.work-list li {
  position: relative;
  padding: 0 0 18px 28px;
  color: #a8b7c9;
  font-size: 0.95rem;
  line-height: 1.48;
}

.work-list li:last-child {
  padding-bottom: 0;
}

.work-list li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 16px rgba(10, 132, 255, 0.9);
}

.contact-section {
  display: block;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
  padding: 36px;
  border: 1px solid rgba(10, 132, 255, 0.45);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(7, 23, 43, 0.92), rgba(3, 8, 18, 0.96));
}

.contact-panel p {
  max-width: 66ch;
  color: #c9d6e6;
}

.contact-actions {
  display: grid;
  justify-items: start;
  gap: 22px;
}

address {
  color: #aab8ca;
  font-style: normal;
  font-size: 0.94rem;
  line-height: 1.75;
}

footer {
  width: min(100% - 88px, var(--content));
  padding: 24px 0 38px;
  color: #8ea0b7;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

footer strong {
  color: #ffffff;
  letter-spacing: 0.05em;
}

.footer-address {
  margin-top: 5px;
  color: #7f91a8;
  font-size: 0.86rem;
}

@media (max-width: 1180px) {
  .site-header {
    width: calc(100% - 48px);
    grid-template-columns: 1fr auto;
  }

  .header-cta {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .hero-visual {
    max-width: 820px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 0;
  }

  .service-card:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: auto;
    padding: 24px 0 18px;
  }

  body > .site-header::after {
    top: 134px;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 0 0;
    border-top: 1px solid var(--line-soft);
  }

  .site-header nav a {
    flex: 1 1 0;
    text-align: center;
  }

  .hero {
    padding: 48px 24px 44px;
  }

  .hero-copy {
    padding-left: 0;
    max-width: 100%;
  }

  h1 {
    font-size: clamp(2.7rem, 10vw, 4.3rem);
  }

  .capability-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
  }

  .capability-strip li:nth-child(2) {
    border-right: 0;
  }

  .hero-visual svg {
    width: 112%;
    margin-left: -6%;
  }

  .services,
  .about-section,
  .contact-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .service-grid,
  .about-section,
  .about-copy,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(odd) {
    min-height: 0;
    padding: 0 0 26px;
    border-left: 0;
    border-bottom: 1px solid rgba(10, 132, 255, 0.32);
  }

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

  footer {
    width: calc(100% - 48px);
  }
}

@media (max-width: 520px) {
  .site-header {
    width: calc(100% - 28px);
  }

  .brand {
    font-size: 1.62rem;
    letter-spacing: 0.22em;
  }

  .site-header nav a {
    font-size: 0.9rem;
  }

  body > .site-header::after {
    top: 126px;
  }

  .hero {
    padding: 40px 14px 40px;
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 3.55rem);
    line-height: 1.04;
  }

  .lede {
    font-size: 1.02rem;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .capability-strip {
    grid-template-columns: 1fr;
  }

  .capability-strip li {
    min-height: 0;
    padding: 0;
    border-right: 0;
  }

  .hero-visual svg {
    width: 100%;
    margin-left: 0;
  }

  .services,
  .about-section,
  .contact-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .contact-panel {
    padding: 24px;
  }

  footer {
    width: calc(100% - 28px);
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .button:hover,
  .button:focus {
    transform: none;
  }

  .data-flow,
  .data-packet,
  .terminal-cursor {
    opacity: .55;
  }
}
