:root {
  --home-feature-border: rgba(var(--panel-rgb), .2);
  --home-feature-muted: var(--color-bg-bottom);
  --home-soft-accent: rgba(var(--accent-rgb), .08);
  --home-soft-honey: rgba(var(--honey-rgb), .18);
  --home-soft-panel: rgba(var(--panel-rgb), .72);
  --home-server-line: rgba(var(--accent-rgb), .12);
  --home-server-pulse: rgba(var(--honey-rgb), .32);
}

.home-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

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

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

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

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

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

.flag-stroke-white {
  stroke: var(--color-flag-white);
}

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

.linux-eye {
  fill: var(--color-text);
}

.linux-beak {
  fill: var(--color-honey);
}

.home-feature-section {
  position: relative;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  overflow: clip;
  background: var(--color-accent);
  color: var(--color-panel);
}

.home-feature-section::before {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(var(--home-feature-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-feature-border) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  pointer-events: none;
}

.home-feature-section > .wrap {
  position: relative;
  z-index: 1;
}

.home-dark-heading {
  max-width: 780px;
}

.home-dark-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid var(--home-feature-border);
  border-radius: var(--radius-pill);
  background: rgba(var(--panel-rgb), .08);
  color: var(--color-honey);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.home-dark-heading h2 {
  margin-top: 16px;
  color: var(--color-panel);
}

.home-dark-heading p {
  margin-top: 14px;
  color: var(--home-feature-muted);
  font-size: 18px;
}

.feature-star {
  position: absolute;
  color: var(--color-honey);
  font-size: 22px;
  line-height: 1;
  pointer-events: none;
}

.feature-star-a {
  top: 40px;
  left: 5%;
}

.feature-star-b {
  top: 72px;
  right: 7%;
  color: var(--color-panel);
}

.feature-star-c {
  right: 4%;
  bottom: 13%;
}

.feature-star-d {
  bottom: 8%;
  left: 6%;
  color: var(--color-panel);
}

.feature-browser {
  align-items: stretch;
}

.feature-tabs {
  align-content: start;
}

.feature-tab {
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
}

.feature-tab:hover {
  border-color: var(--home-feature-border);
  background: rgba(var(--panel-rgb), .06);
}

.feature-tab.is-active {
  box-shadow: var(--shadow-float);
}

.feature-tab span {
  display: none;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--home-soft-honey);
  color: var(--color-warning);
  font-family: var(--font-mono);
  font-size: 10px;
}

.feature-tab.is-active span {
  display: inline-flex;
}

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

.feature-detail {
  position: relative;
  min-height: 100%;
  overflow: clip;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.feature-detail::after {
  position: absolute;
  top: -64px;
  right: -52px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--home-soft-honey);
  content: "";
  pointer-events: none;
}

.feature-detail[hidden] {
  display: none;
}

.feature-detail-index {
  position: relative;
  z-index: 1;
  display: inline-flex;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.feature-detail h3 {
  position: relative;
  z-index: 1;
  margin-top: 14px;
}

.feature-detail p {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 1.8;
}

.feature-route-sketch {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(32px, 1fr) auto minmax(32px, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-top);
}

.feature-route-sketch span,
.feature-route-sketch strong {
  display: inline-flex;
  justify-content: center;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-panel);
  color: var(--color-muted);
  font-size: 12px;
  white-space: nowrap;
}

.feature-route-sketch strong {
  background: var(--color-accent);
  color: var(--color-panel);
}

.feature-route-sketch i {
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--color-honey);
}

.feature-fact-row,
.feature-platform-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.feature-fact-row span,
.feature-platform-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-bg-top);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 800;
}

.home-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.home-principles article {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--home-feature-border);
  border-radius: var(--radius-lg);
  background: rgba(var(--panel-rgb), .07);
}

.home-principles h3 {
  margin-top: 14px;
  color: var(--color-panel);
  font-size: 21px;
}

.home-principles p {
  margin-top: 10px;
  color: var(--home-feature-muted);
}

.home-principle-code {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--color-honey);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-weight: 900;
}

.home-routes {
  background: linear-gradient(180deg, var(--color-bg), var(--color-bg-top));
}

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

.server-status {
  width: 100%;
  max-width: 100%;
  margin-bottom: 32px;
  overflow: hidden;
}

.server-status > * {
  min-width: 0;
}

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

.server-status .srv-row {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-panel);
  box-shadow: var(--shadow-card);
}

.server-status .srv-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 5px var(--home-server-pulse);
}

.server-status .srv-flag {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--home-server-line);
  border-radius: 7px;
}

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

.server-status .srv-type {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: var(--home-soft-accent);
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

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

.home-route-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.home-route-guide .card {
  display: flex;
  flex-direction: column;
}

.route-guide-mark {
  align-self: flex-start;
  display: inline-flex;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--home-soft-honey);
  color: var(--color-warning);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
}

.home-route-guide h3 {
  margin-top: 16px;
  font-size: 22px;
}

.home-route-guide p {
  margin-top: 10px;
  color: var(--color-muted);
}

.home-location-table {
  margin-top: 0;
}

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

.home-route-footer p,
.home-pricing-footer p {
  color: var(--color-muted);
}

.home-route-footer .article-link,
.home-pricing-footer .article-link {
  padding-top: 0;
  white-space: nowrap;
}

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

.client-showcase {
  display: grid;
  grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: stretch;
}

.client-device-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  padding: 32px 22px;
  overflow: clip;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-bg-top);
  box-shadow: var(--shadow-card);
}

.client-phone {
  display: flex;
  width: 150px;
  min-width: 0;
  min-height: 292px;
  flex-direction: column;
  align-items: center;
  padding: 12px 14px 18px;
  border: 6px solid var(--color-accent-dark);
  border-radius: var(--radius-xl);
  background: var(--color-panel);
  box-shadow: var(--shadow-float);
  text-align: center;
}

.client-phone-alt {
  transform: translateY(20px);
}

.client-phone-bar {
  width: 48px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-dark);
}

.client-phone-logo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-top: 30px;
  border-radius: var(--radius-md);
  background: var(--home-soft-accent);
  color: var(--color-accent);
}

.client-phone strong {
  margin-top: 18px;
  font-size: 15px;
}

.client-phone > span:not(.client-phone-bar) {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 11px;
}

.client-phone i {
  width: 34px;
  height: 34px;
  margin-top: 18px;
  border: 8px solid var(--color-honey);
  border-radius: 50%;
  background: var(--color-accent);
}

.client-phone b {
  margin-top: auto;
  width: 100%;
  padding: 7px 8px;
  border-radius: 10px;
  background: var(--color-accent);
  color: var(--color-panel);
  font-size: 11px;
}

.client-showcase .platform-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.client-showcase .platform-card:last-child {
  grid-column: 1 / -1;
}

.home-client-note {
  margin-top: 24px;
}

.home-pricing {
  background: linear-gradient(180deg, var(--color-bg-top), var(--color-bg));
}

.home-price-audience {
  margin-top: 18px;
  color: var(--color-muted);
  font-size: 14px;
}

.home-traffic-packs {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  gap: 28px;
  align-items: center;
  margin-top: 26px;
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-accent-dark);
  box-shadow: var(--shadow-card);
}

.home-pack-label {
  display: inline-flex;
  min-height: 28px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--color-honey);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 900;
}

.home-pack-copy h3 {
  margin-top: 14px;
  color: var(--color-panel);
}

.home-pack-copy p {
  margin-top: 10px;
  color: var(--color-bg-bottom);
}

.home-pack-list {
  display: grid;
  gap: 9px;
  list-style: none;
}

.home-pack-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px;
  border: 1px solid var(--home-feature-border);
  border-radius: var(--radius-button);
  background: rgba(var(--panel-rgb), .08);
}

.home-pack-list strong {
  color: var(--color-honey);
  font-family: var(--font-display);
  font-size: 24px;
}

.home-pack-list span {
  color: var(--color-panel);
  font-family: var(--font-mono);
  font-weight: 800;
}

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

.home-section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.home-section-head-row .section-heading {
  margin-bottom: 40px;
}

.home-all-link {
  flex: 0 0 auto;
  margin-bottom: 40px;
}

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

.home-reading-note {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
  box-shadow: var(--shadow-card);
}

.home-reading-note h3 {
  font-size: 23px;
}

.home-reading-note p {
  margin-top: 10px;
  color: var(--color-muted);
}

.home-reading-note a {
  color: var(--color-accent);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1024px) {
  .home-principles,
  .home-route-guide {
    grid-template-columns: 1fr;
  }

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

  .client-showcase {
    grid-template-columns: 1fr;
  }

  .client-device-card {
    min-height: 390px;
  }

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

@media (max-width: 820px) {
  .feature-tab {
    width: auto;
    white-space: nowrap;
  }

  .feature-tab span {
    display: none;
  }

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

  .feature-route-sketch i {
    width: 2px;
    height: 22px;
    margin-inline: auto;
  }

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

  .home-section-head-row {
    display: block;
  }

  .home-all-link {
    margin-top: -22px;
  }
}

@media (max-width: 640px) {
  .feature-star {
    display: none;
  }

  .feature-detail {
    padding: 24px 20px;
  }

  .home-principles article {
    padding: 22px;
  }

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

  .server-status .srv-type {
    display: none;
  }

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

  .home-route-footer,
  .home-pricing-footer {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .home-route-footer .article-link,
  .home-pricing-footer .article-link {
    white-space: normal;
  }

  .client-device-card {
    min-height: 350px;
    padding-inline: 12px;
  }

  .client-phone {
    width: 132px;
    min-height: 270px;
  }

  .client-phone-alt {
    transform: none;
  }

  .client-showcase .platform-grid {
    grid-template-columns: 1fr;
  }

  .client-showcase .platform-card:last-child {
    grid-column: auto;
  }

  .home-traffic-packs {
    min-width: 0;
    padding: 24px 20px;
  }

  .home-pack-list {
    min-width: 0;
  }

  .home-pack-list li {
    min-width: 0;
  }

  .home-section-head-row .section-heading {
    margin-bottom: 28px;
  }

  .home-all-link {
    margin-top: 0;
    margin-bottom: 28px;
  }
}