.node-heading,
.feature-intro {
  max-width: 820px;
}

.section-heading .section-number {
  margin-bottom: 20px;
}

.node-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  gap: 22px;
  align-items: start;
}

.section-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--color-accent-ink);
  font-weight: 800;
}

.section-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.section-link-top {
  margin-top: 0;
  flex-shrink: 0;
}

.route-notes {
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.route-notes h3 {
  font-size: 22px;
}

.route-notes p {
  color: var(--color-muted);
}

.route-notes p:last-child {
  margin-bottom: 0;
}

.status-panel {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
  gap: 30px;
  margin-top: 46px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel-alt);
}

.status-copy h3 {
  margin-top: 18px;
  font-size: 24px;
}

.status-copy p {
  margin-bottom: 0;
  color: var(--color-muted);
}

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

.srv-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  grid-template-areas:
    "dot flag name ms"
    "dot flag type bw";
  gap: 2px 8px;
  align-items: center;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-panel);
}

.srv-dot {
  grid-area: dot;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-success);
  animation: srv-pulse 1800ms ease-in-out infinite;
}

.srv-flag {
  grid-area: flag;
  display: inline-flex;
  width: 20px;
  min-width: 20px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 2px;
}

.srv-flag svg,
.srv-flag img {
  width: 20px;
  height: 14px;
  object-fit: cover;
}

.srv-name {
  grid-area: name;
  min-width: 0;
  overflow: hidden;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.srv-type {
  grid-area: type;
  min-width: 0;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.srv-ms,
.srv-bw {
  justify-self: end;
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
}

.srv-ms {
  grid-area: ms;
}

.srv-bw {
  grid-area: bw;
  color: var(--color-muted);
}

@keyframes srv-pulse {
  0%,
  100% {
    opacity: .55;
    transform: scale(.85);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.difference-note {
  display: grid;
  grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr);
  gap: 40px;
  margin-top: 44px;
  padding: 30px;
}

.difference-note h3 {
  margin-top: 18px;
  margin-bottom: 0;
  font-size: 26px;
}

.difference-copy {
  color: var(--color-muted);
}

.difference-copy p:last-child {
  margin-bottom: 0;
}

.pricing-head,
.blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.pricing-head .section-heading,
.blog-head .section-heading {
  margin-bottom: 0;
}

.plan-audience {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.traffic-pack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
  gap: 42px;
  align-items: center;
  margin-top: 24px;
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
}

.traffic-pack h3 {
  margin-top: 18px;
  font-size: 28px;
}

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

.badge-on-dark {
  border-color: var(--color-muted);
  background: var(--color-text);
  color: var(--color-panel);
}

.badge-on-dark::before {
  background: var(--color-accent);
}

.pack-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--color-muted);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.pack-list div {
  min-width: 0;
  padding: 20px 14px;
  text-align: center;
}

.pack-list div + div {
  border-left: 1px solid var(--color-muted);
}

.pack-list dt {
  color: var(--color-panel-alt);
  font-family: var(--font-mono);
  font-size: 12px;
}

.pack-list dd {
  margin-top: 7px;
  color: var(--color-panel);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 850;
}

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

.pricing-rules article {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
}

.pricing-rules h3 {
  font-size: 20px;
}

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

.pricing-bottom-link {
  display: flex;
  justify-content: flex-end;
}

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

.home-article-grid .article-card h3 {
  font-size: 20px;
}

.reading-path {
  margin-top: 24px;
  padding: 26px 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.reading-path h3 {
  font-size: 22px;
}

.reading-path p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.reading-path a {
  color: var(--color-accent-ink);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1100px) {
  .home-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .traffic-pack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .node-layout,
  .status-panel,
  .difference-note {
    grid-template-columns: 1fr;
  }

  .pricing-rules {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .pricing-head,
  .blog-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .traffic-pack {
    min-width: 0;
    padding: 26px 20px;
  }

  .pack-list {
    grid-template-columns: 1fr;
  }

  .pack-list div + div {
    border-top: 1px solid var(--color-muted);
    border-left: 0;
  }

  .home-article-grid,
  .server-status {
    grid-template-columns: 1fr;
  }

  .difference-note,
  .status-panel {
    padding: 24px 20px;
  }
}

@media (max-width: 640px) {
  .route-notes,
  .pricing-rules article,
  .reading-path {
    padding: 22px 18px;
  }

  .status-panel {
    margin-top: 34px;
  }

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

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