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

.home-hero .harbor-content {
  padding-top: 22px;
}

.hero-badge {
  background: var(--color-paper);
}

.home-hero .harbor-title {
  margin-top: 14px;
  margin-bottom: 14px;
}

.home-hero .harbor-actions {
  margin-bottom: 14px;
}

.hero-trust {
  margin-top: 2px;
  margin-bottom: 14px;
}

.hero-platforms {
  margin-bottom: 12px;
}

.hero-flags {
  margin-bottom: 24px;
}

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

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

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

.home-berth-stage {
  max-width: 1040px;
  padding-bottom: 48px;
}

.home-berth-stage .console-layout {
  grid-template-columns: 224px minmax(0, 1fr);
}

.home-berth-stage .berth-map svg {
  min-height: 214px;
}

.home-feature-ledger {
  align-items: start;
}

.feature-panels {
  min-width: 0;
}

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

.feature-detail p:not(.feature-footnote) {
  font-size: 16px;
}

.home-principles {
  display: grid;
  grid-template-columns: minmax(220px, .46fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: 44px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-panel-strong);
}

.home-principles h3 {
  margin-bottom: 0;
}

.home-principles-copy {
  min-width: 0;
  color: var(--color-text-muted);
}

.home-principles-copy > :last-child {
  margin-bottom: 0;
}

.route-preview-section,
.pricing-preview-section {
  background: var(--color-panel-strong);
}

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

.route-guidance .card,
.pricing-notes .card {
  background: var(--color-panel);
}

.route-guidance h3,
.pricing-notes h3 {
  font-size: 24px;
}

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

.route-status-block {
  margin-top: 28px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-panel);
}

.route-status-heading {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}

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

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

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

.srv-row {
  display: grid;
  grid-template-columns: auto auto minmax(86px, 1fr) auto auto auto;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: var(--color-paper);
  color: var(--color-text);
  font-size: 13px;
}

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

.srv-flag {
  display: inline-flex;
  width: 24px;
  height: 16px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 3px;
  background: var(--color-panel-strong);
  font-size: 11px;
}

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

.srv-type {
  max-width: 100%;
  padding: 2px 7px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-accent-tint);
  color: var(--color-accent-dark);
  font-family: var(--font-mono);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.section-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  margin-top: 24px;
  color: var(--color-accent-dark);
  font-weight: 750;
  text-decoration: none;
}

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

.platform-card p {
  font-size: 14px;
}

.price-audience {
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

.traffic-pack-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background: var(--color-paper);
  box-shadow: var(--shadow-soft);
}

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

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

.traffic-pack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.traffic-pack-list .fact-pill {
  background: var(--color-panel);
}

.blog-heading-row {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.blog-heading-row p {
  max-width: 720px;
  margin-bottom: 0;
}

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

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

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

.blog-bottom-link {
  display: none;
}

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

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

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

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

@media (max-width: 1020px) {
  .home-berth-stage .console-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .traffic-pack-list {
    justify-content: flex-start;
  }
}

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

  .home-hero .harbor-content {
    padding-top: 18px;
  }

  .home-hero .harbor-title {
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .hero-platforms {
    padding-right: 15px;
    padding-left: 15px;
  }

  .home-berth-stage {
    padding-bottom: 28px;
  }

  .home-principles,
  .route-status-heading,
  .blog-heading-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .route-guidance,
  .pricing-notes {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-link-top {
    display: none;
  }

  .blog-bottom-link {
    display: block;
  }

  .feature-index {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: visible;
  }

  .feature-index button {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--color-border);
    border-left: 3px solid transparent;
    border-radius: var(--radius-control);
    background: var(--color-panel);
  }

  .feature-index button[aria-selected="true"] {
    border-left-color: var(--color-accent);
  }

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

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

@media (max-width: 640px) {
  .hero-trust {
    justify-content: flex-start;
  }

  .hero-platforms {
    border-radius: var(--radius-card);
  }

  .home-berth-stage .berth-map {
    overflow-x: auto;
  }

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

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

  .traffic-pack-list .fact-pill {
    width: 100%;
  }

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

  .srv-type {
    grid-column: 3 / -1;
    justify-self: start;
  }

  .srv-ms,
  .srv-bw {
    grid-column: auto;
  }
}

@media (max-width: 390px) {
  .srv-row {
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  .srv-type,
  .srv-ms,
  .srv-bw {
    grid-column: 3;
    justify-self: start;
  }
}

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