body.index .index-main {
  padding: 64px 0 48px;
  overflow-wrap: break-word;
}

.index-heading {
  margin-bottom: 32px;
}

.index-heading h1 {
  margin: 0 0 24px;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.index-heading p {
  max-width: 70ch;
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
}

.index-heading .index-subtitle {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.4;
}

.demo-index-layout {
  display: grid;
  gap: 48px;
  align-items: start;
}

.demo-index-layout .home-feed-heading {
  padding-top: 0;
  margin-bottom: 24px;
}

.demo-index-layout .home-feed-heading h2 {
  margin: 0;
  line-height: 1.2;
}

.demo-index-context {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-color);
}

.demo-index-context h2 {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.demo-index-context p {
  margin: 0 0 20px;
}

@media (min-width: 1000px) {
  .demo-index-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 80px;
  }

  .demo-index-layout .home-feed-entry {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .demo-index-layout .home-feed-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
  }

  .demo-index-layout .home-feed-meta span {
    margin: 0;
  }

  .demo-index-layout .home-feed-body.has-image {
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 24px;
  }

  .demo-index-layout .home-feed-body h3 {
    font-size: 32px;
  }
}

.index-studies {
  margin-top: 64px;
}

.index-studies h2 {
  max-width: 32ch;
  font-size: 28px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.index-studies p {
  margin: 16px 0 24px;
}

.index-studies ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.index-studies a {
  display: inline-block;
  min-height: 44px;
  padding-block: 10px;
  font-size: 18px;
}

@media (max-width: 600px) {
  body.index .index-main {
    padding-block: 36px 24px;
  }

  .index-studies ul {
    grid-template-columns: 1fr;
  }
}
