:root {
  --md-primary-fg-color: #26262a;
  --md-primary-fg-color--light: #5f5f60;
  --md-primary-fg-color--dark: #151519;
  --md-accent-fg-color: #9aa6ed;
  --md-typeset-a-color: #6f78bd;
  --cortensor-ink: #26262a;
  --cortensor-muted: #5f5f60;
  --cortensor-lavender: #9aa6ed;
  --cortensor-sky: #bad3f9;
  --cortensor-pink: #ffa0da;
  --cortensor-stroke: #26262a1f;
  --cortensor-glass: #ffffff99;
  --cortensor-panel: rgba(255, 255, 255, .62);
}

[data-md-color-scheme="slate"] {
  --md-default-bg-color: #18181b;
  --md-default-fg-color: #f4f4f5;
  --md-default-fg-color--light: #d4d4d8;
  --md-code-bg-color: #26262a;
  --md-typeset-a-color: #c7cffd;
  --cortensor-stroke: #ffffff24;
  --cortensor-glass: #26262acc;
  --cortensor-panel: rgba(255, 255, 255, .045);
}

.md-header {
  position: sticky;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .46)),
    linear-gradient(90deg, rgba(186, 211, 249, .18), rgba(255, 160, 218, .12));
  color: #26262a;
  border-bottom: 1px solid rgba(38, 38, 42, .08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .74) inset,
    0 14px 42px rgba(38, 38, 42, .08);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
}

.md-tabs {
  position: sticky;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .28)),
    linear-gradient(90deg, rgba(186, 211, 249, .13), rgba(255, 160, 218, .09));
  color: #26262a;
  border-bottom: 1px solid rgba(38, 38, 42, .08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset;
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
}

.md-header::before,
.md-tabs::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .2), transparent 46%),
    linear-gradient(100deg, transparent 4%, rgba(255, 255, 255, .18) 24%, transparent 48%);
  opacity: .52;
}

.md-header__title {
  font-weight: 700;
}

.md-header__button.md-logo {
  margin: .15rem .6rem .15rem 0;
  padding: .2rem;
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  width: 130px;
  height: 22px;
}

[data-md-color-scheme="slate"] .md-header__button.md-logo img {
  filter: brightness(0) invert(1);
}

[data-md-color-scheme="slate"] .md-header,
[data-md-color-scheme="slate"] .md-tabs {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .1);
}

[data-md-color-scheme="slate"] .md-header {
  background:
    linear-gradient(180deg, rgba(34, 34, 38, .38), rgba(24, 24, 27, .18)),
    linear-gradient(90deg, rgba(186, 211, 249, .12), rgba(255, 160, 218, .1));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .12) inset,
    0 18px 54px rgba(0, 0, 0, .2);
}

[data-md-color-scheme="slate"] .md-tabs {
  background:
    linear-gradient(180deg, rgba(34, 34, 38, .24), rgba(24, 24, 27, .1)),
    linear-gradient(90deg, rgba(186, 211, 249, .08), rgba(255, 160, 218, .07));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset;
}

[data-md-color-scheme="slate"] .md-header::before,
[data-md-color-scheme="slate"] .md-tabs::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .13), transparent 48%),
    linear-gradient(100deg, transparent 3%, rgba(255, 255, 255, .12) 23%, transparent 46%);
  opacity: .48;
}

.md-search__form {
  background: #26262a0f;
  border: 1px solid #26262a0f;
  border-radius: 12px;
}

[data-md-color-scheme="slate"] .md-search__form {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .06));
  border-color: rgba(255, 255, 255, .18);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.md-sidebar--primary .md-nav {
  font-size: .68rem;
}

.md-sidebar--primary .md-nav__title {
  margin: .45rem 0 .35rem;
  color: var(--md-default-fg-color);
  font-size: .68rem;
  font-weight: 800;
}

.md-sidebar--primary .md-nav__item--nested > .md-nav__link {
  margin: .62rem 0 .16rem;
  padding: .16rem .42rem;
  color: var(--md-default-fg-color);
  font-size: .67rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  border-radius: 6px;
}

.md-sidebar--primary .md-nav__item--nested > .md-nav__link::before {
  display: none !important;
  content: none;
}

.md-sidebar--primary .md-nav__link::before,
.md-sidebar--primary .md-nav__link::after,
.md-sidebar--primary .md-nav__item::before,
.md-sidebar--primary .md-nav__item::after {
  display: none !important;
  content: none !important;
}

.md-sidebar--primary .md-nav__item--nested > .md-nav {
  margin: .04rem 0 .42rem;
  padding-left: .42rem;
  border-left: 0 !important;
}

.md-sidebar--primary .md-nav__item:not(.md-nav__item--nested) > .md-nav__link {
  margin: .02rem 0;
  padding: .17rem .44rem .17rem .62rem;
  color: var(--md-default-fg-color--light);
  font-size: .66rem;
  line-height: 1.28;
  border-radius: 7px;
}

.md-sidebar--primary .md-nav__link:is(:focus, :hover) {
  color: var(--md-typeset-a-color);
}

.md-sidebar--primary .md-nav__link--active,
.md-sidebar--primary .md-nav__item:not(.md-nav__item--nested) > .md-nav__link--active {
  color: var(--md-typeset-a-color);
  background:
    linear-gradient(90deg, rgba(186, 211, 249, .14), rgba(255, 160, 218, .07));
  box-shadow: inset 2px 0 0 var(--md-typeset-a-color);
}

.md-sidebar--primary .md-nav__item--nested > .md-nav__link--active,
.md-sidebar--primary .md-nav__item--active.md-nav__item--nested > .md-nav__link,
.md-sidebar--primary .md-nav__item--active.md-nav__item--section.md-nav__item--nested > .md-nav__link {
  color: var(--md-default-fg-color);
  background: transparent !important;
  box-shadow: none !important;
}

[data-md-color-scheme="slate"] .md-sidebar--primary .md-nav__item--nested > .md-nav__link {
  color: rgba(255, 255, 255, .86);
}

[data-md-color-scheme="slate"] .md-sidebar--primary .md-nav__item:not(.md-nav__item--nested) > .md-nav__link {
  color: rgba(244, 244, 245, .68);
}

[data-md-color-scheme="slate"] .md-sidebar--primary .md-nav__link--active,
[data-md-color-scheme="slate"] .md-sidebar--primary .md-nav__item:not(.md-nav__item--nested) > .md-nav__link--active {
  color: #dfe4ff;
  background:
    linear-gradient(90deg, rgba(186, 211, 249, .14), rgba(255, 160, 218, .07));
}

.cortensor-footer {
  margin-top: 2.2rem;
  color: var(--md-default-fg-color);
  background:
    radial-gradient(circle at 12% 0, rgba(186, 211, 249, .18), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(255, 160, 218, .14), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .36));
  border-top: 1px solid var(--cortensor-stroke);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .18) inset;
}

.cortensor-footer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, .9fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.45rem .8rem 1.1rem;
}

.cortensor-footer__brand {
  max-width: 32rem;
}

.cortensor-footer__logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: .55rem;
}

.cortensor-footer__logo img {
  width: 160px;
  height: auto;
}

.cortensor-footer__tagline {
  margin: 0;
  color: var(--md-default-fg-color--light);
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.45;
}

.cortensor-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: .65rem 1.8rem;
  justify-self: end;
  min-width: min(100%, 24rem);
}

.cortensor-footer__nav a {
  display: block;
  color: var(--md-default-fg-color);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.cortensor-footer__nav a:hover {
  color: var(--md-typeset-a-color);
}

.cortensor-footer__bottom {
  display: flex;
  justify-content: center;
  padding: .7rem .8rem .85rem;
  color: var(--md-default-fg-color--light);
  font-size: .7rem;
  text-align: center;
  border-top: 1px solid var(--cortensor-stroke);
}

[data-md-color-scheme="slate"] .cortensor-footer {
  background:
    radial-gradient(circle at 12% 0, rgba(186, 211, 249, .12), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(255, 160, 218, .1), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .028));
}

[data-md-color-scheme="slate"] .cortensor-footer__logo img {
  filter: brightness(0) invert(1);
}

.hero-cover {
  aspect-ratio: 3 / 1;
  min-height: 190px;
  max-height: 330px;
  border-radius: 8px;
  margin: 0 0 2rem;
  overflow: hidden;
  background: url("../images/cortensor-docs-cover.png") center / cover no-repeat;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .8rem;
  margin: 1rem 0 1.5rem;
}

.status-card {
  border: 1px solid var(--cortensor-stroke);
  border-radius: 8px;
  padding: .9rem 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .46));
}

.status-card strong {
  display: block;
  margin-bottom: .25rem;
}

[data-md-color-scheme="slate"] .status-card {
  background: rgba(255, 255, 255, .05);
}

.digest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .75rem;
  margin: 1rem 0 1.45rem;
}

.digest-card {
  position: relative;
  min-height: 7rem;
  padding: .9rem .95rem;
  border: 1px solid var(--cortensor-stroke);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(186, 211, 249, .12), rgba(255, 160, 218, .07)),
    var(--cortensor-panel);
  overflow: hidden;
}

.digest-card::before {
  position: absolute;
  top: .9rem;
  right: .95rem;
  width: .46rem;
  height: .46rem;
  content: "";
  border-radius: 50%;
  background: var(--cortensor-lavender);
  box-shadow: 0 0 0 4px rgba(154, 166, 237, .12);
}

.digest-card strong,
.digest-card span {
  display: block;
}

.digest-card strong {
  max-width: calc(100% - 1.2rem);
  margin-bottom: .3rem;
  color: var(--md-default-fg-color);
  font-size: .78rem;
  line-height: 1.3;
}

.digest-card span {
  margin-bottom: .42rem;
  color: var(--md-typeset-a-color);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.digest-card p {
  margin: 0;
  color: var(--md-default-fg-color--light);
  font-size: .72rem;
  line-height: 1.52;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .55rem;
  margin: 1rem 0 1.45rem;
  counter-reset: flow-step;
}

.flow-step {
  counter-increment: flow-step;
  min-height: 5.3rem;
  padding: .72rem .78rem;
  border: 1px solid var(--cortensor-stroke);
  border-radius: 8px;
  background: var(--cortensor-panel);
}

.flow-step::before {
  display: inline-grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  margin-bottom: .45rem;
  color: var(--md-default-bg-color);
  font-size: .62rem;
  font-weight: 900;
  content: counter(flow-step);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cortensor-sky), var(--cortensor-pink));
}

.flow-step strong {
  display: block;
  margin-bottom: .25rem;
  font-size: .75rem;
  line-height: 1.25;
}

.flow-step p {
  margin: 0;
  color: var(--md-default-fg-color--light);
  font-size: .68rem;
  line-height: 1.45;
}

.architecture-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: .55rem;
  margin: 1rem 0 1.6rem;
  padding: .75rem;
  border: 1px solid var(--cortensor-stroke);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0, rgba(186, 211, 249, .16), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(255, 160, 218, .11), transparent 36%),
    var(--cortensor-panel);
}

.architecture-map section {
  position: relative;
  min-height: 6.4rem;
  padding: .75rem .7rem;
  border: 1px solid rgba(154, 166, 237, .32);
  border-radius: 8px;
  background: rgba(255, 255, 255, .42);
}

.architecture-map section:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -.48rem;
  z-index: 1;
  width: .42rem;
  height: .42rem;
  content: "";
  border-top: 2px solid var(--cortensor-lavender);
  border-right: 2px solid var(--cortensor-lavender);
  transform: translateY(-50%) rotate(45deg);
}

.architecture-map strong,
.architecture-map span {
  display: block;
}

.architecture-map strong {
  margin-bottom: .32rem;
  color: var(--md-default-fg-color);
  font-size: .74rem;
  line-height: 1.25;
}

.architecture-map span {
  color: var(--md-default-fg-color--light);
  font-size: .64rem;
  line-height: 1.45;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: .9rem;
  margin: 1rem 0 1.8rem;
  padding-left: 1.1rem;
}

.timeline-list::before {
  position: absolute;
  top: .45rem;
  bottom: .45rem;
  left: .18rem;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, rgba(186, 211, 249, .55), rgba(255, 160, 218, .45));
}

.timeline-item {
  position: relative;
  padding: .85rem 1rem;
  border: 1px solid var(--cortensor-stroke);
  border-radius: 8px;
  background: rgba(255, 255, 255, .62);
}

.timeline-item::before {
  position: absolute;
  top: 1rem;
  left: -1.33rem;
  width: .42rem;
  height: .42rem;
  border: 2px solid var(--md-default-bg-color);
  border-radius: 50%;
  content: "";
  background: var(--cortensor-lavender);
  box-shadow: 0 0 0 2px rgba(154, 166, 237, .35);
}

.timeline-item h3,
.stage-card h3 {
  margin: .12rem 0 .35rem;
  color: var(--md-default-fg-color);
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.25;
}

.timeline-meta {
  color: var(--md-default-fg-color--light);
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.timeline-note {
  margin: .45rem 0 0;
  color: var(--md-default-fg-color--light);
  font-size: .72rem;
}

.timeline-item.is-current {
  border-color: rgba(154, 166, 237, .55);
  background:
    linear-gradient(180deg, rgba(186, 211, 249, .22), rgba(255, 160, 218, .1)),
    rgba(255, 255, 255, .62);
}

.timeline-item.is-next::before {
  background: var(--cortensor-pink);
  box-shadow: 0 0 0 2px rgba(255, 160, 218, .28);
}

.timeline-item.is-forecast::before,
.timeline-item.is-past::before {
  background: var(--md-default-fg-color--light);
  box-shadow: none;
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .75rem;
  margin: 1rem 0 1.8rem;
}

.stage-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.stage-card {
  min-height: 8.2rem;
  padding: .85rem .95rem;
  border: 1px solid var(--cortensor-stroke);
  border-radius: 8px;
  background: rgba(255, 255, 255, .55);
}

.stage-grid.compact .stage-card {
  min-height: 6.5rem;
}

.stage-card.is-current {
  border-color: rgba(154, 166, 237, .5);
  box-shadow: inset 3px 0 0 var(--cortensor-lavender);
}

.stage-card p,
.timeline-item p {
  margin-bottom: 0;
}

.readiness-list {
  display: grid;
  gap: .75rem;
  margin: 1rem 0 1.8rem;
}

.readiness-item,
.checklist-card {
  padding: .85rem 1rem;
  border: 1px solid var(--cortensor-stroke);
  border-radius: 8px;
  background: rgba(255, 255, 255, .5);
}

.readiness-item h3,
.checklist-card h3 {
  margin: .1rem 0 .35rem;
  color: var(--md-default-fg-color);
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.25;
}

.readiness-item p,
.checklist-card p,
.cadence-list p {
  margin-bottom: 0;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: .75rem;
  margin: 1rem 0 1.8rem;
}

.cadence-list {
  display: grid;
  gap: .45rem;
  margin: 1rem 0 1.8rem;
}

.cadence-list p {
  max-width: 52rem;
  padding: .45rem .65rem;
  border-left: 3px solid rgba(154, 166, 237, .7);
  background: rgba(255, 255, 255, .42);
}

.allocation-visual {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(260px, 1fr);
  gap: 1.1rem;
  align-items: center;
  margin: 1rem 0 1.2rem;
  padding: 1rem;
  border: 1px solid var(--cortensor-stroke);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(186, 211, 249, .16), rgba(255, 160, 218, .1)),
    rgba(255, 255, 255, .5);
}

.allocation-pie {
  position: relative;
  width: min(100%, 220px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  background:
    conic-gradient(
      #bad3f9 0 40%,
      #9aa6ed 40% 75%,
      #ffa0da 75% 90%,
      #e8c8f4 90% 95%,
      #f4d9bb 95% 100%
    );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .28) inset,
    0 20px 48px rgba(0, 0, 0, .12);
}

.allocation-pie::after {
  position: absolute;
  inset: 17%;
  content: "";
  border-radius: 50%;
  background: var(--md-default-bg-color);
  box-shadow: 0 0 0 1px var(--cortensor-stroke);
}

.allocation-pie__center {
  position: absolute;
  inset: 29%;
  z-index: 1;
  display: grid;
  place-content: center;
  text-align: center;
}

.allocation-pie__center strong {
  font-size: 1.35rem;
  line-height: 1;
}

.allocation-pie__center span {
  color: var(--md-default-fg-color--light);
  font-size: .65rem;
  font-weight: 700;
}

.allocation-legend {
  display: grid;
  gap: .5rem;
}

.allocation-legend__item {
  display: grid;
  grid-template-columns: .7rem 3.2rem 1fr;
  gap: .55rem;
  align-items: center;
  padding: .42rem .55rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .35);
}

.allocation-swatch {
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
}

.allocation-swatch.community {
  background: #bad3f9;
}

.allocation-swatch.incentives {
  background: #9aa6ed;
}

.allocation-swatch.liquidity {
  background: #ffa0da;
}

.allocation-swatch.strategic {
  background: #e8c8f4;
}

.allocation-swatch.contributors {
  background: #f4d9bb;
}

.allocation-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .75rem;
  margin: 1rem 0 1.25rem;
}

.allocation-detail-card {
  padding: .85rem .95rem;
  border: 1px solid var(--cortensor-stroke);
  border-radius: 8px;
  background: rgba(255, 255, 255, .46);
  box-shadow: inset 3px 0 0 var(--allocation-color, var(--cortensor-lavender));
}

.allocation-detail-card strong {
  display: block;
  margin-bottom: .25rem;
  color: var(--md-default-fg-color);
}

.allocation-detail-card span {
  display: inline-block;
  margin-bottom: .35rem;
  color: var(--allocation-color, var(--cortensor-lavender));
  font-size: .95rem;
  font-weight: 800;
}

.allocation-detail-card p {
  margin-bottom: 0;
  color: var(--md-default-fg-color--light);
  font-size: .74rem;
  line-height: 1.55;
}

.allocation-detail-card.community {
  --allocation-color: #bad3f9;
}

.allocation-detail-card.incentives {
  --allocation-color: #9aa6ed;
}

.allocation-detail-card.liquidity {
  --allocation-color: #ffa0da;
}

.allocation-detail-card.strategic {
  --allocation-color: #e8c8f4;
}

.allocation-detail-card.contributors {
  --allocation-color: #f4d9bb;
}

.model-catalog-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .75rem;
  margin: 1rem 0 1.25rem;
}

.model-catalog-summary section {
  padding: .85rem .95rem;
  border: 1px solid var(--cortensor-stroke);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(186, 211, 249, .12), rgba(255, 160, 218, .07)),
    rgba(255, 255, 255, .46);
}

.model-catalog-summary strong,
.model-catalog-summary span {
  display: block;
}

.model-catalog-summary strong {
  margin-bottom: .2rem;
  color: var(--md-default-fg-color);
}

.model-catalog-summary span {
  margin-bottom: .35rem;
  color: var(--md-typeset-a-color);
  font-size: .72rem;
  font-weight: 800;
}

.model-catalog-summary p {
  margin-bottom: 0;
  color: var(--md-default-fg-color--light);
  font-size: .74rem;
  line-height: 1.55;
}

.md-typeset .model-catalog-reference table {
  display: block;
  border: 0;
  background: transparent;
}

.md-typeset .model-catalog-reference table thead {
  display: none;
}

.md-typeset .model-catalog-reference table tbody {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: .75rem;
}

.md-typeset .model-catalog-reference table tr {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  grid-template-areas:
    "id name"
    "id runtime"
    "id engine"
    "id note";
  gap: .35rem .75rem;
  align-content: start;
  min-height: 10.5rem;
  padding: .85rem .95rem;
  border: 1px solid var(--cortensor-stroke);
  border-radius: 8px;
  background: rgba(255, 255, 255, .46);
}

.md-typeset .model-catalog-reference table td {
  display: block;
  box-sizing: border-box;
  min-width: 0 !important;
  padding: 0;
  border: 0;
  overflow-wrap: anywhere;
}

.md-typeset .model-catalog-reference table td:nth-child(1) {
  grid-area: id;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem !important;
  height: 2.45rem;
  color: var(--md-default-fg-color);
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
  border: 1px solid rgba(154, 166, 237, .45);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(186, 211, 249, .2), rgba(255, 160, 218, .12));
}

.md-typeset .model-catalog-reference table td:nth-child(2) {
  grid-area: name;
  color: var(--md-default-fg-color);
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.35;
}

.md-typeset .model-catalog-reference table td:nth-child(3) {
  grid-area: runtime;
}

.md-typeset .model-catalog-reference table td:nth-child(4) {
  grid-area: engine;
}

.md-typeset .model-catalog-reference table td:nth-child(5) {
  grid-area: note;
  color: var(--md-default-fg-color--light);
  font-size: .72rem;
  line-height: 1.45;
}

.md-typeset .model-catalog-reference table td:nth-child(3)::before,
.md-typeset .model-catalog-reference table td:nth-child(4)::before,
.md-typeset .model-catalog-reference table td:nth-child(5)::before {
  display: block;
  margin-bottom: .14rem;
  color: var(--md-default-fg-color--light);
  font-size: .58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.md-typeset .model-catalog-reference table td:nth-child(3)::before {
  content: "Runtime";
}

.md-typeset .model-catalog-reference table td:nth-child(4)::before {
  content: "Engine";
}

.md-typeset .model-catalog-reference table td:nth-child(5)::before {
  content: "Availability";
}

.md-typeset .model-catalog-reference table code {
  white-space: normal;
  overflow-wrap: anywhere;
}

[data-md-color-scheme="slate"] .timeline-item,
[data-md-color-scheme="slate"] .stage-card,
[data-md-color-scheme="slate"] .readiness-item,
[data-md-color-scheme="slate"] .checklist-card,
[data-md-color-scheme="slate"] .allocation-detail-card,
[data-md-color-scheme="slate"] .model-catalog-summary section,
[data-md-color-scheme="slate"] .model-catalog-reference table tr,
[data-md-color-scheme="slate"] .digest-card,
[data-md-color-scheme="slate"] .flow-step,
[data-md-color-scheme="slate"] .architecture-map section {
  background: rgba(255, 255, 255, .045);
}

[data-md-color-scheme="slate"] .allocation-visual {
  background:
    linear-gradient(135deg, rgba(186, 211, 249, .09), rgba(255, 160, 218, .07)),
    rgba(255, 255, 255, .04);
}

[data-md-color-scheme="slate"] .allocation-legend__item {
  background: rgba(255, 255, 255, .04);
}

[data-md-color-scheme="slate"] .cadence-list p {
  background: rgba(255, 255, 255, .04);
}

[data-md-color-scheme="slate"] .timeline-item.is-current {
  background:
    linear-gradient(180deg, rgba(186, 211, 249, .12), rgba(255, 160, 218, .06)),
    rgba(255, 255, 255, .045);
}

.last-updated {
  margin: -.25rem 0 1.35rem;
  color: var(--md-default-fg-color--light);
  font-size: .78rem;
  font-weight: 600;
}

.md-typeset {
  line-height: 1.68;
}

.md-typeset h1 {
  margin-bottom: .35rem;
}

.md-typeset h2 {
  margin-top: 2.05rem;
  margin-bottom: .72rem;
}

.md-typeset h3 {
  margin-top: 1.45rem;
}

.md-typeset > p:not(.last-updated):first-of-type,
.md-typeset .last-updated + p {
  max-width: 48rem;
  color: var(--md-default-fg-color);
  font-size: .86rem;
  line-height: 1.72;
}

.md-typeset p,
.md-typeset li {
  max-width: 52rem;
}

.md-typeset table:not([class]) {
  font-size: .72rem;
}

.md-typeset .md-typeset__table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-radius: 8px;
}

.md-typeset .md-typeset__table table {
  min-width: 100%;
}

.md-typeset table:not([class]) th {
  white-space: nowrap;
}

.md-typeset table:not([class]) td {
  min-width: 8rem;
}

.md-typeset table:not([class]) td code {
  white-space: normal;
  overflow-wrap: anywhere;
}

.md-typeset table:not([class]) td,
.md-typeset table:not([class]) th {
  vertical-align: top;
}

.md-typeset table:not([class]) tr:nth-child(2n) {
  background: rgba(255, 255, 255, .025);
}

.md-typeset pre > code {
  line-height: 1.55;
}

.diagram-panel {
  margin: 1rem 0 1.55rem;
  padding: .75rem;
  border: 1px solid var(--cortensor-stroke);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0, rgba(186, 211, 249, .14), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(255, 160, 218, .1), transparent 36%),
    var(--cortensor-panel);
  overflow-x: auto;
}

.diagram-panel .mermaid {
  min-width: 0;
}

.diagram-panel svg {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.diagram-caption {
  max-width: 48rem;
  margin: -.65rem 0 1.45rem;
  color: var(--md-default-fg-color--light);
  font-size: .68rem;
}

.md-typeset table:not([class]) {
  font-size: .72rem;
}

@media (max-width: 760px) {
  .hero-cover {
    min-height: 130px;
    border-radius: 0;
    margin-left: -0.8rem;
    margin-right: -0.8rem;
  }

  .allocation-visual {
    grid-template-columns: 1fr;
  }

  .architecture-map {
    grid-template-columns: 1fr;
  }

  .architecture-map section {
    min-height: auto;
  }

  .architecture-map section:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -.46rem;
    transform: translateX(50%) rotate(135deg);
  }

  .cortensor-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .cortensor-footer__nav {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    justify-self: stretch;
    gap: .9rem 1rem;
  }

  .cortensor-footer__bottom {
    justify-content: flex-start;
    text-align: left;
  }
}
