.home-hero {
  position: relative;
  overflow: hidden;
  padding-top: 42px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border);
}

.home-hero::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--color-accent-soft);
  content: "";
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  gap: 46px;
  align-items: center;
}

.home-device-slot {
  min-width: 0;
  margin-left: -38px;
}

.home-route-browser {
  min-height: 500px;
}

.home-route-browser .device-lines {
  padding-top: 12px;
  padding-bottom: 12px;
}

.home-route-browser .device-line {
  height: 48px;
}

.home-route-browser .device-scan {
  height: 48px;
}

.home-hero-copy {
  min-width: 0;
}

.home-hero-copy .hero-title {
  margin-bottom: 18px;
  font-size: clamp(52px, 5vw, 70px);
}

.hero-actions {
  margin-bottom: 20px;
}

.home-hero-copy .hero-lede {
  max-width: 590px;
  margin-bottom: 14px;
  font-size: 17px;
  line-height: 1.75;
}

.hero-signup-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
}

.hero-signup-note .status-dot {
  flex: 0 0 auto;
}

.hero-platform-row,
.hero-flag-row {
  row-gap: 9px;
}

.home-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.72fr);
  gap: 46px;
  align-items: end;
  margin-bottom: 28px;
}

.home-section-heading .eyebrow {
  margin-bottom: 13px;
}

.home-section-heading h2 {
  margin-bottom: 0;
}

.home-section-heading > p {
  margin-bottom: 4px;
  color: var(--color-muted);
}

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

.home-feature-browser {
  min-height: 430px;
}

.feature-option {
  width: 100%;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  background: var(--color-transparent);
  font: inherit;
  text-align: left;
}

.feature-option span {
  font-weight: 750;
}

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

.feature-panel .status-label {
  margin-bottom: 18px;
  border-color: var(--color-ink-line-strong);
  background: var(--color-ink-panel);
  color: var(--color-ink-muted);
}

.feature-panel h3 {
  margin-bottom: 16px;
  color: var(--color-ink-text);
  font-size: clamp(24px, 3vw, 34px);
}

.feature-panel p {
  margin-bottom: 22px;
  color: var(--color-ink-muted);
  font-size: 16px;
  line-height: 1.85;
}

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

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

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

.srv-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-success);
  animation: status-breathe 2400ms ease-in-out infinite;
}

.srv-flag {
  display: grid;
  width: 24px;
  height: 17px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  background: var(--color-bg);
}

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

.srv-name {
  min-width: 0;
  overflow: hidden;
  font-family: var(--font-body);
  font-weight: 750;
  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-xs);
  color: var(--color-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.srv-ms {
  color: var(--color-success);
  white-space: nowrap;
}

.srv-bw {
  color: var(--color-accent-dark);
  white-space: nowrap;
}

.route-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.route-note {
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
}

.route-note .mono {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--color-accent-dark);
  font-size: 11px;
  font-weight: 750;
}

.route-note h3 {
  font-size: 18px;
}

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

.route-guidance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-panel-strong);
}

.route-guidance h3 {
  font-size: 21px;
}

.route-guidance p {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--color-muted);
}

.home-client-section {
  border-top: 1px solid var(--color-border);
  background: var(--color-panel);
}

.home-client-section .callout {
  margin-top: 0;
  margin-bottom: 24px;
  background: var(--color-bg);
}

.home-client-section .platform-card {
  background: var(--color-bg);
}

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

.plan-summary {
  min-height: 86px;
  color: var(--color-muted);
}

.plan-card .btn-primary,
.plan-card .btn-secondary {
  width: 100%;
}

.traffic-pack-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin-top: 22px;
  padding: 26px;
  border: 1px solid var(--color-ink-edge);
  border-radius: var(--radius-lg);
  background: var(--color-ink);
  box-shadow: var(--shadow-device);
  color: var(--color-ink-muted);
}

.traffic-pack-panel .eyebrow {
  margin-bottom: 12px;
  border-color: var(--color-ink-line-strong);
  background: var(--color-ink-panel);
  color: var(--color-ink-muted);
}

.traffic-pack-panel h3 {
  color: var(--color-ink-text);
}

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

.purchase-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.purchase-notes article {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
}

.purchase-notes h3 {
  font-size: 18px;
}

.purchase-notes p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.section-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.section-link-row p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.section-link-row a {
  flex: 0 0 auto;
  font-weight: 800;
}

.home-blog-section {
  border-top: 1px solid var(--color-border);
  background: var(--color-panel);
}

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

.home-article-grid .article-card {
  min-height: 280px;
}

@keyframes status-breathe {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.88);
  }

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

@media (max-width: 1120px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .home-device-slot {
    order: 2;
    margin-left: 0;
  }

  .home-hero-copy {
    order: 1;
  }

  .home-route-browser {
    min-height: 0;
  }

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

@media (max-width: 900px) {
  .home-section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .route-note-grid,
  .purchase-notes {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .home-feature-browser {
    display: block;
    overflow: visible;
    border: 0;
    background: var(--color-transparent);
  }

  .home-feature-browser .feature-options {
    gap: 8px;
    padding: 0;
    border-bottom: 0;
  }

  .home-feature-browser .feature-option {
    min-height: 56px;
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-transparent);
    border-radius: var(--radius-md);
    background: var(--color-panel-strong);
  }

  .home-feature-browser .feature-option.is-selected {
    border-left-color: var(--color-accent);
    background: var(--color-bg);
  }

  .home-feature-browser .feature-detail {
    display: none;
  }

  .home-feature-browser .feature-options > .feature-panel {
    margin-top: -1px;
    margin-bottom: 4px;
    padding: 22px;
    border: 1px solid var(--color-ink-edge);
    border-radius: var(--radius-md);
    background: var(--color-ink);
    color: var(--color-ink-muted);
  }

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

  .route-guidance .btn-secondary,
  .traffic-pack-panel .btn-dark {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .home-hero {
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .home-hero-grid {
    gap: 28px;
  }

  .home-hero-copy .hero-title {
    font-size: clamp(28px, 10vw, 40px);
  }

  .home-hero-copy .hero-lede {
    font-size: 15px;
  }

  .hero-trust {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .trust-separator {
    display: none;
  }

  .shelf-label {
    width: 100%;
  }

  .home-route-browser .device-line-type {
    display: none;
  }

  .home-route-browser .device-line {
    gap: 8px;
  }

  .server-status {
    gap: 7px;
  }

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

  .srv-type {
    display: none;
  }

  .route-guidance,
  .traffic-pack-panel {
    padding: 20px;
  }

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

  .home-article-grid .article-card {
    min-height: 230px;
  }

  .section-link-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .section-link-row a {
    min-height: 32px;
  }
}

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

  .srv-bw {
    display: none;
  }
}

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