/* ── Invest in Kinnevik subpages (financial key ratios, track record, etc.) ── */
.invest-subpage {
  --invest-table-highlight: #fcf8f1;
  --invest-table-hover: #fcf8f1;
  --invest-table-hover-highlight: #f5efe3;
  padding-bottom: clamp(4.5rem, 9vw, 7rem);
}

.invest-subpage__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: min(100%, 52rem);
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.invest-data-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  border-top: 1px solid var(--color-text);
  border-bottom: 1px solid var(--color-text);
  font-size: var(--page-body-size);
  line-height: 1.45;
}

.invest-data-table thead th {
  padding: clamp(0.875rem, 1.5vw, 1.125rem) 0.5rem;
  border-bottom: 1px solid var(--color-text);
  font-weight: 600;
  vertical-align: bottom;
  line-height: 1.25;
  text-align: right;
}

.invest-data-table thead th:first-child {
  padding-left: 0;
  text-align: left;
}

.invest-data-table thead th:last-child {
  padding-right: 0;
}

.invest-data-table tbody tr {
  border-bottom: 1px solid var(--color-text);
  transition: background var(--transition-fast);
}

.invest-data-table tbody tr:last-child {
  border-bottom: none;
}

.invest-data-table tbody tr:hover {
  background: var(--invest-table-hover);
}

.invest-data-table tbody tr.is-highlight {
  background: var(--invest-table-highlight);
}

.invest-data-table tbody tr.is-highlight:hover {
  background: var(--invest-table-hover-highlight);
}

.invest-data-table tbody tr.is-spacer {
  border-bottom: none;
}

.invest-data-table tbody tr.is-spacer:hover {
  background: transparent;
}

.invest-data-table tbody tr.is-section:hover {
  background: transparent;
}

.invest-data-table tbody tr.is-spacer td,
.invest-data-table tbody tr.is-spacer th {
  padding: 0.35rem 0;
  border: none;
}

.invest-data-table tbody tr.is-section th {
  font-weight: 600;
}

.invest-data-table tbody th,
.invest-data-table tbody td {
  padding: clamp(0.875rem, 1.5vw, 1.125rem) 0.5rem;
  vertical-align: top;
  font-weight: 400;
}

.invest-data-table tbody th[scope="row"] {
  padding-left: 0;
  text-align: left;
  font-weight: 400;
}

.invest-data-table tbody tr.is-section th[scope="row"] {
  font-weight: 600;
}

.invest-data-table tbody td {
  text-align: right;
  white-space: nowrap;
}

.invest-data-table tbody td:last-child {
  padding-right: 0;
}

.invest-data-table__dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-key-yellow);
  margin-right: 0.375rem;
  vertical-align: middle;
}

.invest-subpage__note {
  margin: 0 auto;
  max-width: 52rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text);
}

.invest-subpage__note strong {
  font-weight: 600;
}

.invest-subpage__subtitle {
  margin: -2rem 0 clamp(2rem, 4vw, 3rem);
  font-size: var(--page-body-size);
  line-height: var(--page-body-lh);
  text-align: center;
  color: var(--color-text);
}

.invest-subpage__action {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.invest-prose {
  max-width: 52rem;
  margin-inline: auto;
}

.invest-prose--intro {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.invest-prose__lead {
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
  font-size: var(--page-body-size);
  line-height: var(--page-body-lh);
}

.invest-prose__text {
  margin: 0 0 clamp(1rem, 2vw, 1.25rem);
  font-size: var(--page-body-size);
  line-height: var(--page-body-lh);
}

.invest-prose__list {
  margin: 0 0 clamp(1rem, 2vw, 1.25rem);
  padding-left: 1.25rem;
  text-align: left;
  list-style: disc;
}

.invest-prose__list li {
  margin-bottom: 0.5rem;
  line-height: var(--page-body-lh);
}

.invest-prose__section {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.invest-prose__heading {
  margin: 0 0 clamp(1rem, 2vw, 1.25rem);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

.invest-prose__subsection {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.invest-prose__subheading {
  margin: 0 0 clamp(0.875rem, 1.5vw, 1rem);
  font-size: clamp(1.0625rem, 1.75vw, 1.1875rem);
  font-weight: 600;
  line-height: 1.35;
}

.invest-prose__links {
  margin: 0 0 clamp(1rem, 2vw, 1.25rem);
  padding: 0;
  list-style: none;
}

.invest-prose__link {
  display: inline;
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: opacity var(--transition-fast);
}

.invest-prose__link:hover,
.invest-prose__link:focus-visible {
  opacity: 0.65;
}

.invest-data-table--funding thead {
  background: var(--invest-table-highlight);
}

.invest-data-table--funding thead th {
  border-bottom: 1px solid var(--color-text);
}

.invest-data-table--funding tbody tr.is-section th {
  font-weight: 600;
  background: transparent;
}

.invest-data-table--nav tbody tr.is-total th,
.invest-data-table--nav tbody tr.is-total td,
.invest-data-table--nav tbody tr.is-nav-total th,
.invest-data-table--nav tbody tr.is-nav-total td {
  font-weight: 600;
}

.invest-data-table--nav tbody tr.is-nav-total {
  border-top: 1px solid var(--color-text);
}

.invest-data-table--nav tbody tr.is-summary td {
  text-align: right;
}

.invest-data-table--targets tbody th[scope="row"] {
  font-weight: 600;
  vertical-align: top;
  width: 38%;
  padding-right: clamp(1rem, 2vw, 2rem);
}

.invest-data-table--targets tbody td {
  text-align: left;
  white-space: normal;
  line-height: var(--page-body-lh);
}

/* Related pages — extra spacing above rule, scallop image mask from governance.css */
.invest-subpage__related {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

.invest-subpage__related .team-related__title {
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.invest-subpage .governance-card__media {
  aspect-ratio: 5 / 4;
}

@media (max-width: 768px) {
  .invest-subpage__table-wrap {
    max-width: 100%;
  }

  .invest-data-table {
    min-width: 36rem;
    font-size: 0.875rem;
  }

  .invest-data-table--targets {
    min-width: 0;
  }

  .invest-data-table thead th,
  .invest-data-table tbody th,
  .invest-data-table tbody td {
    padding: 0.75rem 0.375rem;
  }

  .invest-data-table--targets tbody th[scope="row"],
  .invest-data-table--targets tbody td {
    display: block;
    width: 100%;
    padding-inline: 0;
  }

  .invest-data-table--targets tbody th[scope="row"] {
    padding-bottom: 0.5rem;
  }

  .invest-data-table--targets tbody td {
    padding-bottom: 0.875rem;
  }
}
