@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/pricing/assets/ibm-plex-mono-600.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

.data-page {
  --paper: #f4f1e8;
  --white: #fffdf7;
  --ink: #1b1b1b;
  --muted: #5d5b54;
  --line: #1b1b1b;
  --line-soft: #c9c4b8;
  --yellow: #ffbf00;
  --blue: #1754b5;
  --red: #f0182b;
  --green: #16704a;
  --accent: var(--yellow);
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
}

.data-page ::selection {
  color: var(--ink);
  background: var(--yellow);
}

.data-page :focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.data-page code,
.data-page .technology-register strong,
.data-page .technology-register dd,
.data-page .evidence-ledger dd,
.data-page .collection-measure b,
.data-page table td,
.data-page .catalog-hero aside > strong,
.data-page .method-hero aside > strong {
  font-variant-numeric: tabular-nums;
}

.data-page code,
.data-page .technology-register strong,
.data-page .technology-register dd,
.data-page .evidence-ledger dd,
.data-page .collection-measure b,
.data-page .catalog-hero aside > strong,
.data-page .method-hero aside > strong {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
}

.data-header {
  min-height: 4.5rem;
  background: color-mix(in srgb, var(--paper) 97%, transparent);
}

.data-nav {
  gap: clamp(.65rem, 2vw, 1.65rem);
}

.data-nav .trust-access {
  min-height: 2.35rem;
}

.data-hero,
.catalog-hero,
.method-hero {
  min-height: min(43rem, calc(100svh - 4.5rem));
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(20rem, .55fr);
  border-bottom: 2px solid var(--ink);
}

.data-hero__answer,
.catalog-hero > div,
.method-hero > div {
  min-width: 0;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 6vw, 7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  background: var(--ink);
}

.data-breadcrumb {
  margin: 0 0 clamp(2rem, 5vw, 4.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  color: color-mix(in srgb, var(--white) 68%, transparent);
  font-family: var(--display);
  font-size: .58rem;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
}

.data-breadcrumb a {
  text-decoration: none;
}

.data-breadcrumb a:hover {
  color: var(--yellow);
}

.data-breadcrumb span:last-child {
  color: var(--yellow);
}

.data-hero h1,
.catalog-hero h1,
.method-hero h1 {
  max-width: 15ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4.6vw, 5rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.data-thesis,
.catalog-hero > div > p,
.method-hero > div > p {
  max-width: 68ch;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  color: color-mix(in srgb, var(--white) 84%, transparent);
  font-size: 1rem;
  line-height: 1.55;
}

.data-hero__routes,
.catalog-close > div {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
}

.data-hero__routes > a,
.catalog-close > div > a {
  font-family: var(--display);
  font-size: .62rem;
  font-weight: 750;
  text-transform: uppercase;
}

.data-action {
  min-height: 3.2rem;
  padding: .8rem 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  color: var(--ink);
  background: var(--yellow);
  text-decoration: none;
  transition: color 220ms var(--ease), background 220ms var(--ease), transform 220ms var(--ease);
}

.data-action:hover,
.data-action:focus-visible {
  color: var(--white);
  background: var(--blue);
  transform: translateY(-2px);
}

.technology-register {
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: var(--white);
  background: var(--blue);
}

.technology-register__measure {
  min-height: 23rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid currentColor;
}

.technology-register__measure span,
.technology-register dt,
.catalog-hero aside dt,
.method-hero aside dt {
  font-family: var(--display);
  font-size: .58rem;
  font-weight: 750;
  line-height: 1.45;
  text-transform: uppercase;
}

.technology-register__measure strong {
  display: block;
  font-size: clamp(3.625rem, 10vw, 5rem);
  line-height: .78;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.technology-register dl,
.catalog-hero aside dl,
.method-hero aside dl {
  margin: auto 0 0;
}

.technology-register dl > div,
.catalog-hero aside dl > div,
.method-hero aside dl > div {
  padding: 1.1rem clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(7rem, .75fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  border-bottom: 1px solid currentColor;
}

.technology-register dl > div:last-child,
.catalog-hero aside dl > div:last-child,
.method-hero aside dl > div:last-child {
  border-bottom: 0;
}

.technology-register dd,
.catalog-hero aside dd,
.method-hero aside dd {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.evidence-ledger {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 2px solid var(--ink);
  background: var(--white);
}

.evidence-ledger > div {
  min-height: 8.75rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  border-right: 1px solid var(--ink);
}

.evidence-ledger > div:nth-child(odd) {
  background: var(--yellow);
}

.evidence-ledger > div:last-child {
  border-right: 0;
}

.evidence-ledger dt {
  font-family: var(--display);
  font-size: .52rem;
  font-weight: 760;
  line-height: 1.4;
  text-transform: uppercase;
}

.evidence-ledger dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.evidence-ledger [data-status='review'] {
  color: var(--red);
}

.data-layout {
  max-width: 96rem;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 5vw, 5rem) clamp(6rem, 10vw, 11rem);
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.data-index {
  min-width: 0;
  align-self: start;
  position: sticky;
  top: 7rem;
}

.data-index > strong,
.related-data > strong,
.method-dataset-links > strong {
  display: block;
  font-family: var(--display);
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.data-index > nav {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink);
}

.data-index > nav a {
  padding: .75rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.data-index > nav a:hover {
  color: var(--blue);
}

.data-index > p {
  margin: 2.25rem 0 0;
  padding: 1rem;
  border: 1px solid var(--ink);
  background: var(--yellow);
}

.data-index > p strong,
.data-index > p code {
  display: block;
}

.data-index > p strong {
  margin-bottom: .7rem;
  font-family: var(--display);
  font-size: .52rem;
  text-transform: uppercase;
}

.data-index > p code {
  font-size: .7rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.data-document {
  min-width: 0;
}

.data-document > section {
  padding: 0 0 clamp(5rem, 9vw, 9rem);
  scroll-margin-top: 7rem;
}

.data-document > section + section {
  padding-top: clamp(4.5rem, 8vw, 8rem);
  border-top: 2px solid var(--ink);
}

.data-document h2,
.collection-section h2,
.catalog-close h2 {
  max-width: 17ch;
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.data-document p,
.data-document li,
.catalog-close p,
.collection-section header p {
  max-width: 72ch;
}

.data-document p {
  margin: 0 0 1.35rem;
}

.data-document ul,
.data-document ol {
  max-width: 72ch;
  padding-left: 1.4rem;
}

.data-document li + li {
  margin-top: .85rem;
}

.data-table-wrap {
  width: 100%;
  margin-top: 2rem;
  overflow-x: auto;
  border: 1px solid var(--ink);
  background: var(--white);
}

.data-table-wrap table {
  width: 100%;
  min-width: 43rem;
  border-collapse: collapse;
}

.data-table-wrap caption {
  padding: 1rem;
  border-bottom: 1px solid var(--ink);
  color: var(--white);
  background: var(--ink);
  font-family: var(--display);
  font-size: .6rem;
  font-weight: 750;
  line-height: 1.45;
  text-align: left;
  text-transform: uppercase;
}

.data-table-wrap th,
.data-table-wrap td {
  padding: .9rem 1rem;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.data-table-wrap tr > *:last-child {
  border-right: 0;
}

.data-table-wrap tbody tr:last-child > * {
  border-bottom: 0;
}

.data-table-wrap thead th {
  color: var(--ink);
  background: var(--yellow);
  font-family: var(--display);
  font-size: .52rem;
  font-weight: 760;
  text-transform: uppercase;
}

.data-table-wrap tbody th {
  min-width: 12rem;
  font-size: .86rem;
  font-weight: 700;
}

.data-table-wrap td {
  font-size: 1rem;
  line-height: 1.55;
}

.data-table-wrap tr[data-outlier-status='review'] {
  color: var(--red);
  background: color-mix(in srgb, var(--red) 7%, var(--white));
}

.qa-state {
  font-family: var(--body);
  font-weight: 700;
}

.qa-state--review {
  color: var(--red);
}

.scope-warning {
  max-width: 72ch;
  margin: 0 0 2rem;
  border: 1px solid var(--ink);
  background: var(--yellow);
}

.scope-warning > strong {
  padding: .85rem 1rem;
  display: block;
  border-bottom: 1px solid var(--ink);
  font-family: var(--display);
  font-size: .58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scope-warning > p {
  padding: 1rem;
  margin: 0;
}

.scope-warning--red {
  color: var(--white);
  background: var(--red);
}

.table-note {
  margin-top: 1rem !important;
  color: var(--muted);
  font-size: 1rem;
}

.citation-plate {
  max-width: 72ch;
  padding: clamp(1.3rem, 3vw, 2.25rem);
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--ink);
}

.citation-plate p {
  margin: 0;
  font-size: .92rem;
}

.route-ledger,
.definition-ledger {
  max-width: 72ch;
  margin: 2rem 0 0;
  border-top: 1px solid var(--ink);
}

.route-ledger > div,
.definition-ledger > div {
  padding: 1rem 0;
  display: grid;
  grid-template-columns: minmax(8rem, .35fr) minmax(0, 1fr);
  gap: 1.5rem;
  border-bottom: 1px solid var(--ink);
}

.route-ledger dt,
.definition-ledger dt {
  font-family: var(--display);
  font-size: .58rem;
  font-weight: 760;
  text-transform: uppercase;
}

.route-ledger dd,
.definition-ledger dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.related-data,
.method-dataset-links {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--ink);
  background: var(--white);
}

.related-data > div,
.method-dataset-links > div {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.5rem;
}

.related-data a,
.method-dataset-links a {
  font-weight: 650;
}

.catalog-hero > aside,
.method-hero > aside {
  min-width: 0;
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--yellow);
}

.method-hero > aside {
  color: var(--white);
  background: var(--green);
}

.catalog-hero aside > strong,
.method-hero aside > strong {
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  font-size: clamp(2rem, 4.6vw, 5rem);
  line-height: .9;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}

.catalog-hero aside > span {
  padding: .75rem clamp(1.5rem, 4vw, 3rem) 2.5rem;
  font-family: var(--display);
  font-size: .55rem;
  font-weight: 760;
  text-transform: uppercase;
}

.evidence-ledger--catalog,
.evidence-ledger--method {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.collection-section {
  max-width: 96rem;
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 5vw, 5rem);
}

.collection-section > header {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(20rem, .55fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.collection-section header p {
  margin: 0 0 .6rem;
}

.collection-ledger {
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.collection-ledger li {
  border-bottom: 2px solid var(--ink);
}

.collection-ledger a {
  min-height: 9rem;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  display: grid;
  grid-template-columns: minmax(15rem, 1.4fr) minmax(10rem, .55fr) minmax(7rem, .35fr);
  gap: 2rem;
  align-items: center;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  transition: color 220ms var(--ease), background 220ms var(--ease);
}

.collection-ledger a:hover,
.collection-ledger a:focus-visible {
  color: var(--white);
  background: var(--blue);
}

.collection-ledger a > span:first-child {
  min-width: 0;
}

.collection-ledger strong,
.collection-ledger small,
.collection-measure {
  display: block;
}

.collection-ledger strong {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.025em;
}

.collection-ledger small {
  margin-top: .55rem;
  font-size: .68rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.collection-measure b {
  font-size: clamp(3.625rem, 6vw, 5rem);
  line-height: .8;
}

.collection-ledger a > span:last-child {
  font-family: var(--display);
  font-size: .56rem;
  font-weight: 760;
  text-transform: uppercase;
}

.catalog-close {
  padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 8vw, 10rem);
  color: var(--white);
  background: var(--ink);
  border-top: 2px solid var(--ink);
}

.catalog-close h2 {
  max-width: 14ch;
}

.catalog-close p {
  color: color-mix(in srgb, var(--white) 82%, transparent);
  font-size: 1.05rem;
}

.methodology-layout {
  max-width: 100rem;
}

.method-document > section {
  scroll-margin-top: 7rem;
}

.method-document code {
  padding: .08rem .25rem;
  color: var(--ink);
  background: var(--yellow);
  font-size: .86em;
}

.data-footer {
  border-top: 2px solid var(--ink);
}

@media (max-width: 1120px) {
  .evidence-ledger {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .evidence-ledger > div:nth-child(3n) {
    border-right: 0;
  }

  .evidence-ledger > div:nth-child(-n + 3) {
    border-bottom: 1px solid var(--ink);
  }

  .evidence-ledger--catalog,
  .evidence-ledger--method {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .evidence-ledger--catalog > div,
  .evidence-ledger--method > div {
    border-bottom: 0;
  }

  .evidence-ledger--catalog > div:nth-child(3n),
  .evidence-ledger--method > div:nth-child(3n) {
    border-right: 1px solid var(--ink);
  }
}

@media (max-width: 900px) {
  .data-hero,
  .catalog-hero,
  .method-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .data-hero__answer,
  .catalog-hero > div,
  .method-hero > div {
    min-height: 34rem;
  }

  .technology-register__measure {
    min-height: 18rem;
  }

  .technology-register dl,
  .catalog-hero aside dl,
  .method-hero aside dl {
    margin-top: 2.5rem;
  }

  .data-layout {
    grid-template-columns: 1fr;
  }

  .data-index {
    position: static;
  }

  .data-index > nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-index > nav a:nth-child(odd) {
    padding-right: 1rem;
    border-right: 1px solid var(--line-soft);
  }

  .data-index > nav a:nth-child(even) {
    padding-left: 1rem;
  }

  .collection-section > header {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .data-header {
    align-items: flex-start;
  }

  .data-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .evidence-ledger,
  .evidence-ledger--catalog,
  .evidence-ledger--method {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evidence-ledger > div,
  .evidence-ledger--catalog > div,
  .evidence-ledger--method > div {
    min-height: 7.5rem;
    border-right: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
  }

  .evidence-ledger > div:nth-child(even),
  .evidence-ledger--catalog > div:nth-child(even),
  .evidence-ledger--method > div:nth-child(even) {
    border-right: 0;
  }

  .evidence-ledger > div:last-child,
  .evidence-ledger--catalog > div:last-child,
  .evidence-ledger--method > div:last-child {
    border-bottom: 0;
  }

  .evidence-ledger--catalog > div:last-child,
  .evidence-ledger--method > div:last-child {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .collection-ledger a {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .collection-ledger a > span:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .data-header {
    position: static;
    gap: 1rem;
  }

  .data-header .trust-brand span {
    display: none;
  }

  .data-header .trust-brand svg {
    width: 2.35rem;
    height: 2.35rem;
  }

  .data-nav > a:not(.trust-access) {
    font-size: .54rem;
  }

  .data-nav .trust-access {
    min-height: 2.15rem;
    padding: 0 .65rem;
  }

  .data-hero__answer,
  .catalog-hero > div,
  .method-hero > div {
    min-height: 30rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .data-hero h1,
  .catalog-hero h1,
  .method-hero h1 {
    font-size: clamp(1.75rem, 8.5vw, 2.5rem);
  }

  .data-hero__routes,
  .catalog-close > div {
    align-items: stretch;
    flex-direction: column;
  }

  .data-hero__routes > a,
  .catalog-close > div > a {
    width: 100%;
  }

  .technology-register dl > div,
  .catalog-hero aside dl > div,
  .method-hero aside dl > div {
    grid-template-columns: 1fr;
    gap: .35rem;
  }

  .evidence-ledger,
  .evidence-ledger--catalog,
  .evidence-ledger--method {
    grid-template-columns: 1fr;
  }

  .evidence-ledger > div,
  .evidence-ledger--catalog > div,
  .evidence-ledger--method > div,
  .evidence-ledger > div:nth-child(even),
  .evidence-ledger--catalog > div:nth-child(even),
  .evidence-ledger--method > div:nth-child(even) {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .data-index > nav {
    grid-template-columns: 1fr;
  }

  .data-index > nav a:nth-child(odd),
  .data-index > nav a:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }

  .route-ledger > div,
  .definition-ledger > div {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  .collection-ledger a {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .collection-ledger a > span:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .data-page *,
  .data-page *::before,
  .data-page *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
