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

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: var(--radius-pill);
  background: var(--color-success);
  box-shadow: 0 0 0 5px var(--color-success-soft);
}

.home-hero .hero-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  gap: 58px;
}

.home-hero .hero-copy {
  padding-top: 18px;
  padding-bottom: 18px;
}

.home-hero h1 {
  max-width: 9.5em;
}

.hero-platforms,
.hero-flags {
  margin-bottom: 10px;
}

.hero-platforms .chip,
.hero-flags .chip {
  min-height: 30px;
  padding: 5px 10px;
  font-size: 12px;
}

.hero-platforms .chip svg {
  width: 15px;
  height: 15px;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading > p:last-child,
.section-heading-copy p,
.section-heading p {
  color: var(--color-text-muted);
}

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: 64px;
}

.split-heading h2 {
  margin-bottom: 0;
}

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

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

.feature-intro .callout {
  margin-bottom: 0;
}

.feature-row h3 {
  margin-bottom: 0;
  font-size: 21px;
}

.feature-row .switch-control {
  justify-self: start;
}

.route-preview-table {
  box-shadow: var(--shadow-card);
}

.route-preview-table:focus-visible {
  outline: var(--focus-size) solid var(--color-accent);
  outline-offset: 4px;
}

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

.route-notes article,
.decision-notes article {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  box-shadow: var(--shadow-card);
}

.route-notes h3,
.decision-notes h3 {
  margin: 10px 0;
  font-size: 20px;
}

.route-notes p,
.decision-notes p {
  margin-bottom: 0;
  color: var(--color-text-muted);
}

.section-link-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 30px;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 750;
}

.server-status-shell {
  margin-top: 44px;
  padding: 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-panel-muted);
}

.server-status-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 700;
}

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

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

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

.srv-flag {
  display: inline-flex;
  width: 24px;
  height: 17px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-panel);
}

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

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

.srv-type {
  display: inline-flex;
  min-height: 24px;
  max-width: 100%;
  align-items: center;
  overflow: hidden;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.srv-ms,
.srv-bw {
  min-width: max-content;
  color: var(--color-text-muted);
  text-align: right;
}

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

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

.platform-card {
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.platform-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-core);
}

.client-guidance {
  display: grid;
  grid-template-columns: minmax(210px, 0.6fr) minmax(0, 1.4fr);
  align-items: start;
  gap: 42px;
  margin-top: 28px;
  padding: 30px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-panel-muted);
}

.client-guidance h3 {
  margin: 8px 0 0;
  font-size: 22px;
}

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

.price-audience {
  min-height: 8.2em;
  color: var(--color-text-muted);
  font-size: 14px;
}

.traffic-pack-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  margin-top: 24px;
  padding: 32px;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-xl);
  background: linear-gradient(125deg, var(--color-accent-soft), var(--color-panel));
  box-shadow: var(--shadow-card);
}

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

.traffic-pack-panel p {
  max-width: 65em;
  margin-bottom: 0;
  color: var(--color-text-muted);
}

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

.home-article-grid .article-card h3 a {
  color: var(--color-text);
}

.home-article-grid .article-card h3 a:hover {
  color: var(--color-accent-dark);
}

@media (max-width: 1180px) {
  .home-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.8fr);
    gap: 38px;
  }

  .home-hero .route-stack {
    width: 380px;
  }

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

  .srv-type {
    display: none;
  }
}

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

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

  .home-hero h1 {
    max-width: none;
  }

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

  .price-audience {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .split-heading,
  .client-guidance {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .route-notes,
  .decision-notes,
  .home-article-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .home-hero .hero-copy {
    padding-top: 0;
  }

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

  .feature-row h3 {
    font-size: 20px;
  }

  .server-status-shell,
  .traffic-pack-panel,
  .client-guidance {
    padding: 24px;
  }

  .server-status-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .home-hero .hero-kicker {
    font-size: 11.5px;
  }

  .home-hero .route-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .home-hero .route-badge {
    margin-left: 0;
  }

  .split-heading {
    gap: 18px;
  }

  .route-notes article,
  .decision-notes article,
  .server-status-shell,
  .traffic-pack-panel,
  .client-guidance {
    padding: 22px;
  }

  .srv-row {
    grid-template-columns: 9px 22px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 12px;
  }

  .srv-type,
  .srv-bw {
    display: none;
  }

  .section-link-row {
    justify-content: flex-start;
  }
}

@media (max-width: 390px) {
  .hero-flags .chips,
  .hero-platforms .chips {
    gap: 6px;
  }

  .hero-flags .chip,
  .hero-platforms .chip {
    padding-inline: 8px;
  }

  .home-hero .route-card {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .home-hero .route-badge {
    grid-column: 2;
    justify-self: start;
  }
}

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