.home-hero {
  min-height: calc(100dvh - var(--header-height));
  padding-top: clamp(18px, 3vw, 34px);
  padding-bottom: 24px;
}

.home-hero .hero-copy {
  max-width: 1040px;
}

.home-hero .hero-copy h1 {
  margin-bottom: 14px;
  font-size: clamp(52px, 5.4vw, 72px);
}

.home-hero .hero-glow {
  top: 190px;
  height: 560px;
}

.hero-actions {
  margin-top: 0;
}

.hero-lead {
  max-width: 860px;
  margin-top: 14px;
  margin-bottom: 0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
}

.hero-lead strong {
  color: var(--color-text);
}

.home-hero .trust-row {
  margin-top: 10px;
}

.hero-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  max-width: 940px;
  margin: 14px auto 0;
}

.hero-access-group {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-access-group .platform-label,
.hero-access-group .route-label {
  flex: 0 0 auto;
}

.hero-platforms,
.hero-flags {
  justify-content: flex-start;
  gap: 9px 14px;
  margin: 0;
}

.hero-platforms li,
.hero-flags li {
  white-space: nowrap;
}

.hero-platform-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--color-accent-soft);
}

.android-mark {
  color: var(--color-success);
}

.linux-mark {
  overflow: visible;
  color: var(--color-text);
}

.linux-belly {
  fill: var(--color-flag-white);
}

.linux-eye {
  fill: var(--color-deepest);
}

.linux-beak,
.linux-foot {
  fill: var(--color-warning);
}

.flag-stroke {
  fill: none;
  stroke: var(--color-deepest);
  stroke-width: 1;
}

.route-map-device {
  position: relative;
  z-index: 2;
  width: min(1040px, calc(100% - 32px));
  margin: 14px auto 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-deep);
  box-shadow: var(--shadow-high);
}

.route-map-device::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, var(--color-panel-wash), transparent, var(--color-panel-wash));
  content: "";
  opacity: 0.28;
  pointer-events: none;
}

.route-map-svg {
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 310;
}

.route-map-base {
  fill: var(--color-deep);
}

.route-gate-start {
  stop-color: var(--color-gate);
}

.route-gate-end {
  stop-color: var(--color-accent);
}

.route-glow-start {
  stop-color: var(--color-accent);
  stop-opacity: 0.28;
}

.route-glow-end {
  stop-color: var(--color-accent);
  stop-opacity: 0;
}

.route-grid-line {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 1;
  opacity: 0.25;
}

.route-grid-faint {
  opacity: 0.14;
}

.route-arc {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
  opacity: 0.7;
}

.route-arc-wide {
  stroke-width: 2.5;
}

.route-arc-soft {
  stroke: var(--color-accent-soft);
  opacity: 0.42;
}

.route-arc-short {
  stroke-dasharray: 6 8;
  opacity: 0.55;
}

.route-node {
  fill: var(--color-panel-raised);
  stroke: var(--color-accent-soft);
  stroke-width: 2;
}

.route-node-core,
.route-travel {
  fill: var(--color-gate);
}

.route-travel {
  filter: drop-shadow(0 0 5px var(--color-accent));
}

.route-travel-b {
  fill: var(--color-warning);
}

.route-travel-c {
  fill: var(--color-pink);
}

.route-pulse {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.5;
  opacity: 0.28;
  transform-box: fill-box;
  transform-origin: center;
  animation: route-pulse 3.2s ease-in-out infinite;
}

.route-pulse-b,
.route-pulse-e {
  animation-delay: 0.7s;
}

.route-pulse-c,
.route-pulse-f {
  animation-delay: 1.4s;
}

.route-pulse-d {
  animation-delay: 2.1s;
}

.route-hub-halo {
  fill: var(--color-accent-haze);
  stroke: var(--color-accent);
  stroke-width: 1;
}

.route-hub-ring {
  fill: var(--color-panel);
  stroke: var(--color-accent-soft);
  stroke-width: 2;
}

.route-city-label rect,
.route-core-label rect {
  fill: var(--color-panel-raised);
}

.route-city-label text,
.route-core-label text {
  fill: var(--color-text);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 650;
}

.route-core-label rect {
  fill: var(--color-accent-dark);
}

.nodes-heading {
  max-width: 880px;
}

.status-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 28px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius-md);
  background: var(--color-deep);
  box-shadow: var(--shadow-low);
}

.status-panel-copy p {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}

.server-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.server-status:empty {
  min-height: 78px;
  border-radius: var(--radius-sm);
  background: var(--color-panel);
}

.srv-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--color-panel);
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.srv-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: var(--radius-pill);
  background: var(--color-success);
  animation: server-breathe 2.8s ease-in-out infinite;
}

.srv-flag {
  width: 24px;
  height: 17px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: var(--radius-xs);
}

.srv-name {
  min-width: 0;
  overflow: hidden;
  color: var(--color-text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.srv-type {
  max-width: 100%;
  padding: 3px 6px;
  overflow: hidden;
  border-radius: var(--radius-xs);
  background: var(--color-panel-raised);
  color: var(--color-accent-soft);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.srv-ms {
  color: var(--color-success);
  white-space: nowrap;
}

.srv-bw {
  color: var(--color-accent-soft);
  white-space: nowrap;
}

.nodes-table-wrap {
  margin-top: 0;
}

.nodes-guidance {
  margin-top: 24px;
}

.nodes-guidance .panel p,
.pricing-notes .panel p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.section-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--color-accent-soft);
  font-weight: 700;
}

.section-link:hover {
  color: var(--color-text);
}

.home-feature-browser {
  align-items: stretch;
}

.feature-stage {
  min-width: 0;
}

.feature-stage .feature-detail {
  height: 100%;
}

.feature-detail p:not(.eyebrow):not(.feature-fact) {
  max-width: 820px;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.85;
}

.feature-accordion {
  display: none;
}

.pricing-card .plan-summary {
  color: var(--color-muted);
  font-size: 14px;
}

.traffic-pack-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-md);
  background: var(--color-deep);
  box-shadow: var(--shadow-low);
}

.traffic-pack-panel h3 {
  margin-bottom: 10px;
}

.traffic-pack-panel p:last-child {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--color-muted);
}

.pricing-notes {
  margin-top: 24px;
}

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

.operations-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin-top: 26px;
  background: var(--color-panel-raised);
}

.operations-note h3 {
  margin-bottom: 8px;
}

.operations-note p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
}

.operations-note p a {
  color: var(--color-accent-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes route-pulse {
  0%,
  100% {
    opacity: 0.18;
    transform: scale(0.82);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.16);
  }
}

@keyframes server-breathe {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (max-width: 960px) {
  .hero-access-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .status-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .traffic-pack-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .traffic-pack-panel .btn-secondary {
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .home-feature-browser {
    display: none;
  }

  .feature-accordion {
    display: grid;
    gap: 12px;
  }

  .feature-accordion h3 {
    margin-top: 8px;
    font-size: 20px;
  }

  .feature-accordion .feature-fact {
    margin-bottom: 0;
  }

  .server-status {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .home-hero {
    min-height: 0;
    padding-top: 16px;
    padding-bottom: 20px;
  }

  .home-hero .hero-copy h1 {
    font-size: clamp(34px, 10vw, 40px);
  }

  .hero-lead {
    line-height: 1.55;
  }

  .home-hero .trust-row {
    gap: 7px 14px;
  }

  .hero-access-group {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .hero-platforms,
  .hero-flags {
    width: 100%;
    justify-content: center;
  }

  .route-map-device {
    width: calc(100% - 20px);
  }

  .route-map-svg {
    min-height: 200px;
    object-fit: cover;
  }

  .route-map-device::before {
    opacity: 0.2;
  }

  .route-city-label text,
  .route-core-label text {
    font-size: 14px;
  }

  .home-article-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .operations-note {
    grid-template-columns: minmax(0, 1fr);
  }

  .operations-note .btn-primary,
  .traffic-pack-panel .btn-secondary {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hero-platforms,
  .hero-flags {
    gap: 8px 12px;
    font-size: 12px;
  }

  .hero-platform-icon {
    width: 16px;
    height: 16px;
  }

  .hero-flags .flag-icon {
    width: 23px;
    height: 16px;
  }

  .route-map-svg {
    width: 160%;
    max-width: none;
    margin-left: -30%;
  }

  .srv-row {
    grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  }

  .srv-type {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero-platforms,
  .hero-flags {
    gap: 7px 9px;
  }

  .hero-platforms li,
  .hero-flags li {
    gap: 5px;
  }

  .srv-row {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
  }

  .srv-bw {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-pulse,
  .srv-dot {
    animation: none;
  }

  .route-travel {
    display: none;
  }
}