/* Product hero illustrations share a visual language without changing their content. */
.ed-page .ed-hero,
.kkt-page .kkt-hero {
  align-items: stretch;
}

.ed-page .ed-hero > .ed-visual,
.kkt-page .kkt-hero > .kkt-visual {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
  padding: clamp(24px, 2.4vw, 32px);
  border: 1px solid #ebe6ea;
  border-radius: 26px;
}

.ed-page .ed-hero > .ed-visual {
  padding: 26px;
  background: #f5f2f4;
  background: color-mix(in srgb, var(--sp-accent) 8%, white);
}

.kkt-page .kkt-hero > .kkt-visual {
  background: #f7f0f6;
}

/* A decorative arc replaces the heavy stripe, while leaving the text unobscured. */
.ed-page .ed-hero > .ed-visual::before,
.kkt-page .kkt-hero > .kkt-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto;
  top: -120px;
  right: -110px;
  width: 270px;
  height: 270px;
  border: 30px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
}

.ed-page .ed-hero .ed-visual-head {
  margin-bottom: 14px;
}

.ed-page .ed-hero .ed-flow,
.kkt-page .kkt-hero .kkt-flow {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
  flex: 1;
}

.ed-page .ed-hero .ed-flow li,
.kkt-page .kkt-hero .kkt-flow li {
  box-sizing: border-box;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid rgba(35, 30, 35, .06);
  border-radius: 14px;
  background: #fff;
}

.ed-page .ed-hero .ed-flow li {
  grid-template-columns: 40px minmax(0, 1fr);
  align-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.ed-page .ed-hero .ed-flow li > b {
  background: #f5f2f4;
  background: color-mix(in srgb, var(--sp-accent) 14%, white);
  color: #392d36;
  color: color-mix(in srgb, var(--sp-accent) 57%, #141414);
}

.ed-page .ed-hero .ed-visual-note {
  margin: 12px 0 0;
}

.kkt-page .kkt-hero .kkt-flow li {
  align-items: center;
}

.kkt-page .kkt-hero .kkt-flow b {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f6e8f3;
  color: #7a175f;
}

.ed-page.ed-interactive .ed-hero .ed-flow li:is(.is-active, :focus-within) {
  border-color: color-mix(in srgb, var(--sp-accent) 40%, white);
  background: color-mix(in srgb, var(--sp-accent) 5%, white);
}

@media (hover: hover) and (pointer: fine) {
  .ed-page.ed-interactive .ed-hero .ed-flow li:hover {
    border-color: color-mix(in srgb, var(--sp-accent) 40%, white);
    background: color-mix(in srgb, var(--sp-accent) 5%, white);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ed-page.ed-interactive .ed-hero .ed-flow li {
    transition: background-color .25s ease, border-color .25s ease;
  }
}

@media (max-width: 800px) {
  .ed-page .ed-hero,
  .kkt-page .kkt-hero {
    align-items: start;
  }
  .ed-page .ed-hero .ed-flow,
  .kkt-page .kkt-hero .kkt-flow {
    grid-template-rows: none;
  }
}

@media (max-width: 580px) {
  .ed-page .ed-hero > .ed-visual {
    padding: 18px;
  }
  .ed-page .ed-hero .ed-flow li {
    column-gap: 10px;
    padding-inline: 12px;
  }
  .ed-page .ed-hero .ed-flow li > b {
    grid-row: 1;
  }
  .ed-page .ed-hero .ed-flow li > span {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 7px;
  }
}
