.unified-grid,
.poetry-group .unified-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nav {
  justify-content: flex-end;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
}

.nav .home-links {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 4px 6px;
  gap: 3px;
  border: 1px solid rgba(28, 33, 27, .13);
  border-radius: 999px;
  background: rgba(255, 255, 255, .52);
  color: #62675f;
  font-size: 11px;
  font-weight: 700;
}

.nav .home-links a,
.nav .home-links a:visited {
  height: 30px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #4f544c;
  text-decoration: none !important;
  transition: color .2s ease, background .2s ease;
}

.nav .home-links a:hover {
  color: #fff;
  background: var(--ink);
}

.home-link-divider {
  width: 1px;
  height: 16px;
  background: rgba(28, 33, 27, .14);
}

@media (max-width: 430px) {
  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .nav .home-links a {
    padding-inline: 9px;
  }
}

.hero {
  display: block;
  min-height: 0;
  padding-block: 76px 110px;
}

.hero-copy {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.hero h1 {
  margin: 0;
  text-align: center;
}

.manifesto {
  align-items: center;
  text-align: center;
}

.manifesto p {
  width: 100%;
  text-align: center;
}

.section-head {
  justify-content: flex-start;
}

.section-head > div:first-child,
.group-head {
  align-items: flex-start;
}

.section-head .section-index,
.group-head .section-index {
  flex: 0 0 auto;
  margin-top: 7px;
}

.app-card {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 15px;
  min-height: 0;
  padding: 20px;
  border-radius: 20px;
}

.card-top {
  grid-column: 1;
  grid-row: 1;
  display: block;
}

.app-icon {
  width: 68px;
  height: 68px;
  border-radius: 17px;
}

.number {
  display: none;
}

.card-copy {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
}

.card-copy h3 {
  margin: 0 0 6px;
  font-size: 23px;
  line-height: 1.15;
}

.card-copy h3 small {
  display: inline-block;
  margin: 0 8px 0 0;
  font-size: 9px;
}

html[dir="ltr"] .card-copy h3 small {
  margin: 0 0 0 8px;
}

.card-copy p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.65;
  -webkit-line-clamp: 2;
}

.download-area {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  padding: 14px 0 0;
}

.badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.badges > :only-child {
  grid-column: 1 / -1;
}

.market-button {
  min-width: 0;
  height: 50px;
  padding: 0 12px;
  border: 1px solid rgba(28,33,27,.14);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 28px 1fr 16px;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  text-align: start;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.market-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(28,33,27,.12);
}

.market-button:focus-visible {
  outline: 3px solid rgba(95,139,57,.3);
  outline-offset: 2px;
}

.market-button > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.market-button small {
  font-size: 8px;
  font-weight: 500;
  opacity: .7;
  margin-bottom: 3px;
}

.market-button b {
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.market-button i {
  font-size: 13px;
  font-style: normal;
  text-align: center;
}

.market-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 850;
}

.apple-button {
  background: #20231f;
  color: white;
  border-color: #20231f;
}

.apple-button .market-icon {
  background: rgba(255,255,255,.14);
}

.bazaar-button {
  background: #eff9e6;
  color: #275511;
  border-color: #c9e8b1;
}

.bazaar-button .market-icon {
  background: #79c442;
  color: white;
}

.coming-button {
  background: #f2f0e9;
  color: #72766e;
  border-style: dashed;
  cursor: default;
}

.coming-button:hover {
  transform: none;
  box-shadow: none;
}

.coming-button .market-icon {
  background: #e0ded6;
}

@media (max-width: 820px) {
  .hero {
    padding-block: 58px 72px;
  }

  .unified-grid,
  .poetry-group .unified-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    padding: 18px;
  }
}

@media (max-width: 390px) {
  .app-card {
    grid-template-columns: 60px minmax(0, 1fr);
    column-gap: 14px;
  }

  .app-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
  }

  .card-copy h3 {
    font-size: 21px;
  }

  .badges {
    grid-template-columns: 1fr;
  }

  .market-button {
    height: 48px;
  }
}
