.pl-how-track {
  --pl-how-step: 65vh;
  --pl-how-top: 88px;
  --pl-how-room: 16px;
  --pl-how-fit: calc(100vh - var(--pl-how-top) - var(--pl-how-room));
  margin-top: 64px;
}
@supports (height: 1svh) {
  .pl-how-track { --pl-how-fit: calc(100svh - var(--pl-how-top) - var(--pl-how-room)); }
}
.pl-how-track.is-pinned::after {
  content: "";
  display: block;
  height: calc(5 * var(--pl-how-step));
}
.pl-how-stepper {
  --pl-how-frame: clamp(440px, 70vh, 660px);
  margin: 0;
}
.pl-how-track.is-pinned .pl-how-stepper {
  position: sticky;
  top: var(--pl-how-top);
  --pl-how-frame: min(660px, var(--pl-how-fit));
}
.pl-how-tabs {
  position: relative;
  display: flex;
  gap: 8px;
  margin: 0 calc(var(--page-pad) * -1);
  padding: 6px var(--page-pad);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pl-how-tabs::-webkit-scrollbar { display: none; }
.pl-how-tab,
.pl-how-way {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: #000;
  font: 500 13px/1 var(--font-code);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
}
.pl-how-tab:hover,
.pl-how-way:hover { border-color: #000; }
.pl-how-tab[aria-selected="true"],
.pl-how-way[aria-selected="true"] {
  background: #000;
  border-color: #000;
  color: #fff;
}
.pl-how-tab:focus,
.pl-how-way:focus,
.pl-how-arrow:focus { outline: none; }
.pl-how-tab:focus-visible,
.pl-how-way:focus-visible,
.pl-how-arrow:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 3px;
}
.pl-how-tab-title,
.pl-how-tab-text { display: none; }

.pl-how-panels { margin-top: 20px; }
.pl-how-panel[hidden],
.pl-how-view[hidden] { display: none; }
.pl-how-panel.is-fading,
.pl-how-view.is-fading { animation: pl-how-fade 0.2s ease-out; }
@keyframes pl-how-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.pl-how-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pl-how-copy h3 {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #000;
}
.pl-how-copy p {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: #000;
  max-width: 560px;
}
.pl-how-picture {
  margin-top: 18px;
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
  user-select: none;
}
.pl-how-picture img { -webkit-user-drag: none; }
.pl-how-single .pl-shot {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.pl-how-single--create { --pl-how-ratio: 0.9733; }
.pl-how-single--enter { --pl-how-ratio: 0.5836; }
.pl-how-single--watch { --pl-how-ratio: 2.2305; }
.pl-how-single--pick { --pl-how-ratio: 1.4888; }
.pl-how-single img {
  width: 100%;
  height: auto;
  max-width: calc(70vh * var(--pl-how-ratio, 1));
}
@supports (height: 1svh) {
  .pl-how-single img { max-width: calc(70svh * var(--pl-how-ratio, 1)); }
}
.pl-how-ways {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pl-how-view { margin-top: 14px; }
.pl-how-caption {
  font: 500 15px/1.4 var(--font-sans);
  letter-spacing: -0.01em;
  color: #000;
}
.pl-how-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
}
.pl-how-stack .pl-shot { max-width: 546px; }
.pl-how-stack .pl-shot--code { max-width: 240px; }

.pl-how-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.pl-how-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: #000;
  cursor: pointer;
  transition: border-color 0.15s ease-out, color 0.15s ease-out;
}
.pl-how-arrow svg {
  width: 20px;
  height: 20px;
}
.pl-how-arrow:hover { border-color: #000; }
.pl-how-arrow[aria-disabled="true"] {
  border-color: var(--border);
  color: var(--neutral-300);
  cursor: default;
}

@media (max-width: 1023px) {
  .pl-how-track.is-pinned .pl-how-panels { height: calc(var(--pl-how-fit) - 140px); }
  .pl-how-track.is-pinned .pl-how-panel:not([hidden]) {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }
  .pl-how-track.is-pinned .pl-how-copy { flex: 0 0 auto; }
  .pl-how-track.is-pinned .pl-how-picture {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }
  .pl-how-track.is-pinned .pl-how-single {
    flex: 1 1 auto;
    min-height: 0;
  }
  .pl-how-track.is-pinned .pl-how-single .pl-shot {
    height: 100%;
    align-items: center;
    justify-content: center;
  }
  .pl-how-track.is-pinned .pl-how-single img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
  }
  .pl-how-track.is-pinned .pl-how-ways { flex: 0 0 auto; }
  .pl-how-track.is-pinned .pl-how-view:not([hidden]) {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }
  .pl-how-track.is-pinned .pl-how-caption { flex: 0 0 auto; }
  .pl-how-track.is-pinned .pl-how-stack {
    flex: 1 1 auto;
    min-height: 0;
    justify-content: center;
  }
  .pl-how-track.is-pinned .pl-how-stack .pl-shot {
    flex: 0 1 auto;
    min-height: 0;
  }
  .pl-how-track.is-pinned .pl-how-stack img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }
}
@media (min-width: 1024px) {
  .pl-how-track { --pl-how-room: 24px; }
  .pl-how-stepper {
    display: grid;
    grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
  }
  .pl-how-tabs {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    border-left: 1px solid var(--border);
  }
  .pl-how-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-height: 0;
    margin-left: -1px;
    padding: 16px 0 16px 24px;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #000;
    font: 500 22px/1.15 var(--font-sans);
    letter-spacing: -0.03em;
    text-transform: none;
    text-align: left;
    white-space: normal;
    transition: border-color 0.2s ease-out;
  }
  .pl-how-tab:hover {
    border-color: transparent;
    color: var(--orange-500);
  }
  .pl-how-tab[aria-selected="true"] {
    background: transparent;
    border-color: var(--orange-500);
    color: #000;
  }
  .pl-how-tab:focus-visible {
    outline-offset: -2px;
    border-radius: 4px;
  }
  .pl-how-tab-short { display: none; }
  .pl-how-tab-title { display: block; }
  .pl-how-tab[aria-selected="true"] .pl-how-tab-text {
    display: block;
    max-width: 36ch;
    font: 500 16px/1.5 var(--font-sans);
    letter-spacing: -0.01em;
    color: #000;
  }
  .pl-how-panels {
    height: var(--pl-how-frame);
    min-width: 0;
    margin-top: 0;
  }
  .pl-how-panel { height: 100%; }
  .pl-how-copy { display: none; }
  .pl-how-picture {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    margin-top: 0;
  }
  .pl-how-single {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
  }
  .pl-how-single .pl-shot {
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  .pl-how-single img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
  }
  .pl-how-ways { justify-content: center; }
  .pl-how-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 0;
  }
  .pl-how-caption { text-align: center; }
  .pl-how-stack {
    align-items: center;
    width: 100%;
  }
  .pl-how-stack--standard { max-width: min(546px, calc((var(--pl-how-frame) - 108px) / 0.78075)); }
  .pl-how-stack--payafter { max-width: min(546px, calc((var(--pl-how-frame) - 108px) / 0.82348)); }
  .pl-how-stack--shipping { max-width: min(546px, calc((var(--pl-how-frame) - 108px) / 0.93724)); }
  .pl-how-stack--pickup {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
  }
  .pl-how-stack--pickup .pl-shot {
    flex: 1 1 auto;
    min-width: 0;
    max-width: min(546px, calc((var(--pl-how-frame) - 108px) / 0.50612));
  }
  .pl-how-stack--pickup .pl-shot--code { flex: 0 0 240px; }
  .pl-how-nav { display: none; }
}
@media (max-width: 760px) {
  .pl-how-track { margin-top: 40px; }
  .pl-how-copy h3 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-how-panel.is-fading,
  .pl-how-view.is-fading { animation: none; }
  .pl-how-tab,
  .pl-how-way,
  .pl-how-arrow { transition: none; }
}
