:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #090d12;
  color: #f2f5f7;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #090d12;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -20%, rgba(75, 213, 195, 0.14), transparent 44%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    #090d12;
  background-size: auto, 32px 32px, 32px 32px, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 25%, rgba(75, 213, 195, 0.025) 50%, transparent 75%);
}

.gateway {
  width: min(100%, 38rem);
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.mark {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #26333d;
  border-radius: 1rem;
  background: rgba(15, 22, 29, 0.86);
  box-shadow: inset 0 0 24px rgba(75, 213, 195, 0.05), 0 16px 48px rgba(0, 0, 0, 0.22);
}

.mark__orbit,
.mark__core {
  position: absolute;
  border-radius: 50%;
}

.mark__orbit {
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid #4bd5c3;
  box-shadow: 0 0 14px rgba(75, 213, 195, 0.2);
}

.mark__core {
  width: 0.45rem;
  height: 0.45rem;
  background: #4bd5c3;
  box-shadow: 0 0 12px rgba(75, 213, 195, 0.75);
}

.eyebrow {
  margin: 0 0 0.25rem;
  color: #82919d;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(1.65rem, 5vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.status-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 7.25rem;
  padding: 1.25rem;
  border: 1px solid #26333d;
  border-radius: 1.25rem;
  background: rgba(14, 20, 27, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.status-card__signal {
  width: 3.25rem;
  height: 3.25rem;
  position: relative;
  display: grid;
  place-items: center;
}

.status-card__signal span {
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid #4bd5c3;
  border-radius: 50%;
  opacity: 0;
  animation: signal 2.4s ease-out infinite;
}

.status-card__signal span:nth-child(2) {
  animation-delay: 0.8s;
}

.status-card__signal span:nth-child(3) {
  animation-delay: 1.6s;
}

@keyframes signal {
  0% { opacity: 0.9; transform: scale(0.45); }
  70% { opacity: 0.14; }
  100% { opacity: 0; transform: scale(4); }
}

.status-label {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}

.status-detail {
  margin: 0;
  color: #91a0ac;
  font-size: 0.9rem;
  line-height: 1.45;
}

.status-pill {
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(246, 183, 60, 0.32);
  border-radius: 999px;
  color: #f6c45d;
  background: rgba(246, 183, 60, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-pill[data-state="secure"] {
  border-color: rgba(75, 213, 195, 0.32);
  color: #79e4d6;
  background: rgba(75, 213, 195, 0.08);
}

.status-pill[data-state="local"] {
  border-color: rgba(121, 155, 255, 0.35);
  color: #a9bcff;
  background: rgba(121, 155, 255, 0.09);
}

.route-map {
  display: flex;
  align-items: center;
  width: 68%;
  margin: 1rem auto;
}

.route-map__node {
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #33414c;
}

.route-map__node--active {
  background: #4bd5c3;
  box-shadow: 0 0 12px rgba(75, 213, 195, 0.65);
}

.route-map__line {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, #4bd5c3, #33414c);
}

.routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.route {
  min-height: 5.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid #202b34;
  border-radius: 1rem;
  color: #f2f5f7;
  background: rgba(12, 18, 24, 0.72);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.route:hover {
  border-color: #3d5360;
  background: rgba(18, 27, 35, 0.94);
  transform: translateY(-2px);
}

.route:focus-visible {
  outline: 3px solid rgba(75, 213, 195, 0.45);
  outline-offset: 3px;
}

.route strong,
.route small {
  display: block;
}

.route strong {
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
}

.route small {
  color: #7f8d98;
  font-size: 0.76rem;
  line-height: 1.35;
}

.route__arrow {
  color: #4bd5c3;
  font-size: 1.1rem;
}

.notice {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(246, 183, 60, 0.25);
  border-radius: 0.8rem;
  color: #e8c77d;
  background: rgba(246, 183, 60, 0.06);
  font-size: 0.9rem;
  line-height: 1.45;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: #66747f;
  font-size: 0.78rem;
  text-align: center;
}

.privacy-dot {
  width: 0.4rem;
  height: 0.4rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #4bd5c3;
  box-shadow: 0 0 8px rgba(75, 213, 195, 0.52);
}

@media (max-width: 36rem) {
  body {
    align-items: start;
    padding: 2.25rem 1rem;
  }

  .brand {
    margin-bottom: 1.5rem;
  }

  .status-card {
    grid-template-columns: auto 1fr;
  }

  .status-pill {
    grid-column: 2;
    justify-self: start;
  }

  .routes {
    grid-template-columns: 1fr;
  }
}

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