/* Investing shares the existing About/Research typefaces and editorial scale.
   This stylesheet is loaded only by Investing. */
body.compact-page.editorial-page[data-page="investing"] .page-intro {
  border-bottom: 1px solid var(--line-strong);
}

body.compact-page.editorial-page[data-page="investing"] .page-intro__note {
  max-width: 1040px;
  font-family: var(--display);
  font-size: clamp(23px, 2.15vw, 29px);
  font-weight: 500;
  line-height: 1.24;
}

.investing-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.investing-editorial p {
  margin: 0;
  color: #292824;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.68;
}

.investing-rule h2 {
  position: relative;
  isolation: isolate;
  width: fit-content;
  margin: 0 0 24px;
  padding: 0 6px 2px;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.15;
}

.investing-rule h2::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 10px;
  background: color-mix(in srgb, var(--section-accent) 35%, var(--ivory));
  content: "";
}

.investing-rule__signals {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.investing-rule__signals li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.5;
}

.investing-rule__signals strong {
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}

.investing-letter {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.investing-letter .investing-letter__opening {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(24px, 2.1vw, 28px);
  font-weight: 400;
  line-height: 1.32;
}

.investing-letter__referral {
  margin-top: 6px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.investing-marks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 22px;
}

.investing-mark {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.investing-mark img {
  display: block;
  width: auto;
  height: 42px;
  object-fit: contain;
}

.investing-mark--a16z img {
  height: 52px;
}

.investing-mark--founders {
  font-size: 16px;
  font-weight: 600;
}

.investing-contact {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 23px;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.investing-mark:hover,
.investing-contact:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (min-width: 821px) {
  body.compact-page.editorial-page[data-page="investing"] .page-intro {
    gap: clamp(12px, 2vh, 18px);
    padding-bottom: clamp(30px, 4.5vh, 46px);
  }
}

@media (max-width: 820px) {
  .investing-editorial {
    grid-template-columns: minmax(0, 1fr);
    gap: 46px;
  }
}

@media (max-width: 600px) {
  body.compact-page.editorial-page[data-page="investing"] .page-intro {
    border-bottom: 0;
  }

  body.compact-page.editorial-page[data-page="investing"] .page-intro__note {
    font-size: 18px;
    line-height: 1.38;
  }

  .investing-editorial p,
  .investing-rule__signals li {
    font-size: 15px;
  }

  .investing-rule__signals li {
    gap: 16px;
  }

  .investing-letter .investing-letter__opening {
    font-size: 24px;
  }
}
