.home-svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.flag-red {
  fill: var(--color-flag-red);
}

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

.flag-blue {
  fill: var(--color-flag-blue);
}

.flag-stroke-white {
  fill: none;
  stroke: var(--color-flag-white);
}

.flag-stroke-red {
  fill: none;
  stroke: var(--color-flag-red);
}

.home-section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.home-section-head > p:last-child,
.home-split-head > p {
  color: var(--color-muted);
  font-size: 17px;
}

.home-section-head h2,
.home-split-head h2 {
  margin-top: 10px;
}

.home-split-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(320px, 4fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 40px;
}

.home-split-head > p {
  margin-bottom: 20px;
}

.feature-tab > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.feature-tab strong {
  font-size: 16px;
  line-height: 1.35;
}

.feature-tab small {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.4;
}

.feature-panel h3 {
  margin-top: 22px;
}

.home-routes {
  position: relative;
  overflow-x: clip;
  background: linear-gradient(180deg, var(--tint-blue), var(--color-bg));
}

.server-status:empty {
  display: none;
}

.server-status:not(:empty) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 32px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-panel);
  box-shadow:
    inset 0 1px 0 var(--highlight),
    0 16px 38px var(--shadow-blue);
}

.srv-row {
  display: grid;
  min-width: 0;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
}

.srv-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-success);
}

.srv-dot::after {
  position: absolute;
  inset: -3px;
  border: 1px solid var(--color-success);
  border-radius: 50%;
  content: "";
  animation: server-pulse 3s ease-in-out infinite;
}

.srv-flag {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid var(--color-panel);
  border-radius: 50%;
  box-shadow: 0 4px 10px var(--shadow-blue);
}

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

.srv-type {
  max-width: 100%;
  padding: 4px 8px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: var(--tint-honey);
  color: var(--color-text-soft);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.srv-ms,
.srv-bw {
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.route-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.route-guide article {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-panel);
  box-shadow: 0 14px 34px var(--shadow-blue);
}

.route-guide h3 {
  font-size: 20px;
}

.route-guide p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.home-link-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.home-link-row .article-card-link {
  min-height: 44px;
  align-items: center;
  padding-inline: 4px;
}

.client-callout {
  margin-top: 28px;
}

.client-callout a {
  color: var(--color-text);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-pricing {
  background:
    radial-gradient(42% 38% at 84% 22%, var(--atmosphere-glow), var(--atmosphere-clear) 72%),
    var(--color-bg);
}

.traffic-pack-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin-top: 24px;
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  box-shadow:
    inset 0 1px 0 var(--highlight),
    0 18px 42px var(--shadow-blue);
}

.traffic-pack-panel h3 {
  margin-top: 16px;
}

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

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.pricing-notes article {
  min-width: 0;
  padding: 22px;
  border-radius: var(--radius-card);
  background: var(--color-panel-muted);
}

.pricing-notes h3 {
  font-size: 19px;
}

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

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

.method-main {
  grid-row: span 2;
  min-height: 100%;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--color-text);
  color: var(--color-panel);
  box-shadow: 0 24px 54px var(--shadow-blue-strong);
}

.method-main h3 {
  margin-top: 22px;
  color: var(--color-panel);
}

.method-main p {
  color: var(--color-border);
}

.method-card {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-panel);
  box-shadow:
    inset 0 1px 0 var(--highlight),
    0 16px 36px var(--shadow-blue);
}

.method-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.home-blog {
  background: linear-gradient(180deg, var(--color-bg), var(--color-panel-muted));
}

@keyframes server-pulse {
  0%,
  100% {
    opacity: .6;
    transform: scale(1);
  }

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

@media (max-width: 1020px) {
  .home-split-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-split-head > p {
    max-width: 760px;
  }

  .route-guide,
  .pricing-notes {
    grid-template-columns: 1fr;
  }

  .server-status:not(:empty) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .feature-panel h3 {
    margin-top: 18px;
  }

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

  .method-main {
    grid-row: auto;
  }
}

@media (max-width: 700px) {
  .traffic-pack-panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .traffic-pack-panel .btn {
    width: 100%;
  }

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

  .srv-type {
    grid-column: 3 / 5;
    justify-self: start;
  }

  .srv-ms,
  .srv-bw {
    font-size: 11px;
  }

  .method-main,
  .method-card {
    padding: 24px;
  }
}

@media (max-width: 440px) {
  .server-status:not(:empty) {
    padding: 12px;
  }

  .srv-row {
    gap: 8px;
    padding: 11px;
  }

  .srv-bw {
    grid-column: 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .srv-dot::after {
    animation: none;
    opacity: .35;
  }
}