.home-service-section,
.home-support {
  padding-top: 38px;
}

.home-tool-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--tblr-body-color);
}

.home-tool-list a {
  padding: 20px 22px 20px 2px;
}

.home-tool-list .home-tool-card {
  grid-template-columns: minmax(170px, .8fr) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.home-tool-card > .home-tool-preview {
  display: block;
  overflow: hidden;
  border: 1px solid var(--tblr-border-color);
  border-radius: 6px;
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

.home-tool-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.home-tool-copy {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: inherit;
  font: inherit;
  letter-spacing: 0;
}

.home-tool-copy > span {
  color: var(--pixgom-orange);
  font: 700 9px "Cascadia Mono", monospace;
  letter-spacing: .04em;
}

.home-tool-copy > strong { font-size: 16px; line-height: 1.45; }
.home-tool-copy > p { margin: 0; color: var(--tblr-secondary-color); font-size: 11px; line-height: 1.6; }
.home-tool-copy > small { color: var(--tblr-secondary-color); font-size: 10px; }

.home-tool-list a:nth-child(odd) {
  margin-right: 24px;
}

.home-release-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--tblr-body-color);
  border-bottom: 1px solid var(--tblr-border-color);
}

.home-release-list > a {
  min-width: 0;
  min-height: 112px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 18px;
  border-right: 1px solid var(--tblr-border-color);
  color: var(--tblr-body-color);
  text-decoration: none;
}

.home-release-list > a:last-child {
  border-right: 0;
}

.home-release-list span {
  color: var(--pixgom-orange);
  font: 700 9px "Cascadia Mono", monospace;
  letter-spacing: .04em;
}

.home-release-list strong {
  margin-top: 9px;
  font-size: 15px;
  line-height: 1.4;
}

.home-release-list small {
  margin-top: auto;
  color: var(--tblr-secondary-color);
  font-size: 10px;
}

.home-release-list > a:hover strong {
  color: var(--tblr-primary);
}

.home-pixue-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--tblr-body-color);
}

.home-pixue-list a {
  padding: 18px 20px 18px 2px;
}

.home-pixue-list a:not(:last-child) {
  margin-right: 20px;
}

.home-support {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 38px;
  padding: 26px 28px;
  border-top: 3px solid var(--pixgom-orange);
  background: var(--pixgom-navy);
  color: #fff;
}

.home-support h2 {
  margin: 8px 0 0;
  font-size: 20px;
  letter-spacing: -.035em;
}

.home-support p {
  margin: 8px 0 0;
  color: #cbd3dc;
  line-height: 1.65;
}

.home-support > a {
  min-height: 44px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid #66717d;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.home-support > a span {
  color: #ffb77f;
}

.support-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding: 20px;
  border-left: 3px solid var(--pixgom-orange);
  background: var(--tblr-tertiary-bg);
}

.support-action p {
  margin: 0;
}

.support-action-disabled {
  display: block;
}

.support-action-disabled p {
  margin-top: 7px;
  color: var(--tblr-secondary-color);
}

.support-external-action {
  min-height: 44px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: var(--pixgom-navy);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .home-release-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-release-list > a:nth-child(2) {
    border-right: 0;
  }

  .home-release-list > a:nth-child(-n+2) {
    border-bottom: 1px solid var(--tblr-border-color);
  }
}

@media (max-width: 680px) {
  .home-service-section,
  .home-support {
    padding-top: 32px;
  }

  .home-tool-list,
  .home-pixue-list,
  .home-release-list {
    grid-template-columns: 1fr;
  }

  .home-tool-list a:nth-child(odd),
  .home-pixue-list a:not(:last-child) {
    margin-right: 0;
  }

  .home-tool-list .home-tool-card {
    grid-template-columns: minmax(120px, .7fr) minmax(0, 1fr);
    padding-right: 0;
  }

  .home-release-list > a,
  .home-release-list > a:nth-child(2) {
    min-height: 90px;
    border-right: 0;
    border-bottom: 1px solid var(--tblr-border-color);
  }

  .home-release-list > a:last-child {
    border-bottom: 0;
  }

  .home-support {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 32px;
    padding: 24px;
  }

  .support-action {
    align-items: flex-start;
    flex-direction: column;
  }
}
