.star-product-route-map {
  --star-route-ink: #0d1712;
  --star-route-paper: #f4f4ef;
  --star-route-accent: #c7ff4a;
  --star-route-line: rgba(13, 23, 18, 0.18);
  width: min(1600px, calc(100% - clamp(2rem, 6vw, 7rem)));
  margin: clamp(2.5rem, 6vw, 6rem) auto;
  color: var(--star-route-ink);
  background: var(--star-route-paper);
  border: 1px solid var(--star-route-line);
  border-radius: clamp(1.125rem, 2vw, 2rem);
  box-shadow: 0 2.25rem 7rem rgba(13, 23, 18, 0.12);
  overflow: hidden;
}

.star-product-route-map__head {
  display: grid;
  grid-template-columns: minmax(16rem, 0.82fr) minmax(0, 1.55fr);
  gap: clamp(2rem, 5vw, 6rem);
  padding: clamp(1.5rem, 3.5vw, 3.5rem);
}

.star-product-route-map__intro,
.star-product-route-map__context,
.star-product-route-map__context div,
.star-product-route-map__steps li,
.star-product-route-map__steps a {
  min-width: 0;
}

.star-product-route-map__eyebrow,
.star-product-route-map__context dt,
.star-product-route-map__index,
.star-product-route-map__truth {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.star-product-route-map__eyebrow {
  display: block;
  margin-bottom: 0.75rem;
  color: #46650c;
  font-size: clamp(0.68rem, 0.9vw, 0.78rem);
  font-weight: 750;
}

.star-product-route-map h2 {
  max-width: 16ch;
  margin: 0;
  color: var(--star-route-ink);
  font-size: clamp(1.55rem, 3vw, 3.1rem);
  font-weight: 580;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.star-product-route-map__intro p {
  max-width: 48ch;
  margin: 1rem 0 0;
  color: rgba(13, 23, 18, 0.68);
  font-size: clamp(0.9rem, 1.15vw, 1.02rem);
  line-height: 1.7;
}

.star-product-route-map__context {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  margin: 0;
  border-top: 1px solid var(--star-route-line);
  border-left: 1px solid var(--star-route-line);
}

.star-product-route-map__context div {
  padding: clamp(1rem, 2vw, 1.6rem);
  border-right: 1px solid var(--star-route-line);
  border-bottom: 1px solid var(--star-route-line);
}

.star-product-route-map__context dt {
  margin-bottom: 0.65rem;
  color: #607033;
  font-size: 0.66rem;
  font-weight: 750;
}

.star-product-route-map__context dd {
  margin: 0;
  font-size: clamp(0.86rem, 1.1vw, 0.98rem);
  font-weight: 620;
  line-height: 1.5;
}

.star-product-route-map__nav {
  padding: 0 clamp(1.5rem, 3.5vw, 3.5rem) clamp(1.5rem, 3.5vw, 3.5rem);
}

.star-product-route-map__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--star-route-line);
  border-left: 1px solid var(--star-route-line);
  list-style: none;
}

.star-product-route-map__steps a {
  position: relative;
  display: flex;
  min-height: 10.5rem;
  height: 100%;
  flex-direction: column;
  padding: clamp(1rem, 2vw, 1.65rem);
  color: inherit;
  text-decoration: none;
  border-right: 1px solid var(--star-route-line);
  border-bottom: 1px solid var(--star-route-line);
  transition: color 180ms ease, background-color 180ms ease;
}

.star-product-route-map__index {
  display: block;
  margin-bottom: 2.3rem;
  color: #607033;
  font-size: 0.66rem;
  font-weight: 750;
}

.star-product-route-map__steps strong {
  display: block;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.25;
}

.star-product-route-map__steps small {
  display: block;
  margin-top: 0.7rem;
  color: rgba(13, 23, 18, 0.64);
  font-size: clamp(0.76rem, 1vw, 0.88rem);
  line-height: 1.55;
}

.star-product-route-map__steps a[aria-current="page"] {
  color: var(--star-route-paper);
  background: var(--star-route-ink);
}

.star-product-route-map__steps a[aria-current="page"]::after {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--star-route-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0.35rem rgba(199, 255, 74, 0.12);
  content: "";
}

.star-product-route-map__steps a[aria-current="page"] .star-product-route-map__index {
  color: var(--star-route-accent);
}

.star-product-route-map__steps a[aria-current="page"] small {
  color: rgba(244, 244, 239, 0.67);
}

.star-product-route-map__visual {
  margin: 0;
  color: var(--star-route-paper);
  background: var(--star-route-ink);
  border-top: 1px solid var(--star-route-line);
}

.star-product-route-map__visual picture,
.star-product-route-map__visual img {
  display: block;
  width: 100%;
}

.star-product-route-map__visual img {
  height: auto;
  aspect-ratio: 1774 / 887;
  object-fit: contain;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.star-product-route-map__visual img[src*="/visual-system/v3/"] {
  aspect-ratio: 1672 / 941;
}

.star-product-route-map__visual figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1.5rem, 3.5vw, 3.5rem) 1.2rem;
  border-top: 1px solid rgba(244, 244, 239, 0.12);
}

.star-product-route-map__visual figcaption span {
  max-width: 55ch;
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  line-height: 1.55;
}

.star-product-route-map__truth {
  color: rgba(244, 244, 239, 0.48);
  font-size: 0.62rem !important;
  text-align: right;
}

@media (hover: hover) and (pointer: fine) {
  .star-product-route-map__steps a:not([aria-current="page"]):hover {
    background: rgba(199, 255, 74, 0.2);
  }

  .star-product-route-map__visual:hover img {
    transform: scale(1.012);
  }
}

@media (max-width: 900px) {
  .star-product-route-map__head {
    grid-template-columns: 1fr;
  }

  .star-product-route-map h2 {
    max-width: 23ch;
  }

  .star-product-route-map__steps {
    grid-template-columns: 1fr;
  }

  .star-product-route-map__steps a {
    min-height: 0;
  }

  .star-product-route-map__index {
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 600px) {
  .star-product-route-map {
    width: calc(100% - 1.5rem);
    margin: 2rem auto 3rem;
    border-radius: 1.125rem;
  }

  .star-product-route-map__head {
    gap: 1.75rem;
    padding: 1.25rem;
  }

  .star-product-route-map__context {
    grid-template-columns: 1fr;
  }

  .star-product-route-map__nav {
    padding: 0 1.25rem 1.25rem;
  }

  .star-product-route-map__steps a {
    padding: 1rem;
  }

  .star-product-route-map__visual figcaption {
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem 1.25rem;
  }

  .star-product-route-map__truth {
    text-align: left;
  }
}

@media (max-width: 360px) {
  .star-product-route-map {
    width: calc(100% - 1rem);
  }

  .star-product-route-map__head,
  .star-product-route-map__nav {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .star-product-route-map__steps a,
  .star-product-route-map__visual img {
    transition: none;
  }

  .star-product-route-map__visual:hover img {
    transform: none;
  }
}
