body.library {
  background: var(--window);
  min-height: 100vh;
}

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.hero {
  padding: 56px 4px 30px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 39px;
  letter-spacing: -0.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero p {
  margin: 0;
  max-width: 460px;
  color: var(--label-2);
  font-size: 15px;
  line-height: 20px;
  letter-spacing: -0.23px;
}

.section-head {
  padding: 0 4px 6px;
  font-size: 12px;
  line-height: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--label-2);
}

.list {
  background: var(--content);
  border: 1px solid var(--separator);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
}

.list-row {
  display: grid;
  grid-template-columns: 40px 1fr 12px;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 12px 10px 14px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background var(--dur-fast) var(--ease);
}

.list-row + .list-row::before {
  content: '';
  position: absolute;
  left: 66px;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--separator);
}

.list-row:hover {
  background: var(--label-4);
  text-decoration: none;
}

.list-row:active {
  background: var(--accent-soft);
}

.list-row .icon,
.list-row .placeholder {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 9px;
}

.placeholder {
  background: var(--well);
  border: 1px dashed var(--separator-strong);
}

.list-text {
  min-width: 0;
}

.list-text h2 {
  font-size: 13px;
  line-height: 16px;
  letter-spacing: -0.08px;
  font-weight: 400;
  margin-bottom: 1px;
}

.list-text p {
  margin: 0;
  color: var(--label-2);
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.06px;
}

.tags {
  margin-top: 6px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.tag {
  font-size: 10px;
  line-height: 13px;
  letter-spacing: 0.12px;
  color: var(--label-2);
  background: var(--well);
  border-radius: 4px;
  padding: 1px 5px;
}

.chev {
  width: 12px;
  height: 12px;
  color: var(--label-3);
  justify-self: end;
}

.list-row.disabled {
  cursor: default;
}

.list-row.disabled:hover {
  background: transparent;
}

.list-row.disabled .list-text h2 {
  color: var(--label-3);
}

.foot {
  display: flex;
  gap: 16px;
  justify-content: center;
  color: var(--label-3);
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.06px;
}

.foot a {
  color: var(--label-2);
}

.foot a:hover {
  color: var(--label);
}

@media (max-width: 560px) {
  .hero {
    padding: 40px 4px 24px;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 32px;
    letter-spacing: -0.28px;
  }

  .list-row {
    grid-template-columns: 36px 1fr 12px;
  }

  .list-row .icon,
  .list-row .placeholder {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .list-row + .list-row::before {
    left: 60px;
  }
}

body.page-app {
  background: var(--window);
}

.hero .cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.ctanote {
  font-size: 11px;
  line-height: 15px;
  letter-spacing: 0.06px;
  color: var(--label-3);
}

.shot {
  margin: 0 0 26px;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-card);
  border: 1px solid var(--separator);
  box-shadow: var(--shadow-card);
}

.shot figcaption {
  margin-top: 9px;
  padding: 0 4px;
  font-size: 11px;
  line-height: 15px;
  letter-spacing: 0.06px;
  color: var(--label-3);
}

.prose {
  margin-bottom: 26px;
  padding: 0 4px;
}

.prose p {
  margin: 0;
  max-width: 60ch;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -0.08px;
  color: var(--label-2);
}

.list-row.static {
  cursor: default;
  grid-template-columns: 1fr;
}

.list-row.static:hover {
  background: transparent;
}

.list-row.static:active {
  background: transparent;
}
