:root {
  color-scheme: light;
  --paper: #f4f7fb;
  --ink: #17263d;
  --ink-soft: #223c68;
  --muted: #62728a;
  --quiet: #8492a5;
  --line: #dce5ef;
  --blue: #294d96;
  --blue-dark: #1c356d;
  --cyan: #13a6a2;
  --violet: #7674d9;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--paper); }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 88% 14%, rgba(99, 133, 205, .12), transparent 26rem), radial-gradient(circle at 5% 82%, rgba(19, 166, 162, .07), transparent 24rem), var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: .45;
  background-image: linear-gradient(rgba(41, 77, 150, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(41, 77, 150, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

a { color: inherit; }

.site-frame { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100svh; overflow: hidden; }

.topbar, .hero, .service-strip, .site-footer { width: min(1240px, calc(100% - 64px)); margin-right: auto; margin-left: auto; }

.topbar { display: flex; align-items: center; justify-content: space-between; padding-top: 25px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }

.brand { display: inline-flex; align-items: center; min-width: 0; text-decoration: none; }

.brand-logo { display: block; width: 230px; height: auto; max-width: 100%; object-fit: contain; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(460px, .92fr); align-items: center; gap: 76px; flex: 1; padding-top: 62px; padding-bottom: 50px; }

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

.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 25px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .18em; }

.eyebrow-line { width: 30px; height: 2px; background: var(--cyan); }

h1 { max-width: 670px; margin: 0; color: var(--ink); font-size: 70px; font-weight: 650; letter-spacing: 0; line-height: 1.03; }

h1 em { color: var(--blue); font-style: normal; }

.lead { max-width: 580px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }

.hero-status { display: flex; align-items: flex-start; gap: 14px; max-width: 520px; margin-top: 35px; padding: 17px 20px 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.hero-status strong { color: var(--ink); font-size: 14px; font-weight: 700; }

.hero-status p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.status-mark { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(19, 166, 162, .52); border-radius: 50%; }

.status-mark span { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 16px rgba(19, 166, 162, .66); animation: status-pulse 2.4s ease-in-out infinite; }

.service-list { display: flex; flex-wrap: wrap; gap: 0; margin-top: 29px; color: var(--blue-dark); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.service-list span:not(:last-child)::after { margin: 0 10px; color: var(--cyan); content: "·"; }

.signal-stage { position: relative; min-height: 500px; overflow: hidden; background: radial-gradient(circle at 50% 48%, rgba(35, 178, 170, .13), transparent 14rem), radial-gradient(circle at 88% 10%, rgba(118, 116, 217, .13), transparent 16rem), linear-gradient(145deg, #ffffff 0%, #f1f6fc 62%, #f6f3ff 100%); border: 1px solid rgba(46, 83, 145, .22); border-radius: 10px; box-shadow: 0 26px 58px rgba(42, 70, 118, .16), inset 0 1px 0 rgba(255, 255, 255, .92); }

.signal-stage::before { position: absolute; top: 0; bottom: 0; left: 34%; width: 1px; z-index: 1; pointer-events: none; content: ""; background: linear-gradient(to bottom, transparent, rgba(38, 99, 175, .42), transparent); opacity: .6; animation: scanner 6s ease-in-out infinite; }

.signal-stage::after { position: absolute; right: 14%; bottom: 20px; left: 14%; height: 1px; content: ""; background: linear-gradient(90deg, transparent, rgba(26, 166, 160, .7), rgba(118, 116, 217, .5), transparent); background-size: 200% 100%; opacity: .65; animation: line-glow 4.5s ease-in-out infinite; }

.stage-top { position: absolute; z-index: 2; color: #61728d; font-size: 10px; font-weight: 800; letter-spacing: .15em; }

.stage-top { top: 22px; right: 25px; left: 25px; display: flex; justify-content: space-between; }

.stage-top span:last-child { color: #188f8b; }

.network-svg { position: relative; z-index: 1; display: block; width: 100%; height: 100%; min-height: 500px; }

.grid-lines path { fill: none; stroke: rgba(50, 85, 142, .13); stroke-width: 1; }
.axis-lines path { fill: none; stroke: rgba(24, 166, 160, .3); stroke-dasharray: 2 8; stroke-width: 1; }

.connection-lines path { fill: none; stroke: url(#line-gradient); stroke-dasharray: 2 13; stroke-linecap: round; stroke-width: 1.8; animation: trace 3.6s linear infinite; animation-play-state: running; }
.connection-lines path:nth-child(2) { animation-duration: 5.2s; animation-direction: reverse; }

.node circle:first-child { fill: rgba(255, 255, 255, .96); stroke-width: 1.5; }
.node circle:last-child { stroke: none; }
.node-cyan circle:first-child { stroke: #17aaa4; }
.node-cyan circle:last-child { fill: #17aaa4; }
.node-blue circle:first-child { stroke: #4774c1; }
.node-blue circle:last-child { fill: #4774c1; }
.node-violet circle:first-child { stroke: #8176d8; }
.node-violet circle:last-child { fill: #8176d8; }

.core-label, .node-label { fill: #385276; font-family: inherit; font-size: 10px; font-weight: 800; letter-spacing: 2px; }
.core-label { fill: #25559e; font-size: 11px; letter-spacing: 1.6px; }

.service-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(90px, .7fr); align-items: center; gap: 24px; padding: 17px 0 22px; border-top: 1px solid var(--line); }

.strip-label { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: .16em; }

.strip-label span { width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; }
.service-strip p { margin: 0; color: var(--muted); font-size: 13px; }
.strip-line { height: 1px; background: linear-gradient(90deg, var(--blue), transparent); opacity: .45; }

.site-footer { display: flex; justify-content: space-between; padding-top: 17px; padding-bottom: 25px; color: var(--quiet); border-top: 1px solid var(--line); font-size: 10px; letter-spacing: .05em; }

@keyframes trace { to { stroke-dashoffset: -180; } }
@keyframes line-glow { 0%, 100% { background-position: 100% 0; opacity: .35; } 50% { background-position: 0 0; opacity: .8; } }
@keyframes status-pulse { 0%, 100% { opacity: .55; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes scanner { 0%, 100% { transform: translateX(-30px); opacity: 0; } 25%, 75% { opacity: .55; } 50% { transform: translateX(380px); opacity: .45; } }

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 50px; }
  .hero-copy { max-width: 760px; }
  .signal-stage { width: min(100%, 700px); margin: 0 auto; }
}

@media (max-width: 640px) {
  .topbar, .hero, .service-strip, .site-footer { width: min(100% - 32px, 520px); }
  .topbar { align-items: flex-start; gap: 18px; padding-top: 21px; }
  .brand-logo { width: 178px; }
  h1 { font-size: 48px; }
  .lead { font-size: 16px; }
  .hero { gap: 34px; padding-top: 44px; padding-bottom: 34px; }
  .signal-stage { min-height: 350px; }
  .network-svg { min-height: 350px; }
  .stage-top { font-size: 8px; }
  .stage-top { top: 18px; right: 18px; left: 18px; }
  .service-strip { grid-template-columns: 1fr; gap: 9px; padding-top: 16px; }
  .strip-line { display: none; }
  .site-footer { flex-direction: column; gap: 5px; padding-bottom: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .status-mark span, .signal-stage::before, .signal-stage::after { animation: none; }
}
