.home-hero {
  min-height: calc(100vh - var(--header-height) - 12px);
}

.home-hero .preview-hero-core {
  display: flex;
  min-height: calc(100vh - var(--header-height) - 12px);
  flex-direction: column;
  justify-content: center;
}

.home-hero .preview-hero-sub {
  margin-top: 18px;
  margin-bottom: 0;
}

.home-hero .preview-hero-sub strong {
  color: var(--color-on-accent);
  font-weight: 800;
}

.home-route-device {
  position: relative;
  width: 100%;
  margin-top: 15px;
}

.home-route-map {
  margin-top: 0;
}

.hero-flags {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: -8px;
}

.hero-flag {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--color-on-accent-faint);
  border-radius: var(--radius-pill);
  color: var(--color-on-accent-muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-flag svg {
  width: 30px;
  height: 20px;
  flex: 0 0 auto;
}

.flag-light {
  fill: var(--color-on-accent);
}

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

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

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

.flag-outline {
  fill: none;
  stroke: var(--color-on-accent-line);
  stroke-width: 1;
}

.flag-stroke-wide {
  fill: none;
  stroke: var(--color-on-accent);
  stroke-width: 5;
}

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

.section-intro {
  max-width: 850px;
  margin-bottom: 42px;
}

.node-preview {
  background: var(--color-bg);
}

.section-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 28px;
  margin-top: 26px;
}

.section-link-row p {
  max-width: 850px;
  margin-bottom: 0;
}

.section-link-row .article-link {
  white-space: nowrap;
}

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

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

.srv-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
  color: var(--color-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);
  animation: server-pulse 2.4s ease-in-out infinite;
}

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

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

.srv-type {
  max-width: 100%;
  padding: 3px 7px;
  overflow: hidden;
  border: 1px solid var(--color-accent-line);
  border-radius: var(--radius-pill);
  color: var(--color-accent-dark);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.srv-ms,
.srv-bw {
  color: var(--color-muted);
  white-space: nowrap;
}

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

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

.home-spec-section {
  background: var(--color-panel);
}

.home-spec-section .spec-list {
  background: var(--color-panel);
}

.home-spec-section .spec-item p {
  margin-bottom: 0;
  line-height: 1.82;
}

.home-method {
  background: var(--color-bg);
}

.method-layout {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.4fr);
  gap: clamp(38px, 7vw, 100px);
  align-items: start;
}

.method-heading {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.method-heading .lead {
  margin-bottom: 0;
}

.method-notes {
  border-top: 4px solid var(--color-accent);
}

.method-notes article {
  display: grid;
  grid-template-columns: 82px 1fr;
  column-gap: 24px;
  padding-top: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-border);
}

.method-notes article > .mono {
  grid-row: 1 / span 2;
  color: var(--color-accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
}

.method-notes h3 {
  margin-bottom: 10px;
}

.method-notes p {
  margin-bottom: 0;
}

.home-pricing {
  background: var(--color-panel);
}

.home-pricing .plan-card p {
  line-height: 1.72;
}

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

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

.traffic-pack-panel p {
  max-width: 870px;
  margin-bottom: 0;
}

.home-faq {
  background: var(--color-bg);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(230px, .62fr) minmax(0, 1.38fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.faq-heading .article-link {
  display: inline-block;
  margin-top: 12px;
}

.home-blog {
  background: var(--color-panel);
}

.blog-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.blog-heading-row > div {
  max-width: 820px;
}

.blog-heading-row .lead {
  margin-bottom: 0;
}

.blog-heading-row > .article-link {
  flex: 0 0 auto;
  margin-bottom: 10px;
}

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

@media (max-height: 850px) and (min-width: 769px) {
  .home-hero .preview-hero-core {
    padding-top: 24px;
    padding-bottom: 22px;
  }

  .home-hero h1 {
    margin-top: 10px;
    margin-bottom: 9px;
    font-size: clamp(48px, 5vw, 62px);
  }

  .home-hero .button-row {
    margin-top: 15px;
  }

  .home-hero .preview-hero-sub {
    margin-top: 12px;
  }

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

  .home-route-device {
    margin-top: 8px;
  }

  .home-route-map svg {
    max-height: 126px;
  }

  .hero-platforms {
    margin-top: 10px;
  }
}

@media (max-width: 1020px) {
  .method-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .method-heading,
  .faq-heading {
    position: static;
  }

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

@media (max-width: 768px) {
  .home-hero,
  .home-hero .preview-hero-core {
    min-height: auto;
  }

  .home-hero .preview-hero-core {
    padding-top: 48px;
    padding-bottom: 42px;
  }

  .home-hero .preview-hero-sub {
    font-size: 15px;
    line-height: 1.65;
  }

  .home-route-device {
    margin-top: 20px;
  }

  .home-route-map {
    margin-bottom: 8px;
  }

  .home-route-map svg {
    min-height: 105px;
  }

  .hero-flags {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
  }

  .hero-flag {
    justify-content: center;
    padding-inline: 7px;
  }

  .section-link-row,
  .traffic-pack-panel {
    grid-template-columns: 1fr;
  }

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

  .section-link-row .article-link {
    white-space: normal;
  }

  .method-notes article {
    grid-template-columns: 62px 1fr;
    column-gap: 16px;
  }

  .blog-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 560px) {
  .hero-flags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .srv-type {
    display: none;
  }

  .srv-bw {
    display: none;
  }

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

  .method-notes article > .mono {
    grid-row: auto;
    margin-bottom: 10px;
  }
}

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