:root {
  color-scheme: dark;
  --bg: #08100f;
  --bg-2: #0e1f1c;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f4f7f3;
  --muted: #b8c4bd;
  --green: #39d98a;
  --cyan: #4cc9f0;
  --amber: #f4b740;
  --red: #ef626c;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(76, 201, 240, 0.18), transparent 33rem),
    linear-gradient(135deg, #08100f 0%, #10231f 48%, #0f1416 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 16, 15, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  display: block;
  width: clamp(190px, 24vw, 270px);
  height: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(57, 217, 138, 0.45);
  border-radius: 8px;
  color: #03100b;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 0 28px rgba(57, 217, 138, 0.24);
}

.site-nav {
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a {
  padding: 0.65rem 0;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--text);
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: start end;
  padding: 5.75rem max(1.25rem, calc((100vw - 1180px) / 2)) 1.25rem 1.25rem;
  pointer-events: none;
  visibility: hidden;
}

.contact-modal:target {
  pointer-events: auto;
  visibility: visible;
}

.contact-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 7, 0.62);
  opacity: 0;
  backdrop-filter: blur(8px);
  transition: opacity 180ms ease;
}

.contact-modal:target .contact-backdrop {
  opacity: 1;
}

.contact-panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(76, 201, 240, 0.1), rgba(57, 217, 138, 0.07)),
    rgba(8, 18, 17, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.contact-modal:target .contact-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.contact-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}

.contact-close:hover {
  color: var(--text);
  border-color: rgba(76, 201, 240, 0.55);
}

.contact-panel h2 {
  max-width: 320px;
  margin-bottom: 1.25rem;
  font-size: clamp(1.85rem, 4vw, 2.7rem);
}

.contact-list {
  display: grid;
  gap: 0.75rem;
}

.contact-list div {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.contact-list span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list strong,
.contact-list a {
  font-size: 1rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-list a {
  color: var(--text);
}

.contact-list a:hover {
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

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

.eyebrow {
  margin: 0 0 1rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 1.3rem;
  font-size: clamp(2.65rem, 4.5vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.2rem);
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
}

.button.primary {
  color: #06100d;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.network-visual {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(7, 19, 19, 0.74);
  box-shadow: var(--shadow);
}

.visual-grid {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

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

.links path {
  opacity: 0.74;
  stroke-dasharray: 9 11;
  animation: flow 18s linear infinite;
}

.core circle {
  fill: rgba(57, 217, 138, 0.16);
  stroke: rgba(57, 217, 138, 0.85);
  stroke-width: 2;
}

.core text,
.site-node text {
  fill: var(--text);
  font-size: 17px;
  font-weight: 800;
  text-anchor: middle;
}

.core text:last-child,
.site-node text:last-child {
  fill: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.site-node rect {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.5;
}

.edge-node circle {
  fill: var(--bg);
  stroke: var(--amber);
  stroke-width: 3;
}

.page-hero,
.intro-band,
.detail-band,
.section,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.page-hero {
  max-width: 1180px;
  padding: clamp(5rem, 11vw, 8rem) 0 clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 900px;
}

.page-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.6;
}

.intro-band {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  display: block;
  color: var(--amber);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 0.95;
}

.metric-label {
  display: block;
  color: var(--muted);
  font-weight: 750;
}

.intro-band p {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.5;
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(140px, 0.32fr) 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.expertise-grid,
.architecture-grid,
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.architecture-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.expertise-card,
.architecture-card,
.route-card {
  min-height: 280px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.expertise-card p,
.architecture-card p,
.route-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.route-card {
  display: block;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.route-card:hover {
  border-color: rgba(76, 201, 240, 0.55);
  background: var(--panel-strong);
  transform: translateY(-2px);
}

.card-number {
  display: inline-block;
  margin-bottom: 4rem;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 850;
}

.vendor-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.vendor-list {
  display: grid;
  gap: 0.75rem;
  max-width: 820px;
  margin-left: auto;
}

.vendor-row {
  display: grid;
  grid-template-columns: 130px 1fr 54px;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.vendor-row span,
.vendor-row strong {
  font-weight: 800;
}

.vendor-row strong {
  color: var(--green);
  text-align: right;
}

meter {
  width: 100%;
  height: 12px;
}

meter::-webkit-meter-bar {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

meter::-moz-meter-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.architecture-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 1.5rem;
  background:
    linear-gradient(135deg, rgba(76, 201, 240, 0.08), rgba(244, 183, 64, 0.08)),
    var(--panel);
}

.architecture-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--bg);
  background: var(--amber);
  font-size: 1rem;
  font-weight: 900;
}

.detail-band {
  padding: 2rem 0 clamp(4rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
}

.detail-band p {
  max-width: 860px;
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.site-footer {
  justify-content: space-between;
  gap: 1rem;
  min-height: 92px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span {
  color: var(--text);
  font-weight: 850;
}

@keyframes flow {
  to {
    stroke-dashoffset: -220;
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 0.85rem 0;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.86rem;
  }

  .contact-modal {
    place-items: start center;
    padding-top: 8.5rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .network-visual,
  .network-visual svg {
    min-height: 420px;
  }

  .intro-band,
  .page-hero,
  .detail-band,
  .section-heading,
  .expertise-grid,
  .architecture-grid,
  .route-grid {
    grid-template-columns: 1fr;
  }

  .card-number,
  .architecture-icon {
    margin-bottom: 2.5rem;
  }

  .vendor-list {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .page-hero,
  .intro-band,
  .detail-band,
  .section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .brand img {
    width: min(230px, 82vw);
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .network-visual,
  .network-visual svg {
    min-height: 340px;
  }

  .vendor-row {
    grid-template-columns: 1fr 52px;
  }

  .vendor-row meter {
    grid-column: 1 / -1;
    grid-row: 2;
  }

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