/* Shared step selector, Figma 1399:23971. Reuses the homepage frame and cube asset. */
.lio-feature-page .lio-workflow-section {
  --workflow-brand: #580842;
  --workflow-line: #cb0098;
  width: 100%;
  margin: 0 !important;
  padding: 120px 80px;
  border-radius: 32px 32px 0 0;
  background: #fff;
  color: var(--workflow-brand);
}
.lio-workflow-section, .lio-workflow-section * { box-sizing: border-box; }
.lio-workflow-section .lio-workflow-shell { width: 100%; max-width: 1120px; margin: 0 auto; }
.lio-workflow-section .lio-workflow-heading { width: 584px; max-width: 100%; margin: 0 auto 48px; color: var(--workflow-brand); font: 700 58px/72px 'Big Shoulders Text',sans-serif; letter-spacing: .58px; text-align: center; }
.lio-workflow-section .lio-workflow-frame { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,349fr) minmax(0,631fr); gap: 40px; align-items: center; min-height: 645px; padding: 50px; background: #fff; }
/* A continuous rail of outlined squares, matching the homepage feature frame. */
.lio-workflow-frame::before,.lio-workflow-frame::after { content: ''; position: absolute; pointer-events: none; z-index: 1; }
.lio-workflow-frame::before { inset: 0; background: repeating-linear-gradient(90deg,var(--workflow-line) 0 1px,transparent 1px 17px) top/100% 18px no-repeat,repeating-linear-gradient(90deg,var(--workflow-line) 0 1px,transparent 1px 17px) bottom/100% 18px no-repeat,repeating-linear-gradient(0deg,var(--workflow-line) 0 1px,transparent 1px 17px) left/18px 100% no-repeat,repeating-linear-gradient(0deg,var(--workflow-line) 0 1px,transparent 1px 17px) right/18px 100% no-repeat; box-shadow: inset 0 0 0 1px var(--workflow-line); }
.lio-workflow-frame::after { inset: 17px; border: 1px solid var(--workflow-line); }
.lio-workflow-cube { position: absolute; z-index: 2; width: 64px; height: 68px; pointer-events: none; background: url('feature-cube-20261120.svg') center/contain no-repeat; }
.lio-workflow-cube-top { top: -42px; right: -8px; transform: rotate(15deg); }
.lio-workflow-cube-bottom { bottom: -42px; left: 207px; transform: rotate(-15deg); }
.lio-workflow-navigation { display: flex; flex-direction: column; justify-content: center; gap: 40px; width: 100%; min-width: 0; }
.lio-workflow-item { width: 100%; margin: 0; }
.lio-workflow-section .lio-workflow-step-heading { margin: 0; padding: 0; color: var(--workflow-brand); font: 800 20px/24px 'Big Shoulders',sans-serif; letter-spacing: 0; }
.lio-workflow-trigger { display: block; width: 100%; min-height: 24px; border: 0; padding: 0; border-radius: 0; color: inherit; background: transparent; font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
.lio-workflow-trigger:hover { color: #a5007c; }
.lio-workflow-trigger:focus-visible { outline: 2px solid var(--workflow-line); outline-offset: 6px; border-radius: 2px; }
.lio-workflow-description { margin: 10px 0 0; color: var(--workflow-brand); font: 400 14px/24px 'Poppins',sans-serif; letter-spacing: 0; }
.lio-workflow-section .lio-workflow-description p { width: auto; min-width: 0; margin: 0; color: inherit; font: inherit; letter-spacing: inherit; }
.lio-workflow-description p + p { margin-top: 10px !important; }
.lio-workflow-progress { height: 5px; margin-top: 10px; border-radius: 26px; background: #ffd9f5; overflow: hidden; }
.lio-workflow-progress span { display: block; width: 100%; height: 100%; border-radius: inherit; background: #850060; transform: scaleX(var(--workflow-progress,.193)); transform-origin: left; }
.lio-workflow-panels { width: 100%; min-width: 0; }
.lio-workflow-panel { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; aspect-ratio: 631/545; overflow: hidden; border-radius: 36px; background: #fff0fb; }
.lio-workflow-panel + .lio-workflow-panel { margin-top: 32px; }
.lio-workflow-section .lio-workflow-artwork { width: 100%; margin: 0; line-height: 0; }
.lio-workflow-artwork img { display: block; width: 100%; height: auto; aspect-ratio: 631/545; }
.lio-workflow-panel .lfp-preview { margin: 0 !important; }
.lio-workflow-panel.has-motif { background-color: #fff0fb; }
.lio-workflow-panel .lfp-step-motif { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; width: 70%; max-width: 100%; min-height: 0; height: auto; padding: 40px; border-radius: 24px; }
.lio-workflow-panel .lfp-step-motif > :first-child { max-width: 100%; margin: 0; font: 500 14px/24px 'Poppins',sans-serif; text-align: center; }
.lio-workflow-panel .lfp-step-motif > :last-child { margin: 0; font: 700 80px/1 'Big Shoulders Text',sans-serif; text-align: center; }
.lio-workflow-frame.is-enhanced .lio-workflow-item:not(.is-active) .lio-workflow-description,.lio-workflow-frame.is-enhanced .lio-workflow-item:not(.is-active) .lio-workflow-progress { display: none; }
.lio-workflow-frame.is-enhanced .lio-workflow-panel[hidden] { display: none; }
.lio-workflow-frame.is-enhanced .lio-workflow-panel { margin: 0; }
@media(min-width:1001px) { .lio-workflow-panel { min-height: 545px; } }
@media(max-width:1000px) {
  .lio-feature-page .lio-workflow-section { padding: 88px 48px 100px; }
  .lio-workflow-section .lio-workflow-frame { padding: 38px; gap: 28px; min-height: 0; grid-template-columns: minmax(0,36fr) minmax(0,64fr); }
  .lio-workflow-cube-bottom { left: 18%; }
}
@media(max-width:700px) {
  .lio-feature-page .lio-workflow-section { padding: 64px 20px 84px; }
  .lio-workflow-section .lio-workflow-heading { margin-bottom: 40px; font-size: 40px; line-height: 48px; letter-spacing: .4px; }
  .lio-workflow-section .lio-workflow-frame { display: flex; flex-direction: column; align-items: stretch; gap: 28px; padding: 32px; }
  .lio-workflow-navigation { gap: 24px; }
  .lio-workflow-trigger { min-height: 44px; padding-block: 10px; }
  .lio-workflow-description { margin-top: 0; }
  .lio-workflow-cube { width: 40px; height: 43px; }
  .lio-workflow-cube-top { top: -27px; right: 0; }
  .lio-workflow-cube-bottom { bottom: -27px; }
  .lio-workflow-panel { border-radius: 20px; }
  .lio-workflow-panel .lfp-step-motif { width: 80%; padding: 24px; }
}
