/* Let the demonstrations carry the story. Keep their cues in the layout. */
.build__steps { flex-wrap: wrap; gap: 8px; }
.build__steps button {
  min-height: 44px; padding: 9px 15px; border: 1px solid #0a0a0b30;
  border-radius: 999px; background: transparent; color: var(--muted-ink);
  font: inherit; text-transform: inherit; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.build__steps button.on { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.build__steps button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--ink); }
.build__steps button:focus-visible { outline: 3px solid var(--pink-ink); outline-offset: 5px; }
.build .badge-burst {
  position: relative; inset: auto; display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 5px 12px; width: fit-content; max-width: 100%; aspect-ratio: auto;
  margin: 24px 0 0; padding: 10px 16px; border-radius: 12px; clip-path: none;
  background: var(--pink-ink); color: var(--white); text-align: left;
  transform-origin: left center;
}
.build .badge-burst b { font: 800 15px/1.3 var(--f-display); }
.build .badge-burst small { font: 500 12px/1.4 var(--f-display); }
.build.has-lead .badge-burst small { display: none; }
.build.has-lead .badge-burst small::after { content: none; }
.build__caption { margin: 12px 0 0; min-height: 1.6em; max-width: 100%; }
.demo-feedback { min-height: 1.5em; margin-top: 6px; }
.note.is-connected { box-shadow: 0 0 0 1px #0a0a0b35, 0 12px 24px -16px #0a0a0b50; }
.problem__pin { padding-block: 100px 60px; }
.problem__grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
.problem__copy { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); align-items: end; gap: 0 48px; }
.problem__copy > .eyebrow { grid-column: 1 / -1; }
.problem__copy .display { margin-bottom: 0; }
.problem__result { margin-bottom: 8px; max-width: 330px; }
.problem__board { aspect-ratio: auto; height: clamp(240px,23vw,320px); }
.problem__board .knot__label { top: 0; right: 0; font-size: 24px; transform: none; }
.note.is-connected { border-radius: 12px; }
.note::before { transition: opacity .25s; }
.note.is-connected::before { opacity: 0; }
.note.is-connected > span { display: grid; gap: 8px; }
.note.is-connected strong { font: 800 clamp(16px,1.5vw,21px)/1.1 var(--f-display); text-transform: none; }
.note.is-connected small { font: 500 13px/1.35 var(--f-display); text-transform: none; }
.flow-arrows { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.is-ordered .flow-arrows { opacity: 1; }
.flow-arrows > span { position: absolute; left: calc(var(--step) * 20%); top: 50%; transform: translate(-50%,-50%); z-index: 2; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--pink-ink); font: 24px/1 var(--f-display); }
.problem__board.is-static .note { left: calc((var(--flow-index) + .5) * 20%); top: 50%; right: auto; bottom: auto; transform: translate(-50%,-50%) !important; }
.problem__board.is-static .knot, .problem__board.is-static .slate { display: none; }
.problem__board.is-static .knot__label { opacity: 1; }
.problem__board.is-static .flow-arrows::before { content: ""; position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; background: var(--pink-ink); }
.knot path { stroke-width: 3; }
.shop { padding-bottom: clamp(40px, 5vw, 72px); }
.client--results { padding-top: clamp(48px, 6vw, 88px); }
.shop__copy > .partners { align-items: center; gap: 12px 18px; line-height: 1.4; }
.partners small { flex-basis: 100%; font: 11px var(--f-mono); text-transform: uppercase; letter-spacing: .1em; }
.partners span:first-of-type { color: var(--lime); }
.partners span:first-of-type::before { content: "↗ "; }
.commerce-notes { align-items: start; gap: 24px; margin: 26px 0 0; }
.commerce-notes details { border-top: 1px solid var(--line); }
.commerce-notes summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 12px 0; list-style: none; cursor: pointer;
  font-size: 16px; line-height: 1.3; font-weight: 800;
}
.commerce-notes summary::-webkit-details-marker { display: none; }
.commerce-notes summary::after { content: "+"; color: var(--lime); font: 24px/1 var(--f-mono); }
.commerce-notes details[open] summary::after { content: "−"; }
.commerce-notes summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }
.commerce-notes p { padding: 0 24px 20px 0; }
.shop .shop__payoff {
  width: 100%; margin: 20px 0 0; padding: 20px 24px; border-radius: 18px;
  grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px 16px; align-items: center;
}
.shop__payoff .story-drop { margin: 0; }
.shop__payoff a { grid-column: auto; margin: 0; min-height: 44px; display: inline-flex; align-items: center; }
body:has(dialog[open]) .cursor { visibility: hidden; }
.cart-quantity button, .cart-item__remove { width: 44px; height: 44px; }
.cart-quantity { overflow: visible; }
.cart-quantity button { border-radius: 8px; }
@media (max-width: 900px) {
  .problem__copy { display: block; }
  .problem__result { margin-top: 24px; max-width: none; }
  .problem__board { height: 500px; margin-top: 16px; }
  .problem__board .note { width: min(220px,62%); height: 76px; aspect-ratio: auto; padding: 10px; }
  .problem__board .n3, .problem__board .n5 { left: 32%; }
  .problem__board .knot__label { top: -25px; font-size: 22px; }
  .note.is-connected > span { gap: 5px; }
  .note.is-connected strong { font-size: 17px; }
  .flow-arrows > span { left: 50%; top: calc(var(--step) * 20%); transform: translate(-50%,-50%) rotate(90deg); }
  .problem__board.is-static .note { left: 50%; top: calc((var(--flow-index) + .5) * 20%); }
  .problem__board.is-static .flow-arrows::before { left: 50%; top: 10%; bottom: 10%; right: auto; width: 2px; height: auto; }
  .pdp > .commerce-notes { order: 4; }
  .shop .shop__payoff { order: 5; }
  .build__steps button { padding-inline: 12px; }
  .commerce-notes { gap: 0; }
  .shop .shop__payoff { grid-template-columns: 16px minmax(0, 1fr); padding: 18px 20px; }
  .shop__payoff a { grid-column: 2; }
  .build .badge-burst { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .build__steps button { transition: none; }
  .note::before { transition: none; }
}
