:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: #090a0c;
  color: #f5f6f8;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
.page {
  height: 100svh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse 55% 48% at 50% 75%, #2463eb0c, transparent);
}
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(#ffffff03 1px, transparent 1px), linear-gradient(90deg, #ffffff03 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(transparent 15%, #000 65%, transparent);
}
.masthead, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-inline: clamp(24px, 5vw, 80px);
}
.masthead { min-height: 0; height: clamp(64px, 12svh, 112px); flex-shrink: 0; gap: 24px; }
.wordmark { display: block; width: 190px; height: auto; }
main { min-height: 0; flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: clamp(0px, 4svh, 32px); }
.hero { flex-shrink: 0; position: relative; z-index: 1; text-align: center; padding-inline: 24px; }
.eyebrow { color: #a3a8b4; text-transform: uppercase; letter-spacing: .2em; font-size: 11px; line-height: 1.6; margin: 0 0 27px; }
h1 { font-weight: 500; font-size: clamp(76px, 11.8vw, 174px); line-height: 1.07; letter-spacing: -.065em; margin: 0; }
h1 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: #618df5; letter-spacing: -.075em; }
.intro { color: #aeb4c1; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.7; margin: 28px 0 0; letter-spacing: -.015em; }
.network { width: min(1200px, 110%); min-height: 70px; max-height: 300px; flex: 1; margin: 18px 0 0; position: relative; align-self: center; }
.routes { display: block; width: 100%; height: 100%; }
.route-lines { stroke: url(#route-color); stroke-width: 1; opacity: .55; }
.packet { stroke: #618df5; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 20 1200; stroke-dashoffset: 1220; animation: flow 7s linear infinite; }
.packet-b { animation-delay: -3s; animation-duration: 10s; animation-direction: reverse; }
.packet-c { stroke: #e98b80; animation-delay: -4s; animation-duration: 9s; }
.packet-d { stroke: #e98b80; animation-delay: -7s; animation-duration: 11s; }
.nodes { fill: #101722; stroke: #2e4268; stroke-width: 1; }
.hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 100px; height: 112px; display: grid; place-items: center; }
.shield { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 24px #2463eb30); }
.shield path { fill: #0e1420; stroke: #477cef; stroke-width: 1.5; stroke-linejoin: round; }
.hub img { position: relative; display: block; object-fit: contain; margin-top: -10px; }
footer { flex-shrink: 0; min-height: 0; height: clamp(52px, 9svh, 84px); border-top: 1px solid #ffffff0f; justify-content: center; text-align: center; color: #9299a8; font-size: 12px; line-height: 1.6; letter-spacing: .01em; padding-block: 20px; }
.not-found { padding: 48px 24px; }
.not-found h1 { font-size: clamp(48px, 7vw, 96px); letter-spacing: -.045em; }
a { color: #91b0ff; text-underline-offset: 5px; }
a:focus-visible { outline: 2px solid #91b0ff; outline-offset: 6px; }
@keyframes flow { to { stroke-dashoffset: 0; } }
@keyframes blocked-impact { 0%, 73%, 85%, 100% { opacity: 0; } 77%, 81% { opacity: 1; } }

@media (min-width: 1600px) { .network { margin-top: 24px; } }
@media (max-width: 700px) {
  .masthead { height: 88px; }
  .wordmark { width: 154px; }
  main { padding-top: 32px; }
  .eyebrow { font-size: 9px; letter-spacing: .15em; margin-bottom: 25px; }
  h1 { font-size: clamp(76px, 16vw, 112px); }
  .intro { margin-top: 24px; }
  .network { width: 850px; max-height: 280px; margin-top: 18px; }
  .hub { width: 82px; height: 92px; }
  .hub img { width: 44px; height: 44px; }
  footer { height: 72px; font-size: 11px; }
}
@media (max-width: 440px) {
  .masthead { gap: 12px; }
  .wordmark { width: 140px; }
  h1 { max-width: 300px; margin-inline: auto; font-size: clamp(72px, 23.5vw, 92px); line-height: 1; }
  h1 em { display: block; }
  .network { margin-top: 8px; }
}
@media (max-height: 720px) and (min-width: 701px) {
  .masthead { height: 88px; }
  main { padding-top: 32px; }
  h1 { font-size: 110px; }
  .network { max-height: 220px; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .packet { animation: none; stroke-dashoffset: 600; opacity: .55; }
}

.hub::before, .hub::after { content: ""; position: absolute; top: 50%; left: 4px; width: 7px; height: 7px; border-radius: 50%; background: #e98b80; box-shadow: 0 0 12px #e98b8080; transform: translate(-50%, -50%); opacity: 0; animation: blocked-impact 9s linear infinite; animation-delay: -4s; z-index: 1; }
.hub::after { left: auto; right: 4px; transform: translate(50%, -50%); animation-duration: 11s; animation-delay: -7s; }
@media (max-height: 520px) {
  .masthead { height: 48px; }
  .wordmark { width: 140px; }
  main { padding-top: 0; }
  .eyebrow { margin-bottom: 12px; font-size: 9px; }
  h1 { font-size: clamp(38px, 10svh, 64px); line-height: 1.05; }
  .intro { margin-top: 12px; font-size: 14px; line-height: 1.5; }
  .network { min-height: 56px; max-height: 110px; margin-top: 4px; }
  .hub { width: 60px; height: 67px; }
  .hub img { width: 34px; height: 34px; margin-top: -6px; }
  footer { height: 40px; padding-block: 8px; }
}
@media (prefers-reduced-motion: reduce) { .hub::before, .hub::after { animation: none; opacity: .5; } }
