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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

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

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

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

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

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

.route-round {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--color-ink-a10);
  overflow: hidden;
}

.route-round svg {
  width: 24px;
  height: 24px;
}

.home-facts {
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-panel);
}

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

.home-facts-grid > div {
  display: grid;
  min-height: 72px;
  align-content: center;
  padding-inline: 26px;
  border-right: 1px solid var(--color-border);
}

.home-facts-grid > div:first-child {
  padding-left: 0;
}

.home-facts-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.home-facts-grid strong,
.home-facts-grid span {
  display: block;
}

.home-facts-grid strong {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.2;
}

.home-facts-grid span {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 13px;
}

.feature-dialog {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.7fr);
  align-items: start;
  gap: clamp(32px, 6vw, 84px);
}

.feature-dialog-intro {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.feature-dialog-intro p {
  color: var(--color-muted);
}

.feature-dialog-intro p:last-child {
  margin-top: 26px;
  color: var(--color-text);
  font-size: 14px;
}

.feature-dialog-intro p:last-child strong {
  display: block;
  margin-top: 4px;
  color: var(--color-accent);
  font-family: var(--font-mono);
}

.tab-panel > p {
  min-height: 8em;
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.8;
}

.route-note {
  margin-bottom: 24px;
}

.section-link {
  margin-top: 26px;
  margin-bottom: 0;
}

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

.server-status {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
  overflow: hidden;
}

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

.srv-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: var(--radius-pill);
  background: var(--color-success);
  box-shadow: 0 0 0 3px var(--color-success-a14);
}

.srv-flag {
  display: block;
  width: 22px;
  height: 15px;
  border-radius: var(--radius-xs);
  box-shadow: inset 0 0 0 1px var(--color-ink-a10);
  overflow: hidden;
}

.srv-flag img,
.srv-flag svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.srv-ms,
.srv-bw {
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
}

.platform-card p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.55;
}

.platform-card .btn {
  margin-top: auto;
}

.client-note {
  margin-top: 24px;
}

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

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

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

.plan-card > p {
  color: var(--color-muted);
}

.plan-guidance {
  display: grid;
  grid-template-columns: minmax(190px, .55fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
}

.plan-guidance p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.faq-layout {
  max-width: 980px;
}

.article-card h3 .no-break {
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .feature-dialog {
    grid-template-columns: 1fr;
  }

  .feature-dialog-intro {
    position: static;
    max-width: 760px;
  }

  .plan-guidance {
    grid-template-columns: 1fr 1fr;
  }

  .plan-guidance h3 {
    grid-column: 1 / -1;
  }
}

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

  .home-facts-grid > div {
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
  }

  .home-facts-grid > div:nth-child(2) {
    border-right: 0;
  }

  .home-facts-grid > div:nth-child(3),
  .home-facts-grid > div:nth-child(4) {
    border-bottom: 0;
  }

  .home-facts-grid > div:first-child,
  .home-facts-grid > div:last-child {
    padding: 16px;
  }

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

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

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

  .plan-guidance {
    grid-template-columns: 1fr;
  }

  .plan-guidance h3 {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .tab-panel > p {
    min-height: 0;
    font-size: 16px;
  }

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

  .srv-type {
    display: none;
  }

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

  .article-card h3 .no-break {
    white-space: normal;
  }
}

@media (max-width: 390px) {
  .home-facts-grid {
    grid-template-columns: 1fr;
  }

  .home-facts-grid > div,
  .home-facts-grid > div:first-child,
  .home-facts-grid > div:last-child {
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .home-facts-grid > div:last-child {
    border-bottom: 0;
  }

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