/* MergeOn architecture diagram — no-header variant */

.mo-viewport {
  --mo-navy: #16244A;
  --mo-ink: #1F2937;
  --mo-blue: #2563EB;
  --mo-purple: #6D5BD0;
  --mo-steel: #5B6B85;
  --mo-line: #E3E8F0;
  --mo-panel: #F7F9FC;
  --mo-red: #B03A2E;
  --mo-green: #1E7A4D;
  /* Drops the enterprise column so it centres on the control-plane block.
     Hand-tuned magic number: raised from 112px when the block grew to carry the
     Primary / Connected / technology tiers. Adjust here alone if the column
     reads high or low against the block. */
  --mo-leftdrop: 200px;

  overflow: hidden;
  color: var(--mo-ink);
  /* next/font self-hosts Inter under a hashed family name, so the literal
     'Inter' no longer matches and silently fell back to system-ui. */
  font-family: var(--font-inter), system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
.mo-canvas { width: 1600px; transform-origin: top left; padding: 34px 30px 30px; position: relative; }
.mo-canvas *, .mo-canvas *::before, .mo-canvas *::after { box-sizing: border-box; }
.mo-canvas h3, .mo-canvas h4, .mo-canvas p, .mo-canvas div { margin: 0; }

.mo-icon { width: 24px; height: 24px; stroke: var(--mo-blue); stroke-width: 1.6; fill: none;
  stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mo-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--mo-blue); text-align: center; }
.mo-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

/* selector */
.mo-topbar { display: flex; justify-content: flex-start; margin-bottom: 24px; }
.mo-viz { width: 280px; }
.mo-viz label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--mo-steel); margin-bottom: 8px; }
.mo-viz-box { border: 1px solid var(--mo-line); border-radius: 12px; padding: 12px 14px;
  display: flex; align-items: center; gap: 10px; background: #fff;
  box-shadow: 0 1px 2px rgba(22, 36, 74, .05); }
.mo-viz-box select { border: 0; background: none; font-family: inherit; font-size: 17px;
  font-weight: 600; color: var(--mo-navy); flex: 1; cursor: pointer; outline: none; }
.mo-viz-btns { display: flex; gap: 8px; margin-top: 9px; }
.mo-viz-btns button { flex: 1; font-family: inherit; font-size: 11.5px; font-weight: 600;
  color: var(--mo-navy); background: #fff; border: 1px solid var(--mo-line); border-radius: 8px;
  padding: 8px 6px; cursor: pointer; }
.mo-viz-btns button:hover { border-color: #B9C6D8; }
.mo-viz-btns button:focus-visible, .mo-viz-box select:focus-visible {
  outline: 2px solid var(--mo-blue); outline-offset: 2px; }

/* frame + columns */
.mo-frame { display: grid; grid-template-columns: 272px 1fr 258px; gap: 44px;
  position: relative; z-index: 2; }
.mo-col-left { padding-top: var(--mo-leftdrop); }
.mo-col-title { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--mo-blue); text-align: center; line-height: 1.35; margin-bottom: 14px; }
.mo-stack { display: flex; flex-direction: column; gap: 8px; }
.mo-card { border: 1px solid var(--mo-line); border-radius: 12px; background: #fff;
  box-shadow: 0 1px 2px rgba(22, 36, 74, .04); }
.mo-entry { display: flex; gap: 12px; padding: 13px 14px; align-items: flex-start; }
.mo-entry b { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; color: var(--mo-navy); line-height: 1.3; }
.mo-entry span { display: block; font-size: 12px; color: var(--mo-steel); margin-top: 3px; line-height: 1.4; }
.mo-out .mo-icon { stroke: var(--mo-purple); }

/* tech bands */
.mo-tech { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 34px; }
.mo-tech-hd { text-align: center; margin-bottom: 12px; }
.mo-tech-hd b { font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--mo-blue); }
.mo-tech-hd span { display: block; font-size: 12.5px; color: var(--mo-steel); margin-top: 3px; }
.mo-logos { border: 1px solid var(--mo-line); border-radius: 12px; background: #fff; display: flex;
  flex-wrap: wrap; box-shadow: 0 1px 2px rgba(22, 36, 74, .04); }
.mo-logos > div { flex: 1 1 96px; min-width: 96px; padding: 14px 4px; text-align: center;
  border-right: 1px solid var(--mo-line); }
.mo-logos > div:last-child { border-right: 0; }
.mo-logos > div.mo-sel { background: #EEF4FF; box-shadow: inset 0 0 0 2px var(--mo-blue);
  animation: mo-landed .5s ease-out; }
@keyframes mo-landed { from { transform: translateY(-8px); opacity: 0 } to { transform: none; opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .mo-logos > div.mo-sel { animation: none } }
.mo-glyph { height: 34px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px; font-weight: 700; color: var(--mo-navy); }
.mo-nm { font-size: 11.5px; font-weight: 600; color: var(--mo-navy); line-height: 1.25; }
.mo-more { color: var(--mo-steel); font-size: 18px; letter-spacing: .1em; flex: 0 0 46px;
  display: flex; align-items: center; justify-content: center; }
.mo-logos-future { border-style: dashed; }
.mo-tech-note { grid-column: 1 / -1; margin-top: 14px; text-align: center; font-size: 11.5px;
  color: var(--mo-steel); line-height: 1.5; }

/* runtime */
.mo-runtime { position: relative; border-radius: 16px; overflow: hidden; text-align: center;
  padding: 44px 30px 22px;
  background: linear-gradient(115deg, #0C1B3A 0%, #16305E 48%, #0E2246 100%);
  box-shadow: 0 8px 24px rgba(12, 27, 58, .22); }
.mo-runtime h3 { position: relative; font-family: 'Poppins', system-ui, sans-serif; font-size: 42px;
  font-weight: 700; letter-spacing: -.01em; color: #fff; line-height: 1.1; }
.mo-runtime h3 em { display: block; font-style: normal; font-weight: 600; font-size: 20px;
  letter-spacing: .14em; text-transform: uppercase; color: #CFE0F5; margin-top: 10px; }
.mo-rt-brand { letter-spacing: -.015em; }
.mo-runtime > p { position: relative; font-size: 15px; color: #B9CCE6; margin-top: 10px; }
.mo-stages { position: relative; display: grid; grid-template-columns: repeat(5, 1fr);
  margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .14); }
.mo-stages div { padding: 16px 6px; font-size: 12px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: #E4EDF8; border-right: 1px solid rgba(255, 255, 255, .14); }
.mo-stages div:last-child { border-right: 0; }
/* runtime hierarchy: control plane -> Primary -> Connected -> technology */
.mo-hier { position: relative; margin-top: 30px; text-align: left; }
.mo-tier { border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px;
  background: rgba(255, 255, 255, .06); padding: 16px 20px; }
.mo-tier b { display: block; font-size: 14px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; }
.mo-tier span { display: block; font-size: 12.5px; color: #A9C6E8; margin-top: 6px; }
.mo-down { width: 1px; height: 24px; margin: 0 auto; background: rgba(255, 255, 255, .3);
  position: relative; }
.mo-down::after { content: ""; position: absolute; left: -4px; bottom: 0; width: 8px; height: 8px;
  border-right: 1px solid rgba(255, 255, 255, .55); border-bottom: 1px solid rgba(255, 255, 255, .55);
  transform: rotate(45deg); }
.mo-rtrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 13px; }
.mo-rtrow i { display: block; height: 8px; border-radius: 4px; background: rgba(91, 155, 232, .5); }
.mo-substrate { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; overflow: hidden; }
.mo-substrate span { padding: 11px 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: #CFE0F5; border-right: 1px solid rgba(255, 255, 255, .14); }
.mo-substrate span:last-child { border-right: 0; }
/* Out-specifies `.mo-runtime > p`, which would otherwise win on specificity. */
.mo-runtime > .mo-determines { position: relative; margin-top: 24px; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: #93B4DE; }
.mo-runtime > .mo-determines b { color: #fff; font-weight: 700; }

.mo-vizline { position: relative; margin-top: 14px; font-size: 12.5px; letter-spacing: .05em;
  text-transform: uppercase; font-weight: 600; color: #93B4DE; }
.mo-tally { position: relative; margin-top: 9px; font-size: 13px; color: #A9C6E8; }

/* foundations */
.mo-found-h { margin: 34px 0 14px; }
/* 3 x 3, not a nine-cell strip: the middle column is ~922px on the 1600px
   canvas, so nine cells in one row leave ~102px each and the capability names
   and descriptions stop being legible. */
.mo-found { border: 1px solid var(--mo-line); border-radius: 12px; background: #fff;
  display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden;
  box-shadow: 0 1px 2px rgba(22, 36, 74, .04); }
.mo-found > div { padding: 20px 18px 22px; text-align: center;
  border-right: 1px solid var(--mo-line); border-bottom: 1px solid var(--mo-line); }
.mo-found > div:nth-child(3n) { border-right: 0; }
.mo-found > div:nth-last-child(-n+3) { border-bottom: 0; }
.mo-found .mo-icon { display: block; width: 28px; height: 28px; margin: 0 auto 12px; stroke: var(--mo-navy); }
.mo-found b { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--mo-navy); line-height: 1.3; }
.mo-found span { display: block; font-size: 11.5px; color: var(--mo-steel); margin-top: 8px; line-height: 1.45; }

/* compare */
.mo-compare { display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center; margin-top: 38px; }
.mo-cmp { border: 1px solid var(--mo-line); border-radius: 14px; background: var(--mo-panel);
  padding: 22px 24px 24px; text-align: center; }
.mo-k { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mo-cmp-before .mo-k { color: var(--mo-red); }
.mo-cmp-after .mo-k { color: var(--mo-green); }
.mo-cmp h4 { font-size: 16px; font-weight: 600; color: var(--mo-navy); margin: 6px 0 20px; }
.mo-cmp-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.mo-cmp-row > div { display: flex; flex-direction: column; align-items: center; text-align: center;
  font-size: 11.5px; font-weight: 600; color: var(--mo-navy); line-height: 1.35; }
.mo-cmp .mo-icon { display: block; width: 30px; height: 30px; margin: 0 auto 10px; }
.mo-cmp-before .mo-icon { stroke: var(--mo-red); }
.mo-cmp-after .mo-icon { stroke: var(--mo-green); }
.mo-switch { display: flex; align-items: center; justify-content: center; gap: 6px;
  color: #C3CEDF; font-size: 20px; }
.mo-pw { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--mo-line);
  background: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(22, 36, 74, .08); }
.mo-pw svg { width: 22px; height: 22px; stroke: var(--mo-blue); stroke-width: 2.2; fill: none;
  stroke-linecap: round; }

.mo-footer { text-align: center; margin-top: 30px; font-family: 'Poppins', system-ui, sans-serif;
  font-size: 16px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--mo-navy); }
