header {
  margin: 1em 0 0 0;
  text-align: center;
}

header h1 {
  font-size: 4em;
  line-height: 1;
}

header p {
  margin: 0.5em 0 0 0;
  font-size: 1.5em;
  line-height: 1;
}

.intro {
  margin-top: 2em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro p {
  max-width: 800px;
}

.intro p + p {
  margin-top: 1em;
}

.articles {
  margin-top: 2em;
}

.articles h1 {
  font-size: 2em;
}

.articles ul {
  margin: 1em 0 0 0;
  padding: 0;
  list-style-type: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 2em;
}

.articles li {
  clip-path: var(--clipped-corner-br);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1em 2.5em;
  background-color: var(--bg1);
  border-radius: 0.5em;
}

.articles li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1em;
  width: 0.5em;
  height: 100%;
  background: var(--bg2);
}

.articles li.preview::before {
  background: var(--accent1);
}

.articles li a {
  text-decoration: none;
  color: var(--fg2);
}

.articles li h2 {
  margin-bottom: 0.5em;
}

.articles li a:hover {
  color: var(--fg1);
}

@media (max-width: 800px) {
  header {
    width: 100%;
    padding: 0 1em;
  }

  header h1 {
    font-size: 3em;
  }

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