/* Home section 3 visuals (Riley, 2026-10-28): a solution and its code; three different real layouts with one current
   (2026-10-29); an existing layout and its migrated layout. Each is small artwork on its card, without a window frame. Layouts use
   layout-drawing.css. The markup comes from tools/product_visuals.py and holds the final frame;
   components/home-benefits.js plays one sequence on pointer entry (or once in view on touch screens). */
@layer pages {
  .ix-hb-visual{position:relative;height:176px;display:flex;align-items:center;justify-content:center;}
  .ix-hb-svg{display:block;width:100%;height:100%;overflow:visible;}

  /* Develop Faster: the block schematic beside its code; stacked where the card is narrow. */
  /* The card is the query container, so the visual can change its own direction. */
  #benefits .ix-tool-card{container:ix-hb / inline-size;}
  .ix-hb-faster{gap:12px;}
  .ix-hb-sch{flex:none;width:160px;height:84px;overflow:visible;}
  .ix-hb-sch .ix-hb-net{fill:none;stroke:#6f8596;stroke-width:1;stroke-linecap:square;}
  .ix-hb-sch .ix-hb-pair{stroke:#8ea4b5;}
  .ix-hb-sch .ix-hb-key{fill:#0b141d;stroke:#a9bccb;stroke-width:1;}
  .ix-hb-sch .ix-hb-body{fill:#0d1823;stroke:#b6c8d5;stroke-width:1;}
  .ix-hb-sch .ix-hb-inset{fill:none;stroke:rgba(182,200,213,.16);stroke-width:1;}
  .ix-hb-sch .ix-hb-pin{fill:none;stroke:#93a7b6;stroke-width:1;}
  .ix-hb-sch .ix-hb-pin1{fill:#93a7b6;}
  .ix-hb-sch .ix-hb-port{fill:none;stroke:#b6c8d5;stroke-width:1;}
  .ix-hb-sch text{font:500 14px/1 var(--ix-mono);fill:#dbe4ea;letter-spacing:0;}
  .ix-hb-code{flex:none;padding:8px 0;background:#0b1117;border:1px solid rgba(214,228,240,.13);}
  .ix-hb-ln{height:20px;line-height:20px;padding:0 10px;font:400 14px/20px var(--ix-mono);color:#d4dde4;white-space:pre;}
  .ix-hb-ln b{font-weight:inherit;}
  .ix-hb-ln .k{color:#7fb9e6;}
  .ix-hb-ln .f{color:#f6f9fb;}
  @container ix-hb (width < 356px){.ix-hb-faster{flex-direction:column;gap:8px;}}

  /* Explore More Possibilities (Riley, 2026-10-29): three different open-hardware KiCad boards (tools/boards) at one
     scale, without frames. The other boards stay quiet in neutral copper; the current board carries the blue. */
  .ix-hb-board{opacity:.55;}
  .ix-hb-board.is-picked{opacity:1;}

  /* Iterate with Less Effort: the existing layout stays quieter than the migrated one. The moving copies carry no
     copper; dashed straight guides (the ratsnest) follow them and give way to the routed tracks. */
  .ix-lrm-old{opacity:.6;}
  .ix-lrm-ghost{display:none;}
  .ix-lrm-ghost.is-moving{display:inline;}
  .ix-lrm-rats{display:none;}
  .ix-lrm-rats.is-on{display:inline;}
  .ix-lrm-rats path{fill:none;stroke:rgba(226,235,242,.6);stroke-width:1px;vector-effect:non-scaling-stroke;stroke-dasharray:3 3;}
}
