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

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

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

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

.node-preview {
  border-top: 1px solid rgba(var(--rgb-text), .06);
  background: rgba(var(--rgb-shadow), .08);
}

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

.node-notes article,
.pricing-explainer article {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-large);
  background: var(--color-panel);
}

.node-notes h3,
.pricing-explainer h3 {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 550;
}

.node-notes p,
.pricing-explainer p {
  margin-top: 10px;
  color: var(--color-text-muted);
}

.section-link {
  margin-top: 28px;
  text-align: right;
}

.section-link a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  color: var(--color-accent);
  font-weight: 550;
}

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

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

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

.srv-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 3px rgba(var(--rgb-success), .12);
  animation: server-pulse 2.8s ease-in-out infinite;
}

.srv-flag {
  width: 22px;
  height: 16px;
  flex: 0 0 auto;
  overflow: clip;
  border-radius: 2px;
}

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

.srv-type {
  max-width: 100%;
  overflow: hidden;
  padding: 2px 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.srv-ms,
.srv-bw {
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pricing-preview {
  overflow-x: clip;
}

.plan-guide {
  margin: 0 0 24px;
  color: var(--color-text-muted);
  font-size: 13.5px;
}

.traffic-pack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin-top: 24px;
}

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

.traffic-pack p:not(.section-kicker) {
  max-width: 790px;
  margin-top: 12px;
  color: var(--color-text-muted);
}

.workflow-note {
  border-top: 1px solid rgba(var(--rgb-text), .06);
  border-bottom: 1px solid rgba(var(--rgb-text), .06);
  background: rgba(var(--rgb-shadow), .1);
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.35fr);
  gap: clamp(42px, 8vw, 96px);
}

.workflow-grid .section-heading {
  margin-bottom: 0;
}

.workflow-copy {
  min-width: 0;
  color: var(--color-text-muted);
  font-size: 16px;
}

.workflow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

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

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

@media (max-width: 900px) {
  .server-status {
    grid-template-columns: minmax(0, 1fr);
  }

  .workflow-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .node-notes,
  .pricing-explainer,
  .blog-preview .article-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .section-link {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .srv-row {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
  }

  .srv-type {
    display: none;
  }

  .srv-bw {
    grid-column: 3 / -1;
    justify-self: start;
  }

  .node-notes article,
  .pricing-explainer article {
    padding: 21px;
  }

  .workflow-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .workflow-actions .btn {
    width: 100%;
  }
}

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