/* The home signature visual explains an example handoff, not a product screen. */
.system-explorer {
  container-type: inline-size;
  position: relative;
  isolation: isolate;
  min-width: 0;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background-color: var(--surface);
  background-image: linear-gradient(color-mix(in srgb, var(--brand-blue) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--brand-blue) 5%, transparent) 1px, transparent 1px);
  background-size: 32px 32px;
  box-shadow: 0 24px 60px color-mix(in srgb, var(--brand-blue-dark) 8%, transparent);
}
.explorer-heading { margin-bottom: 21px; }
.explorer-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--brand-blue-dark); font: 750 12px/1.4 var(--font-display); letter-spacing: .07em; text-transform: uppercase; }
.explorer-eyebrow > span { width: 7px; height: 7px; background: var(--brand-orange); }
.explorer-heading > strong { display: block; font: 700 clamp(23px, 2.3vw, 30px)/1.2 var(--font-display); letter-spacing: -.035em; }
.explorer-controls-slot { min-height: 44px; margin-bottom: 23px; }
.explorer-controls { display: flex; flex-wrap: wrap; gap: 6px; }
.explorer-choice { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 1; min-width: 0; min-height: 44px; padding: 9px 10px; border: 1px solid var(--control-border); border-radius: 8px; color: var(--brand-blue-dark); background: var(--white); font: 700 13px/1.25 var(--font-display); cursor: pointer; transition: color var(--motion-fast) var(--motion-ease), background var(--motion-fast) var(--motion-ease), border-color var(--motion-fast) var(--motion-ease); }
.explorer-choice[aria-pressed="true"] { color: var(--white); background: var(--brand-blue-dark); border-color: var(--brand-blue-dark); }
.explorer-choice-check { width: 11px; visibility: hidden; flex: none; }
.explorer-choice[aria-pressed="true"] .explorer-choice-check { visibility: visible; }
.explorer-choice:focus-visible { position: relative; z-index: 1; outline: 3px solid var(--focus-orange); outline-offset: 3px; }
.explorer-choice:active { background: var(--brand-blue); border-color: var(--brand-blue); color: var(--white); }
.explorer-choice:disabled { opacity: .6; cursor: not-allowed; }
.explorer-static-label { margin: 0; padding-block: 10px; color: var(--muted); font-size: 15px; }
.explorer-diagram { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1.35fr) 24px minmax(0, 1fr); align-items: center; padding-block: 6px 26px; }
.explorer-node { min-width: 0; padding: 20px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--white); }
.explorer-source, .explorer-result { min-height: 196px; }
.explorer-node-icon { display: block; width: 35px; height: 35px; margin-bottom: 17px; color: var(--brand-blue); }
.explorer-node-icon svg { display: block; width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.explorer-stage { display: block; min-height: 30px; margin-bottom: 4px; color: var(--muted); font: 600 12px/1.2 var(--font-display); }
.explorer-node strong { display: block; min-height: 44px; font: 750 17px/1.25 var(--font-display); letter-spacing: -.03em; overflow-wrap: anywhere; }
.explorer-node small { display: block; min-height: 34px; margin-top: 7px; color: var(--muted); font: 400 13px/1.3 var(--font-body); }
.explorer-hub { position: relative; padding: 25px 14px 24px; border: 2px solid var(--brand-blue); box-shadow: 0 8px 0 -3px var(--surface), 0 9px 0 -3px var(--brand-blue), 0 18px 30px color-mix(in srgb, var(--brand-blue-dark) 9%, transparent); }
.explorer-hub-mark { display: flex; align-items: center; min-height: 38px; margin-bottom: 24px; }
.explorer-hub-mark img { display: block; width: 90px; height: auto; }
.explorer-hub .explorer-stage { min-height: auto; color: var(--brand-blue-dark); }
.explorer-hub strong { font-size: 18px; }
.explorer-hub-ports { display: flex; gap: 5px; margin-top: 12px; }
.explorer-hub-ports i { width: 6px; height: 6px; border: 1px solid var(--brand-blue); }
.explorer-hub-ports i:first-child { border-color: var(--brand-orange); background: var(--brand-orange); }
.explorer-connector { display: block; color: var(--brand-blue); }
.explorer-connector svg { display: block; width: 100%; height: auto; overflow: visible; }
.explorer-connector path { stroke: currentColor; stroke-width: 1.5; }
.explorer-packet { fill: var(--brand-orange); opacity: 0; }
.system-explorer.is-flowing .explorer-packet { animation: explorer-transfer var(--motion-flow) var(--motion-ease) 1 both; }
.system-explorer.is-flowing .explorer-connector-out .explorer-packet { animation-delay: calc(var(--motion-flow) * .4); }
.explorer-summary { display: grid; padding: 20px 0 0; border-top: 1px solid var(--control-border); }
.explorer-summary-panel { grid-area: 1 / 1; min-width: 0; visibility: hidden; }
.explorer-summary-panel.is-current { visibility: visible; }
.explorer-summary strong { display: block; margin-bottom: 6px; font: 750 16px/1.4 var(--font-display); letter-spacing: -.02em; }
.explorer-summary p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.explorer-footnote { margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.explorer-announcement { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@keyframes explorer-transfer { 0% { opacity: 0; transform: translateX(0); } 18% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(24px); } }
@media (hover: hover) {
  .explorer-choice:not(:disabled):hover { color: var(--brand-blue-dark); background: var(--surface); border-color: var(--brand-blue); }
  .explorer-choice[aria-pressed="true"]:not(:disabled):hover { color: var(--white); background: var(--brand-blue); }
}
@container (max-width: 420px) {
  .explorer-diagram { grid-template-columns: minmax(0, 1fr); justify-items: stretch; padding-top: 0; }
  .explorer-node { display: flex; align-items: center; gap: 18px; min-height: 92px; padding: 15px 18px; }
  .explorer-node-icon { flex: none; width: 34px; height: 34px; margin: 0; }
  .explorer-node-copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 8px; flex: 1; min-width: 0; }
  .explorer-stage { grid-column: 1 / -1; min-height: auto; margin-bottom: 5px; font-size: 12px; }
  .explorer-node strong { min-height: auto; font-size: 17px; }
  .explorer-node small { min-height: auto; max-width: 92px; margin: 0; font-size: 13px; text-align: right; }
  .explorer-hub { min-height: 98px; box-shadow: 4px 4px 0 -1px var(--surface), 5px 5px 0 -1px var(--brand-blue); }
  .explorer-hub-mark { flex: none; width: 48px; min-height: 0; margin: 0; }
  .explorer-hub-mark img { width: 48px; }
  .explorer-hub-ports { display: none; }
  .explorer-connector { width: 24px; height: 26px; margin-inline: auto; }
  .explorer-connector svg { width: 24px; margin-top: 7px; transform: rotate(90deg); }
}
@container (max-width: 285px) {
  .explorer-choice { padding-inline: 6px; font-size: 12px; }
  .explorer-choice-check { display: none; }
  .explorer-node { gap: 12px; padding-inline: 12px; }
  .explorer-node-copy { display: block; }
  .explorer-node small { max-width: none; margin-top: 3px; text-align: left; }
}
@media (max-width: 640px) {
  .system-explorer { padding: 22px 18px; }
  .explorer-heading { margin-bottom: 18px; }
  .explorer-heading > strong { font-size: 25px; }
  .explorer-controls-slot { margin-bottom: 20px; }
}
/* Four examples do not fit one row on narrow phones; reserve both rows before the script reveals them. */
@media (max-width: 480px) {
  .explorer-controls-slot { min-height: 94px; }
  .explorer-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .explorer-choice { transition: none; }
  .system-explorer.is-flowing .explorer-packet { animation: none; }
}
@media (forced-colors: active) {
  .system-explorer, .explorer-node, .explorer-choice { border-color: CanvasText; }
  .explorer-choice[aria-pressed="true"] { color: HighlightText; background: Highlight; border-color: Highlight; forced-color-adjust: none; }
  .explorer-choice:focus-visible { outline-color: Highlight; }
  .explorer-hub { box-shadow: none; }
  .explorer-connector { color: CanvasText; }
}
