/* Ecosystem product scenes. This sheet owns the cards; the main sheet owns the dialog. */
.shareai-homepage #ecosystem .sai-ecosystem-cards {
  --sai-product-surface: light-dark(#fff, #252523);
  --sai-product-raised: light-dark(#fff, #30302d);
  --sai-product-quiet: light-dark(#faf8f5, #2d2d29);
  --sai-product-ink: light-dark(#182135, #f0ede6);
  --sai-product-muted: light-dark(#697080, #b5b3aa);
  --sai-product-line: light-dark(rgb(38 46 63 / .1), rgb(255 255 255 / .12));
  --sai-product-accent: light-dark(#d04b12, #ffb07a);
  --sai-product-positive: light-dark(#167354, #95d7b4);
  --sai-product-shadow: 0 24px 44px -16px light-dark(rgb(99 45 19 / .25), rgb(0 0 0 / .55)), 0 3px 10px light-dark(rgb(63 36 20 / .04), rgb(0 0 0 / .12));
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.shareai-homepage #ecosystem .sai-ecosystem-pair {
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}
.shareai-homepage #ecosystem .sai-ecosystem-pair--1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.shareai-homepage #ecosystem .sai-business-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 610px;
  padding: 0;
  gap: 0;
  overflow: hidden;
  border: 1px solid light-dark(#f0ded0, #4c4b45);
  border-radius: 18px;
  background: light-dark(#fffcf9, #30302e);
  box-shadow: 0 12px 30px light-dark(rgb(79 47 29 / .03), rgb(0 0 0 / .1));
  isolation: isolate;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
.shareai-homepage #ecosystem .sai-business-card::before { display: none; }
.shareai-homepage #ecosystem .sai-business-card:is(:hover, :focus-visible) {
  transform: none;
  background: light-dark(#fffcf9, #30302e);
  border-color: var(--sai-product-accent);
  box-shadow: 0 16px 40px light-dark(rgb(107 46 13 / .1), rgb(0 0 0 / .2));
}
.shareai-homepage #ecosystem .sai-business-card > em { top: 22px; left: 28px; z-index: 2; padding: 5px 8px; border: 1px solid light-dark(#f0d8c4, #675040); border-radius: 7px; color: var(--sai-product-accent); font-size: 10px; font-style: normal; font-weight: 600; }
.shareai-homepage #ecosystem .sai-business-card__expand { top: 20px; right: 24px; width: 44px; height: 44px; }
.shareai-homepage #ecosystem .sai-business-card__copy {
  position: relative;
  z-index: 2;
  padding: 82px 32px 0;
}
.shareai-homepage #ecosystem .sai-business-card__copy h3 {
  margin: 0 0 14px;
  color: var(--sai-product-ink);
  font-size: clamp(24px, 2.1vw, 30px);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -.045em;
}
.shareai-homepage #ecosystem .sai-business-card__copy p {
  max-width: 410px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: light-dark(#5b6475, #c5c1b8);
}
.shareai-homepage #ecosystem .sai-business-card--inference .sai-business-card__copy { padding-inline: 26px; }

/* Both cards reveal one row-wide triangle. The right crop is anchored to the same
   right edge, so even the gap and responsive column ratios remain accounted for. */
.shareai-homepage #ecosystem .sai-business-card > .sai-card-membrane {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 30%, #000 49%);
}
.shareai-homepage #ecosystem .sai-card-membrane__canvas {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  width: calc(100cqw - 2px);
  max-width: none;
  height: 100%;
}
.shareai-homepage #ecosystem .sai-business-card:nth-child(2) .sai-card-membrane__canvas { left: auto; right: 0; }
.shareai-homepage #ecosystem .sai-ecosystem-pair--2 .sai-card-membrane__canvas { transform: scaleX(-1); }
.shareai-homepage #ecosystem .sai-card-membrane__hot { stop-color: light-dark(#ff8e41, #f77836); stop-opacity: .85; }
.shareai-homepage #ecosystem .sai-card-membrane__warm { stop-color: light-dark(#ffac68, #ba592d); stop-opacity: .62; }
.shareai-homepage #ecosystem .sai-card-membrane__fade { stop-color: light-dark(#ffd9ae, #753e2a); stop-opacity: .18; }
.shareai-homepage #ecosystem .sai-card-membrane__layers { stroke-width: 2.2; opacity: .6; }
.shareai-homepage #ecosystem .sai-card-membrane__layers path:nth-child(3n) { stroke-width: 5; opacity: .35; }

/* Enhanced geometry crops one continuous canvas through the complete grid. */
.shareai-homepage #ecosystem .sai-ecosystem-cards.is-membrane-connected .sai-card-membrane {
  mask-image: linear-gradient(180deg, transparent var(--sai-membrane-fade-start), #000 var(--sai-membrane-fade-end));
}
.shareai-homepage #ecosystem .sai-ecosystem-cards.is-membrane-connected .sai-card-membrane__canvas {
  inset: var(--sai-membrane-y) auto auto var(--sai-membrane-x);
  width: var(--sai-membrane-width);
  height: var(--sai-membrane-height);
  transform: none;
}
.shareai-homepage #ecosystem .sai-ecosystem-cards.is-membrane-connected .sai-business-card__copy::before {
  content: '';
  position: absolute;
  inset: 72px 10px -18px;
  z-index: -1;
  pointer-events: none;
  background: light-dark(rgb(255 252 249 / .94), rgb(48 48 46 / .94));
  filter: blur(20px);
}
.shareai-homepage #ecosystem .sai-ecosystem-cards.is-membrane-connected .sai-ecosystem-pair--1 .sai-business-card__copy::before { content: none; }
.shareai-homepage #ecosystem .sai-ecosystem-cards.is-membrane-connected .sai-business-card__expand,
.shareai-homepage #ecosystem .sai-ecosystem-cards.is-membrane-connected .sai-business-card > em {
  color: var(--sai-product-accent);
  background: var(--sai-product-raised);
}
.shareai-homepage #ecosystem .sai-ecosystem-cards.is-membrane-connected .sai-business-card:is(:hover, :focus-visible) .sai-business-card__expand {
  color: #fff;
  background: linear-gradient(135deg, #ff7625, #ec4800);
}

.shareai-homepage #ecosystem .sai-product-scene {
  position: relative;
  z-index: 1;
  flex: 1 0 350px;
  min-height: 350px;
  width: 100%;
  padding: 0;
  margin-top: 24px;
  color: var(--sai-product-ink);
  font-size: 11px;
  line-height: 1.4;
  pointer-events: none;
  user-select: none;
}
.shareai-homepage #ecosystem .sai-product-scene .sai-hp-icon { flex: 0 0 18px; width: 18px; height: 18px; }
.shareai-homepage #ecosystem .sai-product-window {
  overflow: hidden;
  border: 1px solid var(--sai-product-line);
  border-radius: 12px;
  background: var(--sai-product-surface);
  box-shadow: var(--sai-product-shadow);
  transition: translate 350ms cubic-bezier(.2,.75,.2,1);
}
.shareai-homepage #ecosystem .sai-business-card:is(:hover, :focus-visible) .sai-product-window { translate: 0 -5px; }
.shareai-homepage #ecosystem .sai-product-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 43px;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--sai-product-line);
  font-size: 10px;
  font-weight: 600;
}
.shareai-homepage #ecosystem .sai-product-chrome > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.shareai-homepage #ecosystem .sai-product-chrome .sai-hp-icon { color: var(--sai-product-accent); width: 16px; height: 16px; flex-basis: 16px; }
.shareai-homepage #ecosystem .sai-product-dots { color: var(--sai-product-muted); letter-spacing: 2px; }
.shareai-homepage #ecosystem .sai-product-caption { display: block; color: var(--sai-product-muted); font-size: 10px; }
.shareai-homepage #ecosystem .sai-product-positive { color: var(--sai-product-positive); }
.shareai-homepage #ecosystem .sai-product-status-dot { display: inline-block; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--sai-product-positive); }
.shareai-homepage #ecosystem .sai-product-toast {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100% - 40px);
  padding: 14px 18px;
  border: 1px solid var(--sai-product-line);
  border-radius: 12px;
  background: var(--sai-product-raised);
  box-shadow: var(--sai-product-shadow);
  font-size: 11px;
  font-weight: 600;
}
.shareai-homepage #ecosystem .sai-product-toast > i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: light-dark(#eaf5ee, #314238); color: var(--sai-product-positive); }
.shareai-homepage #ecosystem .sai-product-toast small { display: block; margin-top: 3px; color: var(--sai-product-muted); font-size: 9px; font-weight: 400; }

/* Wallet: a branded balance tile, a transaction ledger and settlement. */
.shareai-homepage #ecosystem .sai-product-scene--wallet { min-height: 370px; }
.shareai-homepage #ecosystem .sai-wallet-board { position: absolute; top: 6px; right: 28px; width: 65%; max-width: 480px; }
.shareai-homepage #ecosystem .sai-wallet-board__balance { padding: 20px 22px 14px; }
.shareai-homepage #ecosystem .sai-wallet-board__balance > span { color: var(--sai-product-muted); font-size: 10px; }
.shareai-homepage #ecosystem .sai-wallet-board__balance strong { display: block; margin: 5px 0; font-size: 33px; line-height: 1.1; letter-spacing: -.055em; font-weight: 600; }
.shareai-homepage #ecosystem .sai-wallet-board__balance strong span { color: var(--sai-product-muted); }
.shareai-homepage #ecosystem .sai-wallet-board__balance small { font-size: 9px; color: var(--sai-product-muted); }
.shareai-homepage #ecosystem .sai-wallet-board__allocation { display: flex; gap: 3px; height: 5px; margin: 0 22px; overflow: hidden; border-radius: 4px; }
.shareai-homepage #ecosystem .sai-wallet-board__allocation i { width: 53%; background: #f57332; }
.shareai-homepage #ecosystem .sai-wallet-board__allocation i:nth-child(2) { width: 29%; background: #ffb57f; }
.shareai-homepage #ecosystem .sai-wallet-board__allocation i:nth-child(3) { width: 18%; background: #a99b88; }
.shareai-homepage #ecosystem .sai-wallet-board__legend { display: flex; gap: 16px; margin: 9px 22px 15px; color: var(--sai-product-muted); font-size: 8px; }
.shareai-homepage #ecosystem .sai-product-ledger { padding: 0 20px 10px; }
.shareai-homepage #ecosystem .sai-product-ledger > div { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-top: 1px solid var(--sai-product-line); }
.shareai-homepage #ecosystem .sai-product-ledger i { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 7px; background: var(--sai-product-quiet); color: var(--sai-product-accent); }
.shareai-homepage #ecosystem .sai-product-ledger i .sai-hp-icon { width: 14px; height: 14px; }
.shareai-homepage #ecosystem .sai-product-ledger span { font-size: 10px; }
.shareai-homepage #ecosystem .sai-product-ledger small { display: block; margin-top: 2px; font-size: 8px; color: var(--sai-product-muted); }
.shareai-homepage #ecosystem .sai-product-ledger b { margin-left: auto; font-size: 10px; font-weight: 600; }
.shareai-homepage #ecosystem .sai-wallet-pass { position: absolute; left: 28px; top: 85px; width: 192px; padding: 20px; border: 1px solid #ffbe89; border-radius: 14px; background: linear-gradient(125deg, #ffe2bf, #ffac6e 44%, #f7712e); color: #51270f; box-shadow: 0 22px 40px -14px #431d1266; transform: rotate(-8deg); }
.shareai-homepage #ecosystem .sai-wallet-pass__brand { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.shareai-homepage #ecosystem .sai-wallet-pass__network { display: grid; place-items: center; width: 30px; height: 25px; margin: 24px 0 16px; }
.shareai-homepage #ecosystem .sai-wallet-pass__network .sai-hp-icon { width: 26px; height: 26px; }
.shareai-homepage #ecosystem .sai-wallet-pass strong { font-size: 23px; line-height: 1.08; font-weight: 600; letter-spacing: -.05em; }
.shareai-homepage #ecosystem .sai-wallet-pass > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 25px; font-size: 7px; letter-spacing: .08em; }
.shareai-homepage #ecosystem .sai-wallet-settlement { right: 18px; bottom: 17px; }

/* Inference: the request receipt and its metered earnings. */
.shareai-homepage #ecosystem .sai-product-scene--inference { display: flex; flex-direction: column; justify-content: center; flex-basis: 424px; min-height: 424px; gap: 14px; padding: 6px 24px 32px; }
.shareai-homepage #ecosystem .sai-product-scene--inference .sai-product-window { flex-shrink: 0; }
.shareai-homepage #ecosystem .sai-inference-receipt .sai-product-caption { margin: 18px 18px 3px; }
.shareai-homepage #ecosystem .sai-product-amount { display: block; margin: 0 18px 18px; color: var(--sai-product-accent); font-size: 38px; font-weight: 600; letter-spacing: -.055em; }
.shareai-homepage #ecosystem .sai-inference-receipt__detail { display: flex; justify-content: space-between; gap: 8px; padding: 0 18px 15px; color: var(--sai-product-muted); font-size: 9px; }
.shareai-homepage #ecosystem .sai-inference-receipt__detail b { color: var(--sai-product-ink); }
.shareai-homepage #ecosystem .sai-inference-receipt__settled { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px dashed var(--sai-product-line); padding: 12px 18px; color: var(--sai-product-positive); font-size: 9px; }
.shareai-homepage #ecosystem .sai-inference-receipt__settled .sai-hp-icon { width: 14px; height: 14px; flex-basis: 14px; }
.shareai-homepage #ecosystem .sai-inference-chart { padding: 15px 18px 10px; }
.shareai-homepage #ecosystem .sai-product-chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; font-size: 10px; }
.shareai-homepage #ecosystem .sai-inference-chart > svg { display: block; width: 100%; height: 72px; overflow: visible; }
.shareai-homepage #ecosystem .sai-product-chart-grid { fill: none; stroke: var(--sai-product-line); stroke-width: .6; }
.shareai-homepage #ecosystem .sai-product-chart-bars { fill: var(--sai-product-accent); }
.shareai-homepage #ecosystem .sai-product-chart-bars rect:nth-child(3n) { opacity: .5; }
.shareai-homepage #ecosystem .sai-product-chart-axis { display: flex; justify-content: space-between; margin-top: 9px; color: var(--sai-product-muted); font-size: 7px; }

/* Compute: individual server units feeding a capacity monitor. */
.shareai-homepage #ecosystem .sai-product-connections { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--sai-product-accent); stroke-width: 1; stroke-dasharray: 4 6; opacity: .7; }
.shareai-homepage #ecosystem .sai-compute-rack { position: absolute; top: 54px; left: 28px; width: 46%; max-width: 238px; transform: perspective(800px) rotateY(-18deg) rotateX(12deg); }
.shareai-homepage #ecosystem .sai-compute-rack__label { display: block; margin: 0 0 14px 4px; color: var(--sai-product-muted); font-size: 8px; letter-spacing: .1em; }
.shareai-homepage #ecosystem .sai-compute-rack__unit { display: flex; align-items: center; gap: 14px; height: 58px; margin-bottom: 8px; padding: 12px 16px; border: 1px solid light-dark(#dccbbb, #666157); border-radius: 9px; background: linear-gradient(130deg, light-dark(#fffdfa, #4e4c45), light-dark(#e5dace, #252522)); box-shadow: 0 5px 0 light-dark(#d0bba7, #1d1e1c), 0 12px 18px #0002; }
.shareai-homepage #ecosystem .sai-compute-rack__vents { width: 48%; height: 25px; background: repeating-linear-gradient(90deg, light-dark(#b9ab9d, #121310) 0 2px, transparent 2px 5px); border-radius: 3px; }
.shareai-homepage #ecosystem .sai-compute-rack__unit b { font-size: 10px; white-space: nowrap; }
.shareai-homepage #ecosystem .sai-compute-rack__unit small { color: var(--sai-product-muted); font-size: 9px; }
.shareai-homepage #ecosystem .sai-compute-rack__unit i { width: 5px; height: 5px; margin-left: auto; border-radius: 50%; background: #ffac70; box-shadow: 0 0 9px #ff9644; }
.shareai-homepage #ecosystem .sai-compute-rack__base { display: block; height: 20px; margin-top: 18px; background: #0002; border-radius: 50%; filter: blur(6px); }
.shareai-homepage #ecosystem .sai-compute-monitor { position: absolute; top: 16px; right: 24px; width: 48%; max-width: 258px; }
.shareai-homepage #ecosystem .sai-compute-monitor__metric { display: flex; flex-direction: column; gap: 5px; padding: 18px 18px 10px; color: var(--sai-product-muted); font-size: 10px; }
.shareai-homepage #ecosystem .sai-compute-monitor__metric strong { font-size: 40px; font-weight: 500; line-height: 1.1; letter-spacing: -.05em; color: var(--sai-product-ink); }
.shareai-homepage #ecosystem .sai-compute-monitor__metric small { font-size: 20px; }
.shareai-homepage #ecosystem .sai-compute-meter { display: flex; gap: 3px; margin: 8px 18px 16px; }
.shareai-homepage #ecosystem .sai-compute-meter i { flex: 1; height: 24px; border-radius: 2px; background: var(--sai-product-line); }
.shareai-homepage #ecosystem .sai-compute-meter .is-filled { background: var(--sai-product-accent); }
.shareai-homepage #ecosystem .sai-compute-monitor__footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 10px 18px 14px; border-top: 1px solid var(--sai-product-line); font-size: 8px; color: var(--sai-product-muted); }
.shareai-homepage #ecosystem .sai-compute-monitor__footer b { color: var(--sai-product-positive); font-weight: 500; }
.shareai-homepage #ecosystem .sai-compute-match { right: 26px; bottom: 42px; }

/* Marketplace: discoverable, priced services with a publish confirmation. */
.shareai-homepage #ecosystem .sai-product-scene.sai-product-scene--services { flex-basis: 420px; min-height: 420px; }
.shareai-homepage #ecosystem .sai-marketplace-board { position: absolute; top: 10px; left: 32px; right: 32px; }
.shareai-homepage #ecosystem .sai-marketplace-board__intro { padding: 20px 20px 0; }
.shareai-homepage #ecosystem .sai-marketplace-board__intro > strong { font-size: 17px; font-weight: 500; letter-spacing: -.03em; }
.shareai-homepage #ecosystem .sai-marketplace-board__intro > div { display: flex; gap: 18px; margin-top: 16px; padding-bottom: 10px; font-size: 9px; border-bottom: 1px solid var(--sai-product-line); color: var(--sai-product-muted); }
.shareai-homepage #ecosystem .sai-marketplace-board__intro > div span:first-child { color: var(--sai-product-accent); }
.shareai-homepage #ecosystem .sai-marketplace-list { padding: 0 20px 16px; }
.shareai-homepage #ecosystem .sai-marketplace-list > div { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--sai-product-line); }
.shareai-homepage #ecosystem .sai-marketplace-list > div:last-child { border: 0; }
.shareai-homepage #ecosystem .sai-marketplace-list i { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid var(--sai-product-line); border-radius: 9px; color: var(--sai-product-accent); background: var(--sai-product-quiet); }
.shareai-homepage #ecosystem .sai-marketplace-list small { display: block; margin-top: 3px; color: var(--sai-product-muted); font-size: 8px; font-weight: 400; }
.shareai-homepage #ecosystem .sai-marketplace-list b { margin-left: auto; font-size: 11px; font-weight: 500; text-align: right; white-space: nowrap; }
.shareai-homepage #ecosystem .sai-marketplace-published { right: 20px; bottom: 18px; }

/* Subscriptions: a recurring plan and a reconciled invoice. */
.shareai-homepage #ecosystem .sai-subscription-plan { position: absolute; top: 4px; left: 30px; width: 55%; max-width: 290px; }
.shareai-homepage #ecosystem .sai-subscription-plan__body { padding: 18px; }
.shareai-homepage #ecosystem .sai-subscription-plan__body > strong { display: block; margin-top: 6px; font-size: 30px; font-weight: 600; letter-spacing: -.05em; }
.shareai-homepage #ecosystem .sai-subscription-plan__body > strong small { color: var(--sai-product-muted); font-size: 9px; letter-spacing: 0; font-weight: 400; }
.shareai-homepage #ecosystem .sai-subscription-plan__model { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 8px; }
.shareai-homepage #ecosystem .sai-subscription-plan__model span { padding: 5px 8px; border-radius: 4px; color: var(--sai-product-accent); background: light-dark(#fff0e4, #46392d); }
.shareai-homepage #ecosystem .sai-subscription-plan__model b { font-weight: 400; color: var(--sai-product-muted); }
.shareai-homepage #ecosystem .sai-subscription-plan ul { list-style: none; display: grid; gap: 9px; padding: 0; margin: 20px 0; }
.shareai-homepage #ecosystem .sai-subscription-plan li { display: flex; align-items: center; gap: 7px; font-size: 9px; color: var(--sai-product-muted); }
.shareai-homepage #ecosystem .sai-subscription-plan li .sai-hp-icon { width: 12px; height: 12px; flex-basis: 12px; color: var(--sai-product-accent); }
.shareai-homepage #ecosystem .sai-subscription-plan__active { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 6px; background: var(--sai-product-quiet); border: 1px solid var(--sai-product-line); border-radius: 5px; font-size: 8px; }
.shareai-homepage #ecosystem .sai-subscription-invoice { position: absolute; top: 101px; right: 25px; width: 48%; max-width: 242px; background: var(--sai-product-raised); }
.shareai-homepage #ecosystem .sai-product-paid { color: var(--sai-product-positive); font-size: 8px; padding: 3px 6px; border-radius: 4px; background: light-dark(#eaf5ee, #304337); }
.shareai-homepage #ecosystem .sai-subscription-invoice > .sai-product-caption { margin: 17px 16px 4px; }
.shareai-homepage #ecosystem .sai-subscription-invoice > strong { display: block; margin: 0 16px 20px; font-size: 26px; line-height: 1.15; letter-spacing: -.05em; font-weight: 500; }
.shareai-homepage #ecosystem .sai-subscription-invoice > div:not(.sai-product-chrome) { display: flex; justify-content: space-between; gap: 6px; margin: 9px 16px; font-size: 8px; color: var(--sai-product-muted); }
.shareai-homepage #ecosystem .sai-subscription-invoice > div b { font-weight: 500; color: var(--sai-product-ink); }
.shareai-homepage #ecosystem .sai-subscription-invoice footer { display: flex; align-items: center; gap: 7px; margin-top: 17px; padding: 12px 16px; border-top: 1px dashed var(--sai-product-line); color: var(--sai-product-positive); font-size: 8px; }
.shareai-homepage #ecosystem .sai-subscription-invoice footer .sai-hp-icon { width: 14px; height: 14px; flex-basis: 14px; }

/* API: a legible request and the route it takes through ShareAI. */
.shareai-homepage #ecosystem .sai-api-editor { position: absolute; top: 5px; left: 30px; right: 30px; }
.shareai-homepage #ecosystem .sai-api-editor__endpoint { display: flex; align-items: center; gap: 10px; padding: 14px 18px 0; font: 9px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
.shareai-homepage #ecosystem .sai-api-editor__endpoint b { color: var(--sai-product-positive); font-size: 8px; }
.shareai-homepage #ecosystem .sai-api-editor pre { margin: 0; padding: 15px 18px; border: 0; background: none; color: var(--sai-product-ink); font: 10px/1.65 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.shareai-homepage #ecosystem .sai-api-editor code { font: inherit; background: none; color: inherit; }
.shareai-homepage #ecosystem .sai-syntax-muted { color: var(--sai-product-muted); }
.shareai-homepage #ecosystem .sai-syntax-key { color: light-dark(#93542f, #ebbf9c); }
.shareai-homepage #ecosystem .sai-syntax-value { color: light-dark(#25735b, #9fd3b0); }
.shareai-homepage #ecosystem .sai-syntax-boolean { color: light-dark(#a34518, #ffb07a); }
.shareai-homepage #ecosystem .sai-api-editor__response { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding: 12px 18px; border-top: 1px solid var(--sai-product-line); font-size: 8px; color: var(--sai-product-muted); }
.shareai-homepage #ecosystem .sai-api-editor__response span:first-child { display: flex; align-items: center; gap: 5px; color: var(--sai-product-positive); }
.shareai-homepage #ecosystem .sai-api-routing { position: absolute; right: 40px; left: 40px; bottom: 22px; display: flex; align-items: center; justify-content: center; }
.shareai-homepage #ecosystem .sai-api-routing > :is(span, b) { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 12px; border: 1px solid var(--sai-product-line); border-radius: 8px; background: var(--sai-product-raised); box-shadow: 0 5px 14px #0001; font-size: 9px; white-space: nowrap; font-weight: 500; }
.shareai-homepage #ecosystem .sai-api-routing > b { color: var(--sai-product-accent); border-color: var(--sai-product-accent); }
.shareai-homepage #ecosystem .sai-api-routing > i { flex: 1 0 10px; height: 1px; background: var(--sai-product-accent); position: relative; }
.shareai-homepage #ecosystem .sai-api-routing > i::after { content: ''; position: absolute; top: -2px; right: 0; width: 5px; height: 5px; border-top: 1px solid var(--sai-product-accent); border-right: 1px solid var(--sai-product-accent); transform: rotate(45deg); }
.shareai-homepage #ecosystem .sai-ecosystem-preview-note { margin: 14px 2px 0; color: var(--sai-hp-body); font-size: 10px; text-align: right; }

@media (max-width: 1100px) and (min-width: 761px) {
  .shareai-homepage #ecosystem .sai-ecosystem-pair--1 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .shareai-homepage #ecosystem .sai-business-card__copy { padding-inline: 24px; }
  .shareai-homepage #ecosystem .sai-wallet-board { right: 18px; width: calc(100% - 48px); }
  .shareai-homepage #ecosystem .sai-wallet-pass { left: 16px; top: 147px; width: 138px; padding: 14px; }
  .shareai-homepage #ecosystem .sai-wallet-pass__network { margin: 16px 0 12px; }
  .shareai-homepage #ecosystem .sai-wallet-pass strong { font-size: 18px; }
  .shareai-homepage #ecosystem .sai-wallet-pass > div { margin-top: 16px; font-size: 6px; }
  .shareai-homepage #ecosystem .sai-wallet-settlement { bottom: 10px; right: 12px; }
  .shareai-homepage #ecosystem .sai-compute-rack { left: 14px; top: 116px; width: 55%; }
  .shareai-homepage #ecosystem .sai-compute-rack__unit { padding: 10px; gap: 8px; }
  .shareai-homepage #ecosystem .sai-compute-monitor { right: 16px; width: 63%; }
  .shareai-homepage #ecosystem .sai-compute-match { right: 14px; bottom: 15px; }
  .shareai-homepage #ecosystem .sai-marketplace-board { left: 18px; right: 18px; }
  .shareai-homepage #ecosystem .sai-marketplace-board__intro, .shareai-homepage #ecosystem .sai-marketplace-list { padding-inline: 14px; }
  .shareai-homepage #ecosystem .sai-marketplace-list > div { gap: 8px; }
  .shareai-homepage #ecosystem .sai-subscription-plan { left: 18px; width: 72%; }
  .shareai-homepage #ecosystem .sai-subscription-invoice { right: 14px; top: 132px; width: 60%; }
  .shareai-homepage #ecosystem .sai-api-editor { left: 18px; right: 18px; }
  .shareai-homepage #ecosystem .sai-api-routing { right: 18px; left: 18px; }
  .shareai-homepage #ecosystem .sai-api-routing > :is(span,b) { padding-inline: 8px; font-size: 8px; gap: 4px; }
}
@media (max-width: 760px) {
  .shareai-homepage #ecosystem .sai-ecosystem-cards.is-membrane-connected .sai-ecosystem-pair--1 .sai-business-card--inference .sai-business-card__copy::before { content: ''; }
  .shareai-homepage #ecosystem .sai-ecosystem-pair,
  .shareai-homepage #ecosystem .sai-ecosystem-pair--1 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .shareai-homepage #ecosystem .sai-ecosystem-cards { gap: 20px; }
  .shareai-homepage #ecosystem .sai-business-card { min-height: 0; }
  .shareai-homepage #ecosystem .sai-business-card > em { left: 22px; }
  .shareai-homepage #ecosystem .sai-business-card__expand { right: 20px; }
  .shareai-homepage #ecosystem .sai-business-card__copy,
  .shareai-homepage #ecosystem .sai-business-card--inference .sai-business-card__copy { padding: 80px 24px 0; }
  .shareai-homepage #ecosystem .sai-business-card__copy h3 { font-size: 27px; }
  .shareai-homepage #ecosystem .sai-business-card__copy p { font-size: 14px; }
  .shareai-homepage #ecosystem .sai-card-membrane__canvas { width: 180%; }
  .shareai-homepage #ecosystem .sai-product-scene { flex-basis: 365px; min-height: 365px; }
  .shareai-homepage #ecosystem .sai-wallet-board { right: 22px; width: 75%; }
  .shareai-homepage #ecosystem .sai-wallet-pass { left: 18px; top: 137px; width: 150px; padding: 15px; }
  .shareai-homepage #ecosystem .sai-wallet-pass__network { margin: 16px 0 12px; }
  .shareai-homepage #ecosystem .sai-wallet-pass strong { font-size: 21px; }
  .shareai-homepage #ecosystem .sai-wallet-pass > div { margin-top: 17px; font-size: 6px; }
  .shareai-homepage #ecosystem .sai-wallet-settlement { right: 12px; bottom: 14px; }
  .shareai-homepage #ecosystem .sai-product-scene--inference { max-width: 420px; margin-inline: auto; }
  .shareai-homepage #ecosystem .sai-compute-rack { left: 20px; top: 95px; width: 48%; }
  .shareai-homepage #ecosystem .sai-compute-monitor { right: 20px; width: 56%; }
  .shareai-homepage #ecosystem .sai-compute-match { right: 20px; bottom: 30px; }
  .shareai-homepage #ecosystem .sai-marketplace-board { left: 20px; right: 20px; }
  .shareai-homepage #ecosystem .sai-marketplace-published { right: 14px; bottom: 20px; }
  .shareai-homepage #ecosystem .sai-subscription-plan { left: 22px; width: 62%; }
  .shareai-homepage #ecosystem .sai-subscription-invoice { right: 16px; top: 118px; width: 54%; }
  .shareai-homepage #ecosystem .sai-api-editor { left: 22px; right: 22px; }
  .shareai-homepage #ecosystem .sai-api-routing { right: 22px; left: 22px; bottom: 30px; }
}
@media (max-width: 380px) {
  .shareai-homepage #ecosystem .sai-business-card__copy,
  .shareai-homepage #ecosystem .sai-business-card--inference .sai-business-card__copy { padding-inline: 20px; }
  .shareai-homepage #ecosystem .sai-business-card__copy h3 { font-size: 25px; }
  .shareai-homepage #ecosystem .sai-wallet-board { right: 14px; width: calc(100% - 40px); }
  .shareai-homepage #ecosystem .sai-wallet-board__balance { padding-inline: 16px; }
  .shareai-homepage #ecosystem .sai-wallet-board__balance strong { font-size: 29px; }
  .shareai-homepage #ecosystem .sai-wallet-pass { left: 13px; width: 118px; top: 164px; padding: 12px; }
  .shareai-homepage #ecosystem .sai-wallet-pass__network { width: 24px; height: 18px; margin: 12px 0; }
  .shareai-homepage #ecosystem .sai-wallet-pass strong { font-size: 18px; }
  .shareai-homepage #ecosystem .sai-wallet-pass > div { margin-top: 12px; font-size: 5px; }
  .shareai-homepage #ecosystem .sai-wallet-settlement { padding: 11px 13px; font-size: 10px; gap: 8px; }
  .shareai-homepage #ecosystem .sai-compute-rack { left: 12px; top: 121px; width: 56%; }
  .shareai-homepage #ecosystem .sai-compute-rack__unit { padding: 9px; gap: 8px; }
  .shareai-homepage #ecosystem .sai-compute-monitor { right: 14px; width: 66%; }
  .shareai-homepage #ecosystem .sai-compute-monitor .sai-product-chrome { padding-inline: 12px; font-size: 9px; }
  .shareai-homepage #ecosystem .sai-compute-match { bottom: 17px; right: 14px; }
  .shareai-homepage #ecosystem .sai-marketplace-board { left: 14px; right: 14px; }
  .shareai-homepage #ecosystem .sai-marketplace-board__intro, .shareai-homepage #ecosystem .sai-marketplace-list { padding-inline: 13px; }
  .shareai-homepage #ecosystem .sai-marketplace-board__intro > strong { font-size: 15px; }
  .shareai-homepage #ecosystem .sai-marketplace-list > div { gap: 8px; font-size: 10px; }
  .shareai-homepage #ecosystem .sai-marketplace-list i { width: 28px; height: 28px; }
  .shareai-homepage #ecosystem .sai-marketplace-list b { font-size: 10px; }
  .shareai-homepage #ecosystem .sai-subscription-plan { left: 15px; width: 75%; }
  .shareai-homepage #ecosystem .sai-subscription-invoice { right: 13px; top: 144px; width: 67%; }
  .shareai-homepage #ecosystem .sai-api-editor { left: 14px; right: 14px; }
  .shareai-homepage #ecosystem .sai-api-editor__endpoint, .shareai-homepage #ecosystem .sai-api-editor pre { padding-inline: 12px; }
  .shareai-homepage #ecosystem .sai-api-editor pre { font-size: 9px; }
  .shareai-homepage #ecosystem .sai-api-editor__response { padding-inline: 12px; font-size: 7px; }
  .shareai-homepage #ecosystem .sai-api-routing { left: 14px; right: 14px; }
  .shareai-homepage #ecosystem .sai-api-routing > :is(span,b) { font-size: 8px; gap: 4px; padding-inline: 7px; }
  .shareai-homepage #ecosystem .sai-api-routing .sai-hp-icon { width: 14px; height: 14px; flex-basis: 14px; }
}
/* On narrow cards, reorganize the windows instead of covering useful data. */
@media (max-width: 1100px) {
  .shareai-homepage #ecosystem .sai-product-scene--wallet { flex-basis: 466px; min-height: 466px; }
  .shareai-homepage #ecosystem .sai-wallet-board { top: 0; left: 18px; right: 18px; width: auto; max-width: none; }
  .shareai-homepage #ecosystem .sai-wallet-board__balance { padding: 17px 18px 12px; }
  .shareai-homepage #ecosystem .sai-product-ledger > div { padding-block: 8px; }
  .shareai-homepage #ecosystem .sai-wallet-pass { top: auto; bottom: 20px; left: 22px; width: 144px; padding: 13px; transform: rotate(-5deg); }
  .shareai-homepage #ecosystem .sai-wallet-pass__brand { font-size: 10px; }
  .shareai-homepage #ecosystem .sai-wallet-pass__network, .shareai-homepage #ecosystem .sai-wallet-pass > div { display: none; }
  .shareai-homepage #ecosystem .sai-wallet-pass strong { display: block; margin-top: 14px; font-size: 19px; }
  .shareai-homepage #ecosystem .sai-wallet-settlement { right: 16px; bottom: 34px; padding: 12px 10px; gap: 7px; max-width: 150px; font-size: 9px; }
  .shareai-homepage #ecosystem .sai-wallet-settlement > i { width: 23px; height: 23px; flex: 0 0 23px; }
  .shareai-homepage #ecosystem .sai-wallet-settlement small { font-size: 7px; }
  .shareai-homepage #ecosystem .sai-product-scene--inference { flex-basis: 424px; min-height: 424px; }
  .shareai-homepage #ecosystem .sai-compute-rack { top: 77px; left: 14px; width: 35%; }
  .shareai-homepage #ecosystem .sai-compute-rack__label { font-size: 6px; white-space: nowrap; }
  .shareai-homepage #ecosystem .sai-compute-rack__unit { gap: 6px; padding: 9px 8px; }
  .shareai-homepage #ecosystem .sai-compute-rack__unit b { font-size: 9px; }
  .shareai-homepage #ecosystem .sai-compute-rack__unit small { font-size: 7px; }
  .shareai-homepage #ecosystem .sai-compute-rack__vents { flex: 1; min-width: 12px; }
  .shareai-homepage #ecosystem .sai-compute-monitor { top: 16px; right: 14px; width: 55%; }
  .shareai-homepage #ecosystem .sai-compute-monitor .sai-product-chrome { padding-inline: 10px; font-size: 9px; }
  .shareai-homepage #ecosystem .sai-compute-monitor__footer { padding-inline: 12px; }
  .shareai-homepage #ecosystem .sai-product-scene--implementations { flex-basis: 425px; min-height: 425px; }
  .shareai-homepage #ecosystem .sai-subscription-plan { top: 0; left: 18px; right: 30px; width: auto; max-width: none; }
  .shareai-homepage #ecosystem .sai-subscription-plan ul, .shareai-homepage #ecosystem .sai-subscription-plan__active { display: none; }
  .shareai-homepage #ecosystem .sai-subscription-plan__body { padding-block: 14px; }
  .shareai-homepage #ecosystem .sai-subscription-invoice { top: 185px; left: 36px; right: 18px; width: auto; max-width: none; }
}
@media (max-width: 380px) {
  .shareai-homepage #ecosystem .sai-wallet-settlement { display: none; }
  .shareai-homepage #ecosystem .sai-wallet-pass { width: 170px; left: auto; right: 24px; bottom: 22px; }
  .shareai-homepage #ecosystem .sai-compute-rack { left: 8px; width: 35%; }
  .shareai-homepage #ecosystem .sai-compute-rack__unit i { display: none; }
  .shareai-homepage #ecosystem .sai-compute-monitor { right: 10px; width: 58%; }
}
@media (prefers-reduced-motion: reduce) {
  .shareai-homepage #ecosystem .sai-product-window { transition: none; }
  .shareai-homepage #ecosystem .sai-business-card:is(:hover, :focus-visible) .sai-product-window { translate: none; }
}
