:root {
  --blue-950: #0d416a;
  --blue-900: #0e578d;
  --blue-800: #126dab;
  --blue-700: #1884c8;
  --blue-600: #339fe0;
  --green-700: #4f9a38;
  --green-600: #72b743;
  --green-500: #8aca50;
  --ink: #224765;
  --muted: #5d7e96;
  --line: rgba(255, 255, 255, 0.8);
  --glass: rgba(244, 253, 255, 0.72);
  --glass-soft: rgba(238, 251, 255, 0.56);
  --shadow: 0 20px 48px rgba(33, 102, 147, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 7%, rgba(255, 255, 255, 0.86) 0 3%, transparent 12%),
    radial-gradient(circle at 15% 27%, rgba(255, 255, 255, 0.74) 0 5%, transparent 18%),
    linear-gradient(180deg, #79c3ed 0%, #bfe8f7 38%, #e6f7f8 70%, #c8ebdd 100%);
  font-family: "Segoe UI", Verdana, Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 42vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 25%),
    linear-gradient(164deg, rgba(76, 171, 193, 0.22), rgba(104, 188, 139, 0.25));
  clip-path: polygon(0 35%, 18% 17%, 37% 36%, 56% 14%, 73% 31%, 86% 7%, 100% 26%, 100% 100%, 0 100%);
  pointer-events: none;
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 29vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.37), transparent 11%),
    linear-gradient(180deg, rgba(71, 191, 218, 0.6), rgba(62, 143, 188, 0.5));
  opacity: 0.65;
  pointer-events: none;
  z-index: -2;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.sky-decor {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.cloud {
  position: absolute;
  width: 220px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  filter: blur(2px);
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: inherit;
}

.cloud::before {
  left: 32px;
  width: 78px;
  height: 78px;
}

.cloud::after {
  right: 29px;
  width: 96px;
  height: 96px;
}

.cloud-one {
  top: 130px;
  left: -70px;
}

.cloud-two {
  top: 75px;
  right: 5%;
  opacity: 0.64;
  transform: scale(0.72);
}

.cloud-three {
  top: 410px;
  right: -72px;
  opacity: 0.36;
  transform: scale(0.84);
}

.bubble,
.hero-bubble {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 21%, white 0 6%, transparent 9%),
    radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.4), rgba(117, 222, 250, 0.11) 60%, rgba(28, 123, 197, 0.18));
  box-shadow:
    inset -6px -7px 14px rgba(24, 114, 181, 0.15),
    0 7px 20px rgba(38, 124, 166, 0.13);
}

.bubble {
  position: absolute;
  animation: float 9s ease-in-out infinite;
}

.bubble-one {
  top: 11%;
  left: 4%;
  width: 42px;
  height: 42px;
}

.bubble-two {
  top: 39%;
  left: 2%;
  width: 82px;
  height: 82px;
  animation-delay: -4s;
}

.bubble-three {
  top: 70%;
  right: 4%;
  width: 95px;
  height: 95px;
  animation-delay: -2s;
}

.bubble-four {
  top: 21%;
  right: 6%;
  width: 34px;
  height: 34px;
  animation-delay: -6s;
}

.bubble-five {
  top: 77%;
  left: 10%;
  width: 50px;
  height: 50px;
  animation-delay: -7s;
}

.page-shell {
  width: min(1390px, 100%);
  margin: 0 auto;
  padding: 16px;
}

.aero-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 29px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.67), rgba(223, 246, 253, 0.42)),
    rgba(240, 252, 255, 0.5);
  box-shadow:
    inset 0 1px 0 white,
    0 23px 55px rgba(20, 93, 144, 0.23);
  backdrop-filter: blur(18px) saturate(1.14);
}

.window-bar {
  display: flex;
  min-height: 88px;
  align-items: center;
  gap: 28px;
  padding: 12px 29px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(224, 244, 252, 0.48)),
    rgba(230, 249, 255, 0.53);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--blue-900);
  text-decoration: none;
}

.brand-orb,
.footer-orb {
  position: relative;
  display: block;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 23%, white 0 7%, transparent 10%),
    radial-gradient(circle at 48% 38%, rgba(165, 247, 255, 0.86), transparent 41%),
    linear-gradient(145deg, #8cecf7, #2faedf 60%, #126aa8);
  box-shadow:
    inset -8px -10px 13px rgba(7, 89, 163, 0.32),
    inset 5px 5px 8px rgba(255, 255, 255, 0.44),
    0 5px 14px rgba(23, 102, 157, 0.23);
}

.brand-orb {
  width: 54px;
  height: 54px;
}

.brand-glow {
  position: absolute;
  inset: 22%;
  border: 1px solid rgba(255, 255, 255, 0.77);
  border-radius: 42% 58% 51% 49%;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.78);
}

.brand-copy {
  display: grid;
  min-width: 155px;
}

.brand-copy strong {
  color: #1558a0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.93;
}

.brand-copy small {
  margin-top: 5px;
  color: #557890;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #385773;
  font-size: 14px;
  text-decoration: none;
  transition: 160ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  border-color: rgba(255, 255, 255, 0.88);
  color: white;
  background: linear-gradient(180deg, #61b3eb, #237fd0);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.33),
    0 6px 12px rgba(28, 112, 186, 0.2);
  text-shadow: 0 1px 1px rgba(10, 85, 157, 0.56);
}

.main-nav svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  fill: none;
}

.gateway-state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: #347559;
  background: rgba(255, 255, 255, 0.44);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.state-led,
.mini-led {
  border-radius: 50%;
  background: #72ce55;
  box-shadow: 0 0 0 3px rgba(110, 199, 84, 0.18), 0 0 11px rgba(68, 187, 74, 0.7);
}

.state-led {
  width: 9px;
  height: 9px;
}

.mini-led {
  width: 7px;
  height: 7px;
}

.hero {
  position: relative;
  min-height: 344px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.68);
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.58), transparent 25%),
    linear-gradient(100deg, rgba(236, 250, 255, 0.94) 0%, rgba(215, 240, 250, 0.89) 45%, rgba(189, 230, 245, 0.54) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 36%;
  height: 34%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 15%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px 20px),
    linear-gradient(180deg, rgba(116, 202, 225, 0.25), rgba(77, 167, 203, 0.2));
}

.hero-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 68%;
  background: url("/assets/hero-lake-globe.webp") center right / cover no-repeat;
  filter: saturate(1.06);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.28) 13%, black 34%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.28) 13%, black 34%);
}

.hero-rainbow {
  position: absolute;
  top: 11px;
  right: 10%;
  width: 390px;
  height: 165px;
  border: 15px solid transparent;
  border-top-color: rgba(255, 238, 155, 0.19);
  border-radius: 50%;
  box-shadow:
    inset 0 10px rgba(255, 193, 204, 0.12),
    0 -10px rgba(151, 221, 255, 0.17);
  opacity: 0.64;
}

.hero-bubble {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.hero-bubble-one {
  top: 45px;
  right: 44%;
  width: 34px;
  height: 34px;
}

.hero-bubble-two {
  top: 79px;
  right: 37%;
  width: 21px;
  height: 21px;
  animation-delay: -2s;
}

.hero-bubble-three {
  top: 39px;
  right: 15%;
  width: 47px;
  height: 47px;
  animation-delay: -4s;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 36px 0 31px 66px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: #438266;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 9px 0 14px;
  color: #15549a;
  font-size: clamp(45px, 4.5vw, 61px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.99;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.8), 0 6px 18px rgba(56, 132, 185, 0.13);
}

h1 em {
  display: block;
  color: #4b9437;
  font-size: 0.84em;
  font-style: normal;
  letter-spacing: -0.085em;
  white-space: nowrap;
}

.hero-lead {
  margin: 0;
  color: #3d6480;
  font-size: 15px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 18px;
}

.hero-hud {
  position: absolute;
  right: 31px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  min-width: 187px;
  align-items: center;
  gap: 11px;
  padding: 10px 13px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(245, 254, 255, 0.73), rgba(181, 231, 244, 0.51)),
    rgba(213, 246, 250, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 20px rgba(22, 112, 157, 0.2);
  backdrop-filter: blur(10px) saturate(1.12);
}

.hud-radar {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(219, 255, 249, 0.88) 0 6%, transparent 7% 29%, rgba(76, 184, 171, 0.28) 30% 31%, transparent 32% 57%, rgba(60, 160, 159, 0.22) 58% 59%, transparent 60%),
    linear-gradient(90deg, transparent 49%, rgba(72, 171, 170, 0.27) 50% 51%, transparent 52%),
    linear-gradient(0deg, transparent 49%, rgba(72, 171, 170, 0.27) 50% 51%, transparent 52%),
    rgba(129, 224, 214, 0.36);
  box-shadow:
    inset 0 0 11px rgba(20, 137, 149, 0.21),
    0 0 16px rgba(98, 229, 217, 0.3);
}

.radar-sweep {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(62, 215, 190, 0.52), transparent 22%, transparent);
  animation: radar-scan 3.4s linear infinite;
}

.radar-core {
  position: absolute;
  top: 12px;
  left: 29px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #efff98;
  box-shadow: 0 0 0 3px rgba(213, 255, 123, 0.24), 0 0 9px #e2ff9a;
}

.hud-copy {
  display: grid;
}

.hud-copy p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 1px;
  color: #2c827f;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hud-led,
.telemetry-led {
  display: inline-block;
  border-radius: 50%;
  background: #82d65b;
  box-shadow: 0 0 0 3px rgba(130, 214, 91, 0.16), 0 0 10px rgba(104, 203, 80, 0.72);
}

.hud-led {
  width: 6px;
  height: 6px;
}

.hud-copy strong {
  color: #1c7082;
  font-family: Consolas, "Courier New", monospace;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.07em;
}

.hud-copy small {
  color: #51888e;
  font-size: 9px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 13px;
  color: white;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0, 70, 130, 0.4);
  transition: 160ms ease;
}

.button:hover,
.service-link:hover {
  filter: brightness(1.07) saturate(1.06);
  transform: translateY(-2px);
}

.button svg,
.service-link svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  fill: none;
}

.button-blue {
  background: linear-gradient(180deg, #55b5ee, #1e7ed1);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), 0 7px 14px rgba(26, 111, 188, 0.24);
}

.button-green {
  background: linear-gradient(180deg, #8ac959, #579f39);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.36), 0 7px 14px rgba(65, 139, 52, 0.24);
}

.services-section {
  padding: 19px 44px 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 16px;
}

.section-heading h2,
.about-copy h2 {
  margin: 4px 0 0;
  color: #165e9e;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.section-heading > p {
  margin: 0;
  color: #628197;
  font-size: 12px;
}

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

.service-card {
  position: relative;
  display: flex;
  min-height: 181px;
  gap: 17px;
  padding: 18px 17px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(225, 244, 249, 0.57)),
    rgba(245, 253, 255, 0.58);
  box-shadow:
    inset 0 1px 0 white,
    0 9px 18px rgba(48, 105, 139, 0.11);
  transition: 170ms ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -42px;
  left: -15%;
  width: 82%;
  height: 73px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent);
  opacity: 0.65;
  pointer-events: none;
  transform: rotate(-7deg);
}

.service-card:hover {
  border-color: white;
  box-shadow:
    inset 0 1px 0 white,
    0 15px 27px rgba(44, 112, 153, 0.18);
  transform: translateY(-5px);
}

.service-icon {
  position: relative;
  display: grid;
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background:
    radial-gradient(circle at 31% 24%, white 0 5%, transparent 8%),
    linear-gradient(145deg, rgba(229, 249, 255, 0.95), rgba(186, 222, 238, 0.67));
  box-shadow:
    inset -8px -8px 13px rgba(51, 126, 178, 0.1),
    0 8px 16px rgba(32, 112, 164, 0.11);
}

.service-icon::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 15px;
  width: 25px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  filter: blur(1px);
  transform: rotate(-31deg);
}

.service-icon svg {
  width: 50px;
  height: 50px;
  stroke: #367fb5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
  fill: rgba(116, 192, 223, 0.18);
}

.icon-community {
  background:
    radial-gradient(circle at 31% 24%, white 0 5%, transparent 8%),
    linear-gradient(145deg, rgba(240, 252, 242, 0.98), rgba(203, 233, 204, 0.78));
}

.icon-community svg {
  stroke: #4a935b;
  fill: rgba(125, 196, 119, 0.11);
}

.icon-status {
  background:
    radial-gradient(circle at 31% 24%, white 0 5%, transparent 8%),
    linear-gradient(145deg, rgba(233, 255, 250, 0.98), rgba(189, 235, 224, 0.78));
}

.icon-status svg {
  stroke: #328f7a;
  fill: rgba(105, 211, 178, 0.1);
}

.icon-orb span {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, white 0 5%, transparent 8%),
    radial-gradient(circle at 50% 48%, rgba(214, 232, 255, 0.95), rgba(104, 169, 222, 0.62) 62%, rgba(54, 103, 177, 0.8));
  box-shadow:
    inset -9px -10px 12px rgba(40, 82, 158, 0.23),
    inset 5px 6px 8px rgba(255, 255, 255, 0.45),
    0 6px 13px rgba(49, 103, 164, 0.2);
}

.service-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.service-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #588399;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 6px 0 1px;
  color: #1764a4;
  font-size: 19px;
  font-weight: 500;
}

.service-host {
  margin: 0;
  color: #5a8aa5;
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.service-description {
  flex: 1;
  margin: 8px 0 8px;
  color: #55748a;
  font-size: 12px;
  line-height: 1.62;
}

.service-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  color: #1a70b4;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
  transition: 160ms ease;
}

.service-link svg {
  width: 15px;
  height: 15px;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.25fr);
  margin: 0 44px 17px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 17px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(222, 244, 249, 0.59)),
    rgba(245, 253, 255, 0.6);
  box-shadow:
    inset 0 1px 0 white,
    0 9px 18px rgba(48, 105, 139, 0.1);
}

.about-image {
  min-height: 174px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  padding: 20px 28px 16px;
}

.about-copy p:not(.section-kicker) {
  max-width: 720px;
  margin: 9px 0 13px;
  color: #55748a;
  font-size: 13px;
  line-height: 1.75;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 19px;
}

.feature-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #52778b;
  font-size: 11px;
}

.feature-icon {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #6bb74a;
  box-shadow: 0 0 0 4px rgba(111, 189, 82, 0.14);
}

.feature-icon.droplet {
  background: #4ba5d8;
  box-shadow: 0 0 0 4px rgba(75, 165, 216, 0.14);
}

.feature-icon.sun {
  background: #efb229;
  box-shadow: 0 0 0 4px rgba(239, 178, 41, 0.14);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 44px 18px;
  border: 1px solid rgba(255, 255, 255, 0.91);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(229, 246, 250, 0.58)),
    rgba(245, 253, 255, 0.58);
  box-shadow:
    inset 0 1px 0 white,
    0 9px 18px rgba(48, 105, 139, 0.1);
}

.metric {
  position: relative;
  display: grid;
  min-height: 91px;
  place-items: center;
  align-content: center;
  padding: 11px;
  text-align: center;
}

.metric + .metric::before {
  content: "";
  position: absolute;
  top: 19px;
  bottom: 19px;
  left: 0;
  width: 1px;
  background: rgba(104, 149, 170, 0.2);
}

.metric-icon {
  display: block;
  height: 28px;
  color: #56a747;
  font-size: 31px;
  line-height: 22px;
}

.metric-icon svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  fill: rgba(255, 255, 255, 0.17);
}

.metric-drop {
  color: #3a8ac7;
}

.metric-sun {
  color: #e6a117;
  font-size: 38px;
}

.metric-orb {
  color: #76689a;
  text-shadow: 0 0 7px rgba(118, 104, 154, 0.42);
}

.metric strong {
  color: #536881;
  font-size: 19px;
  font-weight: 500;
}

.metric small {
  margin-top: 3px;
  color: #658090;
  font-size: 10px;
}

.telemetry-strip {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto auto auto;
  align-items: center;
  gap: 21px;
  margin: 0 44px 17px;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.91);
  border-radius: 15px;
  background:
    linear-gradient(105deg, rgba(235, 255, 254, 0.79), rgba(217, 245, 252, 0.63)),
    rgba(239, 253, 255, 0.58);
  box-shadow:
    inset 0 1px 0 white,
    0 8px 17px rgba(48, 105, 139, 0.1);
}

.telemetry-title,
.telemetry-title > span:last-child {
  display: flex;
  align-items: center;
}

.telemetry-title {
  min-width: 0;
  gap: 10px;
}

.telemetry-title > span:last-child {
  min-width: 0;
  flex-wrap: wrap;
  gap: 2px 13px;
}

.telemetry-title strong {
  color: #176d89;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.telemetry-title small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4b836d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.telemetry-orb {
  position: relative;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.93);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 23%, white 0 7%, transparent 10%),
    radial-gradient(circle at 43% 45%, #a0f5ea, #50baca 61%, #157eae);
  box-shadow:
    inset -5px -6px 9px rgba(17, 106, 159, 0.25),
    0 0 14px rgba(84, 214, 205, 0.33);
}

.telemetry-orb i {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(225, 255, 248, 0.9);
}

.telemetry-led {
  width: 7px;
  height: 7px;
}

.telemetry-time {
  display: grid;
  padding-left: 17px;
  border-left: 1px solid rgba(104, 149, 170, 0.2);
}

.telemetry-time span {
  color: #71909e;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.telemetry-time strong {
  color: #27779a;
  font-family: Consolas, "Courier New", monospace;
  font-size: 16px;
  font-weight: 600;
}

.signal-bars {
  display: flex;
  height: 25px;
  align-items: end;
  gap: 3px;
}

.signal-bars i {
  width: 4px;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, #9be75c, #4da94b);
  box-shadow: 0 0 8px rgba(119, 213, 84, 0.35);
  animation: signal-pulse 2.2s ease-in-out infinite alternate;
}

.signal-bars i:nth-child(1) {
  height: 8px;
}

.signal-bars i:nth-child(2) {
  height: 12px;
  animation-delay: -0.8s;
}

.signal-bars i:nth-child(3) {
  height: 17px;
  animation-delay: -1.6s;
}

.signal-bars i:nth-child(4) {
  height: 21px;
  animation-delay: -0.4s;
}

.signal-bars i:nth-child(5) {
  height: 25px;
  animation-delay: -1.2s;
}

.glow-toggle {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.91);
  border-radius: 999px;
  color: #2c7095;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(209, 239, 248, 0.66)),
    rgba(231, 250, 253, 0.6);
  box-shadow: inset 0 1px 0 white, 0 4px 10px rgba(61, 133, 163, 0.13);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: 180ms ease;
}

.glow-toggle:hover,
.glow-toggle[aria-pressed="true"] {
  color: #316f47;
  background: linear-gradient(180deg, #efffca, #bfe77e);
  box-shadow:
    inset 0 1px 0 white,
    0 0 17px rgba(172, 231, 101, 0.54);
  transform: translateY(-1px);
}

.glow-toggle svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  fill: none;
}

body.glow-mode .aero-window {
  box-shadow:
    inset 0 1px 0 white,
    0 23px 55px rgba(20, 93, 144, 0.23),
    0 0 34px rgba(183, 255, 132, 0.32);
}

body.glow-mode .hero-art {
  filter: saturate(1.17) brightness(1.05);
}

body.glow-mode .service-card,
body.glow-mode .about-panel,
body.glow-mode .metrics {
  box-shadow:
    inset 0 1px 0 white,
    0 10px 24px rgba(73, 172, 173, 0.18),
    0 0 16px rgba(185, 245, 137, 0.12);
}

body.link-offline .state-led,
body.link-offline .mini-led,
body.link-offline .hud-led,
body.link-offline .telemetry-led {
  background: #e99b63;
  box-shadow: 0 0 0 3px rgba(233, 155, 99, 0.16), 0 0 10px rgba(221, 129, 78, 0.55);
}

.window-footer {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 15px 32px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(180deg, rgba(242, 251, 252, 0.37), rgba(229, 246, 248, 0.69)),
    rgba(238, 250, 251, 0.6);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 185px;
}

.footer-orb {
  width: 38px;
  height: 38px;
}

.footer-brand span:last-child {
  display: grid;
}

.footer-brand strong {
  color: #1766a1;
  font-size: 14px;
  letter-spacing: 0.07em;
}

.footer-brand small {
  color: #7590a0;
  font-size: 9px;
}

.footer-links {
  display: flex;
  gap: 17px;
}

.footer-links a,
.footer-links button {
  padding: 0;
  border: 0;
  color: #44758e;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links button:hover {
  color: #1769a3;
}

.window-footer p {
  margin: 0 0 0 auto;
  color: #7893a0;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 10;
  padding: 12px 19px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  color: white;
  background: rgba(20, 111, 160, 0.91);
  box-shadow: 0 13px 26px rgba(24, 99, 137, 0.25);
  font-size: 12px;
  font-weight: 650;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes radar-scan {
  to {
    transform: rotate(360deg);
  }
}

@keyframes signal-pulse {
  50% {
    filter: brightness(1.2);
    opacity: 0.72;
  }
}

@media (max-width: 1000px) {
  .page-shell {
    padding: 15px;
  }

  .window-bar {
    gap: 17px;
    min-height: 86px;
    padding: 12px 20px;
  }

  .brand-orb {
    width: 51px;
    height: 51px;
  }

  .brand-copy strong {
    font-size: 31px;
  }

  .brand-copy {
    min-width: 135px;
  }

  .gateway-state {
    display: none;
  }

  .hero-copy {
    padding-left: 48px;
  }

  .services-section {
    padding-right: 27px;
    padding-left: 27px;
  }

  .service-card {
    display: block;
  }

  .service-icon {
    width: 73px;
    height: 73px;
    margin-bottom: 13px;
  }

  .service-icon svg {
    width: 47px;
    height: 47px;
  }

  .icon-orb span {
    width: 50px;
    height: 50px;
  }

  .about-panel,
  .metrics {
    margin-right: 27px;
    margin-left: 27px;
  }

  .telemetry-strip {
    margin-right: 27px;
    margin-left: 27px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 9px;
  }

  .aero-window {
    border-radius: 21px;
  }

  .window-bar {
    min-height: 72px;
    padding: 10px 13px;
  }

  .brand {
    gap: 8px;
  }

  .brand-orb {
    width: 42px;
    height: 42px;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-copy strong {
    font-size: 23px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .main-nav {
    gap: 3px;
  }

  .main-nav a {
    width: 36px;
    min-height: 36px;
    justify-content: center;
    padding: 0;
    font-size: 0;
  }

  .main-nav svg {
    width: 17px;
    height: 17px;
  }

  .hero {
    min-height: 397px;
  }

  .hero-art {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 46%;
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.56) 18%, black 43%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.56) 18%, black 43%);
  }

  .hero-rainbow {
    top: 180px;
    right: -5%;
    width: 320px;
    opacity: 0.45;
  }

  .hero-bubble-one {
    top: 203px;
    right: 67%;
  }

  .hero-bubble-two {
    top: 233px;
    right: 53%;
  }

  .hero-bubble-three {
    top: 195px;
    right: 14%;
  }

  .hero-copy {
    padding: 28px 20px 22px;
  }

  h1 {
    margin-top: 9px;
    font-size: 42px;
    line-height: 0.98;
  }

  h1 em {
    white-space: normal;
  }

  .hero-lead {
    max-width: 360px;
    font-size: 13px;
  }

  .hero-actions {
    gap: 9px;
    margin-top: 17px;
  }

  .button {
    min-height: 41px;
    padding: 0 13px;
    font-size: 11px;
  }

  .hero-hud {
    display: none;
  }

  .services-section {
    padding: 21px 13px 18px;
  }

  .section-heading {
    display: block;
    margin-bottom: 13px;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: 22px;
  }

  .section-heading > p {
    margin-top: 6px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .service-card {
    display: flex;
    min-height: 0;
    gap: 13px;
    padding: 16px 14px;
    border-radius: 14px;
  }

  .service-card:hover {
    transform: none;
  }

  .service-icon {
    width: 64px;
    height: 64px;
    margin: 0;
  }

  .service-icon svg {
    width: 41px;
    height: 41px;
  }

  .icon-orb span {
    width: 44px;
    height: 44px;
  }

  .service-card h3 {
    margin-top: 5px;
    font-size: 17px;
  }

  .service-description {
    margin: 8px 0 7px;
    font-size: 11px;
  }

  .about-panel {
    display: block;
    margin: 0 13px 13px;
  }

  .about-image {
    min-height: 138px;
  }

  .about-copy {
    padding: 18px 16px 16px;
  }

  .about-copy p:not(.section-kicker) {
    margin: 9px 0 14px;
    font-size: 12px;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 13px 14px;
  }

  .telemetry-strip {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 13px;
    margin: 0 13px 14px;
    padding: 11px 12px;
  }

  .telemetry-title > span:last-child {
    display: grid;
    gap: 2px;
  }

  .telemetry-time {
    padding-left: 12px;
  }

  .signal-bars {
    display: none;
  }

  .glow-toggle {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .metric {
    min-height: 93px;
  }

  .metric:nth-child(3)::before {
    top: 0;
    right: 13px;
    left: 13px;
    width: auto;
    height: 1px;
  }

  .metric:nth-child(3)::after,
  .metric:nth-child(4)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 13px;
    left: 13px;
    height: 1px;
    background: rgba(104, 149, 170, 0.2);
  }

  .window-footer {
    display: grid;
    gap: 13px;
    padding: 16px 17px 18px;
  }

  .footer-links {
    gap: 18px;
  }

  .window-footer p {
    margin: 0;
  }

  .bubble-three,
  .bubble-five {
    display: none;
  }
}

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