.home-hero {
  padding-top: 34px;
  padding-bottom: 46px;
}

.home-hero .hero-preview__title {
  max-width: 900px;
}

.home-hero .hero-preview__desc {
  max-width: 840px;
}

.home-hero .environment-row {
  margin-top: 20px;
}

.home-hero .trunk-wrap {
  margin-top: 26px;
}

.home-hero .trunk-body {
  padding-top: 20px;
  padding-bottom: 14px;
}

.home-hero .trunk-svg {
  max-height: 148px;
}

.home-flags {
  gap: 14px;
}

.home-fact-band {
  border-top: 1px solid var(--color-edge-soft);
  border-bottom: 1px solid var(--color-edge-soft);
  background: var(--color-panel-glass);
}

.home-fact-band__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 74px;
  align-items: center;
}

.home-fact-band__inner span {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-right: 1px solid var(--color-edge-soft);
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
}

.home-fact-band__inner span:last-child {
  border-right: 0;
}

.home-fact-band__inner b {
  color: var(--color-accent);
  font-size: 17px;
  font-weight: 600;
}

.home-feature-browser {
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1.62fr);
  grid-template-rows: repeat(6, auto);
  gap: 8px 34px;
  align-items: stretch;
}

.home-feature-item {
  display: contents;
}

.home-feature-item .feature-stop {
  grid-column: 1;
}

.home-feature-item:nth-child(1) .feature-stop {
  grid-row: 1;
}

.home-feature-item:nth-child(2) .feature-stop {
  grid-row: 2;
}

.home-feature-item:nth-child(3) .feature-stop {
  grid-row: 3;
}

.home-feature-item:nth-child(4) .feature-stop {
  grid-row: 4;
}

.home-feature-item:nth-child(5) .feature-stop {
  grid-row: 5;
}

.home-feature-item:nth-child(6) .feature-stop {
  grid-row: 6;
}

.home-feature-panel {
  grid-column: 2;
  grid-row: 1 / span 6;
  min-height: 100%;
}

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

.home-feature-panel h3 {
  margin-top: 12px;
}

.home-feature-panel p {
  max-width: 780px;
  font-size: 16px;
}

.home-text-link,
.home-section-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  color: var(--color-accent);
  font-weight: 650;
}

.home-text-link {
  margin-top: 8px;
}

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

.home-routes {
  background: var(--color-panel-glass);
}

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

.home-route-notes article,
.home-choice-grid article {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--color-edge);
  border-radius: var(--radius-lg);
  background: var(--color-panel);
}

.home-route-notes h3,
.home-choice-grid h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.home-route-notes p,
.home-choice-grid p {
  font-size: 14px;
}

.home-client-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.home-client-note p {
  margin: 0;
}

.home-pricing {
  background: var(--color-panel-glass);
}

.home-pricing .plan-card p {
  min-height: 112px;
  font-size: 14px;
}

.home-pack-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  margin-top: 26px;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--color-edge);
  border-radius: var(--radius-xl);
  background: var(--color-panel-raised);
  box-shadow: var(--shadow-card);
}

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

.home-pack-panel p {
  max-width: 820px;
}

.home-difference {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 7vw, 88px);
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--color-edge);
  border-radius: var(--radius-xl);
  background: var(--color-panel-raised);
  box-shadow: var(--shadow-panel);
}

.home-difference .section-head {
  margin-bottom: 0;
}

.home-difference__content {
  min-width: 0;
}

.home-difference__content p {
  font-size: 16px;
}

.home-difference__content p + p {
  margin-top: 18px;
}

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

.home-blog .article-card {
  min-height: 270px;
}

.home-blog .article-card h3 {
  font-size: 21px;
}

@media (max-width: 1040px) {
  .home-client-note {
    grid-template-columns: 1fr;
  }

  .home-pricing .plan-card p {
    min-height: 0;
  }

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

@media (max-width: 960px) {
  .home-feature-browser {
    display: block;
  }

  .home-feature-item {
    display: block;
    margin-bottom: 12px;
    border: 1px solid var(--color-edge);
    border-radius: var(--radius-md);
    background: var(--color-panel);
  }

  .home-feature-item .feature-stop {
    width: 100%;
    min-height: 62px;
    border-radius: var(--radius-md);
  }

  .home-feature-item .feature-stop::after {
    margin-left: auto;
    color: var(--color-accent);
    content: "+";
    font-family: var(--font-mono);
    font-size: 20px;
  }

  .home-feature-item .feature-stop[aria-selected="true"]::after {
    content: "−";
  }

  .home-feature-panel {
    min-height: 0;
    margin: 0 12px 12px;
    padding: 26px;
    border-radius: var(--radius-lg);
  }

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

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

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

  .home-hero .hero-preview__title .no-break {
    white-space: normal;
  }

  .home-hero .environment-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-hero .environment-group {
    width: 100%;
    justify-content: center;
  }

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

  .home-fact-band__inner span {
    border-bottom: 1px solid var(--color-edge-soft);
  }

  .home-fact-band__inner span:nth-child(2) {
    border-right: 0;
  }

  .home-fact-band__inner span:nth-child(3),
  .home-fact-band__inner span:nth-child(4) {
    border-bottom: 0;
  }

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

  .home-pack-panel .btn-secondary {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .home-hero .fact-capsules {
    gap: 8px;
  }

  .home-hero .environment-group {
    justify-content: flex-start;
  }

  .home-hero .environment-item {
    font-size: 12px;
  }

  .home-hero .trunk-wrap {
    margin-top: 20px;
  }

  .home-feature-panel {
    padding: 22px 18px;
  }

  .home-route-notes article,
  .home-choice-grid article {
    padding: 20px;
  }

  .home-difference {
    padding: 26px 20px;
  }
}

@media (max-width: 390px) {
  .home-fact-band__inner {
    grid-template-columns: 1fr;
  }

  .home-fact-band__inner span {
    border-right: 0;
    border-bottom: 1px solid var(--color-edge-soft);
  }

  .home-fact-band__inner span:nth-child(3) {
    border-bottom: 1px solid var(--color-edge-soft);
  }

  .home-fact-band__inner span:last-child {
    border-bottom: 0;
  }
}