.home-hero {
  border-bottom: var(--border-hairline) solid var(--color-border);
  background:
    radial-gradient(circle at center 42%, var(--color-accent-soft), var(--color-transparent) 34%),
    var(--color-panel-glass);
}

.home-hero .preview-hero-shell {
  min-height: 760px;
}

.home-hero .preview-hero-copy {
  padding-top: 28px;
}

.home-hero h1 {
  margin-bottom: 12px;
}

.hero-actions {
  margin-top: 8px;
  margin-bottom: 14px;
}

.hero-lead {
  max-width: 820px;
}

.hero-lead strong {
  color: var(--color-text);
}

.route-device {
  top: 278px;
}

.route-device .signal-a {
  animation-delay: 0ms;
}

.route-device .signal-b {
  animation-delay: 360ms;
}

.route-device .signal-c {
  animation-delay: 720ms;
}

.route-device .signal-d {
  animation-delay: 1080ms;
}

.route-device .signal-e {
  animation-delay: 1440ms;
}

.route-device .signal-f {
  animation-delay: 1800ms;
}

.hero-directory {
  grid-template-columns: minmax(490px, 1fr) minmax(470px, 1fr);
}

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

.route-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: start;
}

.route-explainer h3 {
  font-size: 25px;
}

.route-explainer p,
.status-heading p,
.plan-description,
.traffic-pack p,
.difference-copy p {
  color: var(--color-text-muted);
}

.route-table-area {
  min-width: 0;
}

.text-link {
  width: fit-content;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  color: var(--color-accent-dark);
  font-weight: 760;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 5px;
}

.text-link:hover {
  color: var(--color-text);
}

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

.status-heading {
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: minmax(230px, 0.55fr) minmax(280px, 1fr);
  gap: 30px;
  align-items: end;
}

.status-heading h3 {
  margin-bottom: 0;
}

.status-heading p {
  margin-bottom: 0;
}

.server-status {
  min-height: 74px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
}

.srv-row {
  min-width: 0;
  min-height: 58px;
  padding: 10px 12px;
  border: var(--border-hairline) solid var(--color-border);
  border-radius: var(--radius-sm);
  display: grid;
  grid-template-columns: auto auto minmax(78px, 1fr) minmax(70px, auto) auto auto;
  align-items: center;
  gap: 9px;
  background: var(--color-bg);
  font-family: var(--font-mono);
  font-size: 11px;
}

.srv-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  flex: 0 0 auto;
  background: var(--color-success);
  animation: server-breathe 2.4s ease-in-out infinite;
}

.srv-flag {
  width: 25px;
  height: 18px;
  border: var(--border-hairline) solid var(--color-border);
  border-radius: var(--radius-xs);
  flex: 0 0 auto;
  object-fit: cover;
}

.srv-name {
  min-width: 0;
  overflow: hidden;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

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

.feature-section {
  border-top: var(--border-hairline) solid var(--color-border);
  border-bottom: var(--border-hairline) solid var(--color-border);
  background: var(--color-panel);
}

.feature-module {
  border-bottom: var(--border-hairline) solid var(--color-border);
}

.feature-module p:last-of-type {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.feature-diagram {
  width: 100%;
  height: 90px;
  margin-top: 24px;
  color: var(--color-text);
}

.feature-diagram path,
.feature-diagram rect,
.feature-diagram circle {
  fill: var(--color-transparent);
  stroke: currentColor;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.feature-diagram circle {
  fill: var(--color-accent);
  stroke: var(--color-accent-dark);
}

.difference-panel {
  padding: clamp(24px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(230px, 0.65fr) minmax(300px, 1.35fr);
  gap: 44px;
  background: var(--color-bg);
}

.difference-panel h3 {
  font-size: clamp(27px, 3vw, 37px);
}

.difference-copy {
  padding-left: 30px;
  border-left: var(--border-hairline) dashed var(--color-border);
}

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

.plan-description {
  min-height: 128px;
  margin-bottom: 18px;
}

.traffic-pack {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(230px, 0.7fr) minmax(330px, 1.3fr);
  gap: 18px 36px;
  align-items: center;
}

.traffic-pack h3 {
  margin-bottom: 0;
}

.traffic-pack-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.traffic-pack-list span {
  min-width: 0;
  padding: 15px 12px;
  border: var(--border-hairline) solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
}

.traffic-pack-list strong {
  color: var(--color-text);
  font-size: 17px;
}

.traffic-pack > p {
  grid-column: 1 / -1;
  margin-bottom: 0;
  padding-top: 16px;
  border-top: var(--border-hairline) dashed var(--color-border);
}

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

.faq-preview {
  border-top: var(--border-hairline) solid var(--color-border);
  border-bottom: var(--border-hairline) solid var(--color-border);
  background: var(--color-panel);
}

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

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

.blog-preview .article-card h3 {
  font-size: 20px;
}

.blog-preview .article-card p {
  font-size: 14px;
}

@keyframes server-breathe {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(0.82);
  }

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

@media (max-width: 1100px) {
  .home-hero .preview-hero-shell {
    min-height: 850px;
  }

  .hero-directory {
    grid-template-columns: 1fr;
  }

  .route-layout {
    grid-template-columns: 1fr;
  }

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

  .plan-description {
    min-height: 158px;
  }
}

@media (max-width: 900px) {
  .home-hero .preview-hero-shell {
    min-height: 970px;
  }

  .home-hero .preview-hero-copy {
    padding-top: 20px;
  }

  .route-device {
    top: 355px;
  }

  .status-heading,
  .difference-panel,
  .traffic-pack {
    grid-template-columns: 1fr;
  }

  .difference-copy {
    padding-top: 24px;
    padding-left: 0;
    border-top: var(--border-hairline) dashed var(--color-border);
    border-left: 0;
  }

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

  .plan-description {
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .home-hero .preview-hero-shell {
    min-height: 1010px;
  }

  .home-hero .preview-hero-copy .lead {
    max-width: 620px;
  }

  .route-device {
    top: 372px;
    height: 245px;
  }

  .home-hero .fact-card {
    bottom: 352px;
  }

  .home-hero .hero-directory {
    bottom: 16px;
  }

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

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

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

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

@media (max-width: 640px) {
  .home-hero .preview-hero-shell {
    min-height: 1110px;
  }

  .home-hero .preview-hero-copy {
    padding-top: 14px;
  }

  .home-hero .preview-hero-copy .eyebrow {
    min-height: 27px;
  }

  .home-hero h1 {
    margin-bottom: 8px;
  }

  .hero-actions {
    margin-top: 4px;
    margin-bottom: 10px;
    gap: 8px;
  }

  .hero-actions .button {
    min-height: 42px;
  }

  .home-hero .preview-hero-copy .lead {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.55;
  }

  .trust-row {
    margin-top: 8px;
  }

  .trust-item {
    padding-inline: 7px;
    font-size: 9px;
  }

  .route-device {
    top: 405px;
    height: 210px;
  }

  .route-device svg {
    min-width: 700px;
    transform: translateX(-23%);
  }

  .home-hero .fact-card {
    width: calc(50% - 24px);
    min-height: 72px;
    bottom: 430px;
  }

  .home-hero .fact-card-left {
    left: 16px;
  }

  .home-hero .fact-card-right {
    right: 16px;
  }

  .home-hero .hero-directory {
    min-height: 398px;
    padding: 12px;
  }

  .platform-list,
  .region-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-chip,
  .region-chip {
    min-height: 39px;
    justify-content: flex-start;
  }

  .platform-chip:last-child,
  .region-chip:last-child {
    grid-column: 1 / -1;
  }

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

  .srv-type {
    display: none;
  }

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

  .difference-panel {
    margin-left: 18px;
  }
}

@media (max-width: 390px) {
  .home-hero .preview-hero-shell {
    min-height: 1150px;
  }

  .route-device {
    top: 440px;
  }

  .home-hero .fact-card {
    bottom: 430px;
  }

  .srv-bw {
    display: none;
  }

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

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