.research-library,
.research-article,
.research-report {
  --research-ink: #111820;
  --research-muted: #5d6872;
  --research-rule: rgb(17 24 32 / 0.12);
  --research-blue: #075a87;
  color: var(--research-ink);
}

.research-shell {
  width: min(92%, 1440px);
  margin-inline: auto;
}

.research-eyebrow {
  margin: 0 0 0.8rem;
  color: var(--research-blue);
  font-family: var(--font-mono--family, ui-monospace, monospace);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.research-hero {
  display: grid;
  justify-items: center;
  padding-block: clamp(4rem, 10vw, 9rem) clamp(3.5rem, 8vw, 7rem);
  text-align: center;
}

.research-hero h1,
.research-article__header h1 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  font-weight: 500;
  letter-spacing: var(--letter-spacing--heading-tight, -0.03em);
  line-height: 1.02;
  text-wrap: balance;
}

.research-hero__lede,
.research-article__dek {
  max-width: 52rem;
  margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
  color: var(--research-muted);
  font-size: 1rem;
  line-height: 1.5;
  text-wrap: balance;
}

.research-hero__facts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-block-start: clamp(2rem, 5vw, 4rem);
  border-block: 1px solid var(--research-rule);
}

.research-hero__facts span {
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  color: var(--research-muted);
  font-size: 0.82rem;
}

.research-hero__facts span + span {
  border-inline-start: 1px solid var(--research-rule);
}

.research-hero__facts strong {
  display: block;
  color: var(--research-ink);
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.research-featured,
.research-latest,
.research-datasets,
.research-report__summary,
.research-report__section {
  padding-block: clamp(3.5rem, 8vw, 7rem);
  border-block-start: 1px solid var(--research-rule);
}

.research-section-heading {
  max-width: 54rem;
  margin-block-end: clamp(2rem, 5vw, 4rem);
}

.research-section-heading h2,
.research-standards h2,
.research-next-step h2,
.research-report__methodology h2 {
  margin: 0;
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

.research-section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
  gap: clamp(2rem, 7vw, 7rem);
  max-width: none;
  align-items: end;
}

.research-section-heading--split > p {
  margin: 0;
  color: var(--research-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.research-featured__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block-start: 1px solid var(--research-rule);
  border-inline-start: 1px solid var(--research-rule);
}

.research-feature-card {
  display: flex;
  min-height: 26rem;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border-inline-end: 1px solid var(--research-rule);
  border-block-end: 1px solid var(--research-rule);
  color: inherit;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.research-feature-card:hover,
.research-feature-card:focus-visible {
  background: #eef8fd;
  outline: none;
}

.research-feature-card__meta,
.research-post-card__meta {
  color: var(--research-blue);
  font-family: var(--font-mono--family, ui-monospace, monospace);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.research-feature-card h3 {
  margin: auto 0 1rem;
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: clamp(1.65rem, 2.5vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.07;
}

.research-feature-card p,
.research-post-card p {
  margin: 0 0 1.5rem;
  color: var(--research-muted);
  line-height: 1.6;
}

.research-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-block-start: auto;
  font-size: 0.82rem;
  font-weight: 650;
}

.research-arrow span {
  transition: transform 160ms ease;
}

a:hover .research-arrow span,
a:focus-visible .research-arrow span {
  transform: translateX(0.25rem);
}

.research-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.research-post-card a {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.research-post-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-block-end: 1.5rem;
  background: #eef1f3;
}

.research-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.research-post-card a:hover .research-post-card__image img {
  transform: scale(1.025);
}

.research-post-card h3 {
  margin: 0.75rem 0 0.75rem;
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.12;
}

.research-empty-note {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--research-rule);
  color: var(--research-muted);
  line-height: 1.7;
}

.research-empty-note p {
  max-width: 54rem;
  margin: 0;
}

.research-pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-block-start: 3rem;
}

.research-pagination .page-numbers {
  display: inline-flex;
  min-width: 2.5rem;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--research-rule);
  color: inherit;
  text-decoration: none;
}

.research-pagination .current,
.research-pagination a:hover,
.research-pagination a:focus-visible {
  border-color: var(--research-ink);
  background: var(--research-ink);
  color: #fff;
  outline: none;
}

.research-dataset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-block-start: 1px solid var(--research-rule);
  border-inline-start: 1px solid var(--research-rule);
  list-style: none;
}

.research-dataset-grid a {
  display: flex;
  min-height: 7.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-inline-end: 1px solid var(--research-rule);
  border-block-end: 1px solid var(--research-rule);
  color: inherit;
  text-decoration: none;
  transition: background 160ms ease;
}

.research-dataset-grid a:hover,
.research-dataset-grid a:focus-visible {
  background: #eef8fd;
  outline: none;
}

.research-dataset-grid strong,
.research-dataset-grid small {
  display: block;
}

.research-dataset-grid strong {
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.15;
}

.research-dataset-grid small {
  margin-block-start: 0.4rem;
  color: var(--research-muted);
}

.research-standards {
  margin-block: clamp(3rem, 8vw, 7rem);
  padding: clamp(2rem, 6vw, 5rem);
  background: #101d25;
  color: #fff;
}

.research-standards .research-eyebrow {
  color: #8ed8ff;
}

.research-standards p:last-child {
  max-width: 54rem;
  margin: 1.5rem 0 0;
  color: rgb(255 255 255 / 0.72);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Keep the research hub's text measure and card hierarchy aligned with the
   quieter type scale established on the Partners page. */
.research-library--research .research-hero__lede {
  max-width: var(--max-width--body-normal, 42rem);
}

.research-library--research .research-section-heading--split > p,
.research-library--research .research-feature-card p,
.research-library--research .research-standards p:last-child {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.research-library--research .research-feature-card h3 {
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  line-height: 1.15;
}

/* Long-form article and report. */
.research-article,
.research-report {
  padding-block: clamp(3rem, 8vw, 8rem);
}

.research-article__header {
  display: grid;
  justify-items: center;
  max-width: 74rem;
  margin-inline: auto;
  text-align: center;
}

.research-article__header h1 {
  max-width: 17ch;
}

.research-article__byline {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem 1.4rem;
  margin-block-start: 2rem;
  color: var(--research-muted);
  font-family: var(--font-mono--family, ui-monospace, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.research-article__image {
  max-width: 76rem;
  margin: clamp(2.5rem, 7vw, 6rem) auto 0;
}

.research-article__image img {
  display: block;
  width: 100%;
  height: auto;
}

.research-article__layout {
  display: grid;
  grid-template-columns: minmax(13rem, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(3rem, 8vw, 8rem);
  max-width: 76rem;
  margin: clamp(4rem, 9vw, 8rem) auto 0;
  align-items: start;
}

.research-article__layout--single {
  display: block;
  max-width: 48rem;
}

.research-toc {
  position: sticky;
  top: 7rem;
  padding-block-start: 0.4rem;
  font-size: 0.84rem;
}

.research-toc strong {
  display: block;
  margin-block-end: 1rem;
  font-family: var(--font-mono--family, ui-monospace, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.research-toc ol {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-inline-start: 1.2rem;
  color: var(--research-muted);
}

.research-toc a {
  color: inherit;
  text-decoration: none;
}

.research-toc a:hover,
.research-toc a:focus-visible {
  color: var(--research-blue);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.research-prose {
  min-width: 0;
  color: #29333b;
  font-size: 1rem;
  line-height: 1.75;
}

.research-prose > *:first-child {
  margin-block-start: 0;
}

.research-prose h2 {
  margin: 4.25rem 0 1.25rem;
  color: var(--research-ink);
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
  scroll-margin-top: 7rem;
}

.research-prose h3 {
  margin: 2.25rem 0 0.7rem;
  color: var(--research-ink);
  font-size: 1.15rem;
  line-height: 1.3;
}

.research-prose p,
.research-prose ul,
.research-prose ol {
  margin-block: 1.15rem;
}

.research-prose li + li {
  margin-block-start: 0.65rem;
}

.research-prose a,
.research-field-table a {
  color: var(--research-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.research-prose__lead {
  color: var(--research-ink);
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: clamp(1.125rem, 1.8vw, 1.35rem);
  line-height: 1.5;
}

.research-key-point,
.research-disclaimer,
.research-report__notice {
  margin-block: 2.5rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-inline-start: 3px solid var(--research-blue);
  background: #eef8fd;
}

.research-key-point strong,
.research-disclaimer strong,
.research-report__notice strong {
  display: block;
  color: var(--research-ink);
  font-family: var(--font-mono--family, ui-monospace, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.research-key-point p,
.research-disclaimer p,
.research-report__notice p {
  margin: 0.65rem 0 0;
}

.research-field-table {
  overflow-x: auto;
  margin-block: 2rem;
  border: 1px solid var(--research-rule);
}

.research-field-table table {
  width: 100%;
  min-width: 44rem;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.5;
}

.research-field-table th,
.research-field-table td {
  padding: 0.9rem 1rem;
  border-block-end: 1px solid var(--research-rule);
  text-align: left;
  vertical-align: top;
}

.research-field-table thead th {
  background: #f4f6f7;
  color: var(--research-muted);
  font-family: var(--font-mono--family, ui-monospace, monospace);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.research-field-table tbody th {
  color: var(--research-ink);
  font-weight: 650;
}

.research-field-table tr:last-child th,
.research-field-table tr:last-child td {
  border-block-end: 0;
}

.research-formula {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--research-rule);
  background: #f7f8f8;
  font-family: var(--font-mono--family, ui-monospace, monospace);
  font-size: 0.84rem;
  text-align: center;
}

.research-formula span {
  color: var(--research-blue);
  font-weight: 700;
}

.research-checklist {
  counter-reset: research-checklist;
  padding: 0;
  list-style: none;
}

.research-checklist li {
  position: relative;
  min-height: 2.5rem;
  padding-inline-start: 3.5rem;
  counter-increment: research-checklist;
}

.research-checklist li::before {
  position: absolute;
  inset: 0 auto auto 0;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--research-rule);
  border-radius: 50%;
  color: var(--research-blue);
  content: counter(research-checklist);
  font-family: var(--font-mono--family, ui-monospace, monospace);
  font-size: 0.72rem;
  font-weight: 700;
}

.research-sources {
  margin-block-start: 4rem;
  padding-block-start: 0.5rem;
  border-block-start: 1px solid var(--research-rule);
}

.research-next-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  max-width: 76rem;
  margin: clamp(4rem, 9vw, 8rem) auto 0;
  padding: clamp(2rem, 5vw, 4rem);
  background: #101d25;
  color: #fff;
}

.research-next-step .research-eyebrow {
  color: #8ed8ff;
}

.research-next-step p:last-child {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: rgb(255 255 255 / 0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.research-next-step > a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgb(255 255 255 / 0.55);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.research-next-step > a:hover,
.research-next-step > a:focus-visible {
  background: #fff;
  color: #101d25;
  outline: none;
}

/* Live report components. */
.research-report__notice {
  max-width: 76rem;
  margin: clamp(3rem, 7vw, 6rem) auto 0;
  color: var(--research-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.research-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-block-start: 1px solid var(--research-rule);
  border-inline-start: 1px solid var(--research-rule);
}

.research-metric-grid > div {
  display: flex;
  min-height: 12rem;
  flex-direction: column;
  padding: 1.5rem;
  border-inline-end: 1px solid var(--research-rule);
  border-block-end: 1px solid var(--research-rule);
}

.research-metric-grid dt {
  color: var(--research-muted);
  font-family: var(--font-mono--family, ui-monospace, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.research-metric-grid dd {
  margin: auto 0 0.5rem;
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1;
}

.research-metric-grid small {
  color: var(--research-muted);
  line-height: 1.4;
}

.research-screen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.research-screen-grid > div {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--research-rule);
}

.research-screen-grid h3 {
  margin: 0;
  color: var(--research-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.research-screen-grid strong {
  display: block;
  margin-block: 2rem 0.75rem;
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
}

.research-screen-grid p,
.research-caption {
  margin: 0;
  color: var(--research-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.research-report__calculation {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block-start: 1px solid var(--research-rule);
  border-inline-start: 1px solid var(--research-rule);
}

.research-report__calculation > div {
  display: flex;
  min-height: 10rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border-inline-end: 1px solid var(--research-rule);
  border-block-end: 1px solid var(--research-rule);
}

.research-report__calculation span {
  color: var(--research-muted);
  font-size: 0.8rem;
}

.research-report__calculation strong {
  font-family: var(--font-heading--family, Georgia, serif);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 500;
}

.research-caption {
  margin-block-start: 1rem;
}

.research-field-table--products table {
  min-width: 66rem;
}

.research-report__methodology {
  display: grid;
  grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 8vw, 8rem);
  padding-block: clamp(3.5rem, 8vw, 7rem);
  border-block-start: 1px solid var(--research-rule);
}

.research-report__methodology > div:last-child {
  color: var(--research-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.research-report__methodology ul {
  margin-block-start: 0;
  padding-inline-start: 1.25rem;
}

.research-report__methodology li + li {
  margin-block-start: 0.75rem;
}

.research-report > .research-disclaimer {
  max-width: 76rem;
  margin: 0 auto;
  color: var(--research-muted);
  line-height: 1.65;
}

@media (max-width: 989px) {
  .research-featured__grid,
  .research-post-grid,
  .research-dataset-grid,
  .research-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .research-feature-card {
    min-height: 22rem;
  }

  .research-section-heading--split,
  .research-report__methodology {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .research-article__layout {
    grid-template-columns: 1fr;
  }

  .research-toc {
    position: static;
    padding: 1.25rem;
    border: 1px solid var(--research-rule);
  }
}

@media (max-width: 749px) {
  .research-shell {
    width: calc(100% - 2rem);
  }

  .research-hero {
    padding-block-start: 3.5rem;
  }

  .research-hero h1,
  .research-article__header h1 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .research-hero__facts {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .research-hero__facts span + span {
    border-inline-start: 0;
    border-block-start: 1px solid var(--research-rule);
  }

  .research-featured__grid,
  .research-post-grid,
  .research-dataset-grid,
  .research-metric-grid,
  .research-screen-grid,
  .research-report__calculation {
    grid-template-columns: 1fr;
  }

  .research-feature-card {
    min-height: 20rem;
  }

  .research-article,
  .research-report {
    padding-block-start: 2.5rem;
  }

  .research-article__byline {
    display: grid;
  }

  .research-article__layout {
    margin-block-start: 3rem;
  }

  .research-prose h2 {
    margin-block-start: 3.25rem;
  }

  .research-field-table {
    margin-inline: -1rem;
  }

  .research-next-step {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .research-next-step > a {
    justify-self: start;
  }
}
