.home-features {
  padding-top:clamp(40px, 6vw, 88px);
}

.home-features,
.home-downloads {
  padding-bottom:0;
}

.home-features:lang(en) .trio,
.home-downloads:is(:lang(en), :lang(ja), :lang(ko)) > .grid {
  grid-template-columns:repeat(auto-fit,minmax(min(100%, 25rem),1fr));
}

.home-features:lang(en) .trio {
  row-gap:52px;
}

.home-platform-card {
  display:grid;
  grid-template-rows:auto 1fr auto;
  justify-items:start;
  gap:12px;
}

.home-platform-card h3 {
  display:flex;
  align-items:center;
  gap:12px;
}

.home-platform-card h3 svg {
  width:1em;
  height:1em;
  flex-shrink:0;
}

.home-platform-card h3 + p {
  margin-top:0;
  color:var(--text-muted);
}

.home-platform-card:hover .btn {
  color:var(--link-hover);
}

.home-section-links {
  justify-content:center;
  margin-top:28px;
}

.home-source {
  padding-bottom:0;
}

.home-source-notes {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:clamp(24px, 5vw, 64px);
}

.home-source-notes > article {
  padding-block:20px 24px;
  border-top:1px solid var(--border);
}

.home-source-copy {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:var(--gap);
  margin-top:18px;
}

.home-command {
  display:grid;
  gap:12px;
  min-width:0;
}

.home-command pre {
  background:var(--bg);
}

.home-source-help {
  margin-top:32px;
}

.home-source-help dl {
  display:grid;
  gap:8px 24px;
  grid-template-columns:minmax(11em, .45fr) minmax(0, 1fr);
  margin-top:14px;
}

.home-source-help dt,
.home-source-help dd {
  padding-block:10px;
  border-top:1px solid var(--border);
}

.home-source-help dd {
  margin:0;
  color:var(--text-muted);
}

.home-source-help a {
  text-decoration:underline;
  text-underline-offset:.2em;
}

@media (max-width:768px) {
  .home-source-notes,
  .home-source-copy,
  .home-source-help dl {
    grid-template-columns:minmax(0,1fr);
  }

  .home-source-help dd {
    padding-top:0;
    border:0;
  }
}

@media (min-width:641px) and (max-width:960px) {
  .hero .duo {
    grid-template-columns:repeat(2,minmax(0,1fr));
    max-width:864px;
  }

  .hero .card-dl {
    transform:translateY(-8px);
  }
}

@media (max-width:640px) {
  .hero {
    padding:12px var(--gutter) 0;
  }

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

  .hero .duo {
    gap:10px;
    margin-top:14px;
  }

  .hero .duo .card {
    padding:10px 12px 12px;
  }

  .hero .setpanel {
    padding:4px;
    gap:3px;
  }

  .hero .setrow {
    min-height:27px;
  }

  .hero .card-dl .card-visual {
    min-height:54px;
  }

  .hero .appicon-wrap {
    width:44px;
    height:44px;
  }

  .hero .appicon img {
    width:30px;
    height:30px;
  }

  .hero .card-text {
    margin:6px 0 8px;
  }

  .hero .btn {
    min-height:40px;
  }

  .hero-desc {
    margin-top:12px;
  }

  .hero .chips,
  .hero .platforms {
    margin-top:8px;
  }

  .hero .platforms {
    flex-wrap:nowrap;
  }

  .hero .plat {
    flex-direction:column;
    gap:4px;
    min-height:44px;
    padding-inline:4px;
    font-size:.75rem;
    line-height:1.15;
  }

  .screen .shelf {
    height:16px;
    margin-top:36px;
  }

  .screen .bump {
    height:35px;
    padding-top:4px;
  }
}