
html[lang="en"] .ce-side {
  container-type: inline-size;
  container-name: ceside
}

@container ceside (max-width: 450px) {
  .ce-devices:has(> .chip:nth-child(3):last-child) {
    flex-direction: column;
    align-items: stretch
  }

  .ce-devices:has(> .chip:nth-child(3):last-child) .chip {
    text-align: center
  }

  .ce-devices:has(> .chip:nth-child(5)) {
    display: grid;
    grid-template-columns: repeat(3, 1fr)
  }

  .ce-devices:has(> .chip:nth-child(5)) .chip {
    text-align: center
  }
}

@container ceside (max-width: 280px) {
  .ce-devices:has(> .chip:nth-child(5)) {
    grid-template-columns: repeat(2, 1fr)
  }
}

.gov-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--site-space-40) var(--site-space-48)
}

.gov-item .idx-mono {
  display: block;
  margin-bottom: 10px
}

.gov-item .card-title {
  margin-bottom: 8px
}

.gov-item p {
  color: var(--text-2)
}

.evo-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--site-space-40)
}

.evo-track::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-strong)
}

.evo-node {
  position: relative;
  padding-top: 30px
}

.evo-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border: 1px solid var(--star);
  border-radius: 50%;
  background: var(--bg);
}

.evo-node:last-child::before {
  background: var(--star)
}

.evo-node .idx-mono {
  display: block;
  margin-bottom: 6px
}

.evo-node h3 {
  margin-bottom: 10px;
  font-size: var(--site-fs-h3)
}

.evo-node p {
  color: var(--text-2)
}

.evo-chain-lead {
  margin-top: 64px;
  color: var(--text-2);
  font-size: var(--site-fs-small)
}

.journey {
  position: relative;
  margin-top: 12px
}

.journey-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  overflow: visible;
  transform-origin: left center
}

.journey-line polyline {
  fill: none;
  stroke: url(#journey-grad);
  stroke-width: 1;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke
}

.journey-line stop:first-of-type {
  stop-color: var(--text-3)
}

.journey-line stop:last-of-type {
  stop-color: var(--star)
}

.journey-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none
}

.journey-list li {
  position: relative;
  padding: 156px 6px 0;
  text-align: center
}

.journey-list li:nth-child(1) {
  --y: 100px;
  --s: 72px
}

.journey-list li:nth-child(2) {
  --y: 74px;
  --s: 11px
}

.journey-list li:nth-child(3) {
  --y: 84px;
  --s: 13px
}

.journey-list li:nth-child(4) {
  --y: 50px;
  --s: 15px
}

.journey-list li:nth-child(5) {
  --y: 30px;
  --s: 16px
}

.journey .mark {
  position: absolute;
  top: var(--y);
  left: 50%;
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  border: 1px solid var(--text-3);
  border-radius: 50%;
  background: var(--bg)
}

.journey li:nth-child(3) .mark {
  border-color: var(--text-2)
}

.journey li:nth-child(4) .mark {
  border-color: var(--text)
}

.journey li:nth-child(1) .mark {
  border-color: var(--star);
  background: var(--bg) url('/assets/hero-nebula.webp?v=af01667ba18d7054') 50% 50% / auto 300% no-repeat;
  outline: 1px solid var(--line-strong);
  outline-offset: 5px
}

.journey li.now .mark {
  border: 0;
  background: var(--star)
}

.journey li.now .mark::before {
  content: "";
  position: absolute;
  inset: -22px;
  background:
    radial-gradient(circle at 6px 39px, var(--text) 2.5px, transparent 3px),
    radial-gradient(circle at 52px 41px, var(--star) 2.5px, transparent 3px),
    radial-gradient(circle at 21px 10px, var(--star) 2.5px, transparent 3px),
    radial-gradient(circle at 45px 11px, var(--text) 2.5px, transparent 3px)
}

.journey li.now .mark::after {
  content: "";
  position: absolute;
  inset: -22px;
  border: 1px dashed var(--line-strong);
  border-radius: 50%
}

.jn-txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--site-space-4)
}

.journey b {
  color: var(--text);
  font-size: var(--site-fs-body);
  font-weight: 600
}

.journey small {
  color: var(--text-2);
  font-size: var(--site-fs-small);
  text-wrap: balance
}

.journey li.now b {
  color: var(--star)
}

.role-block {
  margin-top: 96px;
  padding-top: 64px;
  border-top: 1px solid var(--line)
}

.role-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--site-space-40)
}

.role-path {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px
}

.role-path h4 {
  color: var(--text-3);
  font-size: var(--site-fs-small);
  font-weight: 500;
  text-decoration: none
}

.role-path h4.to {
  color: var(--text);
  font-size: var(--site-fs-lead);
  font-weight: 700;
  text-decoration: none
}

.role-row p {
  color: var(--text-2)
}

.int-panel {
  margin-top: 64px
}
