/* Index detail hierarchy — intentionally scoped so the discovery page and app shell stay untouched. */
.index-detail .index-thesis {
  --index-accent: #a8c94e;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, .75fr);
  min-height: 286px;
  margin: 0 0 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: #0d100f;
}
.index-thesis__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 34px 28px;
}
.index-thesis h1 {
  max-width: 720px;
  margin: 0;
  color: #edf0ee;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.045em;
}
.index-thesis__tagline {
  max-width: 720px;
  margin: 15px 0 7px;
  color: #c7ccc9;
  font-size: 16px;
  line-height: 1.5;
}
.index-thesis__body {
  max-width: 720px;
  margin: 0;
  color: #858e88;
  font-size: 13px;
  line-height: 1.65;
}
.index-thesis__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 26px 0 0;
}
.index-thesis__facts div { min-width: 100px; }
.index-thesis__facts dt {
  color: #69716c;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.index-thesis__facts dd {
  margin: 6px 0 0;
  color: #dfe4e1;
  font-size: 13px;
  font-weight: 600;
}
.index-thesis__visual {
  position: relative;
  display: flex;
  min-height: 286px;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.065), transparent 42%),
    linear-gradient(145deg, rgba(255,255,255,.02), rgba(0,0,0,.18));
}
.index-thesis__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 72%, transparent);
}
.index-thesis__orbit {
  --orbit-scale: 1;
  position: relative;
  width: 188px;
  height: 188px;
  transform: scale(var(--orbit-scale));
  transform-origin: center;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  animation: index-thesis-orbit-spin 56s linear infinite;
}
.index-thesis__orbit::before,
.index-thesis__orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
}
.index-thesis__orbit::before { inset: 25px; }
.index-thesis__orbit::after { inset: 55px; border-color: var(--index-accent); opacity: .45; }
.index-thesis__center {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  display: flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  background: #111512;
  color: var(--index-accent);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.04em;
  animation: index-thesis-center-counter-spin 56s linear infinite;
}
.index-thesis__node {
  position: absolute;
  z-index: 3;
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 3px solid #0d100f;
  border-radius: 50%;
  background: var(--node-color);
  color: #080a09;
  font-size: 9px;
  font-weight: 700;
  animation: index-thesis-node-counter-spin 56s linear infinite;
}
.index-thesis__node--logo {
  background-color: #151716;
  background-image: var(--node-logo);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.index-thesis__node--brand {
  background-color: #151716;
  background-size: cover;
}
.index-table .index-asset-icon--logo {
  background-color: #151716;
  background-size: cover;
}
.index-thesis__node:nth-of-type(1) { left: 18px; top: 33px; }
.index-thesis__node:nth-of-type(2) { left: 76px; top: -12px; }
.index-thesis__node:nth-of-type(3) { right: 10px; top: 24px; }
.index-thesis__node:nth-of-type(4) { right: -15px; top: 86px; }
.index-thesis__node:nth-of-type(5) { right: 16px; bottom: 20px; }
.index-thesis__node:nth-of-type(6) { left: 74px; bottom: -13px; }
.index-thesis__node:nth-of-type(7) { left: 12px; bottom: 25px; }
.index-thesis__node:nth-of-type(8) { left: -16px; top: 88px; }
@keyframes index-thesis-orbit-spin {
  from { transform: scale(var(--orbit-scale)) rotate(0deg); }
  to { transform: scale(var(--orbit-scale)) rotate(360deg); }
}
@keyframes index-thesis-node-counter-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
@keyframes index-thesis-center-counter-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}
.index-detail .index-detail__layout { align-items: start; }
.index-detail .index-action-card { position: sticky; top: 92px; }
.index-detail .index-table__row small .mono { color: inherit; text-decoration: none; }

@media (max-width: 980px) {
  .index-detail .index-detail__layout { grid-template-columns: minmax(0, 1fr); }
  .index-detail .index-detail__layout > main { grid-template-columns: minmax(0, 1fr); }
  .index-detail .index-detail__layout > main,
  .index-detail .index-detail-card,
  .index-detail .index-action-card { min-width: 0; }
}
@media (max-width: 880px) {
  .index-detail .index-thesis { grid-template-columns: 1fr; }
  .index-thesis__visual { min-height: 210px; border-top: 1px solid rgba(255,255,255,.06); border-left: 0; }
  .index-thesis__orbit { --orbit-scale: .82; }
  .index-detail .index-action-card { position: static; }
}
@media (max-width: 600px) {
  .index-detail .index-thesis { min-height: 0; border-radius: 14px; }
  .index-thesis__copy { padding: 24px 22px 22px; }
  .index-thesis h1 { font-size: 25px; }
  .index-thesis__tagline { font-size: 15px; }
  .index-thesis__facts { gap: 17px; margin-top: 22px; }
  .index-thesis__facts div { min-width: 82px; }
  .index-thesis__visual { min-height: 176px; }
  .index-thesis__orbit { --orbit-scale: .7; }
}
@media (prefers-reduced-motion: reduce) {
  .index-thesis__orbit,
  .index-thesis__center,
  .index-thesis__node { animation: none; }
}
